2

How do I convert a subset of the NREL Standards JSON for Schedules to OSM objects via the OS API?

Hi all,

If I wanted to the make the entire schedules json from the nrel standards (OpenStudio_Standards_schedules.json) to OSM objects in a single OSM file to use a resource file say for a measure, what is the easiest OS API call to do this?

bwelle's avatar
131
bwelle
asked 2018-08-27 19:55:04 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

If you make an array of the names of all of the schedules from the json, you can loop through them and call model_add_schedule(model, schedule_name). The method is described here in gem documentation.

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2018-08-27 23:43:39 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments