Here you can download the complete N

Samples (from A to G)

The following list includes some existing models developed for the CD++ Simulator.
It includes the name, location, a brief description of it, and some other helpful information for each model.

This icon means that you can see the simulation downloading the sample and using the Web-Based Graflog applet.
Name Location Description
2D-HEAT DIFFUSION ./samples/heatdif/heat Heat diffusion model in a surface. A cell can be connected to heat generator, a cold generator or none. A cell's temperature is measured as the average of its neighborhood. It's possible to see the cell's temperature in each step.
Download model and sample
3D-HEAT DIFFUSION
./samples/heatdif/heat3d A heat diffusion model (as the one described above) but using three-dimensions.
Download model and sample
AIRPORT ./samples/airport Simulates departures and arrivals in an airport. Uses a control tower, several planes, and queue and a different container (i.e. hangar) for the planes, according to their flight numbers.
Download model and sample
Download atomic models for Parallel DEVS
ALFA1 ./samples/alfa1 Project Alfa-1. A complete computer simulated with several N-CD++ components. It's possible to test each of the isolated components. Performance improvements to the computer can be analyzed using this models. ALFA-1 Project (visit this link for more information).
Download model and sample
ANTS ./samples/ants A model of Ants moving in a field.
Download model and sample
ATLAS ./samples/atlas An example of the execution of the TSC compiler, which implements the ATLAS specification language. More information about ATLAS, press HERE and HERE . Further information about TSC, press HERE .
Download model and sample
AUTO ./samples/auto DEVS model representing a simple automobile factory
Download model and sample
BACTERIA ./samples/bacteria This model represents the reproduction behavior of the Vibrio Parahaemolyticus bacteria. Download model and sample
BINSOL ./samples/BinSol A model of binary solidification of crystal in ammonia solution. Download model and sample
BOUNCING BALL ./samples/rebota A ball bouncing in a square field. It's possible to design a field with walls and one or more balls bouncing inside the field.
Download model and sample
BUSVEND ./samples/Busvend DEVS models representing a controller for an automatic ticket distributor for buses
Download model and sample
CITYSECTION ./samples/CitySection A model of a section of the city of Buenos Aires using Cell-DEVS and O/D mattrixes.
Download model and sample
CITYROUTING ./samples/CityRouting A model of a section of a city using Cell-DEVS and dynamic routing.
Download model and sample
CLOCK ./samples/clock DEVS model representing a simple Alarm Clock
Download model and sample
Download model and sample to run under the Real-Time version of CD++
CLOUDS ./samples/lluvias Represents the amount of rain that a group of clouds (moving from east to west) are capable to produce.
Download model and sample
ELEVATOR ./samples/Busvend DEVS models representing a controller for an elevator. Download model and sample
EXMEDIA ./samples/ExMedia A model of excitable media and diffusion reaction in the environment. Download model and sample
FIRE ./samples/fire/fire Simulates a fire in a forest. The simulation allows to foresee the propagation and intensity of the fire. Three parameters are involved in the RS (ratio of spread): particles properties (amount of heat, minerals and density), type of fuel (includes the size of the vegetation) and values involved with the natural environment (wind speed, territory inclination and humidity).
Download model and sample
FIRECORSE ./samples/FireCorse Simulates a fire in a closed environment, following the rules of the Environmental Lab of the University of Corse. The simulation allows to foresee the intensity of the fire. The fuel is uniformly distributed (pine seeds) and no weather or slope conditions are considered. Download model and sample
FIRE AND RAIN ./samples/fire/fireandrain In this case a rainstorm has been defined. It moves to SE, extinguishing the fire on burning cells. Negative values define the effects of the rain.
Download model and sample
FIRE AND FIREFIGHTERS ./samples/fire/fireandf Shows the firefighters influence on a fire in the region. A negative value is still used for wet or cooling cells, a positive value for burning cells, but the way in which the water is spread has been changed.
Download model and sample
FRACTAL ./samples/fractal This model generates fractals using a random particle generator. Download model and sample
FSM ./samples/fsm A simple DEVS library to define Finite State Machines
Download model and sample

 

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

More information:

Any of the samples above includes:

NAME.MA: The model description file (Download an example here!)
NAME.EV (optional): The events file (Download an example here!)
NAME.DRW (optional): The file generated by the DRAWLOG tool, where the results can be seen in a matrix (only available with some cellular models) (Download an example here!)
NAME.VAL (optional): The file with the initial values for the model (Download an example here!)
RUN.BAT: The file used to run the simulation with the correct parameters (Windows platforms only, but it can be simple used under any other platform) (Download an example here!)
DRAW.BAT (optional): The file used to generate the .drw (Download an example here!)
DEMO.BAT (optional): The file used to achieve the results given by RUN.BAT and DRAW.BAT altogether (Download an example here!)

Any of the source code above 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!)