Opened 13 years ago

Last modified 9 years ago

#1643 assigned defect

FMU is not re-initialized after set continuous state

Reported by: Jens Frenkel Owned by: Jens Frenkel
Priority: high Milestone: Future
Component: Backend Version: trunk
Keywords: Cc: Frenkel, TUD, azazi, Willi Braun

Description

After setting a state using the function
fmiSetContinuousStates

the fmu is not re-initialised.

see also the spec.

<pre>fmiStatus fmiSetContinuousStates(fmiComponent c, const fmiReal x[], size?t nx);

Set a new (continuous) state vector and re-initialize caching of variables that depend on the states. Argument nx is the length of vector x and is provided for checking purposes (variables that depend solely on constants, parameters, time, and inputs need not to be newly computed in the sequel, but the previously computed values can be reused). Note, fmiEventUpdate might change the continuous states as well. Note: fmiStatus = fmiDiscard is possible.</pre>

Change History (2)

comment:1 by Jens Frenkel, 12 years ago

Cc: Frenkel TUD added; Jens Frenkel removed
Component: Backend
Owner: changed from Jens Frenkel to Jens Frenkel
Status: acceptedassigned

comment:2 by Dietmar Winkler, 9 years ago

Milestone: Future
Note: See TracTickets for help on using tickets.