Energy Monitor

The Energy Monitor facilitates the collection of production data, for example a PV system.
The Energy Monitor can be used to record production data of an inverter. The data can be processed by the object inputs in combination with a counter.
In addition, the block can visualize production data, financial savings and a battery storage in the user interface.

This function block is no longer being developed further and has been replaced by the Energy Flow Monitor in combination with the Meter blocks.

Table of Contents


Inputs

AbbreviationSummaryDescriptionUnitValue Range
PtotProduction total
This input is only visible in certain configurations.
kWh0...∞
PpwrProduction power
This input is only visible in certain configurations.
kW
GiGrid energy importkWh0...∞
GpwrGrid powerPositive value: Energy is imported from the grid.
Negative value: Energy is exported to the grid.
kW
GeGrid energy exportkWh0...∞
SpwrEnergy storage powerPositive value: Energy storage is being discharged.
Negative value: Energy storage is being charged.

This input is only visible in certain configurations.
kW
SoCEnergy storage state of charge
This input is only visible in certain configurations.
%0...100
ErrError-
RResetReset counter values.
The name of the connected sensor is used in the user interface.
-0/1




Outputs

AbbreviationSummaryDescriptionUnitValue Range
PpwrProduction powerkW
PdProduction todaykWh0...∞
PmProduction this monthkWh0...∞
PyProduction this yearkWh0...∞
PtotProduction totalkWh0...∞
CpwrConsumption powerkW
CdConsumption todaykWh0...∞
CmConsumption this monthkWh0...∞
CyConsumption this yearkWh0...∞
CtotConsumption totalkWh0...∞
EdExport todaykWh0...∞
EmExport this monthkWh0...∞
EyExport this yearkWh0...∞
EtotExport totalkWh0...∞
YdYield todayCurrency
YmYield this monthCurrency
YyYield this yearCurrency
YtotYield totalCurrency
SciStatus code inverter-
EciError code inverter-
GpwrGrid powerPositive value: Energy is imported from the grid.
Negative value: Energy is exported to the grid.
kW
SpwrEnergy storage powerPositive value: Energy storage is being discharged.
Negative value: Energy storage is being charged.
kW
SoCEnergy storage state of charge%0...100
ItotImport totalkWh0...∞
APIAPI ConnectorIntelligent API based connector.
API Commands
--




Parameters

AbbreviationSummaryDescriptionUnitValue RangeDefault Value
PrekWh price exportCurrency0,2
PrikWh price importCurrency0,2
CO2Kg/kWh for CO2 savingsKg/kWh0...∞0,42
AbsAbsolute valueHandling 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/10




Properties

SummaryDescriptionValue RangeDefault Value
Data SourceData 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 capacityCapacity of the battery in kWh0



Supported inverters

Directly in the function block via Ethernet (TCP/IP):
Fronius Primo, Symo

Fronius GEN24 Plus are supported from firmware 1.14.1.
This requires activation of the Solar API interface on the inverter.

Kostal Piko inverters that support the RS485 protocol via TCP (Port 81)

Via template (Modbus TCP/RTU, RS485, RS232):
Kostal Plenticore template for Modbus TCP (port 1502)
Solar Edge
SMA
Further templates are available on Loxone Library.


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 exported energy times the export tariff, and consumption times the import tariff. Consumption is calculated as: Produced Energy + Imported Energy - Delivered Energy. The consumption is calculated every 10 min and as soon as all connected inputs have changed. If the consumption is greater than the production, the yield is calculated from the produced energy times the import tariff.

The currency can be set in the document properties.


Cabling

For more information on proper cabling, see here .