arras-energy / gridlabd

Arras Energy simulator
https://www.arras.energy/
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

Recorder interval cannot use normal time interval syntax #61

Closed dchassin closed 1 year ago

dchassin commented 4 years ago

Problem description

If recorder property interval is specified at "1 h" then the parser treats the value as 1s. But if it's specifies as 1h it is treated as 3600s.

Steps to reproduce

Change the property in climate/autotest/test_WA-Yakima-tmy3.glm at line 23 from interval 1h; to interval "1 h";. The simulation runs much slower.

Expected behavior

The simulation should runs at the same speed.

System information

HiPAS GridLAB-D 4.2.1-200401 (develop) Darwin

Supporting information

None

Attachments

None

dchassin commented 1 year ago

This appears to have already been fixed. The data type for interval is now a double with units s.