System Dynamics

Flow Block

Represents the rate of change of a Stock. Controls the volume of entities moving into or out of a stock per unit of time.

Open Flow in BlockWerk →

Description

The Flow block represents the rate of change of a Stock. It controls how much quantity moves through the system per unit of time. It can represent birth rates, evaporation, cash flow, or any other rate of change.

Mathematical Model

Flow = Rate * Multiplier

The Flow block essentially defines the derivative of a connected Stock:

$$\frac{d(Stock)}{dt} = Flow$$

In this implementation, the block allows for a scaling multiplier: $$Output = Input \times Multiplier$$

Parameters

multiplier

A scaling factor applied to the input rate. Useful for converting units or applying a global gain to a specific flow.

Ports

rate (Input)

The base rate of the flow. Can be a constant value or calculated based on other system variables.

flow (Output)

The resulting flow rate, usually connected to the flow_in port of a Stock block.

See Also