opendss_compile_script
Compile inline OpenDSS DSS commands and solve a snapshot power flow, returning circuit convergence, element counts, and loss summary.
Instructions
Compile an OpenDSS circuit from inline DSS commands and run power flow.
Pass the complete DSS script as a multi-line string. The server writes it to a temporary file, compiles it, and solves in snapshot mode.
Args: params: CompileScriptInput with the DSS script text.
Returns: Circuit summary with convergence, counts, and losses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |