Package com.powsybl.ampl.converter
Interface AmplNetworkUpdater
- All Known Implementing Classes:
AbstractAmplNetworkUpdater
,DefaultAmplNetworkUpdater
public interface AmplNetworkUpdater
Interface to modify a network after an Ampl solve.
AmplNetworkReader
does the Ampl output parsing,
and AmplNetworkUpdater
modifies the Network
.
Default implementation in DefaultAmplNetworkUpdater
.
- Author:
- Nicolas Pierre <[email protected]>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateNetworkBattery
(Battery b, int busNum, double targetP, double targetQ, double p, double q) void
updateNetworkBranch
(Branch br, Network network, String id, int busNum, int busNum2, double p1, double p2, double q1, double q2) void
updateNetworkBus
(Bus bus, double v, double theta) void
updateNetworkGenerators
(Generator g, int busNum, boolean vregul, double targetV, double targetP, double targetQ, double p, double q) void
updateNetworkHvdcLine
(HvdcLine hl, String converterMode, double targetP) void
updateNetworkLcc
(LccConverterStation lcc, int busNum, double p, double q) void
updateNetworkLoad
(Load l, Network network, String id, int busNum, double p, double q, double p0, double q0) void
updateNetworkPhaseTapChanger
(Network network, String id, int tap) void
updateNetworkRatioTapChanger
(Network network, String id, int tap) void
updateNetworkShunt
(ShuntCompensator sc, int busNum, double q, double b, int sections) void
updateNetworkSvc
(StaticVarCompensator svc, int busNum, boolean vregul, double targetV, double q) void
updateNetworkVsc
(VscConverterStation vsc, int busNum, boolean vregul, double targetV, double targetQ, double p, double q)
-
Method Details
-
updateNetworkGenerators
void updateNetworkGenerators(Generator g, int busNum, boolean vregul, double targetV, double targetP, double targetQ, double p, double q) -
updateNetworkBattery
void updateNetworkBattery(Battery b, int busNum, double targetP, double targetQ, double p, double q) -
updateNetworkShunt
-
updateNetworkSvc
void updateNetworkSvc(StaticVarCompensator svc, int busNum, boolean vregul, double targetV, double q) -
updateNetworkVsc
void updateNetworkVsc(VscConverterStation vsc, int busNum, boolean vregul, double targetV, double targetQ, double p, double q) -
updateNetworkLoad
-
updateNetworkRatioTapChanger
-
updateNetworkPhaseTapChanger
-
updateNetworkBus
-
updateNetworkBranch
-
updateNetworkHvdcLine
-
updateNetworkLcc
-