-
Notifications
You must be signed in to change notification settings - Fork 43
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:
-
withFortescueResult
indicates whether the result in the classesFaultResult
,FeederResult
andShortCircuitBusResult
should 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
,MagnitudeFeederResult
andMagnitudeShortCircuitBusResult
classes should be used. Otherwise, use theFortescueFaultResult
,FortescueFeederResult
andFortescueShortCircuitBusResult
classes. -
withVoltageResult
indicates if theShortCircuitResult
should 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:
-
magnitude1
becomesmagnitudeA
-
magnitude2
becomesmagnitudeB
-
magnitude3
becomesmagnitudeC
-
angle1
becomesangleA
-
angle2
becomesangleB
-
angle3
becomesangleC