SIMPACK© Models

Provides a simple Graphical User Interface to import the SIMPACK models into SimWB. These imported SIMPACK models can then be added to 'Tests' and can be executed in real-time.

simpack_import_pane.png 

Prerequisites

Work flow

The typical work flow is as explained below:

  1. Set the location of the SIMPACK installation folder.
  2. Set the $HOME variable for SIMPACK use. By default it can be set to '/root'.
  3. Create a new SIMPACK model object in SimWB by entering a name at the top.
  4. Import the SIMPACK model to the SimWB using the 'Select SIMPACK File'. This allows you to import the SIMPACK file from allowed locations in the SimWB host machine.
  5. Set the CPU cores that will be used by SIMPACK model .
  6. Either create a new RTDB or use an existing RTDB to map I/O points from SIMPACK model.
  7. Select the group that this resource will belong.
  8. Specify command line options that need to be supplied to the SIMPACK real-time engine.

Corner Controls

Demonstrate helpvideo00027.png

Opens a short video clip that demonstrates the basic workflow of this form.

Help help00028.png

Opens this section of the manual.

SIMPACK Global Settings Pane

Allows users to setup the SIMPACK location and the required environment variables.

SIMPACK install directorysimpack_import_simpack_install_dir.png

This allows you to set the location of the SIMPACK installation folder in the SimWB host. You need to have SIMPACK installed in the SimWB host to execute SIMPACK models in real-time.

SIMPACK $HOMEsimpack_import_Home.png

Set the $HOME variable for SIMPACK use. By default it can be set to '/root'.

SIMPACK Model Properties Pane

Allows user to import SIMPACK files into SimWB.

New SIMPACK model objectsimpack_new_model_object.png

Create a new SIMPACK model object by entering a new name at the top of the pane.

Select SIMPACK Filesimpack_import_Select_SIMPACK_file.png

Import the SIMPACK model to the SimWB using the 'Select SIMPACK File'. This allows you to import the SIMPACK file from allowed locations in the SimWB host machine. You can control which locations in the remote SimWB host by editing the file '/usr/local/ccursim/etc/directory.access'.

CPU coressimpack_import_CPU_cores.png

Allows you to set the cores that the SIMPACK models can use for real-time execution.

Create RTDB

Model RTDBsimpack_import_Model_RTDB.png

Allows you either select an existing or a new RTDB to be used with SIMPACK models.

Generate RTDBsimpack_import_Model_RTDB_Gen_RTDB.png

After selecting the RTDB, use this button to create the RTDB in SimWB host.

New RTDBsimpack_import_Model_RTDB_New_RTDB.png

Optionally choose to select to create a new RTDB.

Groupsimpack_import_Group.png

Select the group of the user that the generated RTDB will belong.

Command line optionssimpack_import_Command_line.png

Allows you pass command line options to the SIMPACK real-time engine. By default set this to '--rt-target=concurrent'.

Descriptionsimpack_import_Description.png

Optionally user can set description for the SIMPACK model object.

 

SIMPACK© is a third-party software owned by SIMPACK AG.