Raczynski Consulting
Blues Simulation
System: C++ source
code generator
C++ version of the PASION - PSM++ Simulation Packages
Simulation, Discrete Events, Continuous Models, Animation, Bond Graphs, Signal Flow Graphs,
Queuing models, free demo
New
demo:
road
traffic simulator, coded in Bluesss. Consult also
http://www.raczynski.com/traffs.htm
Consult also:
PSM++
Simulation System
REMEMBER: Bluesss is
compatible with the
Borlands C++ Builder. Bluesss creates C++ source code for your model. You
can run it using C++Builder.
Molecular
Simulation and solidification
Interesting
articles:
Bluesss is a new
version of the package PSM++ that, in turn, evolved from the PASION (PAScal
simulatION) software. The main difference is that PSM++ produces the
Delphi Pascal code, while Bluesss is based on C++. Bluesss
is an object-oriented, simulation package, which uses the Bluesss language
for the model specification. The language has a clear process/event
structure and is equipped with appropriate environment. Bluesss translator generates a
C++ source
code. The actual version generates code compatible with the Borland's C++Builder 6 or
2006, personal, enterprise or professional. The following features make Bluesss the most complete and versatile simulation tool.
Inheritance mechanism, that permits to add new properties to old processes without intervening the source
code of processes declared earlier.
State events. Discrete and continuous objects can run concurrently. The state events can be activated by
continuous objects as well as by logical conditions changed according to the model state.
Program generator for ODE (Ordinary
Differential Equations) models DIFEQC.
The user can provide the model equations or use code generated by the signal
flow modlue (FLOWDC) or the bond graph module (BONDWC). If you use FLOWDC or
BONDW, then the system equations as well as the Bluesss and C++
codes are generated automatically.
Program generator for queuing models QMGWC. This module includes graphical editor for
queuing schemes,
program and report generators.
Program generator for continuous processes FLOWDC described by signal flow diagrams
or block schemes.
Bond Graphs editor and analyzer BONDWC. This module includes a Bond graph editor and a
program generator that creates source Pascal and PSM++ code for a given Bond graph model.
Bluess Animator. VARAN: Post Mortem
analyzer for stochastic (discrete and continuous)
models. Shows variance,
confidence intervals
etc. as functions of time, particularly useful for the statistical analysis of transient processes.
Bluesss demo: The demo package will be available soon.
As Bluesss is a C++ version of the PSM++ Simulation System, it can
simulate models of the same type and size as PSM++. So, with Bluesss you
can do practically the same you can do with using PSM++. See the PSM++
demo for some examples. You can download it from
http://www.raczynski.com/pn/demo.zip PLATFORM: PC, min 64KRam, Windows 98 or
later, NT or XP.
The above figure shows a fragment of a Bluesss model of a manufacturing system.
Red boxes are waiting lines or buffers, blue blocks are servers (service
operations, machines, robots or production cells), green vertical ones are
assembly operations. The user draws the scheme on the screen and defines the
block parameters. Then, Bluesss generates the Bluesss source code, translates
it to C++ and invokes the C++Builder, so you can see the code and run the
simulation.
Example of a Bluesss result screen. The probability
distribution for the length of a queue, plotted as function of time and of the
queue length. This is only one of multiple plots and results screens
produced by Bluesss.
The above figure is a screen image of the confidence intervals for the length
of a queue. The yellow line in the middle of the red area is the average queue
length, and the othe lines (with red shadows) show the upper and lower limits
of the area where the queue length belongs, with probability 0.9. Note that
this is a dynamic analysis, and the values are shown as functions of time.
Bluesss animator.
Animation is one of the ways to visualise the results of a simulation run. It
is useful while testing the simulation program, and while presenting the
results of the simulation to a target user. If you develop a simulation for
someone (a person, a copany), you must make your client believe that the
program really simulates what he wanted to be simulated. The best way to
achieve this, is a good animation. The model shown below is a simple
manufacturing cell. Products (compters) enter the model (In arrow) and are put
on a conveyor. Machine 1, 2 and 3 are service operations. If the server is
free, then the product enters the service, if not, it moves forward. If all
servers are busy when the product passes near to it, then the product moves and
returns to the beginning of the conveyor. After receving service, the product
enters a buffer (orange line) and then the "quality check" operation. If it has
a "good" quality, then it leaves the model, if not, it is being returned to the
conveyor (red route). The animation is a nice way to see what happens in the
model. The icons move rapidly on the screen and you can see the bottlenecks and
the state of the server.
As mentioned before, Bluesss is a general purpose simulation package, so it can
simulate a great variety of models. Below you can see an example of a Bluesss
model given in the form of a signal flow diagram. This is a simple system of
automatic control. The node U is the set point, the link E->Y is a PID
controller, link Y->X is the controlled process, in this case an inertial
object of the second order. The link X->V is the measurement instrument (first
order inertia). The signal ate node E represents the control error (the
difference U - V).
The following plot shows the results of a simulation run for the above model, in
the "varying parameter" mode. In this simulation, the controller gain changes
automatically between 4 and 14 in 25 steps. The curve 1 correspons to the lower
value of the controller gain. Such simulation can be useful while looking for
optimal setting of the controller.
Below you can see the 3D version of the results of the same simulation
experiment. The horizontal axes are the controller gain and the time (growing
from left to right).
In
the following you can see another example of a continuous Bluesss model. This is
a model given by the bond graph. Recall that bond graph is a graphical
representation of the dynamics of a physical system, used mainly to simulate
mechanical systems. The Bluesss screen shown below corresponds to certain
mechanical which will not be discussed here in detail. It is one of the models
given in the article of Francoise Cellier, Hierarchical non-linear bond
graphs: a unified methodology for modeling complex physical systems,
SIMULATION, April 1992.
The next figure shows one of the Bluesss screns with time-plots of selected
variables of this bond graph model.
PLATFORM: PC, min 64KRam, Windows 98 or
later, NT or XP. Necessary software: Borland's
C++Builder. ORDERING :![]()
Lecture Notes on Modeling and Simulation
- slides and auxiliary meterial for a complete course
New book on computer simulationby Stanislaw Raczynski:
Link to the book summary
CARDYNS - vehicle dynamics simulation
An
independent
Queuing Model Simulator QMS
(this is QMS, not Bluess or PSM++). No C++Builder needed!
Read some articles
Free !
Marketing model
Simulation
Encyclopedia PID
Controller settings
Terror simulation
ROBOT
Kinematics
C++ source code
generator for simple queuing models.
Click here.
Simulation services:
custom simulations of manufacturing systems, queuing, mechanisms,
vehicle dynamics, fluid dynamics and other
Consult the curriculum of
Dr.Raczynski at
http://www.raczynski.com
stock market,
general relativity
and more...
Bluesss stands for
Blues Simulation System. It is a common practice that the name of a
software package or language is a word that in a magic way results to be, at the
same time, an acronym of certain related phrase. Bluesss is an exception from
this nearly
mandatory rule. "Blues" is just the first word I thought
about while
looking for the name of the package. I like this musical form very much and
listen to it frequently while working, walking, driving, relaxing or doing other
things. So, I have chosen it as a part of the package name. As you probably
guess, Blues itself has nothing to do with modeling and simulation.
Efficient scheduling and
event queue
management.
It is a new,
quite easy end practical, mainly for applications in manufacturing and
mass-service queuing models. As the
animation scenario, the user can insert any bitmap, created by Paint or similar
tools, or a photo of the real scenario. The model icons will move over the
scenario on their predefined routes. 









