add_flow
Create connections between stocks in Stella system dynamics models by defining flow names, rate equations, and source/destination parameters.
Instructions
Add a flow between stocks in the current model
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Flow name | |
| equation | Yes | Flow rate equation | |
| units | No | Units | |
| from_stock | No | Source stock (null for external source) | |
| to_stock | No | Destination stock (null for external sink) | |
| non_negative | No | Prevent negative values |