Package com.powsybl.iidm.network.util
Class SV
- java.lang.Object
-
- com.powsybl.iidm.network.util.SV
-
public class SV extends Object
Utility class to compute the state variables on one side of a branch, knowing the state variables on the other side.- Author:
- Geoffroy Jamgotchian
, Luma Zamarreño , José Antonio Marqués
-
-
Constructor Summary
Constructors Constructor Description SV(double p, double q, double u, double a)
Deprecated.Not used anymore.SV(double p, double q, double u, double a, Branch.Side side)
In this class, lines, two windings transformers, half line and dangling lines can be considered as equivalent branches.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description double
getA()
double
getP()
double
getQ()
Branch.Side
getSide()
double
getU()
SV
otherSide(double r, double x, double g, double b, double rho)
Deprecated.Not used anymore.SV
otherSide(double r, double x, double g1, double b1, double g2, double b2, double rho)
Deprecated.Not used anymore.SV
otherSide(double r, double x, double g1, double b1, double g2, double b2, double rho, double alpha)
SV
otherSide(DanglingLine dl)
SV
otherSide(DanglingLine dl, boolean splitShuntAdmittance)
SV
otherSide(Line l)
SV
otherSide(TwoWindingsTransformer twt)
SV
otherSide(TwoWindingsTransformer twt, boolean splitShuntAdmittance)
double
otherSideA(double r, double x, double g1, double b1, double rho)
Deprecated.Not used anymore.double
otherSideA(double r, double x, double g1, double b1, double g2, double b2, double rho, double alpha)
double
otherSideA(DanglingLine dl)
double
otherSideA(DanglingLine dl, boolean splitShuntAdmittance)
double
otherSideA(TieLine.HalfLine hl)
double
otherSideP(double r, double x, double g1, double b1, double g2, double b2, double rho)
Deprecated.Not used anymore.double
otherSideP(double r, double x, double g1, double b1, double g2, double b2, double rho, double alpha)
double
otherSideP(DanglingLine dl)
double
otherSideP(DanglingLine dl, boolean splitShuntAdmittance)
double
otherSideP(TieLine.HalfLine hl)
double
otherSideQ(double r, double x, double g1, double b1, double g2, double b2, double rho)
Deprecated.Not used anymore.double
otherSideQ(double r, double x, double g1, double b1, double g2, double b2, double rho, double alpha)
double
otherSideQ(DanglingLine dl)
double
otherSideQ(DanglingLine dl, boolean splitShuntAdmittance)
double
otherSideQ(TieLine.HalfLine hl)
double
otherSideU(double r, double x, double g1, double b1, double rho)
Deprecated.Not used anymore.double
otherSideU(double r, double x, double g1, double b1, double g2, double b2, double rho, double alpha)
double
otherSideU(DanglingLine dl)
double
otherSideU(DanglingLine dl, boolean splitShuntAdmittance)
double
otherSideU(TieLine.HalfLine hl)
SV
otherSideY1Y2(Line l)
Deprecated.Should not be used anymore.String
toString()
-
-
-
Constructor Detail
-
SV
public SV(double p, double q, double u, double a, Branch.Side side)
In this class, lines, two windings transformers, half line and dangling lines can be considered as equivalent branches.
For half lines, if the half line is on the side ONE of its tie line, side ONE is on network's side and side TWO is on boundary's side;
if the half line is on the side TWO of its tie line, side ONE is on boundary's side and side TWO is on network's side.- Parameters:
p
- active power flow on the side of the branch we consider.q
- reactive power flow on the side of the branch we consideru
- voltage on the side of the branch we consider.a
- phase on the side of the branch we consider.side
- the side of the branch we consider.
-
SV
@Deprecated(since="4.3.0") public SV(double p, double q, double u, double a)
Deprecated.Not used anymore. The end associated to the voltage and flow must be defined. UseSV(double, double, double, double, Branch.Side)
instead.
-
-
Method Detail
-
getP
public double getP()
-
getQ
public double getQ()
-
getU
public double getU()
-
getA
public double getA()
-
getSide
public Branch.Side getSide()
-
otherSide
@Deprecated(since="4.3.0") public SV otherSide(double r, double x, double g, double b, double rho)
Deprecated.Not used anymore. This version with a simplified view of the parameters of a generic branch has been deprecated to avoid misuse. Use the version that includes rho AND alpha.otherSide(double, double, double, double, double, double, double, double)
-
otherSide
@Deprecated(since="4.3.0") public SV otherSide(double r, double x, double g1, double b1, double g2, double b2, double rho)
Deprecated.Not used anymore. This version with a simplified view of the parameters of a generic branch has been deprecated to avoid misuse. Use the version that includes rho AND alpha.otherSide(double, double, double, double, double, double, double, double)
-
otherSide
public SV otherSide(double r, double x, double g1, double b1, double g2, double b2, double rho, double alpha)
-
otherSideY1Y2
@Deprecated(since="4.3.0") public SV otherSideY1Y2(Line l)
Deprecated.Should not be used anymore. UseotherSide(Line)
instead.
-
otherSide
public SV otherSide(TwoWindingsTransformer twt)
-
otherSide
public SV otherSide(TwoWindingsTransformer twt, boolean splitShuntAdmittance)
-
otherSide
public SV otherSide(DanglingLine dl)
-
otherSide
public SV otherSide(DanglingLine dl, boolean splitShuntAdmittance)
-
otherSideP
@Deprecated(since="4.3.0") public double otherSideP(double r, double x, double g1, double b1, double g2, double b2, double rho)
Deprecated.Not used anymore. This version with a simplified view of the parameters of a generic branch has been deprecated to avoid misuse. Use the version that includes rho AND alpha.otherSideP(double, double, double, double, double, double, double, double)
-
otherSideP
public double otherSideP(double r, double x, double g1, double b1, double g2, double b2, double rho, double alpha)
-
otherSideP
public double otherSideP(DanglingLine dl)
-
otherSideP
public double otherSideP(DanglingLine dl, boolean splitShuntAdmittance)
-
otherSideP
public double otherSideP(TieLine.HalfLine hl)
-
otherSideQ
@Deprecated(since="4.3.0") public double otherSideQ(double r, double x, double g1, double b1, double g2, double b2, double rho)
Deprecated.Not used anymore. This version with a simplified view of the parameters of a generic branch has been deprecated to avoid misuse. Use the version that includes rho AND alpha.otherSideQ(double, double, double, double, double, double, double, double)
-
otherSideQ
public double otherSideQ(double r, double x, double g1, double b1, double g2, double b2, double rho, double alpha)
-
otherSideQ
public double otherSideQ(DanglingLine dl)
-
otherSideQ
public double otherSideQ(DanglingLine dl, boolean splitShuntAdmittance)
-
otherSideQ
public double otherSideQ(TieLine.HalfLine hl)
-
otherSideU
@Deprecated(since="4.3.0") public double otherSideU(double r, double x, double g1, double b1, double rho)
Deprecated.Not used anymore. This version with a simplified view of the parameters of a generic branch has been deprecated to avoid misuse. Use the version that includes rho AND alpha.otherSideU(double, double, double, double, double, double, double, double)
-
otherSideU
public double otherSideU(double r, double x, double g1, double b1, double g2, double b2, double rho, double alpha)
-
otherSideU
public double otherSideU(DanglingLine dl)
-
otherSideU
public double otherSideU(DanglingLine dl, boolean splitShuntAdmittance)
-
otherSideU
public double otherSideU(TieLine.HalfLine hl)
-
otherSideA
@Deprecated(since="4.3.0") public double otherSideA(double r, double x, double g1, double b1, double rho)
Deprecated.Not used anymore. This version with a simplified view of the parameters of a generic branch has been deprecated to avoid misuse. Use the version that includes rho AND alpha.otherSideA(double, double, double, double, double, double, double, double)
-
otherSideA
public double otherSideA(double r, double x, double g1, double b1, double g2, double b2, double rho, double alpha)
-
otherSideA
public double otherSideA(DanglingLine dl)
-
otherSideA
public double otherSideA(DanglingLine dl, boolean splitShuntAdmittance)
-
otherSideA
public double otherSideA(TieLine.HalfLine hl)
-
-