<< fmiGetReal fmu_wrapper fmiGetString >>

fmu_wrapper >> fmu_wrapper > fmiGetStateValueReferences

fmiGetStateValueReferences

Get the value references of the state vector.

Calling Sequence

values = fmiGetStateValueReferences(instance)

Arguments

instance

tlist, an instance of a model.

values

integer vector, the value references of the state vector.

Description

fmiGetStateValueReferences 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


Report an issue
<< fmiGetReal fmu_wrapper fmiGetString >>