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, andAmplNetworkUpdater
modifies theNetwork
.
Default implementation in
DefaultAmplNetworkUpdater
.- Author:
- Nicolas Pierre
- See Also:
AmplNetworkReader
,AbstractAmplNetworkUpdater
,DefaultAmplNetworkUpdater
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
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
void updateNetworkShunt(ShuntCompensator sc, int busNum, double q, double b, int sections)
-
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
void updateNetworkLoad(Load l, Network network, String id, int busNum, double p, double q, double p0, double q0)
-
updateNetworkRatioTapChanger
void updateNetworkRatioTapChanger(Network network, String id, int tap)
-
updateNetworkPhaseTapChanger
void updateNetworkPhaseTapChanger(Network network, String id, int tap)
-
updateNetworkBus
void updateNetworkBus(Bus bus, double v, double theta)
-
updateNetworkBranch
void updateNetworkBranch(Branch br, Network network, String id, int busNum, int busNum2, double p1, double p2, double q1, double q2)
-
updateNetworkHvdcLine
void updateNetworkHvdcLine(HvdcLine hl, String converterMode, double targetP)
-
updateNetworkLcc
void updateNetworkLcc(LccConverterStation lcc, int busNum, double p, double q)
-
-