[comp.simulation] SIMULATION DIGEST V17 N3

simulation@uflorida.cis.ufl.edu (Moderator: Paul Fishwick) (08/09/90)

Volume: 17, Issue: 3, Wed Aug  8 14:54:01 EDT 1990

+----------------+
| TODAY'S TOPICS |
+----------------+

(1) QUERY: Looking for Alternate PC Simulation Language
(2) Free ODE Solver and Plotter
(3) Free MINIGPSS Compiler Available
(4) CALL: Third International Symposium on AI
(5) SimPack Version 1.0 Available for FTP

* Moderator: Paul Fishwick, Univ. of Florida
* Send topical mail to: simulation@bikini.cis.ufl.edu OR
  post to comp.simulation via USENET
* Archives available via FTP to bikini.cis.ufl.edu (128.227.224.1).
  Login as 'ftp', use your last name as the password, change
  directory to pub/simdigest. Do 'type binary' before any file xfers.
* Simulation Tools available by doing above and changing the
  directory to pub/simdigest/tools. 



-----------------------------------------------------------------------------

Date:         Tue, 07 Aug 90 20:29:40 IST
From: ARRTEST@TECHNION.bitnet
Subject:      Query for alternate simulation language to GPSS on PC
To: simulation@bikini.cis.ufl.edu

In my site we used for last decade GPSS as a main simulation language.
I am looking now for an alternative package that may run on a PC
(8088, 80286, 80386, 80486). The main subjects to be tested are various
QUEUE problems.

Any additional information might help.

Many thanks.

Nathan Mamias
Technion - Israel Institute of Technology

------------------------------

Date: Wed, 8 Aug 90 11:17:17 -0400
From: Paul Fishwick <fishwick@fish.cis.ufl.edu>
To: simulation@ufl.edu
Subject: Free Diff. Eq. Solver and Plotter

The SimPack C tools library now includes a solver for ordinary differential
equations. The package uses the free 'grtool' package to plot both time
series plots and phase plane plots of state variables. To obtain the
software, follow the directions for FTP at the beginning of this digest,
and get 'simpack.tar.Z'. The new ODE solver is called DEQ and is located
under the /differential sub-directory (one you have unpacked simpack.tar.Z).
You should also retrieve 'grtool.tar.Z'. The plot package requires a
UNIX SUN Workstation.

Here are 2 examples (from the README file):

EXAMPLE 1
---------

An Example of a single equation is to enter:

  x[2] = -16*x[0] + 10*cos(3.7*t)

Note that this equation is x'' = -16x + 10cos(3.7t) using standard
notation. Try plotting this over time (always denoted as 't') by 
specifying 't' as the x-axis variable, and x[0] as the y axis 
variable to be plotted by grtool.

EXAMPLE 2
---------

An Example of the Lorenz System (Phase Plot) is to enter (note: left
hand sides of equations are prompted by DEQ):

  x[1]' = 10*(-x[1] + x[2])
  x[2]' = 28*x[1] - x[2] - x[1]*x[3]
  x[3]' = -2.666*x[3] + x[1]*x[2]

Try plotting x[1] vs. x[2] when prompted for this information.


 -paul fishwick

+------------------------------------------------------------------------+
| Prof. Paul A. Fishwick.... INTERNET: fishwick@bikini.cis.ufl.edu       |
| Dept. of Computer Science. UUCP: gatech!uflorida!fishwick              |
| Univ. of Florida.......... PHONE: (904)-392-1414                       |
| Bldg. CSE, Room 301....... FAX is available                            |
| Gainesville, FL 32611.....                                             |
+------------------------------------------------------------------------+


------------------------------

Date: Wed, 8 Aug 90 14:36:14 -0400
From: Paul Fishwick <fishwick@fish.cis.ufl.edu>
To: simulation@ufl.edu
Subject: MINIGPSS Compiler Available


A MINIGPSS compiler is available as part of the SimPack software - this
compiler takes a model written in a subset of GPSS, compiles it into
C code using SimPack's C event routines, and then runs the final code
to obtain a statistical summary. Here is an overview of the MINIGPSS
architecture:



                        MINI-GPSS System Description 
  

        token.l   :     input to lex  (scanner specification)
        parse.y   :     input to yacc (parser specification) 
        lex.yy.c  :     "C" generated code for scanner
        y.tab.c   :     "C" generated code for parser
        queuing.c :     simulation routines (simpack)
        main.c    :     simulation event handler
        error.c   :     error handler for parser
        simgen.c  :     "C" generated code for simulation
        gp        :     MINI-GPSS executable
        program.g :     MINI-GPSS source file


                ||                      ||
                ||                      ||
              token.l                 parse.y
                ||       ===========    ||
                \/       ||       ||    ||
           ===========   ||       \/    \/
           |   lex   |   ||     ==============
           ===========   ||     |    yacc    |                    ||
                ||       ||     ==============                  main.c
                ||       ||           ||         ||        ||     ||
             lex.yy.c    ||           ||         ||        ||     ||
                ||       ||         y.tab.c    error.c  queuing.c ||   
                ===========           ||         ||        ||     ||
                                      \/         \/        \/     \/
                                  ===================================
                   ||             |         cc compiler             |
                   ||             ===================================
                program.g                      ||
                   ||      ====================== 
                   ||      || 
                   \/      || 
               ========================
               |     gp (executable)  |
               ========================
                        ||
                   ==============
                   ||          ||
                   \/          \/
                simulation  simgen.c
                 output 




