Class AbstractHvdcAcEmulationFlowEquationTerm
- java.lang.Object
-
- com.powsybl.openloadflow.equations.AbstractEquationTerm<V,E>
-
- com.powsybl.openloadflow.equations.AbstractNamedEquationTerm<V,E>
-
- com.powsybl.openloadflow.equations.AbstractElementEquationTerm<LfHvdc,AcVariableType,AcEquationType>
-
- com.powsybl.openloadflow.ac.equations.AbstractHvdcAcEmulationFlowEquationTerm
-
- All Implemented Interfaces:
EquationTerm<AcVariableType,AcEquationType>
,Evaluable
- Direct Known Subclasses:
HvdcAcEmulationSide1ActiveFlowEquationTerm
,HvdcAcEmulationSide2ActiveFlowEquationTerm
public abstract class AbstractHvdcAcEmulationFlowEquationTerm extends AbstractElementEquationTerm<LfHvdc,AcVariableType,AcEquationType>
- Author:
- Anne Tilloy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.openloadflow.equations.EquationTerm
EquationTerm.MultiplyByScalarEquationTerm<V extends Enum<V> & Quantity,E extends Enum<E> & Quantity>
-
-
Field Summary
Fields Modifier and Type Field Description protected double
k
protected double
lossFactor1
protected double
lossFactor2
protected double
p0
protected Variable<AcVariableType>
ph1Var
protected Variable<AcVariableType>
ph2Var
protected List<Variable<AcVariableType>>
variables
-
Fields inherited from class com.powsybl.openloadflow.equations.AbstractElementEquationTerm
element
-
Fields inherited from class com.powsybl.openloadflow.equations.AbstractEquationTerm
self, sv
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractHvdcAcEmulationFlowEquationTerm(LfHvdc hvdc, LfBus bus1, LfBus bus2, VariableSet<AcVariableType> variableSet)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static double
getLossMultiplier(double lossFactor1, double lossFactor2)
List<Variable<AcVariableType>>
getVariables()
Get the list of variable this equation term depends on.boolean
hasRhs()
CheckEquationTerm.rhs()
can return a value different from zero.protected double
ph1()
protected double
ph2()
-
Methods inherited from class com.powsybl.openloadflow.equations.AbstractElementEquationTerm
getElementNum, getElementType
-
Methods inherited from class com.powsybl.openloadflow.equations.AbstractNamedEquationTerm
getName, write
-
Methods inherited from class com.powsybl.openloadflow.equations.AbstractEquationTerm
calculateSensi, getChildren, getEquation, isActive, rhs, setActive, setEquation, setSelf, setStateVector
-
-
-
-
Field Detail
-
ph1Var
protected final Variable<AcVariableType> ph1Var
-
ph2Var
protected final Variable<AcVariableType> ph2Var
-
variables
protected final List<Variable<AcVariableType>> variables
-
k
protected final double k
-
p0
protected final double p0
-
lossFactor1
protected final double lossFactor1
-
lossFactor2
protected final double lossFactor2
-
-
Constructor Detail
-
AbstractHvdcAcEmulationFlowEquationTerm
protected AbstractHvdcAcEmulationFlowEquationTerm(LfHvdc hvdc, LfBus bus1, LfBus bus2, VariableSet<AcVariableType> variableSet)
-
-
Method Detail
-
ph1
protected double ph1()
-
ph2
protected double ph2()
-
getLossMultiplier
protected static double getLossMultiplier(double lossFactor1, double lossFactor2)
-
getVariables
public List<Variable<AcVariableType>> getVariables()
Description copied from interface:EquationTerm
Get the list of variable this equation term depends on.- Returns:
- the list of variable this equation term depends on.
-
hasRhs
public boolean hasRhs()
Description copied from interface:EquationTerm
CheckEquationTerm.rhs()
can return a value different from zero.- Specified by:
hasRhs
in interfaceEquationTerm<AcVariableType,AcEquationType>
- Overrides:
hasRhs
in classAbstractEquationTerm<AcVariableType,AcEquationType>
- Returns:
- true if
EquationTerm.rhs()
can return a value different from zero, false otherwise
-
-