Click or drag to resize

FmuInstantiateModelExchange Method

Instantiates a model exchange FMU.

Namespace:  Emulate3D.FMI.V3
Assembly:  Emulate3D.FMI (in Emulate3D.FMI.dll) Version: 18.04.00
Syntax
C#
public Instance InstantiateModelExchange(
	string name,
	InstancePlatform platform,
	bool visible,
	bool loggingOn,
	int receiveTimeout = 2000
)

Parameters

name
Type: SystemString
Unique identifier for the FMU instance.
platform
Type: Emulate3D.FMIInstancePlatform
FMU instance platform.
visible
Type: SystemBoolean
If false, defines that the interaction with the user should be reduced to a minimum (no application window, no plotting, no animation, etc.). In other words, the FMU is executed in batch mode. If true, the FMU is executed in interactive mode, and the FMU might require to explicitly acknowledge start of simulation / instantiation / initialization (acknowledgment is non-blocking).
loggingOn
Type: SystemBoolean
If false, then any logging is disabled and the logMessage callback function must not be called by the FMU. If true, then all log categories are enabled.
receiveTimeout (Optional)
Type: SystemInt32
IPC receive timeout (ms).

Return Value

Type: Instance
A new instance of the FMU.
See Also