AmesimKnowledge

scripting-api

Introduction

Simcenter Amesim provides a complete set of scripts to write short programs in higher abstraction level languages like Python Python , MATLAB MATLAB or Visual Basic Application Visual Basic Application

VBA that automate interaction with models.

This manual gives an exhaustive list of these scripts with a short description for each. These scripts are available for all the applications, except when indicated.

A complete Python distribution including the Scientific Python toolbox is supplied with Simcenter Amesim. If you want to use this facility for the other applications, these must be installed on your machine. Please refer to the next section to check compatibility.

These scripts are particularly designed for automating tasks in the Parameter and Simulation modes, such as setting or getting parameter values, running temporal simulations or linear analysis, and post-processing result variables. These tasks may be combined to build small or larger applications that, for example:

  • automate batch runs,

  • perform complex and automated pre-processing: parameter checking and dependant parameter calculations,

  • do parameter studies: simple sweep, Monte Carlo analysis, sensitivity analysis…

  • perform complex post-processing: creating 2D or 3D plots, animations, performing signal analysis such as FFT, spectral estimation…

  • build customized GUIs for pre- or post-processing,

  • integrate a Simcenter Amesim model within an external application, reading and writing files with user-defined formats, connecting to databases, communicating over networks,

  • execute an optimization loop on a Simcenter Amesim model, etc.

Scripts are usually easy and fast to develop, as the scripting languages provide powerful abstractions such as lists, hash tables, matrices, and numerous toolboxes for file handling, numerical analysis and graphical post-processing of large data sets. In addition, all scripting languages except Visual Basic Application are platform-independent.

Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Scripting/xid919527 · retrieved 2026-07-17