Class VoltageLevel

java.lang.Object
edu.ie3.datamodel.models.voltagelevels.VoltageLevel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CommonVoltageLevel

public class VoltageLevel extends Object implements Serializable
Definition of a concrete voltage level. Here, only voltage levels with one rated voltage are covered. Don't mix it up with "Netzebenen" in D-A-CH area, which also cover the transformation levels.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final String
     
    protected final tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricPotential>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    VoltageLevel(String id, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricPotential> nominalVoltage)
    Constructs a concrete voltage level
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the identifier of the voltage level
    tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricPotential>
    Get the nominal voltage of the voltage level
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • id

      protected final String id
    • nominalVoltage

      protected final tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricPotential> nominalVoltage
  • Constructor Details

    • VoltageLevel

      public VoltageLevel(String id, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricPotential> nominalVoltage)
      Constructs a concrete voltage level
      Parameters:
      id - Identifier
      nominalVoltage - nominal voltage of the voltage level
  • Method Details

    • getId

      public String getId()
      Get the identifier of the voltage level
      Returns:
      The identifier
    • getNominalVoltage

      public tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricPotential> getNominalVoltage()
      Get the nominal voltage of the voltage level
      Returns:
      The nominal voltage of the voltage level
    • toString

      public String toString()
      Overrides:
      toString in class Object