For the complete documentation index, see llms.txt. This page is also available as Markdown.

SMA Central Inverters

Purpose

The purpose of this plugin is to collect data from SMA Central Inverters Production series CP, CP-US, CP-JP and HE-20 Inverters.

Usage

This plugin collects from SMA Central Inverters Production series CP, CP-US, CP-JP and HE-20. It uses the Modbus TCP Specification, and collects from RS485 or IP connected inverters. Inverter data will be collected to the solar table, and will be run every 5 minutes, by default. This plugin relies on the Modbus Ardexa plugin. Please be aware you may need 1 or 2 attempts to read the data. The plugin collects the following data:

Variable                Units
=============================
SN
Grid Freq          	Hz  						
Daily Energy       	Wh  						
Total Energy       	Wh  						
DC Voltage         	V   						
DC Current         	A   						
DC Power           	W   						
AC Current         	A   						
AC Current 1       	A   						
AC Current 2       	A   						
AC Current 3       	A   						
AC Voltage         	V   						
AC Voltage 12      	V   						
AC Voltage 23      	V   						
AC Voltage 31      	V   						
AC Power           	W   						
Insul Resist       	kOhm						
Event Number       	    						
Event       		    							
Total Hours        	h   						
Temperature 1      	°C  						
Temperature 2      	°C  						
Reactive Power     	var 						
Apparent Power     	VA  						
Cos Phi		     							

Action             							
Grid Contactor     							
Key Switch         							
Mode               							
Error              							
Status of GFDI Relay							
Status of Current Restart Interlock			
DC Switch in Cabinet							
AC Switch-Disconnector in Cabinet				
Excitation Type of Cos Phi						
Operating Mode of Reactive Power Reg			
Setpoint Excitation Type of Cos Phi			
Active Power Limitation Operating Mode			
Operating Mode of Static Voltage Stability		
Status             							
Insul Resist Status   							

Action Code            						
Grid Contactor Code    						
Key Switch Code        						
Mode Code              						
Error Code             						
Status of GFDI Relay Code						
Status of Current Restart Interlock Code		
DC Switch in Cabinet Code						
AC Switch-Disconnector in Cabinet Code			
Excitation Type of Cos Phi Code				
Operating Mode of Reactive Power Reg Code		
Setpoint Excitation Type of Cos Phi Code		
Active Power Limitation Operating Mode Code	
Operating Mode of Static Voltage Stability Code
Status Code             						
Insul Resist Status Code   					

There are two dict files, one for the Event Number translation (event.dict), and one that contains the translation for all the rest of the statuses (mode.dict).

The following is the full dict file for the "Event" variable found in dict/event.dict. Each of these error codes correspond to a Corrective Measure, which can be found on Pages 80-86 of the SMA Sunny Central Operating Manual (https://d1819pwkf4ncw.cloudfront.net/files/documents/sunny-central-operating-manual-275371.pdf).

The following is the mapping used to translate the rest of the status codes, found in dict/mode.dict, taken from Pages 25-30 of the SMA Sunny Central Modbus Interface Manual (https://files.sma.de/downloads/SC-COM-MODBUS-TB-en-22.pdf).

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. The bus address of the inverter(s)

  • --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

Last updated

Was this helpful?