AmesimKnowledge

scripting-api

Getting started

Plots Python API, Getting started

This section introduces the different contexts of the Plots Python API use and provides a simple example to help you get started with the basics of the API.

First, check your AME environment variable. It must contain the absolute path to the root Simcenter Amesim directory.

Secondly, check your PATH environment variable:

  • under Windows: the %PATH% environment variable must contain at least %AME% and %AME%\win64.

  • under Linux: the $PATH environment variable must contain at least $AME and your $LD_LIBRARY_PATH must contain at least $AME/lnx.

Note

A complete Python 3.12.7 distribution including the Scientific Python toolbox is supplied with Simcenter Amesim. It includes four libraries:

  • Numpy 1.26.4

  • Scipy 1.14.1

  • Matplotlib 3.9.2

  • PySide6 6.6.3.1

Note

It is recommended to have some knowledge on the Python language. The official Python documentation is available through the Simcenter Amesim platform manuals:

  • Python Library Reference

  • Python Tutorial

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