------------------------------

Date:         Wed, 08 Aug 90 09:13:56 CST
From: "Centro de Inteligencia Artificial(ITESM)" <ISAI@TECMTYVM.MTY.ITESM.MX>
Organization: Instituto Tecnologico y de Estudios Superiores de Monterrey
Subject:      THIRD ISAI IN MEXICO
To: alife@iuvax.cs.indiana.edu, ag-exp-l%ndsuvm1.bitnet@cunyvm.cuny.edu,
        ai-chi@LLL-LCC.LLNL.GOV, otten@uunet.uu.net,
        ai-ed@sumex-aim.stanford.edu, jws%ib.rl.ac.uk@nsfnet-relay.ac.uk,
        ca@think.com, clp.x@xerox.com, mod-ki%unido.irb@unido.bitnet,
        cvnet%yorkvm1.bitnet@cunyvm.cuny.edu, cybsys-l@bingvmb.bitnet,
        fineart%ecs.umass.edu@relay.cs.net, fj-ai%etl.jp@relay.cs.net,
        r34334%uqam.bitnet@cunyvm.cuny.edu, ga-list@aic.nrl.navy.mil,
        fox@vtopus.cs.vt.edu, lantra-l%finhutc.bitnet@cunyvm.cuny.edu,
        neuron%csl.ti.com@relay.cs.net, nl-kr@cs.rochester.edu,
        nnsc@nnsc.nsf.net, prolog-hackers@sushi.stanford.edu,
        simulation@ufl.edu, simulator-users@cs.rochester.edu, lseward@RAND.ORG,
        vision-list@ADS.COM


     To whom it may concern:
          Here you will find the information concerning the
      "THIRD INTERNATIONAL SYMPOSIUM ON ARTIFICIAL INTELLIGENCE".

          Please display it in your department's bulletin board.
     Thank you very much in advance.
              Sincerely,
                        The Symposium Publicity Committee.
====================================================================
          THIRD INTERNATIONAL SYMPOSIUM ON
               ARTIFICIAL INTELLIGENCE:
  APPLICATIONS OF ENGINEERING DESIGN & MANUFACTURING IN
          INDUSTRIALIZED AND DEVELOPING COUNTRIES

             OCTOBER 22-26, 1990
                ITESM, MEXICO

   The Third International Symposium on Artificial Intelligence will
   be held in Monterrey, N.L. Mexico on October 22-26, 1990.
   The Symposium is sponsored by the ITESM (Instituto Tecnologico y
   de Estudios Superiores de Monterrey)  in cooperation with the
   International Joint Conferences on Artificial Intelligence Inc.,
   the American Association for Artificial Intelligence, the Sociedad
   Mexicana de Inteligencia Artificial and IBM of Mexico.

   GOALS:
   * Promote the development and use of AI technology in the
     solution of real world problems. Analyze the state-of-the-art
     of AI technology in different countries. Evaluate efforts
     made in the use of AI technology in all countries.

   FORMAT:
   ISAI consists of a tutorial and a conference.
           Tutorial.- Oct. 22-23
           Set of seminars on relevant AI topics given in two days.
   Topics covered in the Tutorial include:
   "Expert Systems in Manufacturing"
   Mark Fox, Ph.D., Carnegie Mellon University, USA
   "A.I. as a Software Development Methodology"
   Randolph Goebel, Ph.D., University of Alberta, Canada

            Conference.- Oct. 24-26
            Set of lectures given during three days. It consists of
   invited papers and selected papers from the "Call for Papers"
   invitation. Areas of application include: computer aided product
   design, computer aided product manufacturing, use of industrial
   robots, process control and ES, automatic process inspection and
   production planning.
   Confirmed guest speakers:
   Nick Cercone, Ph.D, Simon Fraser University, Canada
   Alan Mackworth, Ph.D, University of British Columbia, Canada
   Mitsuru Ishizuka, Ph.D, University of Tokyo, Japan

   IMPORTANT:
             Computer manufacturers, AI commercial companies,
   universities and selected papers with working programs could
   present products and demonstrations during the conference.
   In order to encourage an atmosphere of friendship and exchange
   among participants, some social events are being organized.
     For your convinience we have arranged a free shuttle bus
   service between the hotel zone and the ITESM during the three
   day conference.

    FEES: (Valid before August 31)
         Tutorial.-
           Professionals    $ 250 USD + Tx(15%)
           Students         $ 125 USD + Tx(15%)
        Conference.-
           Professionals    $ 180 USD + Tx(15%)
           Students         $  90 USD + Tx(15%)
           Simultaneous Translation   $ 7 USD
           Formal dinner    $ 25 USD *
           *(Includes dinner, open bar, music  (Oct 26))
    Tutorial fee includes:
        Tutorial material.
        Welcoming cocktail party (Oct.22)

    Conference fee includes:
        Proceedings.
        Welcoming cocktail party (Oct.24)
        Cocktail party. (Oct.25)

    HOTELS:
        Call one to the hotels listed below and mention that you
    are going to the 3rd. ISAI. Published rates are single or
    double rooms.
    HOTEL                   PHONE*              RATE
    Hotel Ambassador       42-20-40          $85 USD + Tx(15%)
    Gran Hotel Ancira      42-48-06          $75 USD + Tx(15%)
                           91(800) 83-060
    Hotel Monterrey        43-51-(20 to 29)  $60 USD + Tx(15%)
    Hotel Rio              44-90-40          $48 USD + Tx(15%)
    * The area code for Monterrey is (83).

    REGISTRATION PROCEDURE:
        Send personal check payable to "I.T.E.S.M." to:
              "Centro de Inteligencia Artificial,
               Attention: Leticia Rodriguez,
               Sucursal de Correos "J", C.P. 64849,
               Monterrey, N.L. Mexico"

        INFORMATION:
              CENTRO DE INTELIGENCIA ARTIFICIAL, ITESM.
              SUC. DE CORREOS "J", C.P. 64849 MONTERREY, N.L. MEXICO.
              TEL.    (83) 58-20-00 EXT.5132 or 5143.
              TELEFAX (83) 58-07-71, (83) 58-89-31,
              NET ADDRESS:
                          ISAI AT TECMTYVM.BITNET
                          ISAI AT TECMTYVM.MTY.ITESM.MX



------------------------------

Date: Wed, 8 Aug 90 14:36:14 -0400
From: Paul Fishwick <fishwick@fish.cis.ufl.edu>
To: simulation@ufl.edu
Subject: MINIGPSS Compiler Available


A MINIGPSS compiler is available as part of the SimPack software - this
compiler takes a model written in a subset of GPSS, compiles it into
C code using SimPack's C event routines, and then runs the final code
to obtain a statistical summary. Here is an overview of the MINIGPSS
architecture:



                        MINI-GPSS System Description 
  

        token.l   :     input to lex  (scanner specification)
        parse.y   :     input to yacc (parser specification) 
        lex.yy.c  :     "C" generated code for scanner
        y.tab.c   :     "C" generated code for parser
        queuing.c :     simulation routines (simpack)
        main.c    :     simulation event handler
        error.c   :     error handler for parser
        simgen.c  :     "C" generated code for simulation
        gp        :     MINI-GPSS executable
        program.g :     MINI-GPSS source file


                ||                      ||
                ||                      ||
              token.l                 parse.y
                ||       ===========    ||
                \/       ||       ||    ||
           ===========   ||       \/    \/
           |   lex   |   ||     ==============
           ===========   ||     |    yacc    |                    ||
                ||       ||     ==============                  main.c
                ||       ||           ||         ||        ||     ||
             lex.yy.c    ||           ||         ||        ||     ||
                ||       ||         y.tab.c    error.c  queuing.c ||   
                ===========           ||         ||        ||     ||
                                      \/         \/        \/     \/
                                  ===================================
                   ||             |         cc compiler             |
                   ||             ===================================
                program.g                      ||
                   ||      ====================== 
                   ||      || 
                   \/      || 
               ========================
               |     gp (executable)  |
               ========================
                        ||
                   ==============
                   ||          ||
                   \/          \/
                simulation  simgen.c
                 output 




------------------------------

Date: Wed, 8 Aug 90 14:46:01 -0400
From: Paul Fishwick <fishwick@fish.cis.ufl.edu>
To: simulation@ufl.edu
Subject: SimPack Version 1.0



SimPack Version 1.0 is available for FTP. Instructions for FTP
are at the beginning of this digest. If you can't FTP, send mail
to me, and I will ship the files via e-mail. Here are the following
enhancements to the Alpha Version of SimPack previously available:

