-
Notifications
You must be signed in to change notification settings - Fork 50
IIDM & XIIDM 1.5 evolutions
MioRtia edited this page Jan 22, 2021
·
3 revisions
Introduce ActivePowerLimits and ApparentPowerLimits in DanglingLine, Line, TieLine, TwoWindingsTransformer and ThreeWindingsTransformer.Leg
We can now add active power and apparent power limits on the mentioned equipment. The methods newActivePowerLimits and newApparentPowerLimits demand implementations if you are using a custom implementation.
Please also note that the xml object iidm:CurrentLimits does not exist anymore and has been replaced by iidm:LoadingLimits.
We can now have the p, q, v and angle from the boundary side of DanglingLine and TieLine with the object Boundary. Node that xnodeP and xnodeQ of TieLine.HalfLine have been deprecated and are not serialized anymore.
Boundary b1 = danglingLine.getBoundary();
double p = b1.getP(); // p of the boundary side of the dangling line
Boundary b2 = tieLine.getHalf1().getBoundary();
double p2 = b2.getP(); // p of the boundary side of the half1 of the tie line