fmiGetNominalContStates
Get the nominal values of the continuous states.
Calling Sequence
values = fmiGetNominalContStates(instance)
Arguments
- instance
tlist, an instance of a model.
- values
real vector, nominal continuous states.
Description
fmiGetNominalContStates is the function which returns the nominal values of the continuous states.
This function should always be called after fmiInitialize,
and if eventInfo->stateValueReferencesChanged = fmiTrue in fmiEventUpdate,
since then the association of the continuous states to variables has changed and therefore also their nominal values.
If the FMU does not have any information about the nominal value of a continuous state, a nominal value values[i] = 1.0 will be returned.
See Also
- fmiSetContinuousStates — Set a new continuous state vector.
- fmiGetContinuousStates — Get a new continuous state vector.
- fmiGetStateValueRefs — Get the value references of the state vector.
| Report an issue | ||
| << fmiGetModelTypesPlatform | Functional Mock-up Interface (FMU) | fmiGetReal >> |