Package com.ed.data

Class InverterData

java.lang.Object
com.ed.data.InverterData
All Implemented Interfaces:
DataSet

public final class InverterData extends Object implements DataSet
Inverter measurements
  • Field Details

    • uL1

      public final DspFloat uL1
      AC voltage L1, basic data
    • uL2

      public final DspFloat uL2
      AC voltage L2, basic data
    • uL3

      public final DspFloat uL3
      AC voltage L3, basic data
    • pL1

      public final DspFloat pL1
      AC power L1, basic data
    • pL2

      public final DspFloat pL2
      AC power L2, basic data
    • pL3

      public final DspFloat pL3
      AC power L3, basic data
    • qLx

      public final DspFloat qLx
      AC reactive power, basic data
    • uSg1

      public final DspFloat uSg1
      PV voltage 1, basic data
    • uSg2

      public final DspFloat uSg2
      PV voltage 2, basic data
    • pSg

      public final DspFloat pSg
      PV power, basic data
    • fGrid

      public final DspFloat fGrid
      Grid frequency, basic data
    • rIso

      public final DspFloat rIso
      Isolation resistance, basic data
  • Constructor Details

    • InverterData

      public InverterData() throws Exception
      Creates a object representing inverter measurements
      Throws:
      Exception - wrong parameters
  • Method Details

    • getAcVoltage

      public float getAcVoltage(int phaseIx) throws RuntimeException
      Get AC Voltage (inverter AC input)
      Parameters:
      phaseIx - Phase index 0 (Phase 1), 1 and 2.
      Returns:
      AC RMS Voltage [V] (~ 20ms, grid synchronized measurement)
      Throws:
      RuntimeException
    • getAcPower

      public float getAcPower(int phaseIx) throws RuntimeException
      Get inverter AC Power
      Parameters:
      phaseIx - Phase index 0 (Phase 1), 1 and 2.
      Returns:
      AC power [W] (~ 20ms, grid synchronized measurement) '+' feed in, '-' consumption
      Throws:
      RuntimeException
    • getReactivPower

      public float getReactivPower(int phaseIx) throws RuntimeException
      Get inverter Reactive Power
      Parameters:
      phaseIx - Phase index 0 (Phase 1), 1 and 2.
      Returns:
      Reactive power [var] (~ 20ms, grid synchronized measurement) '+' overexcited, '-' underexcited
      Throws:
      RuntimeException - wrong parameters
    • getPvVoltage

      public float getPvVoltage(int pvIx) throws RuntimeException
      Get inverter PV Voltage
      Parameters:
      pvIx - PV input number 0 and 1.
      Returns:
      PV Voltage [V]
      Throws:
      RuntimeException
    • getPvPower

      public float getPvPower()
      Get inverter PV Power
      Returns:
      PV power [W] (~ 20ms)
    • getGridFrequency

      public float getGridFrequency()
      Get Grid frequency on inverter AC connection
      Returns:
      Grid frequency [Hz]
    • getRIso

      public float getRIso()
      Get isolation resistance of total system: PV, Battery and inverter
      Returns:
      Grid frequency [Ohm] 0.0f - isolation measurement not ready.
    • registerData

      public void registerData(Client cl)
      Description copied from interface: DataSet
      Register all internal data
      Specified by:
      registerData in interface DataSet
      Parameters:
      cl - client connected to inverter
    • refresh

      public void refresh()
      Description copied from interface: DataSet
      Put refresh request
      Specified by:
      refresh in interface DataSet
    • dataReady

      public boolean dataReady()
      Description copied from interface: DataSet
      Get data status
      Specified by:
      dataReady in interface DataSet
      Returns:
      true if internal data was read after last refresh request
    • toString

      public String toString()
      Overrides:
      toString in class Object