Color animation of the running flowchart

Anylogic animates all flowcharts at model runtime. The basic color scheme for most of the Fluid Library blocks in the model window includes three colors (silver, purple and navy) to distinguish the current state of the block:

Some of the Fluid Library blocks (e.g. Fluid Source, Fluid Split, Fluid Convert, Valve) have zero capacity and simply route the fluid flow. Other blocks (e.g. Tank, Pipeline, Agent To Fluid, Fluid Pickup) have non-zero capacity and can store some amount of fluid inside.

Basic color scheme

By default all blocks are colored as follows:

silver Denotes that the block has not received any fluid yet.
purple Denotes that the block received fluid but currently is empty and is not part of the fluid flow.
navy

For zero capacity blocks, denotes that the block is part of the fluid flow.

For non-zero capacity blocks, denotes that the block is part of the fluid flow and is filled to its full capacity.

Complex color scheme

The color scheme for the non-zero capacity blocks reflects the currently contained fluid level:

purple with navy Denotes that the block is partially filled. The fluid level is reflected by the navy bar size. 

Custom color scheme

Blocks become navy-colored on receiving a default batch of fluid.

A batch, however, can have an arbitrary color associated with it. If the Show batches in flowchart option is selected for a block, it will be colored according to the color of the batch currently contained in it:


Related topics

 Fluid Library blocks