SwtControl#

( Circuit Element, Control Element )

EPRI’s OpenDSS Documentation for this component: https://opendss.epri.com/SwtControl.html

#

Name

Type

Default

Units

Description

1

SwitchedObj

string
(CktElement name)

Name of circuit element switch that the SwtControl operates. Specify the full object class and name.

2

SwitchedTerm

integer

1

Terminal number of the controlled element switch. 1 or 2, typically.

3

Action

string
(from enum. Action)

After specified delay time, and if not locked, causes the controlled switch to open or close.
Redundant with State

4

Lock

boolean

False

Delayed action. Sends CTRL_LOCK or CTRL_UNLOCK message to control queue. After delay time, controlled switch is locked in its present open / close state or unlocked. Switch will not respond to either manual (Action) or automatic (APIs) control or internal OpenDSS Reset when locked.

5

Delay

real

120.0

s

Operating time delay of the switch.

6

Normal

string
(from enum. State)

closed

Normal state of the switch. If not Locked, the switch reverts to this state for reset, change of mode, etc. Defaults to first Action or State specified if not specifically declared.

7

State

string
(from enum. State)

Present state of the switch. Upon setting, immediately forces state of switch.

8

Reset

boolean
(action)

False

If Yes, forces Reset of switch to Normal state and removes Lock independently of any internal reset command for mode change, etc.

9

BaseFreq

real

Hz

Base Frequency for ratings.

10

Enabled

boolean

True

Indicates whether this element is enabled.

11

Like

string
(SwtControl name)
deprecated

Make like another object, e.g.:

New Capacitor.C2 like=c1 …

Enumerations#

SwtControl: Action#

Value

close

open

SwtControl: State#

Value

closed

open