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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5460, comment 3

    initial v1  
    11Ah, ok.
    2 It is very useful to have che chance to change run time parameters in if-clause conditions, and in fact I was surprised that OM allowed it. I understand that the OM's OF is able to do this "by mistake".
    3 I will use an if expression as you suggest.
     2It 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.
     3
     4In reality in the model I have it works (using OF) like a charm.
     5I 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.
     6In this model I cannot use an initial equation with an if-expression since the condition I must test varies with time.
     7
     8The rule you mention does not forbid doing what the OF already does, so I thought was an useful feature possibly coming (nearly) for free.
    49
    510