Open KarlWernersson opened 1 month ago
Can you provide steps to reproduce the problem?
call setFloat64 with value reference 11 in mode exchange, the code does not allow that value reference
Function fmi3Set{VariableType} This function can be called for variables with variability ≠ constant and with initial = exact. [Inputs u, parameters p and continuous-time states xc,initial=exact are included here.]
The variable x
(with value reference 11
) has initial = "calculated"
, so I should it be settable?
no but its is a state so it should be settable in continuous time mode and event mode. In initialization mode its not as the initial values is internally computed.
The FMU don't allow setting state vector x. This should be allowed in Model Exchange