sunspec / models

SunSpec Model Definitions
Apache License 2.0
84 stars 52 forks source link

Model 306 unit / repeating attributes mismatch between XLS/XML and PDF specification #244

Open msqr opened 1 year ago

msqr commented 1 year ago

Looking at model 306's XML/CSV specifications, they do not match the PDF specification, in both block length and units.

Here is the PDF specification:

306-pdf-spec

Here is the XLS specification:

306-csv-spec

Here is the SMDX specification:

306-smdx-spec
  1. The PDF specification defines a repeating block of length 7 while the others define a fixed block of length 4.
  2. The PDF specification defines the Current as int32/Amps/-2 while the others define uint16/Wm2/0.
  3. The PDF specification defines the Voltage as int32/Volts/-2 while the others define uint16/Wm2/0.
  4. The PDF specification defines the Temperature as int32/C/0 while the others define uint16/Wm2/0.
msqr commented 1 year ago

Also I am not sure if this is an issue or not, but the Temperature scale in the PDF is 0, while other models seem to use -1 for temperature measurements. Should the scale be -1 here as well?