EasyLoadflowDependent Module
Module which provides logic for all calculation engines dependent on Loadflow, which is currently all other calculation engines apart from Loadflow.
- class TEracsEasyLoadflowDependent
The parent class for all calculation modules dependent on Loadflow. Contains base properties such as StudyTitle, which is a common property of all calculation modules, and base methods such as SetData, which is used to pass a data object in.
- Inherits
- property DependentModule
The dependent module (Loadflow Easy) object.
- Type
- Writable
False.
- property StudyTitle
Title of the (Fault/Impedance/Injection) study.
- Type
str.
- Writable
True.
- SetData(AEracsDataObject)
This method overrides the setter method in TEracsEasy, calls the parent class method, and sets the values of the study properties.
- Parameters
AEracsDataObject (TEracsData) – The data object to be assigned to Data attribute internally and used in the study.
- Invalidate()
This method overrides the method in TEracsEasy. When a module depends on Loadflow, and the module’s latest study becomes invalid, the underlying Loadflow study must also be invalidated.
- Returns
None.
- RunCalc()
Checks whether Loadflow has been run and if it hasn’t, runs Loadflow, then runs the specific calculation.
- Remarks
SetData should be called before calling this.