fix_model
Copies a Ventsim model to a new path and applies automatic fixes for duplicate airways, loose ends, and blocked fans. Returns what changed and before/after model-check counts.
Instructions
Copy the model to 'out_path' with the automatic fixes for what model_check finds: "duplicates" (airways between the same two junctions become one airway with Pathways = their number and the equivalent parallel resistance; not done when one has a fan, fixed flow or stopping), "loose_ends" (ends without air, surface or closed-end setting are marked Closed End, as Ventsim's edit box does), "blocked_fans" (running fans whose air has no path are turned off). Default: all three. Returns what was changed and the model_check counts before and after.
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>",
"out_path": "<out_path>"
},
"name": "fix_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| fixes | No | ||
| out_path | Yes |