Mesquite Software

Home
Products and FAQ
Customers
To Order
Contact Us
Site Map
Documentation
News & Events

Purchase & Download
Or, log in here to
access your account.
 
Documentation
User Guide: C : Introduction

1. Introduction

CSIM+ is a process-oriented discrete-event simulation package for use with C programs. It is implemented as a library of routines which implement all of the necessary operations. The end result is a convenient tool which programmers can use to create simulation programs.

A CSIM program models a system as a collection of CSIM processes which interact with each other by using the CSIM structures. The purpose of modeling a system is to produce estimates of time and performance. The model maintains simulated time, so that the model can yield insight into the dynamic behavior of the modeled system.

This document provides a description of:
  • CSIM structures (objects) and the statements that manipulate them
  • Reports available from CSIM
  • Information on compiling, executing and debugging CSIM programs.

1.1. CSIM Objects

Every CSIM object is implemented in the same manner. For each CSIM structure, the program must have a declaration, which is a pointer to an object (an instance of the structure). Before an object can be used, it must be initialized by the constructor function for that kind of object. These serve the same functions as object declarations and constructors.

CSIM Processes

CSIM Objects

Managing queues of processes

Statistics, collecting data

Developing and managing models, output

Acknowledgements
List of references
Sample program
List of statements, reserved words

It is the processes which mimic the behavior of active entities in the simulated system.

1.2. Syntax Notes

  • All parameters are required.
  • Whenever a parameter is included within double quotes (e.g. "name"), it can also be passed as a pointer to a character array which contains the string.

Constants, which are represented by names that are entirely in capital letters, are defined in the header file, "csim.h".

Next Section

 
Home | Products/FAQ | Customers | To Order | Contact Us | Site Map | Documentation
© copyright 2005, Mesquite Software, all rights reserved.