Class ReactivePowerCharacteristic

java.lang.Object
edu.ie3.datamodel.models.input.system.characteristic.CharacteristicInput<javax.measure.quantity.Dimensionless,javax.measure.quantity.Dimensionless>
edu.ie3.datamodel.models.input.system.characteristic.ReactivePowerCharacteristic
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CosPhiFixed, CosPhiP, QV

public abstract class ReactivePowerCharacteristic extends CharacteristicInput<javax.measure.quantity.Dimensionless,javax.measure.quantity.Dimensionless>
Abstract class (only for grouping all reactive power characteristics together
See Also:
  • Constructor Details

    • ReactivePowerCharacteristic

      protected ReactivePowerCharacteristic(SortedSet<CharacteristicPoint<javax.measure.quantity.Dimensionless,javax.measure.quantity.Dimensionless>> characteristicPoints, String prefix)
    • ReactivePowerCharacteristic

      protected ReactivePowerCharacteristic(String input, javax.measure.Unit<javax.measure.quantity.Dimensionless> abscissaUnit, javax.measure.Unit<javax.measure.quantity.Dimensionless> ordinateUnit, String prefix) throws ParsingException
      Throws:
      ParsingException
  • Method Details

    • parse

      public static ReactivePowerCharacteristic parse(String input) throws ParsingException
      Parses a given input to a valid reactive power characteristic, if it is recognized correctly. Otherwise, an IllegalArgumentException is thrown.
      Parameters:
      input - String to parse
      Returns:
      Matching reactive power characteristic
      Throws:
      ParsingException - If the given input cannot be mapped onto one of the known characteristics
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class CharacteristicInput<javax.measure.quantity.Dimensionless,javax.measure.quantity.Dimensionless>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class CharacteristicInput<javax.measure.quantity.Dimensionless,javax.measure.quantity.Dimensionless>