Class AcEquationSystemUpdater
java.lang.Object
com.powsybl.openloadflow.network.AbstractLfNetworkListener
com.powsybl.openloadflow.lf.AbstractEquationSystemUpdater<AcVariableType,AcEquationType>
com.powsybl.openloadflow.ac.equations.AcEquationSystemUpdater
- All Implemented Interfaces:
LfNetworkListener
public class AcEquationSystemUpdater
extends AbstractEquationSystemUpdater<AcVariableType,AcEquationType>
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Field Summary
Fields inherited from class com.powsybl.openloadflow.lf.AbstractEquationSystemUpdater
equationSystem, loadFlowModel
-
Constructor Summary
ConstructorDescriptionAcEquationSystemUpdater
(EquationSystem<AcVariableType, AcEquationType> equationSystem, AcEquationSystemCreationParameters parameters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onBranchConnectionStatusChange
(LfBranch branch, com.powsybl.iidm.network.TwoSides side, boolean connected) void
onDisableChange
(LfElement element, boolean disabled) void
onGeneratorReactivePowerControlChange
(LfBus controllerBus, boolean newReactiveControllerEnabled) void
onGeneratorVoltageControlChange
(LfBus controllerBus, boolean newVoltageControllerEnabled) void
onShuntVoltageControlChange
(LfShunt controllerShunt, boolean newVoltageControllerEnabled) void
onTransformerPhaseControlChange
(LfBranch controllerBranch, boolean newPhaseControlEnabled) void
onTransformerVoltageControlChange
(LfBranch controllerBranch, boolean newVoltageControllerEnabled) void
onZeroImpedanceNetworkMerge
(LfZeroImpedanceNetwork network1, LfZeroImpedanceNetwork network2, LfZeroImpedanceNetwork mergedNetwork, LoadFlowModel loadFlowModel) void
onZeroImpedanceNetworkSplit
(LfZeroImpedanceNetwork initialNetwork, List<LfZeroImpedanceNetwork> splitNetworks, LoadFlowModel loadFlowModel) protected void
updateNonImpedantBranchEquations
(LfBranch branch, boolean enable) Methods inherited from class com.powsybl.openloadflow.lf.AbstractEquationSystemUpdater
checkSlackBus, onZeroImpedanceNetworkSpanningTreeChange, updateElementEquations
Methods inherited from class com.powsybl.openloadflow.network.AbstractLfNetworkListener
onGenerationActivePowerTargetChange, onGenerationReactivePowerTargetChange, onGeneratorVoltageControlTargetChange, onLoadActivePowerTargetChange, onLoadReactivePowerTargetChange, onShuntSusceptanceChange, onTapPositionChange
-
Constructor Details
-
AcEquationSystemUpdater
public AcEquationSystemUpdater(EquationSystem<AcVariableType, AcEquationType> equationSystem, AcEquationSystemCreationParameters parameters)
-
-
Method Details
-
onGeneratorVoltageControlChange
public void onGeneratorVoltageControlChange(LfBus controllerBus, boolean newVoltageControllerEnabled) - Specified by:
onGeneratorVoltageControlChange
in interfaceLfNetworkListener
- Overrides:
onGeneratorVoltageControlChange
in classAbstractLfNetworkListener
-
onTransformerPhaseControlChange
public void onTransformerPhaseControlChange(LfBranch controllerBranch, boolean newPhaseControlEnabled) - Specified by:
onTransformerPhaseControlChange
in interfaceLfNetworkListener
- Overrides:
onTransformerPhaseControlChange
in classAbstractLfNetworkListener
-
onGeneratorReactivePowerControlChange
public void onGeneratorReactivePowerControlChange(LfBus controllerBus, boolean newReactiveControllerEnabled) - Specified by:
onGeneratorReactivePowerControlChange
in interfaceLfNetworkListener
- Overrides:
onGeneratorReactivePowerControlChange
in classAbstractLfNetworkListener
-
onTransformerVoltageControlChange
public void onTransformerVoltageControlChange(LfBranch controllerBranch, boolean newVoltageControllerEnabled) - Specified by:
onTransformerVoltageControlChange
in interfaceLfNetworkListener
- Overrides:
onTransformerVoltageControlChange
in classAbstractLfNetworkListener
-
onShuntVoltageControlChange
public void onShuntVoltageControlChange(LfShunt controllerShunt, boolean newVoltageControllerEnabled) - Specified by:
onShuntVoltageControlChange
in interfaceLfNetworkListener
- Overrides:
onShuntVoltageControlChange
in classAbstractLfNetworkListener
-
updateNonImpedantBranchEquations
- Specified by:
updateNonImpedantBranchEquations
in classAbstractEquationSystemUpdater<AcVariableType,
AcEquationType>
-
onDisableChange
- Specified by:
onDisableChange
in interfaceLfNetworkListener
- Overrides:
onDisableChange
in classAbstractLfNetworkListener
-
onZeroImpedanceNetworkSplit
public void onZeroImpedanceNetworkSplit(LfZeroImpedanceNetwork initialNetwork, List<LfZeroImpedanceNetwork> splitNetworks, LoadFlowModel loadFlowModel) - Specified by:
onZeroImpedanceNetworkSplit
in interfaceLfNetworkListener
- Overrides:
onZeroImpedanceNetworkSplit
in classAbstractLfNetworkListener
-
onZeroImpedanceNetworkMerge
public void onZeroImpedanceNetworkMerge(LfZeroImpedanceNetwork network1, LfZeroImpedanceNetwork network2, LfZeroImpedanceNetwork mergedNetwork, LoadFlowModel loadFlowModel) - Specified by:
onZeroImpedanceNetworkMerge
in interfaceLfNetworkListener
- Overrides:
onZeroImpedanceNetworkMerge
in classAbstractLfNetworkListener
-
onBranchConnectionStatusChange
public void onBranchConnectionStatusChange(LfBranch branch, com.powsybl.iidm.network.TwoSides side, boolean connected) - Specified by:
onBranchConnectionStatusChange
in interfaceLfNetworkListener
- Overrides:
onBranchConnectionStatusChange
in classAbstractLfNetworkListener
-