Skip to content

Class: SwitchRecord

System switching device data record

URI: raw:SwitchRecord

 classDiagram
    class SwitchRecord
    click SwitchRecord href "../SwitchRecord/"
      SwitchRecord : circuit

      SwitchRecord : from_bus_number

      SwitchRecord : metered_end

      SwitchRecord : name

      SwitchRecord : nstat

      SwitchRecord : ratings

      SwitchRecord : status

      SwitchRecord : stype

      SwitchRecord : to_bus_number

      SwitchRecord : x

Slots

Name Cardinality and Range Description Inheritance
from_bus_number 1
Integer
I - From bus number direct
to_bus_number 1
Integer
J - To bus number direct
circuit 0..1
String
CKT - Circuit identifier direct
x 0..1
Float
X - Switch reactance in pu direct
ratings *
Float
RATE1-RATE12 - Switch ratings (12 values) direct
status 0..1
Integer
STAT - Switch status (0=open, 1=closed) direct
nstat 0..1
Integer
NSTAT - Normal switch status direct
metered_end 0..1
Integer
METERED - Metered end flag direct
stype 0..1
Integer
STYPE - Switch type direct
name 0..1
String
NAME - Switch name direct

Usages

used by used in type used
RawModel switch_records range SwitchRecord

Identifier and Mapping Information

Schema Source

  • from schema: https://gridappsd.org/cimhub/raw_v34

Mappings

Mapping Type Mapped Value
self raw:SwitchRecord
native raw:SwitchRecord

LinkML Source

Direct

name: SwitchRecord
description: System switching device data record
from_schema: https://gridappsd.org/cimhub/raw_v34
attributes:
  from_bus_number:
    name: from_bus_number
    annotations:
      order:
        tag: order
        value: 1
      value_type:
        tag: value_type
        value: int
    description: I - From bus number
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    domain_of:
    - BranchRecord
    - SwitchRecord
    range: integer
    required: true
  to_bus_number:
    name: to_bus_number
    annotations:
      order:
        tag: order
        value: 2
      value_type:
        tag: value_type
        value: int
    description: J - To bus number
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    domain_of:
    - BranchRecord
    - SwitchRecord
    range: integer
    required: true
  circuit:
    name: circuit
    annotations:
      order:
        tag: order
        value: 3
      value_type:
        tag: value_type
        value: string
      width:
        tag: width
        value: 2
      quote:
        tag: quote
        value: true
      quote_char:
        tag: quote_char
        value: ''''
      raw_default:
        tag: raw_default
        value: '1'
    description: CKT - Circuit identifier
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    domain_of:
    - BranchRecord
    - SwitchRecord
    - TransformerRecord
    - StationSwitchingDeviceRecord
    range: string
    required: false
  x:
    name: x
    annotations:
      order:
        tag: order
        value: 4
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 5
    description: X - Switch reactance in pu
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    domain_of:
    - BranchRecord
    - SwitchRecord
    range: float
    required: false
  ratings:
    name: ratings
    annotations:
      order:
        tag: order
        value: 5
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 2
      raw_default:
        tag: raw_default
        value: 0.0
      multivalued:
        tag: multivalued
        value: true
      count:
        tag: count
        value: 12
    description: RATE1-RATE12 - Switch ratings (12 values)
    comments:
    - This is a multivalued field that expands to 12 rating values in the output
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    domain_of:
    - CaseIdentificationRecord
    - BranchRecord
    - SwitchRecord
    range: float
    required: false
    multivalued: true
  status:
    name: status
    annotations:
      order:
        tag: order
        value: 17
      value_type:
        tag: value_type
        value: int
      raw_default:
        tag: raw_default
        value: 1
    description: STAT - Switch status (0=open, 1=closed)
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    domain_of:
    - LoadRecord
    - FixedShuntRecord
    - GeneratorRecord
    - BranchRecord
    - SwitchRecord
    - TransformerRecord
    - SwitchedShuntRecord
    - GneDeviceRecord
    - InductionMachineRecord
    - SubstationNodeRecord
    - StationSwitchingDeviceRecord
    range: integer
    required: false
  nstat:
    name: nstat
    annotations:
      order:
        tag: order
        value: 18
      value_type:
        tag: value_type
        value: int
      raw_default:
        tag: raw_default
        value: 1
    description: NSTAT - Normal switch status
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    rank: 1000
    domain_of:
    - SwitchRecord
    range: integer
    required: false
  metered_end:
    name: metered_end
    annotations:
      order:
        tag: order
        value: 19
      value_type:
        tag: value_type
        value: int
    description: METERED - Metered end flag
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    domain_of:
    - BranchRecord
    - SwitchRecord
    range: integer
    required: false
  stype:
    name: stype
    annotations:
      order:
        tag: order
        value: 20
      value_type:
        tag: value_type
        value: int
    description: STYPE - Switch type
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    rank: 1000
    domain_of:
    - SwitchRecord
    range: integer
    required: false
  name:
    name: name
    annotations:
      order:
        tag: order
        value: 21
      value_type:
        tag: value_type
        value: string
      width:
        tag: width
        value: 40
      quote:
        tag: quote
        value: true
      quote_char:
        tag: quote_char
        value: ''''
    description: NAME - Switch name
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    domain_of:
    - BusRecord
    - BranchRecord
    - SwitchRecord
    - TransformerRecord
    - AreaInterchangeRecord
    - TwoTerminalDCRecord
    - VscDcRecord
    - MultiTerminalDCRecord
    - FactsDeviceRecord
    - GneDeviceRecord
    - InductionMachineRecord
    - SubstationRecord
    - SubstationNodeRecord
    - StationSwitchingDeviceRecord
    range: string
    required: false

Induced

name: SwitchRecord
description: System switching device data record
from_schema: https://gridappsd.org/cimhub/raw_v34
attributes:
  from_bus_number:
    name: from_bus_number
    annotations:
      order:
        tag: order
        value: 1
      value_type:
        tag: value_type
        value: int
    description: I - From bus number
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    owner: SwitchRecord
    domain_of:
    - BranchRecord
    - SwitchRecord
    range: integer
    required: true
  to_bus_number:
    name: to_bus_number
    annotations:
      order:
        tag: order
        value: 2
      value_type:
        tag: value_type
        value: int
    description: J - To bus number
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    owner: SwitchRecord
    domain_of:
    - BranchRecord
    - SwitchRecord
    range: integer
    required: true
  circuit:
    name: circuit
    annotations:
      order:
        tag: order
        value: 3
      value_type:
        tag: value_type
        value: string
      width:
        tag: width
        value: 2
      quote:
        tag: quote
        value: true
      quote_char:
        tag: quote_char
        value: ''''
      raw_default:
        tag: raw_default
        value: '1'
    description: CKT - Circuit identifier
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    owner: SwitchRecord
    domain_of:
    - BranchRecord
    - SwitchRecord
    - TransformerRecord
    - StationSwitchingDeviceRecord
    range: string
    required: false
  x:
    name: x
    annotations:
      order:
        tag: order
        value: 4
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 5
    description: X - Switch reactance in pu
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    owner: SwitchRecord
    domain_of:
    - BranchRecord
    - SwitchRecord
    range: float
    required: false
  ratings:
    name: ratings
    annotations:
      order:
        tag: order
        value: 5
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 2
      raw_default:
        tag: raw_default
        value: 0.0
      multivalued:
        tag: multivalued
        value: true
      count:
        tag: count
        value: 12
    description: RATE1-RATE12 - Switch ratings (12 values)
    comments:
    - This is a multivalued field that expands to 12 rating values in the output
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    owner: SwitchRecord
    domain_of:
    - CaseIdentificationRecord
    - BranchRecord
    - SwitchRecord
    range: float
    required: false
    multivalued: true
  status:
    name: status
    annotations:
      order:
        tag: order
        value: 17
      value_type:
        tag: value_type
        value: int
      raw_default:
        tag: raw_default
        value: 1
    description: STAT - Switch status (0=open, 1=closed)
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    owner: SwitchRecord
    domain_of:
    - LoadRecord
    - FixedShuntRecord
    - GeneratorRecord
    - BranchRecord
    - SwitchRecord
    - TransformerRecord
    - SwitchedShuntRecord
    - GneDeviceRecord
    - InductionMachineRecord
    - SubstationNodeRecord
    - StationSwitchingDeviceRecord
    range: integer
    required: false
  nstat:
    name: nstat
    annotations:
      order:
        tag: order
        value: 18
      value_type:
        tag: value_type
        value: int
      raw_default:
        tag: raw_default
        value: 1
    description: NSTAT - Normal switch status
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    rank: 1000
    owner: SwitchRecord
    domain_of:
    - SwitchRecord
    range: integer
    required: false
  metered_end:
    name: metered_end
    annotations:
      order:
        tag: order
        value: 19
      value_type:
        tag: value_type
        value: int
    description: METERED - Metered end flag
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    owner: SwitchRecord
    domain_of:
    - BranchRecord
    - SwitchRecord
    range: integer
    required: false
  stype:
    name: stype
    annotations:
      order:
        tag: order
        value: 20
      value_type:
        tag: value_type
        value: int
    description: STYPE - Switch type
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    rank: 1000
    owner: SwitchRecord
    domain_of:
    - SwitchRecord
    range: integer
    required: false
  name:
    name: name
    annotations:
      order:
        tag: order
        value: 21
      value_type:
        tag: value_type
        value: string
      width:
        tag: width
        value: 40
      quote:
        tag: quote
        value: true
      quote_char:
        tag: quote_char
        value: ''''
    description: NAME - Switch name
    from_schema: https://gridappsd.org/cimhub/raw_v34/classes/switch
    owner: SwitchRecord
    domain_of:
    - BusRecord
    - BranchRecord
    - SwitchRecord
    - TransformerRecord
    - AreaInterchangeRecord
    - TwoTerminalDCRecord
    - VscDcRecord
    - MultiTerminalDCRecord
    - FactsDeviceRecord
    - GneDeviceRecord
    - InductionMachineRecord
    - SubstationRecord
    - SubstationNodeRecord
    - StationSwitchingDeviceRecord
    range: string
    required: false