Defining a Custom Weather File in Boptest – FMU Initialization Issue #739
Replies: 2 comments 1 reply
-
|
I have a similar problem I would like to use a different weather file within one of your test cases and I do not completely understand which are the steps to follow, can you please help me for this issue? which are the proper steps to do this? where can I find some documentation on this? thanks a lot |
Beta Was this translation helpful? Give feedback.
-
|
Dear @babak-mohajer thank you for your interest in BOPTEST. I will try and answer questions 1 to 5
Your error seems to be due to an ill conditioned .mos file due to the fact that it does not initialize.
Have you tried running the model directly in openModelica or other modelica tools? The asserts coming from
BOPTEST provides a standard set of building test cases for control comparison. Changing the weather files undermines that original intent, since you wont't be able to compare your results with anyone else. So as for today there is not a script / tool within BOPTEST that allows you to "easily" switch between weather files. That said if the only thing you want to change in a test case is the weather file you can just swap the ".mos" (for simulation) and ".csv" (for forecasting) within the "wrapped.FMU". FMUs in the end are just .zip files and their file structure is similar to the test case file structure highlighted in the docs. I.e. by exploring the file structure of The updated |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am considering using Boptest for my PhD research. As part of this, I want to define my own weather file (.mos) to have more control over the weather conditions used in the simulation. To achieve this, I wrote a script that:
Current Issue
FMIL: module = Model, log level = 2: [logFmi2Call][FMU status:Error] fmi2EnterInitializationMode: terminated by an assertion. pyfmi.fmi.FMUException: Exit Initialize returned with an error. Check the log for information (model.get_log).What I Have Tried
How You Can Help
Any insights or guidance is highly appreciated!
Thanks in advance,
Babak
Beta Was this translation helpful? Give feedback.
All reactions