Engee documentation

UM Cosimulation

Transferring data to a Universal Mechanism and obtaining simulation results from a Universal Mechanism.

blockType: EngeeFunction

Path in the library:

/Interfaces/UniversalMechanism/UM Cosimulation

Description

To work with the block, install/update the support package. equipment.

Block UM Cosimulation It is used to transfer data to a Universal Mechanism and obtain simulation results from a Universal Mechanism.

Ports

Input

# Input signals — BusSignal type input signals
vector

Details
Data types

Float64

Complex numbers support

No

Output

# Output Signals — BusSignal type output signals
vector

Details
Data types

Float64

Complex numbers support

No

Parameters

Main group

# IP адрес UM: — The IPv4 address where the Universal Mechanism server is located

Details
Default value

"127.0.0.1"

Program usage name

m_ip

Tunable

No

Evaluatable

Yes

# Порт UM: — Universal Mechanism Server Port

Details
Default value

7489

Program usage name

m_port

Tunable

No

Evaluatable

Yes

# Размер буфера приёма: — the sum of the dimensions of the receiver input signals in a Universal Mechanism

Details
Default value

24

Program usage name

m_recv_buf_len

Tunable

No

Evaluatable

Yes

# Имена входных сигналов: — the names of the signals in the input bus

Details
Default value

(:Fx, :Fy)

Program usage name

m_input_signal_names

Tunable

No

Evaluatable

Yes

# Имена выходных сигналов: — the names of the signals in the output bus

Details
Default value

(:dX, :dY)

Program usage name

m_output_signal_names

Tunable

No

Evaluatable

Yes

# Начальные параметры — a string with the initial values of the parameters passed to the Universal Mechanism

Details

A string with the initial values of the parameters passed to the Universal Mechanism when starting the simulation. It is used to set the starting parameters of the Universal Mechanism model. The values are transmitted when the connection is established and applied before the calculation begins.

Default value

(Cx=2000, Cx=2000, Cz=2000)

Program usage name

m_init_param_names

Tunable

No

Evaluatable

Yes

# Путь к УМ — the path to the installed executable file or directory of the Universal Mechanism

Details

The path to the installed executable file or directory of the Universal Mechanism. Used to indicate the location of the Universal Mechanism in the file system. This path is used to launch or connect to the UM executable environment to organize simulation.

Default value

"C:\Program Files\UM Software Lab\Universal Mechanism\10\bin"

Program usage name

m_um_path

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — block calculation step

Details

Block calculation step in seconds. Cannot be Inherited (-1).

Default value

0.01

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes

# Включить профилирование — collecting performance data

Details

Includes the collection of performance data when performing a simulation.

Default value

true (switched on)

Program usage name

m_is_diagnostic

Tunable

No

Evaluatable

Yes