Skip to content

Class: LineSpacing

Copyright (C) 2008 Battelle Memorial Institute

@file line_spacing.cpp

@addtogroup line_spacing

@ingroup line

@{

__

Inherits from: powerflow_library

__

Type: Configuration (physical asset template)

__

Note: Inherits from powerflow_library (not in powerflow module)

URI: glm:LineSpacing

 classDiagram
    class LineSpacing
    click LineSpacing href "../LineSpacing/"
      GlmObject <|-- LineSpacing
        click GlmObject href "../GlmObject/"

      LineSpacing : distance_AB

      LineSpacing : distance_AC

      LineSpacing : distance_AE

      LineSpacing : distance_AN

      LineSpacing : distance_BC

      LineSpacing : distance_BE

      LineSpacing : distance_BN

      LineSpacing : distance_CE

      LineSpacing : distance_CN

      LineSpacing : distance_NE

      LineSpacing : flags

      LineSpacing : groupid

      LineSpacing : in_svc

      LineSpacing : latitude

      LineSpacing : longitude

      LineSpacing : name

      LineSpacing : out_svc

      LineSpacing : parent

      LineSpacing : rank

Inheritance

Slots

Name Cardinality and Range Description Inheritance
distance_AB 0..1
Float
direct
distance_BC 0..1
Float
direct
distance_AC 0..1
Float
direct
distance_AN 0..1
Float
direct
distance_BN 0..1
Float
direct
distance_CN 0..1
Float
direct
distance_AE 0..1
Float
distance between phase A wire and earth direct
distance_BE 0..1
Float
distance between phase B wire and earth direct
distance_CE 0..1
Float
distance between phase C wire and earth direct
distance_NE 0..1
Float
distance between neutral wire and earth direct
name 1
String
The object's name; unique across the model GlmObject
parent 0..1
String
The parent object's name GlmObject
groupid 0..1
String
Free-text group label GlmObject
latitude 0..1
String
Latitude, as written (decimal degrees or GridLAB-D's 37N26:12 form) GlmObject
longitude 0..1
String
Longitude, as written GlmObject
in_svc 0..1
String
Timestamp the object enters service GlmObject
out_svc 0..1
String
Timestamp the object leaves service GlmObject
rank 0..1
String
Solver rank GlmObject
flags 0..1
String
Core object flags GlmObject

Comments

  • Import: ConductorDistanceSpacing + ConductorDistance, mRID spc_ + name, isTemplate true (line_spacing.cimtbl); GLM gives distances, not coordinates. Export: the WireSpacing of a geometry line (ConductorDistanceSpacing or XYSpacing), one per way the lines use it (_).

Identifier and Mapping Information

Schema Source

  • from schema: https://gridlabd.org/schema/glm

Mappings

Mapping Type Mapped Value
self glm:LineSpacing
native glm:LineSpacing
close cim:ConductorDistanceSpacing, cim:XYSpacing

LinkML Source

Direct

name: line_spacing
description: 'Copyright (C) 2008 Battelle Memorial Institute

  @file line_spacing.cpp

  @addtogroup line_spacing

  @ingroup line

  @{


  Inherits from: powerflow_library


  Type: Configuration (physical asset template)


  Note: Inherits from powerflow_library (not in powerflow module)'
comments:
- 'Import: ConductorDistanceSpacing + ConductorDistance, mRID spc_ + name, isTemplate
  true (line_spacing.cimtbl); GLM gives distances, not coordinates. Export: the WireSpacing
  of a geometry line (ConductorDistanceSpacing or XYSpacing), one per way the lines
  use it (<spacing>_<letters>).'
from_schema: https://gridlabd.org/schema/glm
close_mappings:
- cim:ConductorDistanceSpacing
- cim:XYSpacing
is_a: glm_object
attributes:
  distance_AB:
    name: distance_AB
    annotations:
      order:
        tag: order
        value: 1
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_AB[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase A, toPhase
      B; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_BC:
    name: distance_BC
    annotations:
      order:
        tag: order
        value: 2
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_BC[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase B, toPhase
      C; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_AC:
    name: distance_AC
    annotations:
      order:
        tag: order
        value: 3
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_AC[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase A, toPhase
      C; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_AN:
    name: distance_AN
    annotations:
      order:
        tag: order
        value: 4
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_AN[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase A, toPhase
      N; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_BN:
    name: distance_BN
    annotations:
      order:
        tag: order
        value: 5
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_BN[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase B, toPhase
      N; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_CN:
    name: distance_CN
    annotations:
      order:
        tag: order
        value: 6
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_CN[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase C, toPhase
      N; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_AE:
    name: distance_AE
    annotations:
      order:
        tag: order
        value: 7
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_AE[ft]
    description: distance between phase A wire and earth
    comments:
    - 'Import: a ConductorDistance from phase A to a position of kind earth; unset
      or 0: no row. Export: the stored height of that position (an XYSpacing''s y;
      a line with a ySpacingOffset raises).'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    close_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_BE:
    name: distance_BE
    annotations:
      order:
        tag: order
        value: 8
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_BE[ft]
    description: distance between phase B wire and earth
    comments:
    - 'Import: a ConductorDistance from phase B to a position of kind earth; unset
      or 0: no row. Export: the stored height of that position (an XYSpacing''s y;
      a line with a ySpacingOffset raises).'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    close_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_CE:
    name: distance_CE
    annotations:
      order:
        tag: order
        value: 9
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_CE[ft]
    description: distance between phase C wire and earth
    comments:
    - 'Import: a ConductorDistance from phase C to a position of kind earth; unset
      or 0: no row. Export: the stored height of that position (an XYSpacing''s y;
      a line with a ySpacingOffset raises).'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    close_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_NE:
    name: distance_NE
    annotations:
      order:
        tag: order
        value: 10
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_NE[ft]
    description: distance between neutral wire and earth
    comments:
    - 'Import: a ConductorDistance from phase N to a position of kind earth; unset
      or 0: no row. Export: the stored height of that position (an XYSpacing''s y;
      a line with a ySpacingOffset raises).'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    close_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft

Induced

name: line_spacing
description: 'Copyright (C) 2008 Battelle Memorial Institute

  @file line_spacing.cpp

  @addtogroup line_spacing

  @ingroup line

  @{


  Inherits from: powerflow_library


  Type: Configuration (physical asset template)


  Note: Inherits from powerflow_library (not in powerflow module)'
comments:
- 'Import: ConductorDistanceSpacing + ConductorDistance, mRID spc_ + name, isTemplate
  true (line_spacing.cimtbl); GLM gives distances, not coordinates. Export: the WireSpacing
  of a geometry line (ConductorDistanceSpacing or XYSpacing), one per way the lines
  use it (<spacing>_<letters>).'
from_schema: https://gridlabd.org/schema/glm
close_mappings:
- cim:ConductorDistanceSpacing
- cim:XYSpacing
is_a: glm_object
attributes:
  distance_AB:
    name: distance_AB
    annotations:
      order:
        tag: order
        value: 1
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_AB[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase A, toPhase
      B; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    owner: line_spacing
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_BC:
    name: distance_BC
    annotations:
      order:
        tag: order
        value: 2
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_BC[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase B, toPhase
      C; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    owner: line_spacing
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_AC:
    name: distance_AC
    annotations:
      order:
        tag: order
        value: 3
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_AC[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase A, toPhase
      C; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    owner: line_spacing
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_AN:
    name: distance_AN
    annotations:
      order:
        tag: order
        value: 4
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_AN[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase A, toPhase
      N; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    owner: line_spacing
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_BN:
    name: distance_BN
    annotations:
      order:
        tag: order
        value: 5
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_BN[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase B, toPhase
      N; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    owner: line_spacing
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_CN:
    name: distance_CN
    annotations:
      order:
        tag: order
        value: 6
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_CN[ft]
    comments:
    - 'Import: ConductorDistance.distance, in its written unit, fromPhase C, toPhase
      N; ends numbered 1..n over the spacing''s phases; unset or 0: no row. Export:
      get_stored_distances between the two phases'' sequence numbers; absent: unset.'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    exact_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    owner: line_spacing
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_AE:
    name: distance_AE
    annotations:
      order:
        tag: order
        value: 7
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_AE[ft]
    description: distance between phase A wire and earth
    comments:
    - 'Import: a ConductorDistance from phase A to a position of kind earth; unset
      or 0: no row. Export: the stored height of that position (an XYSpacing''s y;
      a line with a ySpacingOffset raises).'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    close_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    owner: line_spacing
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_BE:
    name: distance_BE
    annotations:
      order:
        tag: order
        value: 8
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_BE[ft]
    description: distance between phase B wire and earth
    comments:
    - 'Import: a ConductorDistance from phase B to a position of kind earth; unset
      or 0: no row. Export: the stored height of that position (an XYSpacing''s y;
      a line with a ySpacingOffset raises).'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    close_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    owner: line_spacing
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_CE:
    name: distance_CE
    annotations:
      order:
        tag: order
        value: 9
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_CE[ft]
    description: distance between phase C wire and earth
    comments:
    - 'Import: a ConductorDistance from phase C to a position of kind earth; unset
      or 0: no row. Export: the stored height of that position (an XYSpacing''s y;
      a line with a ySpacingOffset raises).'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    close_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    owner: line_spacing
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  distance_NE:
    name: distance_NE
    annotations:
      order:
        tag: order
        value: 10
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: distance_NE[ft]
    description: distance between neutral wire and earth
    comments:
    - 'Import: a ConductorDistance from phase N to a position of kind earth; unset
      or 0: no row. Export: the stored height of that position (an XYSpacing''s y;
      a line with a ySpacingOffset raises).'
    from_schema: https://gridlabd.org/schema/glm/powerflow/line_spacing
    close_mappings:
    - cim:ConductorDistance.distance
    rank: 1000
    owner: line_spacing
    domain_of:
    - line_spacing
    range: float
    required: false
    unit:
      ucum_code: ft
  name:
    name: name
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: name
    description: The object's name; unique across the model.
    comments:
    - 'Import: <CIM class>.name, copied as written; mRID = the class''s prefix + name
      (none on a bus). Export: Names, sanitized for GridLAB-D; a name two objects
      share raises.'
    from_schema: https://gridlabd.org/schema/glm/types/common
    exact_mappings:
    - cim:IdentifiedObject.name
    rank: 1000
    identifier: true
    owner: line_spacing
    domain_of:
    - glm_object
    range: string
    required: true
  parent:
    name: parent
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: parent
    description: The parent object's name. A child node is solved as its parent's
      bus; a nested object block sets it to the enclosing object.
    comments:
    - 'Import: a bus whose parent is a bus is its root bus''s ConnectivityNode, named
      on the root''s row; no object of its own. On a link it is not mapped.'
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: line_spacing
    domain_of:
    - glm_object
    range: string
  groupid:
    name: groupid
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: groupid
    description: Free-text group label.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: line_spacing
    domain_of:
    - glm_object
    range: string
  latitude:
    name: latitude
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: latitude
    description: Latitude, as written (decimal degrees or GridLAB-D's 37N26:12 form).
    comments:
    - Not converted. Home is the EquipmentLocation shape.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: line_spacing
    domain_of:
    - glm_object
    range: string
  longitude:
    name: longitude
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: longitude
    description: Longitude, as written.
    comments:
    - Not converted. Home is the EquipmentLocation shape.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: line_spacing
    domain_of:
    - glm_object
    range: string
  in_svc:
    name: in_svc
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: in_svc
    description: Timestamp the object enters service.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: line_spacing
    domain_of:
    - glm_object
    range: string
  out_svc:
    name: out_svc
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: out_svc
    description: Timestamp the object leaves service.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: line_spacing
    domain_of:
    - glm_object
    range: string
  rank:
    name: rank
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: rank
    description: Solver rank.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: line_spacing
    domain_of:
    - glm_object
    range: string
  flags:
    name: flags
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: flags
    description: Core object flags.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: line_spacing
    domain_of:
    - glm_object
    range: string