macumber / openstudio-vA3C

Exporter of OpenStudio Model to vA3C JSON format
6 stars 2 forks source link

Some Models that work fine in Apply Measures Now, get hung up on model data version #14

Closed DavidGoldwasser closed 9 years ago

DavidGoldwasser commented 9 years ago

I'll add details as I learn more, along with some sample models. I don't think it is related to the size of the models because I ran a 400 space model yesterday. The model I'm having issues with now is probably around 50 spaces.

macumber commented 9 years ago

Would be great if you could attach the model

DavidGoldwasser commented 9 years ago

Sorry @macumber I thought I attached the link https://www.dropbox.com/s/47p17z4b1bywdri/AedgK12HvacFanCoilDoas_ASHRAE%20169-2006-5B.osm?dl=0

DavidGoldwasser commented 9 years ago

Going to kill this, been running for 3-4 hours after E+ done. Ruby is still crunching away with 12-13% of processor

macumber commented 9 years ago

I could not reproduce this using 1.7.0 and the current measure version

DavidGoldwasser commented 9 years ago

I'll test it this weekend again with updated measure.

DavidGoldwasser commented 9 years ago

Both the school and office run to completion, but just crash on mac when going to results tab. I'll leave pull request open.

macumber commented 9 years ago

Thanks @DavidGoldwasser seems Mac specific, I think Larry was having issues on Mac too

DavidGoldwasser commented 9 years ago

Still doing this on windows, even though it didn't on mac. I'll re-open this.

macumber commented 9 years ago

This slow down seems to be caused by queries on the E+ 8.3 SQLFile taking up to 1000x longer than on the E+ 8.2 SQLFile.

macumber commented 9 years ago

5-15-2015 10-00-39 am

macumber commented 9 years ago

To reproduce:

macumber commented 9 years ago

Fixed by https://github.com/NREL/OpenStudio/pull/1659. Now measure takes 92 seconds on this model, produces a 66MB html file. We may have to improve reporting during run and reduce file size, but this is much better

macumber commented 9 years ago

@DavidGoldwasser

DavidGoldwasser commented 9 years ago

I'll test this out after I make a fresh build. Hopefully tomorrow. School model isn't very big, surprised it takes that long to run and is that big.

DavidGoldwasser commented 9 years ago

@macumber in addition to the 66MB html file, there is 150MB json file. Is that HTML looking to that JSON file for the timeseries data or is the HTML self contained?

I saw somewhere between 2-3 minutes for the measure on my machine, and about 20 seconds for it to display in the OS app, but it is response once it shows.I'll close this but still probably a good idea later to figure out ways to speed it up later on.

macumber commented 9 years ago

The HTML is self contained, the only difference between the data in the JSON and HTML is that the JSON is pretty printed (with line endings, tabs, etc). I'm not sure it is worth writing out the JSON by default since it is so large

DavidGoldwasser commented 9 years ago

I'm also wondering if we should default to one zone variable for default arguments. Still let them optionally add 2 and 3rd, but this would make file smaller/quicker.