fmiGetStateValueRefs
Get the value references of the state vector.
Calling Sequence
values = fmiGetStateValueRefs(instance)
Arguments
- instance
tlist, an instance of a model.
- values
integer vector, the value references of the state vector.
Description
fmiGetStateValueRefs is the function which returns the value references of the state vector (e.g. used to print the
information message which variable restricts most often the step size). In case of dynamic state selection, the value references may
change after calling fmiEventUpdate. In this case fmiEventUpdate returns with
eventInfo->stateValueReferencesChanged = fmiTrue.
If values[i] = fmiUndefinedValueReference, the model is hiding the meaning of the state and no value reference for this state is returned.
See Also
- fmiSetContinuousStates — Set a new continuous state vector.
- fmiGetContinuousStates — Get a new continuous state vector.
- fmiGetNominalContStates — Get the nominal values of the continuous states.
| Report an issue | ||
| << fmiGetReal | Functional Mock-up Interface (FMU) | fmiGetString >> |