ibpsa / project1-boptest

Building Optimization Performance Tests
Other
109 stars 70 forks source link

Questions regarding weather forecast and pulling results #439

Closed MaPaKo closed 2 years ago

MaPaKo commented 2 years ago

1) Could you provide an example of how to access weather forecasts? I could not figure out how to do it.

2) I noticed that requests.put("{0}/results"...) returns results with a time step of 30 sec, independently of the chosen time step for the simulation. Is there a way to change this?

javiarrobas commented 2 years ago

Hey @MaPaKo, please check out this tutorial. Part 4 shows an example of how to obtain forecast (titled with "Try using forecasts"). Note that the API in that tutorial slightly changes by adding the testid to all request calls because it is using the service version of BOPTEST. However, all the rest should work the same when using BOPTEST locally on your laptop. As for your other question, I'm afraid that the granularity of the results will always be 30 seconds unless you choose a step shorter than 30 seconds in which case you'll get the results at the time intervals used by integration when simulating. Can you confirm this @dhblum? If what you need is a longer step period you can always post-process the results.

dhblum commented 2 years ago

@JavierArroyoBastida @MaPaKo Confirmed.

javiarrobas commented 2 years ago

Thanks @dhblum!

dhblum commented 2 years ago

Resolving since pointed to documentation, and can also look at new user guide here.