Class EquationSystem
- java.lang.Object
-
- com.powsybl.openloadflow.equations.EquationSystem
-
public class EquationSystem extends Object
- Author:
- Geoffroy Jamgotchian
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EquationSystem.EquationUpdateType
-
Constructor Summary
Constructors Constructor Description EquationSystem(LfNetwork network)
EquationSystem(LfNetwork network, boolean indexTerms)
-
Method Summary
-
-
-
Method Detail
-
getEquationTerms
public List<EquationTerm> getEquationTerms(ElementType elementType, int elementNum)
-
getEquationTerm
public <T extends EquationTerm> T getEquationTerm(ElementType elementType, int elementNum, Class<T> clazz)
-
createEquation
public Equation createEquation(int num, EquationType type)
-
getEquation
public Optional<Equation> getEquation(int num, EquationType type)
-
hasEquation
public boolean hasEquation(int num, EquationType type)
-
removeEquation
public Equation removeEquation(int num, EquationType type)
-
getEquations
public List<Equation> getEquations(ElementType elementType, int elementNum)
-
getSortedEquationsToSolve
public NavigableMap<Equation,NavigableMap<Variable,List<EquationTerm>>> getSortedEquationsToSolve()
-
createStateVector
public double[] createStateVector(VoltageInitializer initializer)
-
createEquationVector
public double[] createEquationVector()
-
updateEquationVector
public void updateEquationVector(double[] fx)
-
updateEquations
public void updateEquations(double[] x)
-
updateEquations
public void updateEquations(double[] x, EquationSystem.EquationUpdateType updateType)
-
updateNetwork
public void updateNetwork(double[] x)
-
addListener
public void addListener(EquationSystemListener listener)
-
removeListener
public void removeListener(EquationSystemListener listener)
-
write
public void write(Writer writer)
-
-