Opened 13 years ago

Last modified 9 years ago

#1643 assigned defect

FMU is not re-initialized after set continuous state

Reported by: Frenkel TUD Owned by: jfrenkel
Priority: high Milestone: Future
Component: Backend Version: trunk
Keywords: Cc: Frenkel, TUD, azazi, wbraun

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 Changed 12 years ago by jfrenkel

  • Cc Frenkel TUD added; Frenkel TUD removed
  • Component set to Backend
  • Owner changed from Frenkel TUD to jfrenkel
  • Status changed from accepted to assigned

comment:2 Changed 9 years ago by dietmarw

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