Stanislaw Raczynski ![]()
P.O.Box 22-783
14000 Mexico D.F.Mexico
http://www.raczynski.com
Category Specialist 2007-02-18 |
Other stuff:
Click here to download the DEMO version of vehicle simulation package (zip file, about 0.8 MB). Main program: cardyndef.exe. It was simulated with the PSM++ simulation system, using the open-GL graphics. As mentioned before, you can do similar things using Bluesss.
Signal processing - music recognition : For musicians and those who make, edit and process music. The UCHO program which extracts harmony from wave files, generates chords and creates midi files out from wave format.
Cklick on this button if you want to receive
more information about our software (heat transfer, fluid dynamics and more...):
NEW:
Road traffic simulation using Bluesss: download it from
http://www.raczynski.com/pn/roads.htm
Bluesss is a C++ version of the PSM++ system, so it does the same PSM++ does (except the model merging PSM feature) . Consequently, there is no separate Bluesss demo. You can download a PSM demo to see what can be done both by Buesss and PSM++. It is not a functional system version, but rather a set of executable programs for various models. Click here to download it.
Click here to see a sample section of the Bluesss manual (Getting started, some examples)
You are visitor no.: Last counter reset: Feb 1, 2007al.com/adwel.pl?oldrefid=84684"><img src="http://www.linkreferral.com/images/linkreferal/linkbutton.gif" border="0" alt="Bluesss Simulation package. Generates C++ code. Supports queuing with animation , discrete/continuous models, differential equations (ODE), signal flow, bondgraphs." width="114" height="32"></a>