<< fmiGetModelTypesPlatform fmu_wrapper fmiGetReal >>

fmu_wrapper >> fmu_wrapper > fmiGetNominalContinuousStates

fmiGetNominalContinuousStates

Get the nominal values of the continuous states.

Calling Sequence

values = fmiGetNominalContinuousStates(instance)

Arguments

instance

tlist, an instance of a model.

values

real vector, nominal continuous states.

Description

fmiGetNominalContinuousStates 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


Report an issue
<< fmiGetModelTypesPlatform fmu_wrapper fmiGetReal >>