You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Models such as Buildings.DHC.ETS.Combined.Examples.ChillerOnly sample every 60 seconds to keep a boolean signal constant for a while and through that avoid short-cycling.
This sampling is done with a FirstOrderHold. If it were done with a TrueFalseHold, then the number of time events would be significantly reduced.
For example, for Buildings.DHC.ETS.Combined.Examples.ChillerOnly, the current implementation has in Dymola 8000 time events and takes 1.4 seconds to simulate, and with the proposed implementation, it has 150 time events and takes 0.6 seconds to simulate.
The text was updated successfully, but these errors were encountered:
* Reduced number of time events for ETS model
For #4058
* Added pre block to break algebraic loop during initialization
This is needed for OpenModelica
* Removed duplicate connection
* Increase minimum cycle time
* Update results
---------
Co-authored-by: Antoine Gautier <[email protected]>
Models such as
Buildings.DHC.ETS.Combined.Examples.ChillerOnly
sample every 60 seconds to keep a boolean signal constant for a while and through that avoid short-cycling.This sampling is done with a
FirstOrderHold
. If it were done with aTrueFalseHold
, then the number of time events would be significantly reduced.For example, for
Buildings.DHC.ETS.Combined.Examples.ChillerOnly
, the current implementation has in Dymola 8000 time events and takes 1.4 seconds to simulate, and with the proposed implementation, it has 150 time events and takes 0.6 seconds to simulate.The text was updated successfully, but these errors were encountered: