Changes between Initial Version and Version 1 of Ticket #5459, comment 46


Ignore:
Timestamp:
2019-08-22T15:57:25Z (6 years ago)
Author:
Karim Adbdelhak

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5459, comment 46

    initial v1  
    1616Yes, i think i have quite the idea now. So what i basically changed is that only variables which appear derived in the system or those which have {{{StateSelect.always}}} are considered states. Before also variables with {{{StateSelect.prefer}}} were considered states, even if they don't appear derived. In many cases this previously forced state selection on the system, where none should be needed. The variables tagged with {{{StateSelect.prefer}}} did not appear derived anywhere, so there was no equation for the derivative to be solved in. From deriving all equations where these variables appeared (and other dependent equations) artificial state sets were formed which allowed those variables to become chosen as states.
    1717
    18 In principle i understand why this was implemented in this way, but from my understanding a derivative of a variable that does appear naturally should only be forced in the system when tagged with {{{StateSelect.always}}}. In the case of our heating system we had the problem, that some derivatives with {{{StateSelect.prefer}}} were forced in and created these artificial state sets with equations that should not be in there.
     18In principle i understand why this was implemented in this way, but from my understanding a derivative of a variable that does not appear naturally should only be forced in the system when tagged with {{{StateSelect.always}}}. In the case of our heating system we had the problem, that some derivatives with {{{StateSelect.prefer}}} were forced in and created these artificial state sets with equations that should not be in there.
    1919
    2020Now that i changed it, some of the variables which have {{{StateSelect.prefer}}} and don't appear derived are just considered algebraic variables. I don't see another way of making systems like the heating system work, where people just tag stuff with {{{StateSelect}}} attributes without knowing if they are actually states.