Engee documentation

Engee Integration with Universal Mechanism

As part of the integration, a client-server DLL library is presented that works in the context of the integrating solver of the Universal Mechanism (hereinafter UM) and receives/sends data from/to Engee.

  • UM signal reception port: 7489

  • UM signal transmission port: 7490

Example of integration

  1. Create a file named settings.cfg, which describes the main parameters of the signals — names, quantities, input values of the simulation parameters needed to be displayed in the MIND:

    MODEL_NAME OscillatorExample
    INPUT_SIGNAL_COUNT 3
    OUTPUT_SIGNAL_COUNT 3
    MODEL_PARAM_COUNT 3
    INPUT_SIGNAL_NAMES dX dY dZ
    OUTPUT_SIGNAL_NAMES Fx Fy Fz
    MODEL_PARAM_NAMES Cx Cy Cz
    INIT_MODEL_PARAM 2000 2000 2000
  2. Place this file in the file folder umsimul.exe Typically these are: C:\Program Files\UM Software Lab\Universal Mechanism\9\bin\umsimul.exe .

  3. Open an example with a harmonic oscillator: samples\tutorial\oscillator.

  4. Open the External Library Communication wizard by going to Tools → Interface with External Libraries…​

  5. In the communication wizard, add the DLL library Engee_UM.dll and assign the input and output signal mappings to the simulation variables in the MIND in such a way that certain MIND variables receive their corresponding signals from Engee.

Next, run the model in Engee and click the button with the triangle "Modeling" in MIND. The received signals will be visualized in the MIND, according to the logic of the model.

At the end of the work of the integrating solver, it is necessary to click on the "Interrupt" button.