Class ActivePowerExtension

java.lang.Object
com.powsybl.security.extensions.ActivePowerExtension
All Implemented Interfaces:
Extension<LimitViolation>

public class ActivePowerExtension extends Object implements Extension<LimitViolation>
Author:
Mathieu Bague <mathieu.bague at rte-france.com>
  • Constructor Details

    • ActivePowerExtension

      public ActivePowerExtension(double preContingencyValue)
    • ActivePowerExtension

      public ActivePowerExtension(double preContingencyValue, double postContingencyValue)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Extension
      Return the name of this extension.
      Specified by:
      getName in interface Extension<LimitViolation>
    • getExtendable

      public LimitViolation getExtendable()
      Description copied from interface: Extension
      Return the holder of this extension
      Specified by:
      getExtendable in interface Extension<LimitViolation>
      Returns:
      the holder of this extension or null if this extension is not held
    • setExtendable

      public void setExtendable(LimitViolation limitViolation)
      Description copied from interface: Extension
      Set the holder of this extension.
      Specified by:
      setExtendable in interface Extension<LimitViolation>
      Parameters:
      limitViolation - The new holder of this extension, could be null
    • getPreContingencyValue

      public double getPreContingencyValue()
    • getPostContingencyValue

      public double getPostContingencyValue()