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 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

      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)