add_stock
Add a stock (reservoir) to Stella system dynamics models by specifying name, initial value, units, and non-negative constraints for building stock-and-flow diagrams.
Instructions
Add a stock (reservoir) to the current model
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Stock name | |
| initial_value | Yes | Initial value (number or equation) | |
| units | No | Units | |
| non_negative | No | Prevent negative values |