simulator

Navigation:  Simulator > Introduction >

simulator

Previous pageReturn to chapter overviewNext page

20-sim consists of two main windows and many tools. The first window is the Editor and the second is the Simulator. The Editor is used to enter and edit models. The Simulator is used to simulate and analyze the models. The Simulator is opened in the Editor by clicking the Start Simulator button from the Model menu.

Simulator

The Simulator is used to carry out simulations, show the results and analyze them.

The Simulator consists of three parts:

Simulator Tree: This is the tree at the left. Here plots and plot windows can be added.
Simulation Plot: This is the graph in the middle. Here the simulation results are shown.
Output tab: The Output tab shows warnings and messages.

Settings

After the model has been successfully entered, it must be checked and compiled to generate simulation code. This is done in 20-sim automatically when you open the Simulator or when you check a model. In some cases the model contains errors which have to be solved by adapting the model. Errors in 20-sim are presented in the Process tab at the bottom of the Editor. After a successful compilation of a model that is created in the Editor you can open the Simulator. In the Simulator you have to enter specific settings:

Parameters / Initial Values.
Run Properties.
Plot Properties.

Running

After the settings have been entered you can run the simulation.

Plotting

Simulation results can be shown in 20-sim as:

Numerical Plots:
Time Domain (default)
Frequency Domain (FFT Analysis & Linearization)
Animation in a Graphical Model
3D Animation

Debugging

If you experience problems during simulation you have to resolve them in a debugging session.

Analysis

After a successful simulation you can analyze your model using various tools:

Parameter Sweeps
Curve Fitting
Optimization
Sensitivity Analysis
Monte Carlo Analysis
Variation Analysis
FFT Analysis
Linearization

Message Log

The bottom of the Simulator shows a tab named Output. This tab contains the Message Log which shows all the messages, warnings and errors, that are generated during a simulation.