convert_osm_to_idf
Convert an OSM model to IDF format and load the converted model for EnergyPlus simulation.
Instructions
Convert an OSM model to IDF and load it.
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": {
"osm_path": "<osm_path>",
"output_path": "<output_path>"
},
"name": "convert_osm_to_idf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| osm_path | Yes | Source .osm path. | |
| overwrite | No | Overwrite existing output. | |
| output_path | Yes | Output .idf path. | |
| allow_newer_versions | No | Allow newer OSM versions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | Yes | ||
| status | Yes | ||
| version | Yes | ||
| osm_path | Yes | ||
| file_path | Yes | ||
| zone_count | Yes | ||
| output_path | Yes | ||
| total_objects | Yes | ||
| openstudio_version | Yes | ||
| allow_newer_versions | Yes | ||
| translator_errors_count | Yes | ||
| translator_warnings_count | Yes |