Changes between Initial Version and Version 1 of Ticket #5975, comment 8


Ignore:
Timestamp:
2020-05-26T18:32:38Z (5 years ago)
Author:
Karim Adbdelhak

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5975, comment 8

    initial v1  
    77What 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.
    88
    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 state value such that the initial system is (uniquely) solvable. For starters i would stick to fixing variables and giving them proper start values.
     9The 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.
    1010
    1111Let'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: