Discrete Event Simulation in Parsec

10/20/98


Click here to start


Table of Contents

Discrete Event Simulation in PARSEC

Discrete-Event Simulation

DES Example: Network Model

Maisie/PARSEC

The PARSEC Language

Summary of Parsec Constructs

Entity Definition

Entity Example

Stacksize

Entity Creation

Parameter Passing

Messages

Sending Messages

Send Statement

Receiving Messages

Receive Statement

Sample Receives

PARSEC Code Sample

Guards

Resource Manager - Unit Requests

PPT Slide

Using Guards

Program Structure

Delay Entities: Ping-Pong

Ring of Delay Entities

Compiling and Running

Constructing a Simulation in Parsec

Time Management

Events

Events in Parsec

Example of past message

Timeout First vs. Timeout Last

Nonblocking Receive

Hold vs. Send After

Timeout vs. Message to self

Typical Entity Structure

Typical Driver Entity

Author: Richard Meyerr

Email: meyerr@cs.ucla.edu

Home Page: http://pcl.cs.ucla.edu/~meyerr

Return to Slides Page