Simulation scripts
Python® has been implemented to help in creating custom scripts for use in Simulation. You can use Guru Script, the proprietary language for creating custom business logic. However, you can now use Python as an alternative.
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.
The Simulation Script Manager provides a way to associate Python script files to the current model so that they are available for use in the appropriate fields.
Last modified: Friday February 28, 2025