(1) C routines for cancelling token and event keyed event queue
    items (see 'queuing' subdirectory).

(2) DEQ - An Ordinary Differential Equation Solver and Plotter.

(3) MINIGPSS - A scaled down Compiler for the GPSS language.

Here is a revised list of SimPack contents:
 -------------------------------------------


                  S I M P A C K
      C-based Simulation "Seed" Tool Package
        Copyright 1990,  Paul A. Fishwick

                  VERSION 1.0
                (August 8, 1990)

  SimPack is a collection of C tools (routines and
programs) for computer simulation in teaching and/or
research. It has been used in a classroom environment
for teaching computer simulation to seniors and
graduate students at the University of Florida.
SimPack is copyright, and re-distribution is granted 
so long as SimPack is not sold (in any form) for a 
profit. Users of SimPack use the tools at their own risk.

  The philosophy behind SimPack is simple: the provided
tools are minimal but comprehensive so that users can
combine different features and expand existing features
to "home-brew" their own simulations. Many of the tools
are meant to be used as "seed" software tools, allowing
one to learn a general template for doing a specific
kind of simulation. Once the template is learned, the
program can be easily expanded by the user to fit 
his/her needs.

 ----------------------------------------------------

CONTENTS:

  SimPack comes with 5 sub-directories. Programs are
written in C and may be compiled and executed on 
workstations and PC's that support the C language
such as the SUN Workstation and IBM/PC or compatible.
Currently the compiler options are set up for the
SUN Workstation (see individual make files).

INSTALLATION:

  You need to set one of three flags located at the
beginning of file 'queuing.c' under the queuing
sub-directory. See the instructions there. For a
UNIX Workstation (the default setting), simply execute 
the following command in the main SimPack directory:

%make all

  Look at the Make File in each sub-directory to create
the necessary executables. For PC's, look at the make
file to understand the dependencies, and then use
the resident linker/loader to create executables.



Sub-Directories
 ---------------

1. Queuing

   This code is used for 2 purposes: for constructing
discrete event simulations and for constructing simulation
software that incorporates parallel events. All queuing
network simulations require a future event list for
simulated parallelism, however, it is possible to create
simulations that require only the parallelism (without
the queuing) -- see the Petri net simulator in the 'graphs'
sub-directory for an example of this.

   This code was heavily influenced by both CSIM syntax by
Herb Schwetman (at MCC) and SMPL syntax by M.H. MacDougall
(at Apple Computer). The syntax is almost identical
to SMPL's with differences noted in the README file.
It extends SMPL's functional capabilities to permit:

  (1) The choice of either a HEAP or LINKED list future
      event list.

  (2) A visual (graphical) tracer that allows you to
      step through all changes to the key discrete event
      data structures (event list,facility queues,clock).
      With UNIX, curses is invoked to permit animation.

2. Graphs

   This contains the following sub-directories:
   
   A) CPUDISK - a simulation of a single CPU connected to
      4 disk units operating in parallel.

   B) PETRI - a general purpose timed Petri network
      simulator.

   C) NETWORK - a general purpose communications network
      simulator.

   D) QUEUE - a single server queue.

3. State

   This contains 3 simulation programs:

   (1) Simulate a Finite State Automaton with labelled
   states. States and transitions are time tagged.

   (2) Simulate a Markov Process with labelled states.
   States and transitions are time tagged.

   (3) Simulate a Pulse Process with labelled vertices.
   Time is implictly incremented in single units.

4. Difference

   Difference equation set simulation.

5. Differential

   Differential equation set simulation. Examples of Euler and
   Runge-Kutta (4th order) integration.

   The 'deq' directory contains a program (DEQ) that will accept ordinary
   differential equations in a standard form. DEQ then asks for
   initial conditions, start and end times and then plots the
   time series or phase plane using grtool.

6. Combined

   (1) A delay differential equation simulator combining facets
   of difference and differential equations.

   (2) A combined continuous, discrete event simulation.

7. MINIGPSS

    This is a scaled down version of the GPSS simulation language. MINIGPSS
    is a compiler (not interpreter) so the speed of simulation is improved.
    MINIGPSS compiles MINIGPSS models into C code that uses SimPack's
    C queuing routines. In this manner, the event-oriented code that SimPack
    contains is treated as an "assembly language" for the process-oriented
    MINIGPSS language.

 ----------------------------------------------------

Prof. Paul A. Fishwick
University of Florida
Dept. of Computer and Information Science
Bldg. CSE, Room 301
Gainesville, FL. 32611

INTERNET: fishwick@fish.cis.ufl.edu




------------------------------




END OF SIMULATION DIGEST
************************