Raczynski Consulting


Blues Simulation System:  C++ source code generator  C++ version of the PASION and PSM++ Simulation Packages

NEW: Printed circuits design, gerber files generation, click here

NEW MARKETING TOOL: http://www.raczynski.com/mahead/mah.htm

NEW : Example of elevator simulation A tool to use OpenGL graphics in Bluesss simulations

Simulation, Discrete Events, Continuous Models, Animation, Bond Graphs, Signal Flow Graphs, Queuing models, free demo
REMEMBER: Bluesss is compatible with the XE4 ... XE8.  Bluesss creates C++ source code for your model. You can run it using C++Builder.

License: Buying Bluesss you can use it on up to three machines. Strong discounts available for organizations, installation on 10 or more machines.

Free PSM++ demo

Simulation services

Course on Simulation

Vehicle dynamics  

 Molecular Simulation and solidification  

3D graphics

  PID Controller settings

Interesting articles:
stock market,
general relativity
and more...

 Fluid dynamics

Heat transfer simulation


Simulation Encyclopedia

The author

Signal processing- music recognition

Plots utility

  Bluesss stands for Blues Simulation System.

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.

Efficient scheduling and event queue management.

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 code 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 C++Builder code for a given Bond graph model.

Bluess Animator.
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. 

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: Windows 98 or later, NT , XP or later. It runs on any system where C++Builder does.
The Bluesss system can be used to simulate a great variety of systems, from physical ones to queuing models,

manufacturing, automatic control and many others.

Below you can see some examples of the most frequent applications.

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 Windows XP, Vista, Windows 7, later.  Necessary software: Borland's C++Builder6 XE3 or XE4.

Order Bluesss : professional use, up to 1000 blocks in the queueing module; use button below:

US $ 90

What follows: When your payment is accepted, you will be redirected to the download page. Then, we send to you the download and installation instructions by e-mail. If this does not happen the next few hours, please send us a message. Please provide an alternate e-mail address, sometimes we cannot communicate with a customer (bad anti-spam or other restrictions).
Stanislaw Raczynski     

Category Specialist

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.

NEW: StRaPlots: create nice 2D and 3d plots, execute it from your own code or using simple text data sets.

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.

You are visitor no.:  Last counter reset: Feb 1, 2007