-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FMU Simulation Failed: Single-Zone Commercial Hydronic #144
Comments
I attempted to run the Code:
|
Can you report the input you were overwriting and the value you overwrote at the step the simulation failed? Even better would be the sequence of values from the start of your simulation to the time the simulation stops. Noting that there are a couple open issues in the boptest repo (ibpsa/project1-boptest#432 and ibpsa/project1-boptest#635) related to this test case which could cause issues in the simulation numerics in certain situations of control. Have not addressed those issues yet but still on the list. These may or may not be related to your issue. |
I experimented with the variables Here are the last four overwritten inputs.
|
Thanks for those values. We'll consider this issue with the others regarding this test case. Do you mean your code works fine for |
Thank you for your response. Yes, I have run the provided script from the examples folder for |
Oh I'm re-reading your comment. The code might work fine for controlling using oveTSupSet_u, oveTZonSet_u, and oveCO2ZonSet_u because those are set points, which serve embedded feedback controllers that are responsible for controlling actuators (valves and fans). But controlling the set of ahu_oveFanSup_u, oveValCoi_u, and oveValRad_u are controlling the actuators themselves and may bypass safety measures present in embedded feedback controllers. Would need to check exactly what's going on in this case. But generally, that's a risk in a real building too. You might have more controllability directly controlling actuators, but that could bypass safeties that prevent things like equipment cycling, turning on a pump when all valves are closed, freezing cooling coils due to low air flow, etc. |
Thanks for clarifying, it makes sense. |
I tried using |
How long is each time step and what's your starting time? Better to think in terms of time since then we can diagnose with help from time of day (maybe related to schedules), time of year (maybe related to climate), etc. |
Here are the environment details I tested.
|
@javiarrobas Is it true that |
400k isn't a consistent threshold; sometimes it crashes even before reaching 10k steps. |
@dhblum you're right, |
I'm running the run_vectorized.py script from the example folder on a different test case locally. The script executes successfully for a number of iterations, but then throws a 'simulation failed' error. I tested the same script on the bestest_hydronic_pump test case, which ran without errors. Please review the code and error message provided below.
Server log:
The text was updated successfully, but these errors were encountered: