Search code examples
anylogic

Anylogic - tank liquid color


How can I change storage tank liquid color dynamically in the animation? For example, I would to change the color from red to blue when a new batch added in.

1


Solution

  • AnyLogic does that for you as long as you specify a batch color when it is created in the FluidSource: enter image description here

    So define different batch colors and you will see them animated for you :)