ABSTRACT

This chapter introduces the basic features of the CD++ toolkit. CD++ is one of several tools that have been implemented based on Discrete-event systems specification (DEVS) theory and its extensions. It describes the general aspects of the simulation tool, and shows how to create models using the tools. The simulation engine tool of CD++ is built as a class hierarchy. Atomic models can be programmed in C++ and incorporated onto a basic class hierarchy. Coupled and Cell-DEVS models are created using a language built in the engine. The service functions allow the model to set the current state and its duration. In order to allow parameter configuration at runtime, some of the arguments used by the atomic models can be defined externally. “Reverse engineer” the source code for the models Queue, Generator, CPU, and Transducer found in CD++, and write a DEVS formal specification for each of them.