Dear hackers:

A demo about arrival and  service times of a simple phone system which uses
the DE-domain of PtolemyII 0.2 can be viewed at:
    
http://entmuc.et.tu-dresden.de:4660/ptII/ptolemy/domains/de/demo/WirelessSystem.html
    
That demo is written as an applet. The demo.jar file, which is to be downloaded, 
includes
most of the *.class files of PtolemyII 0.2 and is roughly 400 k large. Please consider 
the
size when downloading via long-distance.

The applet is tested with Netscape 4.51, but should also work with IE4.x and IE5.x.
If it hangs up, just try the usual shift-reload/control-reload.
Please, don't forget to open the Java console. 
    
However, that demo is neither sophisticated nor too useful at all. It is just my first 
working applet using PtolemyII. Maybe that applet might just help other users of 
Ptolemy 
when they want to have a look into PtolemyII. Many more demos of PtolemyII 
are provided by the Ptolemy-group at the usual Ptolemy-http in Berkeley.
    
The complete description of the Wireless System demo is included below.
    
Have fun,
    
Jens
    
    ----------------------
    
    The above applet uses the Ptolemy II Discrete Event (DE) domain to simulate
    the activation and
    deactivation of some mobile network elements. A traffic source following th
   e Erlang traffic model
    (exponentially distributed inter-arrival as well as service times and an in
   finite user pool) drives the
    simulation. Since the DE-domain of the PtolemyII 0.2 release does not suppo
   rt mutations in the
    topology so far, five network elements are hardwired into the topology. The
    simulation's topology is
    shown at the bottom of that page. A configuration manager receives the on/o
   ff messages from the
    traffic source and activates or deactivates the network elements. The point
   s in time when a network
    element is activated as well as the service times are depicted in the timep
   lot. 
    
    Once a network element is activated, it asks the base station for a resourc
   e. This communication is
    done through the channel. As long as the base station still has resources a
   vailable, it gives one to the
    quering network element. The number of resources as well as the parameter o
   f the traffic model can
    be set. 
    
    If the service time of the network element is over, it returns the resource
    to the base station by
    sending messages through the channel. Then, the network element is deactiva
   ted. 
    
    There are no animations with this demo, but some textual outputs of what is
    going in the network
    are written in the Java console. The first number in each line is always th
   e current time. 
    
    Play with the parameters. If you especially vary the number of resources vs
   . the traffic load, 
    you 'll see more or less network elements getting resources or not. The hig
   her the traffic load (the
    lower the mean arrival time and/or the higher the mean service time) the mo
   re resources are needed
    in a telephone network in order to avoid rejections of service requests. 
    If the number of resources is set to zero, no network element will get a re
   source. 
    
    Also, this demo is neither enhanced nor useful. It is just my first working
    applet with software from
    PtolemyII packages. 
     
--------



----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to