Package com.ed.data
Class InverterData
java.lang.Object
com.ed.data.InverterData
- All Implemented Interfaces:
DataSet
Inverter measurements
-
Field Summary
Modifier and TypeFieldDescriptionfinal DspFloat
Grid frequency, basic datafinal DspFloat
AC power L1, basic datafinal DspFloat
AC power L2, basic datafinal DspFloat
AC power L3, basic datafinal DspFloat
PV power, basic datafinal DspFloat
AC reactive power, basic datafinal DspFloat
Isolation resistance, basic datafinal DspFloat
AC voltage L1, basic datafinal DspFloat
AC voltage L2, basic datafinal DspFloat
AC voltage L3, basic datafinal DspFloat
PV voltage 1, basic datafinal DspFloat
PV voltage 2, basic data -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get data statusfloat
getAcPower
(int phaseIx) Get inverter AC Powerfloat
getAcVoltage
(int phaseIx) Get AC Voltage (inverter AC input)float
Get Grid frequency on inverter AC connectionfloat
Get inverter PV Powerfloat
getPvVoltage
(int pvIx) Get inverter PV Voltagefloat
getReactivPower
(int phaseIx) Get inverter Reactive Powerfloat
getRIso()
Get isolation resistance of total system: PV, Battery and invertervoid
refresh()
Put refresh requestvoid
registerData
(Client cl) Register all internal datatoString()
-
Field Details
-
uL1
AC voltage L1, basic data -
uL2
AC voltage L2, basic data -
uL3
AC voltage L3, basic data -
pL1
AC power L1, basic data -
pL2
AC power L2, basic data -
pL3
AC power L3, basic data -
qLx
AC reactive power, basic data -
uSg1
PV voltage 1, basic data -
uSg2
PV voltage 2, basic data -
pSg
PV power, basic data -
fGrid
Grid frequency, basic data -
rIso
Isolation resistance, basic data
-
-
Constructor Details
-
InverterData
Creates a object representing inverter measurements- Throws:
Exception
- wrong parameters
-
-
Method Details
-
getAcVoltage
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
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
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
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
Description copied from interface:DataSet
Register all internal data- Specified by:
registerData
in interfaceDataSet
- Parameters:
cl
- client connected to inverter
-
refresh
public void refresh()Description copied from interface:DataSet
Put refresh request -
dataReady
public boolean dataReady()Description copied from interface:DataSet
Get data status -
toString
-