Class AcEquationSystemCreator
java.lang.Object
com.powsybl.openloadflow.ac.equations.AcEquationSystemCreator
- Direct Known Subclasses:
AsymmetricalAcEquationSystemCreator
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AcEquationSystemCreationParameters
protected final LfNetwork
-
Constructor Summary
ConstructorDescriptionAcEquationSystemCreator
(LfNetwork network) AcEquationSystemCreator
(LfNetwork network, AcEquationSystemCreationParameters creationParameters) -
Method Summary
Modifier and TypeMethodDescriptioncreate()
protected void
createBusEquation
(LfBus bus, EquationSystem<AcVariableType, AcEquationType> equationSystem) protected void
createGeneratorReactivePowerControlBranchEquation
(LfBranch branch, LfBus bus1, LfBus bus2, EquationSystem<AcVariableType, AcEquationType> equationSystem, boolean deriveA1, boolean deriveR1) protected void
createImpedantBranch
(LfBranch branch, LfBus bus1, LfBus bus2, EquationSystem<AcVariableType, AcEquationType> equationSystem) protected static void
createImpedantBranchEquations
(LfBranch branch, LfBus bus1, LfBus bus2, EquationSystem<AcVariableType, AcEquationType> equationSystem, Evaluable p1, Evaluable q1, Evaluable i1, Evaluable p2, Evaluable q2, Evaluable i2, EquationTerm<AcVariableType, AcEquationType> closedP1, EquationTerm<AcVariableType, AcEquationType> closedQ1, EquationTerm<AcVariableType, AcEquationType> closedI1, EquationTerm<AcVariableType, AcEquationType> closedP2, EquationTerm<AcVariableType, AcEquationType> closedQ2, EquationTerm<AcVariableType, AcEquationType> closedI2, EquationTerm<AcVariableType, AcEquationType> openP1, EquationTerm<AcVariableType, AcEquationType> openQ1, EquationTerm<AcVariableType, AcEquationType> openI1, EquationTerm<AcVariableType, AcEquationType> openP2, EquationTerm<AcVariableType, AcEquationType> openQ2, EquationTerm<AcVariableType, AcEquationType> openI2) static void
createR1DistributionEquations
(TransformerVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) static void
createShuntSusceptanceDistributionEquations
(ShuntVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) protected static void
createTransformerPhaseControlEquations
(LfBranch branch, LfBus bus1, LfBus bus2, EquationSystem<AcVariableType, AcEquationType> equationSystem, boolean deriveA1, boolean deriveR1) protected static boolean
isDeriveA1
(LfBranch branch, AcEquationSystemCreationParameters creationParameters) protected static boolean
isDeriveR1
(LfBranch branch) static void
recreateR1DistributionEquations
(LfNetwork network, TransformerVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) static void
recreateReactivePowerDistributionEquations
(LfNetwork network, GeneratorVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem, AcEquationSystemCreationParameters parameters) static void
recreateShuntSusceptanceDistributionEquations
(LfNetwork network, ShuntVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) static void
updateGeneratorReactivePowerControlBranchEquations
(GeneratorReactivePowerControl generatorReactivePowerControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) static void
updateGeneratorVoltageControl
(GeneratorVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) static void
updateTransformerPhaseControlEquations
(TransformerPhaseControl phaseControl, EquationSystem<AcVariableType, AcEquationType> equationSystem)
-
Field Details
-
network
-
creationParameters
-
-
Constructor Details
-
AcEquationSystemCreator
-
AcEquationSystemCreator
public AcEquationSystemCreator(LfNetwork network, AcEquationSystemCreationParameters creationParameters)
-
-
Method Details
-
createBusEquation
protected void createBusEquation(LfBus bus, EquationSystem<AcVariableType, AcEquationType> equationSystem) -
createGeneratorReactivePowerControlBranchEquation
protected void createGeneratorReactivePowerControlBranchEquation(LfBranch branch, LfBus bus1, LfBus bus2, EquationSystem<AcVariableType, AcEquationType> equationSystem, boolean deriveA1, boolean deriveR1) -
updateGeneratorReactivePowerControlBranchEquations
public static void updateGeneratorReactivePowerControlBranchEquations(GeneratorReactivePowerControl generatorReactivePowerControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) -
recreateReactivePowerDistributionEquations
public static void recreateReactivePowerDistributionEquations(LfNetwork network, GeneratorVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem, AcEquationSystemCreationParameters parameters) -
updateGeneratorVoltageControl
public static void updateGeneratorVoltageControl(GeneratorVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) -
createTransformerPhaseControlEquations
protected static void createTransformerPhaseControlEquations(LfBranch branch, LfBus bus1, LfBus bus2, EquationSystem<AcVariableType, AcEquationType> equationSystem, boolean deriveA1, boolean deriveR1) -
updateTransformerPhaseControlEquations
public static void updateTransformerPhaseControlEquations(TransformerPhaseControl phaseControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) -
createR1DistributionEquations
public static void createR1DistributionEquations(TransformerVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) -
recreateR1DistributionEquations
public static void recreateR1DistributionEquations(LfNetwork network, TransformerVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) -
createShuntSusceptanceDistributionEquations
public static void createShuntSusceptanceDistributionEquations(ShuntVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) -
recreateShuntSusceptanceDistributionEquations
public static void recreateShuntSusceptanceDistributionEquations(LfNetwork network, ShuntVoltageControl voltageControl, EquationSystem<AcVariableType, AcEquationType> equationSystem) -
isDeriveA1
protected static boolean isDeriveA1(LfBranch branch, AcEquationSystemCreationParameters creationParameters) -
isDeriveR1
-
createImpedantBranch
protected void createImpedantBranch(LfBranch branch, LfBus bus1, LfBus bus2, EquationSystem<AcVariableType, AcEquationType> equationSystem) -
createImpedantBranchEquations
protected static void createImpedantBranchEquations(LfBranch branch, LfBus bus1, LfBus bus2, EquationSystem<AcVariableType, AcEquationType> equationSystem, Evaluable p1, Evaluable q1, Evaluable i1, Evaluable p2, Evaluable q2, Evaluable i2, EquationTerm<AcVariableType, AcEquationType> closedP1, EquationTerm<AcVariableType, AcEquationType> closedQ1, EquationTerm<AcVariableType, AcEquationType> closedI1, EquationTerm<AcVariableType, AcEquationType> closedP2, EquationTerm<AcVariableType, AcEquationType> closedQ2, EquationTerm<AcVariableType, AcEquationType> closedI2, EquationTerm<AcVariableType, AcEquationType> openP1, EquationTerm<AcVariableType, AcEquationType> openQ1, EquationTerm<AcVariableType, AcEquationType> openI1, EquationTerm<AcVariableType, AcEquationType> openP2, EquationTerm<AcVariableType, AcEquationType> openQ2, EquationTerm<AcVariableType, AcEquationType> openI2) -
create
-