- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Possibility to perform a "loop" for a...
Possibility to perform a "loop" for a timetable?
Possibility to perform a "loop" for a timetable?
Hello everybody.
I created a model that uses as input a timetable giving a "hourly flow distribution" during an entire day (24 values). This parameter is used for my model for further calculation.
When I run my simulations on an entire day ( everything works.
However I would like to run my simulations on a month with the same dailies flows, just like a temporal loop on my timetable.
does someone knows if it is possible? And how to do?
By now When the simulation time exceed the timetable time, the model only perform a time extrapolation over the 2 last points.
If somone have an Idea I would be happy.
Thank you
Re: Possibility to perform a "loop" for a timetable?
Perhaps if you contribute to these tickets it will be added in the next MSL release:
https://github.com/modelica/Modelica/issues/477
https://github.com/modelica/Modelica/issues/2120
- sjoelund.se
- 1700 Posts
Re: Possibility to perform a "loop" for a timetable?
You could use a sawtooth with a 24 hour period. Then, use that as the input to a combitable1d, instead of a timetable.
- dersh
- 66 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Possibility to perform a "loop" for a...