Documentation Home Page ◇ HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
Simulation Settings
Simulation Settings can be accessed through the HYPERSIM ribbon.
General
Through the Simulation Settings window, users can specify the following parameters (with their corresponding API preferences, if available):
Target Configuration | ||
---|---|---|
Target | Target IP or hostname on which to compile, load, and execute the simulation. The drop-down box lists every target previously set up in the Target Manager menu. The button on the right is a shortcut to open the Target Manager and focus on the selected target. |
|
Simulation mode | Real-Time Accelerated (RTA) is a type of offline (or non-real-time) simulation that runs as fast as possible, meaning the actual execution time is usually much faster than real-time depending on the PC specifications. NOTE: All I/Os are not initialized in this mode. Real-Time runs a standard real-time simulation where all I/Os are available. NOTE: When the operating system is Windows, real-time performance cannot be guaranteed due to the nature of this OS, but that doesn't mean that doing HIL simulation is impossible. Certain protocols such as C37.118 whose data are time-stamped and the tolerance on latency is relatively high are very favorable to this kind of application. It's up to the user to define the acceptable boundaries of simulation performance when running in real-time with I/Os on Windows. |
|
Architecture | Non-editable field. It reports the operating system expected on the target simulator. |
|
Simulation | ||
Time-step (s) | Size of the discretization used by all equations. The execution is in real-time if the performance factor = 1, faster than real-time if the performance factor < 1, and slower if the performance factor > 1. |
|
Performance factor | This parameter can be used for optimizing and debugging in real-time mode. It helps to alter the actual execution time by a specified factor and is usually used to slow down the simulation when more time is needed to compute all equations than what the time step allows. /!\ Real-time is only when performance factor = 1. The other modes are for debugging purposes only. Step duration = performance factor * simulation time step For example, a time step of 50 μs with a performance factor of 2 gives the simulation 100 μs to complete calculations (while the size of the discretization remains 50 μs) and exchange I/Os. Since I/Os are only exchanged between two calculations, it also means that their output frequency is slowed down to every 100 μs. In other words, with a performance factor > 1, the processors have more time, and heavy tasks can be completed before I/Os have to be exchanged again, and thus overruns can be avoided. To illustrate the behaviour, say a sine wave is observed on a real oscilloscope: its period is equal to the product of the performance factor and the real period. This is like playing a video in slow motion. |
|
Code directory | This parameter is set automatically depending on the chosen target. Before the simulation, HYPERSIM generates C code specific to each network. This parameter is used to define the directory where the code is saved. If there is no modification to the model, the second execution is faster as HYPERSIM detects the code has already been generated and skips the compilation step. |
|
Enable simulation logging | For debugging purposes, add more information to the simulation log file (*.simout). NOTE 1: This decreases real-time performance. NOTE 2: Communication Protocols have their simulation logging mode that can be configured in the IO interface. |
|
Nonlinear elements iterative method | ||
Activate iterative method | Enable the iterative solver for non-linearities and zero-crossing. It is enabled on a task-by-task basis depending on the following:
|