SunSpec starter library
A starter SunSpec mapping (spec §20.3) demonstrating the v0.4 constructs
the SunSpec ecosystem needs: model-chain discovery
with model-relative offsets, and register-referenced
scale factors.
Import as moddef:stdlib:sunspec:1.0.0. Covers the Common model (1) and the
single-phase inverter model (103); more models are future work.
Synced from moddef/stdlib.
SunSpec Common Model (model 1)
| Point | Name | Storage | Unit | Offset* |
|---|---|---|---|---|
manufacturer | Manufacturer | STRING_ASCII | none | 2 |
model | Model | STRING_ASCII | none | 18 |
serial_number | Serial Number | STRING_ASCII | none | 50 |
SunSpec Inverter Model 103 (model 103)
| Point | Name | Storage | Unit | Offset* |
|---|---|---|---|---|
ac_current_sf | AC Current Scale Factor | S16 | none | 6 |
ac_current | AC Current | U16 | A | 2 |
ac_voltage_sf | AC Voltage Scale Factor | S16 | none | 13 |
ac_voltage_ln | AC Voltage L-N | U16 | V | 10 |
ac_power_sf | AC Power Scale Factor | S16 | none | 15 |
ac_power | AC Power | S16 | W | 14 |
frequency_sf | Frequency Scale Factor | S16 | none | 17 |
frequency | AC Frequency | U16 | Hz | 16 |
* Offset is relative to the model's ID register (spec §7.3).