EULER Cosimulation
Transferring data to EULER and obtaining simulation results from EULER. Before starting the exchange, the block establishes a connection between Engee And EULER.
blockType: EngeeFunction
|
Path in the library:
|
Description
| To work with the block, install/update the support package. equipment. |
Block EULER Cosimulation it is intended for the organization of cosimulation between Engee And EULER. At each step of the simulation, the unit transmits input signals from Engee in EULER and receives calculated output values from EULER, which are fed to the output of the block.
Cosimulation configuration
The parameters of the block are the main source of the cosimulation configuration from the side Engee: composition and names of signals, address and port EULER, timeouts, calculation step, etc. These values are used Engee directly when exchanging signals with EULER.
To make the same settings available to EULER, use the command Сгенерировать конфигурационный файл by clicking the button in the block: Engee extracts block parameters and generates a file settings.cfg in the folder specified in the parameter Путь к Эйлер:.
Block settings in Engee and the contents of the file settings.cfg They must be coordinated among themselves. If you can’t generate the block again after changing the parameters settings.cfg EULER will work with obsolete signal names, ports, or timeouts, and the simulation may fail.
|
Parameters
Свойства расчёта
#
Тип расчёта: —
description missing
ЭЙЛЕР на ПК | ЭЙЛЕР в Engee
Details
description missing
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
Parameters
# Имена входных сигналов: — the names of the signals in the input bus
Details
The names of the block’s input signals, that is, the signals transmitted from Engee to EULER. Are set as NamedTuple.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Имена выходных сигналов: — names of the signals in the output bus
Details
The names of the block’s output signals, that is, the signals returned by EULER in Engee. The recording format is similar to the names of the input signals.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Имя входного списка сигналов: — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Имя выходного списка сигналов: — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Команда запуска симуляции ЭЙЛЕР: — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Время моделирования ЭЙЛЕР, с: — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Путь к проекту ЭЙЛЕР на машине: — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Путь к проекту ЭЙЛЕР в Engee: — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Держать окно ЭЙЛЕР открытым в конце расчёта: — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Перечитывать файл проекта ЭЙЛЕР между перезапусками: — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Шаг расчёта, с: — block calculation step
Details
The block calculation step in seconds. Must match the parameter FixedStep models Engee. Inconsistency of values leads to an error «Invalid setting for fixed-step size» when starting the calculation. Can’t take the value −1 (Inherited).
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
Example
An example of the minimum settings.cfg for a couple Engee ↔ EULER. The full set of fields is described in the article EULER Support Package.
MODEL_NAME multicosim_parent
INPUT_SIGNAL_COUNT 1
INPUT_SIGNAL_NAMES e_out
INPUT_MEASURE_UNITS [m/s]
OUTPUT_SIGNAL_COUNT 1
OUTPUT_SIGNAL_NAMES e_in
OUTPUT_MEASURE_UNITS [N]
IP 127.0.0.1
RCV_PORT 7479
SND_PORT 7959
MAX_RCV_BUFFER_SIZE 4096
MAX_SND_BUFFER_SIZE 4096
SRVCIO_TIMEOUT 200000.0
HANDSHAKE_TIMEOUT 120000.0
SAMPLE_TIME 0.001
DIAGNOSTIC 0
Names in INPUT_SIGNAL_NAMES / OUTPUT_SIGNAL_NAMES interpreted from the EULER side: e_out — this is the output of EULER (EULER gives it to Engee), e_in — input EULER (EULER accepts from Engee). In the file settings.cfg this substitution has already been taken into account.
