opendss_compile_file
Compile an OpenDSS .dss file, run a snapshot power flow, and get convergence, element counts, and total losses.
Instructions
Compile an OpenDSS model from a .dss file on disk and run power flow.
Loads the circuit, solves it in snapshot mode, and returns a summary with convergence status, bus/line/load counts, and total losses.
Args: params: CompileFileInput with dss_path and optional buscoords_path.
Returns: Circuit summary with convergence, counts, and losses.
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": {
"params": "<params>"
},
"name": "opendss_compile_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |