opendss_enable_elements
Enable or disable all OpenDSS elements in a class, or specific named elements, then re-solve the circuit to test base cases or element effects.
Instructions
Enable or disable all elements of a class, or only the named ones, and re-solve.
Typical use: disable every PVSystem to get the base case, or disable a Capacitor / RegControl to test its effect. Without names it runs BatchEdit Class..* enabled=yes|no.
Args: params: EnableElementsInput with element_class, enabled, names, solve.
Returns: Elements affected and solve status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |