Energy Monitor

The energy monitor facilitates the collection of production data, for example a PV system.

Table of Contents


Inputs

Abbreviation Summary Description Unit Value Range
Ptot Production total This input is only visible in certain configurations. kWh 0...∞
Ppwr Production power This input is only visible in certain configurations. kW
Gi Grid energy import kWh 0...∞
Gpwr Grid power kW
Ge Grid energy export kWh 0...∞
Spwr Energy storage power Positive value: Energy storage is being charged.
Negative value: Energy storage is being discharged.
This input is only visible in certain configurations.
kW
SoC Energy storage state of charge This input is only visible in certain configurations. % 0...100
Err Error -
R Reset Reset counter values. - 0/1




Outputs

Abbreviation Summary Description Unit Value Range
Ppwr Production power kW
Pd Production today kWh 0...∞
Pm Production this month kWh 0...∞
Py Production this year kWh 0...∞
Ptot Production total kWh 0...∞
Cpwr Consumption power kW
Cd Consumption today kWh 0...∞
Cm Consumption this month kWh 0...∞
Cy Consumption this year kWh 0...∞
Ctot Consumption total kWh 0...∞
Ed Export today kWh 0...∞
Em Export this month kWh 0...∞
Ey Export this year kWh 0...∞
Etot Export total kWh 0...∞
Yd Yield today Currency
Ym Yield this month Currency
Yy Yield this year Currency
Ytot Yield total Currency
Sci Status code inverter -
Eci Error code inverter -
Gpwr Grid power kW
Spwr Energy storage power Positive value: Energy storage is being charged.
Negative value: Energy storage is being discharged.
kW
SoC Energy storage state of charge % 0...100
AC API Connector Intelligent API based connector. - -




Parameters

Abbreviation Summary Description Unit Value Range Default Value
Pre kWh price export Currency 0,2
Pri kWh price import Currency 0,2
CO2 Kg/kWh for CO2 savings Kg/kWh 0...∞ 0,21
Abs Absolute value Handling of inputs (Gi) and (Ge):
0 = Each new value is added incrementally to the total value.
1 = Value is used absolute and equals the reading of the meter.
- 0/1 0




Properties

Summary Description Value Range Default Value
Data Source Data source (inverter type), e.g. Fronius, Kostal

The data polled once every minute.
If the inputs are used as data source, the function block is also updated whenever the input values change.
- -
Battery capacity Capacity of the battery in kWh 0




Data Sources

As data sources you can choose different connections:

- Object Inputs: processing the data from the inputs of the block (in conjunction with a counter)

- Fronius: reading the data from an Internet-capable inverter

- Kostal: reading the data from an Internet-capable inverter


Communication with any sensors

As a data source in the properties "object inputs" are selected, the linkage of the individual sensors can be taken from the screenshot.


Communication with inverter

To receive the data of your inverter, you must select "Fronius" or "Kostal" as the data source in the properties window and enter the IP address and the device number. The data is polled cyclically every minute.


Device Numbers

Fronius:

The device number is displayed in the Fronius web interface under Settings->Inverter. In addition, this can be determined via the function "GetActiveDeviceinfo" on the recorder.

URL: http://"IP"/solar_api/v1/GetActiveDeviceInfo.cgi?deviceClass=Inverter

Kostal:

The device number is identical to the RS485 address. This is visible in the Kostal web interface on the main page and on the settings page.


Calculation

If the production is greater than the consumption, the yield is calculated from the sum of feed times, feed-in price, and consumption times the purchase price. Consumption is calculated as: Produced Energy + Related Energy - Delivered Energy. If the consumption is greater than the production, the yield is calculated to be the imported amount times the import tariff.

The currency can be set in the document properties.


Cabling

For more information on proper cabling, see here .