optimize_fans_tool
Search fan speed percentages to lower estimated fan power while keeping required airflow and velocity limits; returns speeds for validation via write_results.
Instructions
EXPERIMENTAL. Search fan speeds (% of saved speed) for the lowest estimated fan power at which the named airways keep their required airflow (min_flow, m3/s; required, or strict=True) and no airway goes outside the velocity limits (min/max m/s, shaft limit). Airways already outside the limits at the saved speeds do not block a speed set unless strict=True. Airflow uses the what_if solver (compressible=True: densities follow absolute pressure, as Ventsim's Compressible Airflows); power comes from the fan curve at the new speed (affinity laws) and the saved efficiency. No copy is written: use write_results with the returned speeds, then check the copy in Ventsim.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "optimize_fans_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fans | No | ||
| path | Yes | ||
| step | No | ||
| limits | No | ||
| strict | No | ||
| min_flow | No | ||
| max_speed | No | ||
| min_speed | No | ||
| compressible | No |