Tutorial
Setting run parameters
API: settting run parameters
In this tutorial, we will just change the final simulation time (to 0.1 s) and the print interval (to 1e-3 s). We will leave other run parameters at their default values.
Add the following lines to your script to set the run parameters:
Copy
# Set run parameters
AMESetRunParameter('stop_time_s', '0.1')
AMESetRunParameter('interval_s', '1e-3')
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Circuit_API/Setting_run_parameters · retrieved 2026-07-17