Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

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

asked 2018-08-27 19:55:04 -0500

bwelle's avatar

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-08-27 23:43:39 -0500

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2018-08-27 19:55:04 -0500

Seen: 91 times

Last updated: Aug 27 '18