Model Samples

From CD++
Revision as of 17:36, 30 April 2008 by WikiSysop (Talk | contribs)

Jump to: navigation, search

A comprehensive list of models can be found here

There is a more detailed description of each model in the file README.TXT located in every subdirectory.

More information:

All of the above samples include:

FileName.MA: The model description file
FileName.EV (optional): external events file
FileName.LOG (optional): A log file generated by the simulator
FileName.DRW (optional): A file generated by the DRAWLOG tool, where the results can be seen in a matrix (only available with some cellular models)
FileName.VAL (optional): A file with initial values for the model
FileName.BAT: A script used to run the simulation with the correct parameters (Windows platforms only, but it can be simply modified to be used under other platforms). Generates a LOG file
FileNameDRW.BAT (optional): A script used to generate the .drw file

The DEVS models are written in C++, and includes :
NAME.CPP: The C++ source code file of the NAME model. This file is needed to recompile the simulator properly (Download an example here!)
NAME.H: The C++ header file of the NAME model. This file is needed to recompile the simulator properly (Download an example here!)