Package com.ed.data

Class VectisData

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

public final class VectisData extends Object implements DataSet
VECTIS measurements
  • Field Details

    • pInt

      public final DspFloat pInt
      VECTIS Power (internal sensors), basic data
    • pExt

      public final DspFloat pExt
      VECTIS Power (external sensors), basic data
    • uExt

      public final DspFloat uExt
      VECTIS AC Voltage, basic data
    • fExt

      public final DspFloat fExt
      VECTIS Grid frequency, basic data
    • qInt

      public final DspFloat qInt
      VECTIS reactive power (internal sensors), basic data
    • qExt

      public final DspFloat qExt
      VECTIS reactive power (external sensors), basic data
  • Constructor Details

    • VectisData

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

    • getACPower

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

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

      public float getReactivePower(int phaseIx) throws RuntimeException
      Get VECTIS AC Reactive Power
      Parameters:
      phaseIx - Phase index 0 (Phase 1), 1 and 2.
      Returns:
      Reactive Power [var] (~ 20ms, grid synchronized measurement) '+' inductive, '-' capacitive
      Throws:
      RuntimeException
    • getReactivePowerExt

      public float getReactivePowerExt(int phaseIx) throws RuntimeException
      Get VECTIS AC Reactive Power, external current sensors
      Parameters:
      phaseIx - Phase index 0 (Phase 1), 1 and 2.
      Returns:
      Reactive Power [var] (~ 20ms, grid synchronized measurement) '+' inductive, '-' capacitive
      Throws:
      RuntimeException
    • getACVoltageOnGrid

      public float getACVoltageOnGrid(int phaseIx) throws RuntimeException
      Get VECTIS On-grid Voltage (external)
      Parameters:
      phaseIx - Phase index 0 (Phase 1), 1 and 2.
      Returns:
      AC voltage [V] (~ 20ms RMS, grid synchronized measurement)
      Throws:
      RuntimeException
    • getFrequencyExt

      public float getFrequencyExt() throws RuntimeException
      Get VECTIS On-grid Frequency (external)
      Returns:
      AC Frequency [Hz] (grid synchronized measurement)
      Throws:
      RuntimeException
    • 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