<< fmiInitialize fmu_wrapper fmiModelDescription >>

fmu_wrapper >> fmu_wrapper > fmiInstantiateModel

fmiInstantiateModel

Creation an instance of a model.

Calling Sequence

instance = fmiInstantiateModel(fmu)

Arguments

fmu

tlist, a model that can be received by importFMU.

instance

tlist, an instance of a model.

  • instance.instanceName : string, a name of the model.
  • instance.modelInstance : pointer, contains an instance of a model.
  • instance.isInitialized : boolean, a check of an initialization of a model. If true, we have some restrictions for a calling of fmiGetXXX functions.

Description

fmiInstantiateModel is the function which returns a new instance of a model. A model can be instantiated many times. This function must be called successfully, before any of the FMI standard functions can be called.

See Also


Report an issue
<< fmiInitialize fmu_wrapper fmiModelDescription >>