add_stock
Add a stock reservoir to a system dynamics model by specifying name, initial value, and optional units, position, and non-negative constraint.
Instructions
Add a stock (reservoir) to the current model
Input 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 | |
| x | No | X position (optional, auto-positioned if not specified) | |
| y | No | Y position (optional, auto-positioned if not specified) |