Skip to content

Tanks and vessels

A vessel holds a level of one material. Give it a name, set its Material and its Capacity, and it is ready to fill and draw.

Three boxes describe how much a vessel holds, all read in the material’s unit.

  • Capacity is the working volume.
  • Starting Level is how full it is when the run begins, which is often zero.
  • Heel is what you cannot pump out: the material below the outlet that stays in the bottom.
A vessel's settings, with name, material and capacity.
Figure 1. A vessel's settings. Name, material and capacity are the three that matter here.

A vessel sitting at its heel is empty for every practical purpose.

A vessel can carry up to four level marks, named LL, L, H and HH, at whatever level you choose. Crossing a mark can stop an inflow, or run a line of logic. That is how a high switch that shuts a fill valve is modeled: an H mark at the fill level, with its action set to stop the inflow. A low mark can open a charge and close a drain, so a vessel fills and empties all day on its own.

A vessel's level marks LL, L, H and HH, with their actions.
Figure 2. Level marks on a vessel: LL, L, H and HH, each with an action.

The capacity, the starting level, the heel and every level mark take a literal number only. They will not accept a variable, an attribute or a distribution. Change the number between runs, or vary it with a scenario.