sunspec / models

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

Model 305 length mismatch between XLS/SMDX and PDF specification #245

Open msqr opened 1 year ago

msqr commented 1 year ago

The Environmental Model PDF document describes model 305 differently from the XSL/SMDX specifications.

Here is the PDF specification:

305-pdf-spec

Here is the XLS specification:

305-xls-spec

Here is the SMDX specification:

305-smdx-spec

The differences I see are:

  1. The PDF specification has the Time length as 5 with unit "hhmmss.sss", while XLS/SMDX have 6 with unit "hhmmss.sssZ".
  2. The PDF specification has the Location length as 20 at offset 12, but the next field Latitude starts 10 registers later at 22, not 32 as expected.
  3. The PDF specification has the model length at 25, but the individual property lengths add up to 35 (probably because of the previous point).