The Simulation, Analysis and Modeling Software
































What does WinSAAM do?

WinSAAM will enable you to create mathematical models of systems, emulate experiments on systems, and fit data derived from experiments on systems. It also allows you to predict system responses and hence design experiments to answer questions about systems.


Where do I find out more about WinSAAM?

There are two ways of finding out about WinSAAM:

Read our book on WinSAAM.  “Investigating Biological Systems Using Modeling: Strategies and Software", by Watsney, Patterson, Linares, Greif, and Boston

Talk to us about your interests and we’ll help you decide if the WinSAAM approach may be of assistance. Our information can be found on the contact web page.


How do I obtain a copy of WinSAAM?

You can download an installable version of WinSAAM, or do an automatic install, by visiting our Web site, clicking on the download site link, and following the instructions.


How do I use WinSAAM?

Once you have identified your modeling objectives a strategy for using WinSAAM might be as follow: Select the edit window and, using the predefined tabulation facility, enter the model and data … don’t forget to assign statistical weights to any data.  Return to the terminal window and compile the input using the deck command from the command menu. If you encountered errors here you’ll need to return to the edit window to correct the problems.  Upon successful compilation, solve the model (command menu), and plot the solutions and data … plot q(1,2,4) (for example).  You should now attempt to adjust parameters to get a good agreement between your data and the model predictions.  When the agreement between your model and the data is consistently quite good you can derive least squares estimates for your adjustable parameters using the iterate command.


What does Macro do?

The Macro Command executes a file that consists of a series of commands, also known as a Scripting File (the extension usually used for scripting files is .sams). The macro command enables us to rapidly execute a series of commands. It also provides a way to invoke the same set of commands at later time in order to produce identical results, and reports.


How can I create a Scripting File?

Use your favorite text editor to add the commands to the scripting file. You can save your file with any extension, however, the conventional extension for scripting files is .sams The only essential requirement for a scripting file is that it should be in “text only” format. If you are using a program such as Word, or WordPerfect to write your scripting file, make sure you save your file in “text only” format. If you are using any other text editor, please consult the documentation of your text editor to ensure that you save your scripting file in the appropriate format.


What commands can I use in a scripting file?

You can use any command that can be invoked from the command line in WinSAAM.


What are SAAM dependent and SAAM independent scripts?

SAAM dependent scripts usually invoke a  .saam file from a specified location. If the file is not found the execution will abort. To retrieve SAAM files you may use the following series of commands:



e:\my documents\WinSaam\Macro design\ID201.saam

This batch of commands will open the file ID201.saam located on the E: drive in Sub- directory “Macro design”. Any subsequent batch of commands will be executed on this file, until we specify a different .saam file. In order to activate a SAAM dependent file we just invoke the Macro Command in the Commands Menu.

SAAM independent scripts require the user to open a .saam file and than invoke the script file which will be executed for the currently active .saam file. SAAM independent scripts are any of the commands that a user would normally use when using WinSAAM eg.








Plot q(1)

Calc Li




Send e- mail to with questions or comments about this web site.
Copyright © 2002 University of Pennsylvania, School of Veterinary Medicine
Last modified: October 05, 2005