-
Notifications
You must be signed in to change notification settings - Fork 49
Migration guide v5.2.0
TODO
TODO
We have introduced ScalingParameters to be used in the scale method. The parameters are the scaling convention (generator or load), a boolean that says if we have te reconnect a disconnected injection involves in a scalable, a boolean that says if the power constant must remain constant during scaling and another boolean to precise if the scale or proportional scalable should be iterative or not. If the iterative mode is activated, the residues due to scalable saturation is divided between the other scalable composing the proportional scalable.
The useless identifiableType from IdentifierContingencyList has been removed totally.
New classes are introduced to return results after a short circuit analysis depending on the level of detail of the result and the parameters.
These classes are MagnitudeFaultResult, which includes MagnitudeFeederResult and MagnitudeShortCircuitBusResult, and FortescueFaultResult, which includes FortescueFeederResult and FortescueShortCircuitBusResult. The MagnitudeFaultResult should be used if the currents and voltages are given as magnitudes on the three phases and the FortescueFaultResult should be used if they are given in detail on each phase.
The parameters have evolved as well. The withVoltageMap parameter has been removed from the ShortCircuitParameters and FaultParameters. Two new parameters have been added to both the classes:
-
withFortescueResultindicates whether the result in the classesFaultResult,FeederResultandShortCircuitBusResultshould be double or FortescueValue (i.e. detailed on each phase). The classes described above should be used to return results depending on this parameter. If it is set to false, then theMagnitudeFaultResult,MagnitudeFeederResultandMagnitudeShortCircuitBusResultclasses should be used. Otherwise, use theFortescueFaultResult,FortescueFeederResultandFortescueShortCircuitBusResultclasses. -
withVoltageResultindicates if theShortCircuitResultshould include aShortCircuitBusResult. This class now also includes the initial voltage magnitude and the voltage drop as a percentage of the initial value.
In the FortescueValue class, some attribute names have changed:
-
magnitude1becomesmagnitudeA -
magnitude2becomesmagnitudeB -
magnitude3becomesmagnitudeC -
angle1becomesangleA -
angle2becomesangleB -
angle3becomesangleC