SIMSCRIPT III Simulation Studio (SimStudio) is an interactive programming development environment which provides support for projects with hierarchical directories. It has intuitive GUI, modern look-and-feel, and incorporates SIMSCRIPT III Syntax Color-Coded Text Editor and all Graphical Editors for SIMSCRIPT III Graphics. Simstudio is available on all supported SIMSCRIPT III platforms: Windows 7/Vista/XP, PC Linux and UNIX workstations. Simstudio has structured organization of project directories and supports modular program organization and importing external modules. New source file organization can easily be connected to a Configuration Management system of your choice.
Simscript Simulation Studio contains an easy to access toolbar from which you can build, compile and execute your Simscript III project with ease.
It is easy to create a project build, and then run the executable from within Simscript Simulation Studio by simply selecting a desired function from a pull-down menu such as:
- Project/New - to create the project
- Project/Open - to open a project
- Project/Build - to compile necessary modules and link the executable
- Project/Execute - to execute the project
The SIMSCRIPT III compiler is invoked from Simscript Simulation Studio during the Project/Build phase transparently to the developer. It converts the SIMSCRIPT III source code into C code, which is then translated to machine code using the Microsoft C compiler. SIMSCRIPT III also includes a fully featured symbolic debugger, SimDebug.
SIMSCRIPT III Simulation Graphics 2-D and 3-D
2-D Simgraphics III is based on Java environment for enhanced portability. Current SIMSCRIPT Models, which use Simulation Graphics II, only need to be re-linked with the new graphics libraries. All graphical elements in graphics.sg2 library will work without any changes. New Object Oriented SIMSCRIPT III models can import subsystem GUI.m which provides Object-Oriented graphical interface.
2-D SIMSCRIPT III Graphics includes Interactive Graphical Editors integrated with the Simstudio. They have standard look-and-feel as other PC Windows applications, improved menu and dialog editing capabilities, more intuitive GUI and are easier to use.
2-D SIMSCRIPT III Graphics, supports snapshots of the graphics window in encapsulated postscript and JPG. To create a postscript file click on the button PS in the upper right-hand corner of the graphics window. To create JPG file press Shift and click on PS at the same time.
Details how to create graphical elements using Simscript Simulation Studio and how to use them in SIMSCRIPT III models, you can find in SIMSCRIPT III Graphics Manual.
Below you can see a Simscript 2-D Simulation Graphics III programming running snap-shot.
2-D Simscript Simulation Graphics can easily be created using the built-in graphics editor. The graphics editor is contained to the right of the screen. Within this area the user can create or modify existing graphical elements. There are three types of graphical elements which can be modified in this area; these include icons, graphs, and forms.
You can use the built-in graphical toolbar to modify these elements. A picture of the toolbar is shown below. The toolbar is similar to standard paint programs.
3-D SIMSCRIPT Graphics is based on OpenGL industrial standard and facilitates high efficiency realistic simulation scenarios.
SimDebug is the SIMSCRIPT III Symbolic Debugger. In contrast to other debuggers that are separate programs, this debugger is built into the language. The user simply compiles the modules they want to debug using the debugging option and then runs the program with the command line argument -debug. This will bring up the SimDebug dialog before the program starts. Since the debugger is "always there," any runtime error will also bring up the SimDebug dialog, where the developer can examine the stack, local and global variables, etc. The traceback from a run-time error can also be redirected to a file at the developer's request.
SimDebug's features include:
- Single stepping
- Setting breakpoints
- Viewing stack and global variables
- Displaying temporary and permanent entities
- Displaying sets and arrays
- Displaying system variables, I/O and memory statistics
- Displaying the I/O buffer
- Displaying simulation status
- Changing variables and attribute values
- Stopping at a certain simulation time
- Command/dialog logging