Repository navigation
Allow setting continuous states in Event Mode if reinit = false - #1955
Conversation
small changes to make it less likely that someone misinterprate it, maybe need to ad some symbols to continuous-time state to make it linkable?
Fixed tag for <<state,continuous-time states>>
Co-authored-by: Christian Bertsch <Christian.Bertsch@de.bosch.com>
|
Should setting (all) variables with to |
|
Torsten S: I want to change the second comma do "and" . |
masoud-najafi
left a comment
There was a problem hiding this comment.
May be I'm missing something here. Acccording to the definition of "reinit", if reinit=false, you are not allowed to reinitialize the state variable. So you cannot call fmi3SetXX. Is it a typo or I'm missing something?
I think this is correct, since an importer may only set a continuous state in Event Mode, if the FMU does not recalculate it. |
|
OK, I got your point. Then let's first clarify the reinit attribute. Is it just for information purposes? What's useful for? |
changed <<causality>> = <<parameter>>, <<variability>> = <<tunable>> to <<causality>> = <<parameter>> and <<variability>> = <<tunable>>
|
@masoud-najafi I see your point, i don't have a strong requirement that you are forbidden to set continuous time state with reinit = true, its a larger chance that you screw things up though, but this is still an advanced feature so i am ok with letting all states be set. from the master. |
|
FMI Design Webmeeting: Torsten: are clocks covered by this, or is this unrelated? |
fixes #1950