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.
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_enable_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |