Changes between Initial Version and Version 1 of Ticket #5975, comment 8
- Timestamp:
- 2020-05-26T18:32:38Z (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5975, comment 8
initial v1 7 7 What he means with ''Modelica tool'' is OpenModelica itself. If the initial system is not balanced it has to figure out a balanced initialization by itself, which can be different of what the modeler is expecting. That has nothing to do with the libraries (Modelica Standard Library, BuildingSystems) that you use. 8 8 9 The basic idea is that you provide initial equations in the block `initial equation` or fix certain start values instead of the tool having to do that itself. Just as a short reference, during initialization each state of your system and each discrete variable needs to have an extra equation or statevalue such that the initial system is (uniquely) solvable. For starters i would stick to fixing variables and giving them proper start values.9 The basic idea is that you provide initial equations in the block `initial equation` or fix certain start values instead of the tool having to do that itself. Just as a short reference, during initialization each state of your system and each discrete variable needs to have an extra equation or fixed start value such that the initial system is (uniquely) solvable. For starters i would stick to fixing variables and giving them proper start values. 10 10 11 11 Let's say you know that a tank in your system has to start at a certain temperature, than you would provide extra information to that variable like so: