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. FluidSource, FluidSplit, FluidConvert, Valve) have zero capacity and simply route the fluid flow. Other blocks (e.g. Tank, Pipeline, AgentToFluid, FluidPickup) have non-zero capacity and can store some amount of fluid.

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 has received fluid but is currently empty and does not contain fluid.

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

For non-zero capacity blocks, denotes that the block 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.
Purple with navy
and an infinity symbol

Denotes that the block has infinite capacity. The fluid level is always depicted as if the block is half filled.

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:

Indication of flow priority violation

This animation can be observed in blocks FluidMerge and FluidSplit. In the priority mode, the dot indicating the priority input becomes orange in case the flow values are not in accordance with the priorities. This may well be a normal situation, but it also may signal that the flows are distributed not in the desired way and that setting custom priorities is required.

Related topics

Fluid Library blocks