Class AngleMonitoring

java.lang.Object
com.powsybl.openrao.monitoring.anglemonitoring.AngleMonitoring

public class AngleMonitoring extends Object
Monitors AngleCnecs' angles. To remedy AngleCnecs with angles past their thresholds, corresponding remedial actions are applied. These remedial actions are then compensated via redispatching.
Author:
Godelaine de Montmorillon <godelaine.demontmorillon at rte-france.com>
  • Constructor Details

    • AngleMonitoring

      public AngleMonitoring(Crac crac, com.powsybl.iidm.network.Network inputNetwork, RaoResult raoResult, com.powsybl.glsk.cim.CimGlskDocument cimGlskDocument)
  • Method Details

    • runAndUpdateRaoResult

      public RaoResult runAndUpdateRaoResult(String loadFlowProvider, com.powsybl.loadflow.LoadFlowParameters loadFlowParameters, int numberOfLoadFlowsInParallel, OffsetDateTime glskOffsetDateTime) throws OpenRaoException
      Main function : runs AngleMonitoring computation on all AngleCnecs defined in the CRAC. Returns an RaoResult enhanced with AngleMonitoringResult
      Throws:
      OpenRaoException
    • run

      @Deprecated public AngleMonitoringResult run(String loadFlowProvider, com.powsybl.loadflow.LoadFlowParameters loadFlowParameters, int numberOfLoadFlowsInParallel, OffsetDateTime glskOffsetDateTime) throws OpenRaoException
      Deprecated.
      Main function : runs AngleMonitoring computation on all AngleCnecs defined in the CRAC. Returns an AngleMonitoringResult
      Throws:
      OpenRaoException
    • thresholdOvershoot

      public static boolean thresholdOvershoot(AngleCnec angleCnec, Double angle)
      Compares an angleCnec's thresholds to an angle (parameter). Returns true if a threshold is breached.