check_model_integrity
Runs six domain-level pre-simulation checks to catch issues like missing surfaces, orphan schedules, and boundary mismatches that schema validation cannot detect.
Instructions
Domain-level pre-simulation QA — catches issues schema validation cannot.
Runs six checks against the loaded model:
Zones with no BuildingSurface:Detailed surfaces
Missing required simulation control objects (Version, Building, Timestep, RunPeriod, SimulationControl)
Orphan schedules (defined but not referenced by any object)
Surface boundary condition mismatches (non-reciprocal 'Surface' pairs)
Fenestration surfaces referencing non-existent host surfaces
ZoneHVAC:EquipmentConnections referencing non-existent zones
Use this after validate_model and before run_simulation. A model can pass validate_model but still fail these checks.
Preconditions: model loaded. Side effects: none — read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_model_integrity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issues | Yes | ||
| passed | Yes | ||
| checks_run | Yes | ||
| error_count | Yes | ||
| warning_count | Yes |