Changes between Version 1 and Version 2 of Ticket #5460, comment 3


Ignore:
Timestamp:
2019-05-07T13:52:39Z (6 years ago)
Author:
massimo ceraolo

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5460, comment 3

    v1 v2  
    22It is very useful to have the chance to change run time parameters in (if-statement) if-clause conditions, and in fact I was happy, although somewhat surprised, that OM allowed it.
    33
    4 In reality in the model I have it works (using OF) like a charm.
    5 I see that you don't see an easy way to evaluate a parameter which is used in the condition of an if statement, but this is what, at least in my example, OM's OF is able to do.
    6 In this model I cannot use an initial equation with an if-expression since the condition I must test varies with time.
    7 
    8 The rule you mention does not forbid doing what the OF already does, so I thought was an useful feature possibly coming (nearly) for free.
     4In reality in the model I have it works (using OF) well, but I did not test for conditions which vary over time.
     5Maybe it works only swith
    96
    107