opendss_hosting_capacity
Runs a hosting capacity study by incrementally adding PV generation to identify the PV level where voltage or thermal violations begin.
Instructions
Run a hosting capacity study by incrementally adding PV generation.
Tests multiple PV levels at the given load multiplier and reports, per level: Vmin/Vmax, voltage and thermal violation counts, worst loaded element, head flow (negative = reverse flow into the substation) and the binding constraint (voltage, thermal, convergence or none). Supports uniform distribution (equal PV per bus) and worst-case (all PV at the first bus given). Run it at minimum load (load_mult ~0.3): DER limits do not show at peak. The circuit is recompiled clean afterwards, so edits made with run_command/edit_element before the study are lost.
The circuit must be compiled from a file first (not from script).
Args: params: HostingCapacityInput with bus list, PV steps, transformer kVA, load_mult and limits.
Returns: Table per PV level plus hosting_capacity_kw (last level without violations) and the first binding constraint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |