Class: Swtcontrol¶
A Swtcontrol object in OpenDSS.
URI: dss:Swtcontrol
classDiagram
class Swtcontrol
click Swtcontrol href "../Swtcontrol/"
Swtcontrol : Action
Swtcontrol : basefreq
Swtcontrol : Delay
Swtcontrol : enabled
Swtcontrol : like
Swtcontrol : Lock
Swtcontrol : name
Swtcontrol : Normal
Swtcontrol : Reset
Swtcontrol : State
Swtcontrol : SwitchedObj
Swtcontrol : SwitchedTerm
Class Properties¶
| Property | Value |
|---|---|
| Class URI | dss:Swtcontrol |
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| name | 1 String |
Object name | direct |
| SwitchedObj | 0..1 String |
Name of circuit element switch that the SwtControl operates | direct |
| SwitchedTerm | 0..1 Integer |
Terminal number of the controlled element switch | direct |
| Action | 0..1 String |
{Open | Close} After specified delay time, and if not locked, causes the con... |
| Lock | 0..1 Boolean |
{Yes | No} Delayed action |
| Delay | 0..1 Float |
Operating time delay (sec) of the switch | direct |
| Normal | 0..1 String |
{Open | Closed] Normal state of the switch |
| State | 0..1 String |
{Open | Closed] Present state of the switch |
| Reset | 0..1 Boolean |
{Yes | No} If Yes, forces Reset of switch to Normal state and removes Lock in... |
| basefreq | 0..1 Float |
Base Frequency for ratings | direct |
| enabled | 0..1 Boolean |
{Yes | No or True |
| like | 0..1 String |
Make like another object, e | direct |
Comments¶
- Import: no object is written; its Line (Switch=y) is a LoadBreakSwitch unless a Fuse or Recloser names it, and the control only sets the switch state. Export: an open switch that is neither a Fuse nor a Recloser writes a SwtControl.
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://gridappsd.github.io/dss-graph/opendss
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | dss:Swtcontrol |
| native | dss:Swtcontrol |
| related | cim:Switch |
LinkML Source¶
Direct¶
name: Swtcontrol
description: A Swtcontrol object in OpenDSS.
comments:
- 'Import: no object is written; its Line (Switch=y) is a LoadBreakSwitch unless a
Fuse or Recloser names it, and the control only sets the switch state. Export: an
open switch that is neither a Fuse nor a Recloser writes a SwtControl.'
from_schema: https://gridappsd.github.io/dss-graph/opendss
related_mappings:
- cim:Switch
attributes:
name:
name: name
description: Object name. Must be unique per object type.
comments:
- 'Import: untranscribed; the switch takes the Line''s name and the SwtControl
names no CIM object. Export: Names, the switch''s.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
identifier: true
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Vsconverter
- Windgen
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Capcontrol
- Espvlcontrol
- Expcontrol
- Fuse
- Gendispatcher
- Invcontrol
- Pycontrol
- Recloser
- Regcontrol
- Relay
- Storagecontroller
- Swtcontrol
- Upfccontrol
- Buscoords
- Cndata
- Dynamicexp
- Growthshape
- Linecode
- Linegeometry
- Linespacing
- Loadshape
- Priceshape
- Spectrum
- TccCurve
- Tsdata
- Tshape
- Wiredata
- Xfmrcode
- Xycurve
- Energymeter
- Fmonitor
- Monitor
- Sensor
- Fault
- Gicsource
- Isource
- Options
- Vsource
range: string
required: true
SwitchedObj:
name: SwitchedObj
annotations:
order:
tag: order
value: 1
description: Name of circuit element switch that the SwtControl operates
comments:
- 'Import: structural; names the Switch=y Line this control switches (a Line without
Switch=y raises). Export: written as Line.<the switch''s Line name>.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
domain_of:
- Fuse
- Recloser
- Relay
- Swtcontrol
range: string
required: false
SwitchedTerm:
name: SwitchedTerm
annotations:
order:
tag: order
value: 2
description: Terminal number of the controlled element switch
comments:
- 'Import: untranscribed; the switch opens both terminals in CIM, so DSS''s terminal
choice has no home. Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
domain_of:
- Fuse
- Recloser
- Relay
- Swtcontrol
range: integer
required: false
Action:
name: Action
annotations:
order:
tag: order
value: 3
description: '{Open | Close} After specified delay time, and if not locked, causes
the controlled switch to open or close'
comments:
- 'Import: raises when set (the deprecated form of State); no deck in the sweep
sets it. Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
domain_of:
- Fuse
- Recloser
- Swtcontrol
range: string
required: false
Lock:
name: Lock
annotations:
order:
tag: order
value: 4
description: '{Yes | No} Delayed action'
comments:
- 'Import: untranscribed (control lock; no home on a Switch). Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
rank: 1000
domain_of:
- Swtcontrol
range: boolean
required: false
Delay:
name: Delay
annotations:
order:
tag: order
value: 5
description: Operating time delay (sec) of the switch
comments:
- 'Import: untranscribed (control timing; no home on a Switch). Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
domain_of:
- Capcontrol
- Fuse
- Recloser
- Relay
- Swtcontrol
range: float
required: false
Normal:
name: Normal
annotations:
order:
tag: order
value: 6
dss_default:
tag: dss_default
value: string(closed)
description: '{Open | Closed] Normal state of the switch'
comments:
- 'Import: Switch.normalOpen from Open/Closed; with an Open command on the line
they must agree. Export: get_switch_state(normal); written only when open in
either state.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
exact_mappings:
- cim:Switch.normalOpen
domain_of:
- Fuse
- Recloser
- Relay
- Swtcontrol
range: string
required: false
State:
name: State
annotations:
order:
tag: order
value: 7
dss_default:
tag: dss_default
value: string(closed)
description: '{Open | Closed] Present state of the switch'
comments:
- 'Import: Switch.open from Open/Closed; with an Open command on the line they
must agree. Export: get_switch_state(actual or the caller''s choice); written
only when open in either state.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
exact_mappings:
- cim:Switch.open
domain_of:
- Storage
- Fuse
- Recloser
- Relay
- Swtcontrol
range: string
required: false
Reset:
name: Reset
annotations:
order:
tag: order
value: 8
description: '{Yes | No} If Yes, forces Reset of switch to Normal state and removes
Lock independently of any internal reset command for mode change, etc'
comments:
- 'Import: untranscribed (a command, not a setting). Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
domain_of:
- Capcontrol
- Recloser
- Regcontrol
- Relay
- Swtcontrol
range: boolean
required: false
basefreq:
name: basefreq
annotations:
order:
tag: order
value: 9
description: Base Frequency for ratings
comments:
- 'Import: untranscribed (no home on a switch). Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Vsconverter
- Windgen
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Capcontrol
- Espvlcontrol
- Expcontrol
- Fuse
- Gendispatcher
- Invcontrol
- Pycontrol
- Recloser
- Regcontrol
- Relay
- Storagecontroller
- Swtcontrol
- Upfccontrol
- Energymeter
- Fmonitor
- Monitor
- Sensor
- Fault
- Gicsource
- Isource
- Vsource
range: float
required: false
enabled:
name: enabled
annotations:
order:
tag: order
value: 10
description: '{Yes|No or True|False} Indicates whether this element is enabled'
comments:
- 'Import: untranscribed (a disabled control leaves its switch in place). Export:
unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Vsconverter
- Windgen
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Capcontrol
- Espvlcontrol
- Expcontrol
- Fuse
- Gendispatcher
- Invcontrol
- Pycontrol
- Recloser
- Regcontrol
- Relay
- Storagecontroller
- Swtcontrol
- Upfccontrol
- Energymeter
- Fmonitor
- Monitor
- Sensor
- Fault
- Gicsource
- Isource
- Vsource
range: boolean
required: false
like:
name: like
annotations:
order:
tag: order
value: 11
description: Make like another object, e
comments:
- 'Import: untranscribed; the reader resolves like= before mapping. Export: never
written.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Vsconverter
- Windgen
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Capcontrol
- Espvlcontrol
- Expcontrol
- Fuse
- Gendispatcher
- Invcontrol
- Pycontrol
- Recloser
- Regcontrol
- Relay
- Storagecontroller
- Swtcontrol
- Upfccontrol
- Cndata
- Dynamicexp
- Growthshape
- Linecode
- Linegeometry
- Linespacing
- Loadshape
- Priceshape
- Spectrum
- TccCurve
- Tsdata
- Tshape
- Wiredata
- Xfmrcode
- Xycurve
- Energymeter
- Fmonitor
- Monitor
- Sensor
- Fault
- Gicsource
- Isource
- Vsource
range: string
required: false
class_uri: dss:Swtcontrol
Induced¶
name: Swtcontrol
description: A Swtcontrol object in OpenDSS.
comments:
- 'Import: no object is written; its Line (Switch=y) is a LoadBreakSwitch unless a
Fuse or Recloser names it, and the control only sets the switch state. Export: an
open switch that is neither a Fuse nor a Recloser writes a SwtControl.'
from_schema: https://gridappsd.github.io/dss-graph/opendss
related_mappings:
- cim:Switch
attributes:
name:
name: name
description: Object name. Must be unique per object type.
comments:
- 'Import: untranscribed; the switch takes the Line''s name and the SwtControl
names no CIM object. Export: Names, the switch''s.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
identifier: true
owner: Swtcontrol
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Vsconverter
- Windgen
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Capcontrol
- Espvlcontrol
- Expcontrol
- Fuse
- Gendispatcher
- Invcontrol
- Pycontrol
- Recloser
- Regcontrol
- Relay
- Storagecontroller
- Swtcontrol
- Upfccontrol
- Buscoords
- Cndata
- Dynamicexp
- Growthshape
- Linecode
- Linegeometry
- Linespacing
- Loadshape
- Priceshape
- Spectrum
- TccCurve
- Tsdata
- Tshape
- Wiredata
- Xfmrcode
- Xycurve
- Energymeter
- Fmonitor
- Monitor
- Sensor
- Fault
- Gicsource
- Isource
- Options
- Vsource
range: string
required: true
SwitchedObj:
name: SwitchedObj
annotations:
order:
tag: order
value: 1
description: Name of circuit element switch that the SwtControl operates
comments:
- 'Import: structural; names the Switch=y Line this control switches (a Line without
Switch=y raises). Export: written as Line.<the switch''s Line name>.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
owner: Swtcontrol
domain_of:
- Fuse
- Recloser
- Relay
- Swtcontrol
range: string
required: false
SwitchedTerm:
name: SwitchedTerm
annotations:
order:
tag: order
value: 2
description: Terminal number of the controlled element switch
comments:
- 'Import: untranscribed; the switch opens both terminals in CIM, so DSS''s terminal
choice has no home. Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
owner: Swtcontrol
domain_of:
- Fuse
- Recloser
- Relay
- Swtcontrol
range: integer
required: false
Action:
name: Action
annotations:
order:
tag: order
value: 3
description: '{Open | Close} After specified delay time, and if not locked, causes
the controlled switch to open or close'
comments:
- 'Import: raises when set (the deprecated form of State); no deck in the sweep
sets it. Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
owner: Swtcontrol
domain_of:
- Fuse
- Recloser
- Swtcontrol
range: string
required: false
Lock:
name: Lock
annotations:
order:
tag: order
value: 4
description: '{Yes | No} Delayed action'
comments:
- 'Import: untranscribed (control lock; no home on a Switch). Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
rank: 1000
owner: Swtcontrol
domain_of:
- Swtcontrol
range: boolean
required: false
Delay:
name: Delay
annotations:
order:
tag: order
value: 5
description: Operating time delay (sec) of the switch
comments:
- 'Import: untranscribed (control timing; no home on a Switch). Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
owner: Swtcontrol
domain_of:
- Capcontrol
- Fuse
- Recloser
- Relay
- Swtcontrol
range: float
required: false
Normal:
name: Normal
annotations:
order:
tag: order
value: 6
dss_default:
tag: dss_default
value: string(closed)
description: '{Open | Closed] Normal state of the switch'
comments:
- 'Import: Switch.normalOpen from Open/Closed; with an Open command on the line
they must agree. Export: get_switch_state(normal); written only when open in
either state.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
exact_mappings:
- cim:Switch.normalOpen
owner: Swtcontrol
domain_of:
- Fuse
- Recloser
- Relay
- Swtcontrol
range: string
required: false
State:
name: State
annotations:
order:
tag: order
value: 7
dss_default:
tag: dss_default
value: string(closed)
description: '{Open | Closed] Present state of the switch'
comments:
- 'Import: Switch.open from Open/Closed; with an Open command on the line they
must agree. Export: get_switch_state(actual or the caller''s choice); written
only when open in either state.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
exact_mappings:
- cim:Switch.open
owner: Swtcontrol
domain_of:
- Storage
- Fuse
- Recloser
- Relay
- Swtcontrol
range: string
required: false
Reset:
name: Reset
annotations:
order:
tag: order
value: 8
description: '{Yes | No} If Yes, forces Reset of switch to Normal state and removes
Lock independently of any internal reset command for mode change, etc'
comments:
- 'Import: untranscribed (a command, not a setting). Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
owner: Swtcontrol
domain_of:
- Capcontrol
- Recloser
- Regcontrol
- Relay
- Swtcontrol
range: boolean
required: false
basefreq:
name: basefreq
annotations:
order:
tag: order
value: 9
description: Base Frequency for ratings
comments:
- 'Import: untranscribed (no home on a switch). Export: unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
owner: Swtcontrol
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Vsconverter
- Windgen
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Capcontrol
- Espvlcontrol
- Expcontrol
- Fuse
- Gendispatcher
- Invcontrol
- Pycontrol
- Recloser
- Regcontrol
- Relay
- Storagecontroller
- Swtcontrol
- Upfccontrol
- Energymeter
- Fmonitor
- Monitor
- Sensor
- Fault
- Gicsource
- Isource
- Vsource
range: float
required: false
enabled:
name: enabled
annotations:
order:
tag: order
value: 10
description: '{Yes|No or True|False} Indicates whether this element is enabled'
comments:
- 'Import: untranscribed (a disabled control leaves its switch in place). Export:
unset.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
owner: Swtcontrol
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Vsconverter
- Windgen
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Capcontrol
- Espvlcontrol
- Expcontrol
- Fuse
- Gendispatcher
- Invcontrol
- Pycontrol
- Recloser
- Regcontrol
- Relay
- Storagecontroller
- Swtcontrol
- Upfccontrol
- Energymeter
- Fmonitor
- Monitor
- Sensor
- Fault
- Gicsource
- Isource
- Vsource
range: boolean
required: false
like:
name: like
annotations:
order:
tag: order
value: 11
description: Make like another object, e
comments:
- 'Import: untranscribed; the reader resolves like= before mapping. Export: never
written.'
from_schema: https://gridappsd.github.io/dss-graph/controls/swtcontrol
owner: Swtcontrol
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Vsconverter
- Windgen
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Capcontrol
- Espvlcontrol
- Expcontrol
- Fuse
- Gendispatcher
- Invcontrol
- Pycontrol
- Recloser
- Regcontrol
- Relay
- Storagecontroller
- Swtcontrol
- Upfccontrol
- Cndata
- Dynamicexp
- Growthshape
- Linecode
- Linegeometry
- Linespacing
- Loadshape
- Priceshape
- Spectrum
- TccCurve
- Tsdata
- Tshape
- Wiredata
- Xfmrcode
- Xycurve
- Energymeter
- Fmonitor
- Monitor
- Sensor
- Fault
- Gicsource
- Isource
- Vsource
range: string
required: false
class_uri: dss:Swtcontrol