The purpose of this plugin is to collect data from Power Electronics solar inverters via Modbus.
Usage
This plugin reads the data from Power Electronics inverters via Ethernet TCP. This plugin relies on the Modbus Ardexa plugin, and reads from the following inverter models:
PE Freesun HEM
PE Freesun HEMK
It uses the Modbus Specification, and collects from IP connected inverters, using TCP protocol. It will be run every 5 minutes, by default. Inverter data will be collected to the solar table. The inverter will be interrogated for the following data.
NOTE: choose the config file that corresponds to the generation of the Power Electronics inverter, e.g. Gen2 or Gen3.
The following fields will be collected from the config file PE_inverter_HEM_Gen3.txt.
Variable Units
==========================================
Inverter Name
Facility Name
Serial Number
Daily Energy Wh
Yesterday Energy Wh
Monthly Energy Wh
Last Month Energy Wh
Total Energy Wh
Consumed Daily Energy Wh
Consumed Total Energy Wh
Daily Reactive Energy VArh
Yesterday Reactive Energy VArh
Monthly Reactive Energy VArh
Last Month Reactive Energy VArh
Total Reactive Energy VArh
DC Power 1 W
DC Power 2 W
DC Power 3 W
DC Power 4 W
DC Current 1 A
DC Current 2 A
DC Current 3 A
DC Current 4 A
DC Voltage 1 V
DC Voltage 2 V
DC Voltage 3 V
DC Voltage 4 V
DC Voltage 1 Last Start V
DC Voltage 2 Last Start V
DC Voltage 3 Last Start V
DC Voltage 4 Last Start V
DC Power W
DC Current A
AC Power Instantaneous W
AC Reactive Instantaneous VAr
AC Voltage 12 V
AC Voltage 23 V
AC Voltage 31 V
AC Current 1 A
AC Current 2 A
AC Current 3 A
AC Power W
AC Reactive Power VAr
AC Apparent Power VA
Cos Phi VA
LV AC Voltage 12 V
LV AC Voltage 23 V
LV AC Voltage 31 V
LV AC Current 1 A
LV AC Current 2 A
LV AC Current 3 A
LV AC Power W
LV AC Reactive Power VAr
LV AC Apparent Power VA
LV Cos Phi VA
Grid Sequence
Frequency Hz
Fault
Fault Code
Warning
Warning Code
Event
Event Code
Number of Running Modules
Next Starting Module
Module 1 Start Stop
Module 2 Start Stop
Module 3 Start Stop
Module 4 Start Stop
Module 5 Start Stop
Module 6 Start Stop
Module 7 Start Stop
Module 8 Start Stop
Modules 1 Enable
Modules 2 Enable
Modules 3 Enable
Modules 4 Enable
Modules 5 Enable
Modules 6 Enable
Modules 7 Enable
Modules 8 Enable
For each of the connected modules (usually four), the following fields will be collected. Each module will be collected to a different source (e.g. inverter-module-01).
Variable Units
==============================================================
DC Current 1 A
DC Current 2 A
DC Current 3 A
DC Current 4 A
DC Current 5 A
DC Current 6 A
DC Current 7 A
DC Current 8 A
DC Current 9 A
DC Current 10 A
Status
Status Code
AC Current 1 A
AC Current 2 A
AC Current 3 A
DC Current A
DC Voltage P V
DC Voltage N V
DC Voltage V
AC Power V
AC Reactive Power VAr
Humidity %
AC Voltage 12 V
AC Voltage 23 V
AC Voltage 31 V
Arguments
Arguments are as follows:
endpoint. This is either a serial device like /dev/ttyS0 or an IP or DNS like 192.168.1.15
bus_addresses. An RS485 address in the range 2-63. This can be a hyphenated list like 3-10 or a list like 2,5,7,9
--port. This is an optional parameter used in an Ethernet gateway, and is the TCP port used for the gateway. Default is 502
--attempts. This is an optional parameter, and determines how many times to times to attempt to read an inverter value. Default is 1
--delay. This is the delay in seconds between inverter send and receive commands, AND if attempts > 1. Fractions like 0.3 can be used. Default is 0.05