simulation single_run scripted
Instead of letting Adams View set the commands to be run during an interactive simulation, you can create a simulation script. A simulation script lets you program the simulation and add advanced options to your simulation. Simulation scripts are useful when you have come up with a good set of simulation parameters that you want to repeat again and again. They are also needed for design study, design of experiment, and optimization simulations. For example, you can use a simulation script to activate and deactivate portions of your model or change solution settings during the simulation. Simulation scripts can do everything that the interactive controls can.
Format:
simulation single_run scripted |
|---|
model_name = | existing model |
sim_script_name = | existing sim_script |
reset_before_and_after = | boolean |
Example:
simulation single_run scripted & |
|---|
model_name = | MODEL_1 & |
sim_script_name = | script_1 & |
reset_before_and_after = | YES |
Description:
Parameter | Value Type | Description |
|---|
model_name | Existing Model | Specifies an existing model. |
sim_script_name | Existing Script Name | Enters the name of the script to be executed during simulation. |
reset_before_and_after | Yes/no | Enters yes or no, depending on whether you want the simulation to be reset before and after the script is executed. |
Extended Definition:
1. You may identify a model by typing its name or by picking it from the screen. If the model is not visible on the screen, you must type the name.
You may also find it convenient to type the name even if the model is displayed. You must separate multiple model names by commas.
If the model is visible in one of your views, you may identify it by picking on any of the graphics associated with it. You need not separate multiple model picks by commas.