Fault Module¶
Fault calculation module exposes classes capable of running ERACS Fault studies.
-
class
TEracsFault
¶ Low-level implementation of the Fault interface. All methods in this class provide low-level functionality involving direct interactions with the DLL. Contains minimal logic and safety checks.
-
GetFileNames
(AOutParameterProperties)¶ - Parameters
AOutParameterProperties (list) – This argument acts as an out parameter. An empty list should be passed in, and the various file names will be appended to the list [lstResults, cdResults, cdData].
-
ChangeImpedance
(ASeqNum, AStatorR, AReactance)¶ Change the impedance for a given synchronous machine.
- Parameters
ASeqNum (int) – Sequence number of machine to change impedance of.
AStatorR (float) – The stator resistance of the machine.
AReactance (float) – The transient reactance of the machine.
- Raises
TEracsArgumentError – If the arguments are of the incorrect type.
-
-
class
TEracsFaultEasy
¶ The easy access class for Fault calculations. Provides high-level, easy-to-use methods for running a Fault study.
-
ReactOption
¶ The reactance option for the Fault study.
- Type
Integer.
- Writable
True.
-
FaultType
¶ The fault type to be applied.
- Type
Integer.
- Writable
True.
-
Typecode
¶ Typecode of the target element for the fault.
- Type
Integer.
- Writable
True.
-
SeqNum
¶ Sequence number for the target element for the fault.
- Type
Integer.
- Writable
True.
-
FaultPos
¶ Position of fault along a cable or transmission line (between 0 and 100)
- Type
Integer.
- Writable
True.
-
Rph
¶ Fault’s phase resistance
- Type
Integer.
- Writable
True.
-
Xph
¶ Fault’s phase reactance
- Type
Integer.
- Writable
True.
-
Rgrnd
¶ Fault’s ground resistance
- Type
Integer.
- Writable
True.
-
Xgrnd
¶ Fault’s ground reactance
- Type
Integer.
- Writable
True.
-
IncMotor
¶ Include motor contribution.
- Type
Integer.
- Writable
True.
-
BusbarResults
¶ Busbar results of the Fault study.
- Type
- Writable
False.
-
TransmissionLineResults
¶ Transmission line results of the Fault study.
- Type
- Writable
False.
-
CableResults
¶ Cable results of the Fault study.
- Type
- Writable
False.
-
SeriesElementResults
¶ Series element results of the Fault study.
- Type
- Writable
False.
-
TransformerResults
¶ Transformer results of the Fault study.
- Type
- Writable
False.
-
InductionMachineResults
¶ Induction Machine results of the Fault study.
- Type
- Writable
False.
-
SynchronousMachineResults
¶ Synchronous Machine results of the Fault study.
- Type
- Writable
False.
-
GridInfeedResults
¶ Grid Infeed results of the Fault study.
- Type
- Writable
False.
-
ShuntResults
¶ Shunt results of the Fault study.
- Type
- Writable
False.
-
BusSectionResults
¶ Bus Section results of the Fault study.
- Type
- Writable
False.
-
NeutralResults
¶ Neutral Earth results of the Fault study.
- Type
- Writable
False.
-
SummaryResults
¶ Summary results of the Fault study.
- Type
Dictionary.
- Writable
False.
-
ClearResults
()¶ Clear the results of the previously run Fault study.
-