...
Target platform: Chooses the target platform (or the operating system) on which to run the simulation (OPAL-RT Linux RTLinux (x86-based) or Windows).
Compiler/Linker settings section
...
Library path | Target path(s) where user libraries can be found. Used to search for libraries other than the MATLAB and RT-LAB libraries when incorporating user-written code. |
---|---|
Add | Adds a library path to the list. |
Edit | Edits the selected library path. |
Delete | Removes the selected library path from the list. |
Move up | Changes the ordering of the library's path; moves up. |
Move down | Changes the ordering of the library's path; moves down. |
Compiler
Compiler Version | Selection of the compiler to be used when building the model. AUTOMATIC is recommended for most usages, and defaults to MinGW for Windows targets. If Microsoft Visual C++ is to be used, it must explicitly be selected. |
---|---|
Compiler Command | User command called on the target during the compilation process. |
Compiler Options | Options used by the target compiler during the compilation process. Refer to the target compiler documentation for specific information on the possible compiler options (e.g. -xxx). |
Add flags for maximum CPU portability | Adds options to the compiler to enable maximum CPU portability (-mtune=generic). Enables the compiled executable to be run on a machine with different CPU from the one it was compiled on. This feature is only available for windows machines. |
Linker Options | Options used by the target linker during the linkage process. Refer to the target linker documentation for specific information on the possible linker options (e.g. -xxx). |
...
After that, if you change a model property, only the edited model is affected.
Real-Time Properties
Anchor | ||||
---|---|---|---|---|
|
Target platform | Chooses the target platform on which to run the simulation (OPALRT Linux OPAL-RTLinux (x86-based) or Windows system). |
---|---|
Real-Time simulation mode | Enables the user to define how the model’s simulation can be executed on an OPAL-RT Linux RTLinux (x86-based) or Windows system. |
Simulation | In this mode, the model is not synchronized; the model starts a new Simulation with low priority: this simulation mode can be used to run a simulation in the background while working with other applications on the same computer. |
...
Software Synchronized | In this mode, real-time synchronization of the entire simulation is achieved by the OS, using the CPU clock as a reference. Depending on the resolution available on the OS, some sampling times may not be obtained using this mode. |
---|---|
Hardware Synchronized | In this mode, an I/O board clock is used to synchronize the entire simulation. |
Real-Time communication link type | Sets the target cluster’s communication medium. Here are the available choices for each target platform. |
Time Factor | This value, when multiplied by the model’s basic calculation step (or fixed step size), supplies the final calculation step for the system. The time factor can only be changed when the simulation execution is paused and is only available in Synchronized (hardware/software) mode. |
Note: This parameter enables you to change the I/O acquisition speed. Because the model always uses the basic calculation step, changing the time factor for the I/O may give results that differ from the offline simulation.
| |
Stop Time [s] | This value (in seconds) specifies when the model stops. If the value is Infinity, the model executes forever. You don’t need to recompile the model to apply a new value. |
Pause Time [s] | This value (in seconds) specifies when the model pauses. If the value is Infinity, the model executes until a reset is done except if a stop time is specified. |
...
Name | Model’s subsystem names. | |||||
---|---|---|---|---|---|---|
Assigned Node | Select the target node where the subsystem is executed from the list of available targets. By default, the Assigned node is set to the development node. See Preferences->RT-LAB- >Simulation Tools->RT-LAB section. | |||||
Platform | Type of platform of the selected target. (OPAL-RT Linux RTLinux (x86-based) or Windows systems). | |||||
XHP | If checked, the subsystem is executed in eXtreme High Performance (XHP) mode (available only on Linux targets). | |||||
Debug | Check the subsystems you want to debug. | |||||
Cores | (For advanced users only) CPU cores allocated (and optionally specified) for the subsystem and its worker threads. The system will allocate cores and will assign subsystems using the following set of rules:
Unspecified cores of XHP subsystems are allocated before unspecified cores of other subsystems.
When the Advanced section is activated, select ... in the Cores column to display the core selection dialog. Then, select the number of cores and optionally, select specific cores. |
...