Class ShuntCompensatorReactiveFlowEquationTerm
java.lang.Object
com.powsybl.openloadflow.equations.AbstractEquationTerm<V,E>
com.powsybl.openloadflow.equations.AbstractNamedEquationTerm<V,E>
com.powsybl.openloadflow.equations.AbstractElementEquationTerm<LfShunt,AcVariableType,AcEquationType>
com.powsybl.openloadflow.ac.equations.AbstractShuntCompensatorEquationTerm
com.powsybl.openloadflow.ac.equations.ShuntCompensatorReactiveFlowEquationTerm
- All Implemented Interfaces:
EquationTerm<AcVariableType,
,AcEquationType> Evaluable
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
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 inherited from class com.powsybl.openloadflow.ac.equations.AbstractShuntCompensatorEquationTerm
vVar
Fields inherited from class com.powsybl.openloadflow.equations.AbstractElementEquationTerm
element
Fields inherited from class com.powsybl.openloadflow.equations.AbstractEquationTerm
self, sv
-
Constructor Summary
ConstructorDescriptionShuntCompensatorReactiveFlowEquationTerm
(LfShunt shunt, LfBus bus, VariableSet<AcVariableType> variableSet, boolean deriveB) -
Method Summary
Modifier and TypeMethodDescriptiondouble
calculateSensi
(com.powsybl.math.matrix.DenseMatrix dx, int column) double
der
(Variable<AcVariableType> variable) Get partial derivative.double
eval()
Evaluate equation term.protected String
getName()
Get the list of variable this equation term depends on.Methods inherited from class com.powsybl.openloadflow.ac.equations.AbstractShuntCompensatorEquationTerm
v
Methods inherited from class com.powsybl.openloadflow.equations.AbstractElementEquationTerm
getElementNum, getElementType
Methods inherited from class com.powsybl.openloadflow.equations.AbstractNamedEquationTerm
write
Methods inherited from class com.powsybl.openloadflow.equations.AbstractEquationTerm
getChildren, getEquation, hasRhs, isActive, rhs, setActive, setEquation, setSelf, setStateVector
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.openloadflow.equations.EquationTerm
eval, minus, multiply, multiply
-
Constructor Details
-
ShuntCompensatorReactiveFlowEquationTerm
public ShuntCompensatorReactiveFlowEquationTerm(LfShunt shunt, LfBus bus, VariableSet<AcVariableType> variableSet, boolean deriveB)
-
-
Method Details
-
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.
-
eval
public double eval()Description copied from interface:EquationTerm
Evaluate equation term.- Returns:
- value of the equation term
-
der
Description copied from interface:EquationTerm
Get partial derivative.- Parameters:
variable
- the variable the partial derivative is with respect to- Returns:
- value of the partial derivative
-
calculateSensi
public double calculateSensi(com.powsybl.math.matrix.DenseMatrix dx, int column) - Specified by:
calculateSensi
in interfaceEquationTerm<AcVariableType,
AcEquationType> - Overrides:
calculateSensi
in classAbstractEquationTerm<AcVariableType,
AcEquationType>
-
getName
- Specified by:
getName
in classAbstractNamedEquationTerm<AcVariableType,
AcEquationType>
-