Class: Linespacing¶
A Linespacing object in OpenDSS defining the physical arrangement (XY coordinates) of conductors in a cross-section, used for geometric impedance calculation.
URI: dss:Linespacing
classDiagram
class Linespacing
click Linespacing href "../Linespacing/"
Linespacing : AvgNeutralHeight
Linespacing : AvgPhaseHeight
Linespacing : detailed
Linespacing : EqDistPhN
Linespacing : EqDistPhPh
Linespacing : h
Linespacing : like
Linespacing : name
Linespacing : nconds
Linespacing : nphases
Linespacing : units
Linespacing : x
Class Properties¶
| Property | Value |
|---|---|
| Class URI | dss:Linespacing |
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| name | 1 String |
Object name | direct |
| nconds | 0..1 Integer |
Number of wires in this geometry (phase + neutral conductors) | direct |
| nphases | 0..1 Integer |
Number of retained phase conductors (nconds minus neutrals) | direct |
| x | * Float |
Array of wire X coordinates (horizontal position), one per conductor | direct |
| h | * Float |
Array of wire Heights (vertical position), one per conductor | direct |
| units | 0..1 String |
Units for x and h: {mi | kft |
| detailed | 0..1 Boolean |
{Yes/True | No/False} Default = Yes |
| EqDistPhPh | 0..1 String |
Equivalent distance between phase conductors | direct |
| EqDistPhN | 0..1 String |
Equivalent distance between phase and neutral conductors | direct |
| AvgPhaseHeight | 0..1 String |
Average height of phase conductors | direct |
| AvgNeutralHeight | 0..1 String |
Average height of neutral conductors | direct |
| like | 0..1 String |
Make like another object, e | direct |
Comments¶
- Import: a LineSpacing becomes a template XYSpacing spc_
with one XYConductorPosition per conductor in linespacing.cimtbl (CIM 18 template, not a WireSpacingInfo catalog). Export: not written as a LineSpacing; the LineGeometry carries the positions inline.
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://gridappsd.github.io/dss-graph/opendss
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | dss:Linespacing |
| native | dss:Linespacing |
| exact | cim:XYSpacing |
LinkML Source¶
Direct¶
name: Linespacing
description: A Linespacing object in OpenDSS defining the physical arrangement (XY
coordinates) of conductors in a cross-section, used for geometric impedance calculation.
comments:
- 'Import: a LineSpacing becomes a template XYSpacing spc_<name> with one XYConductorPosition
per conductor in linespacing.cimtbl (CIM 18 template, not a WireSpacingInfo catalog).
Export: not written as a LineSpacing; the LineGeometry carries the positions inline.'
from_schema: https://gridappsd.github.io/dss-graph/opendss
exact_mappings:
- cim:XYSpacing
attributes:
name:
name: name
description: Object name. Must be unique per object type.
comments:
- 'Import: copied to XYSpacing.name; mRID = spc_ + name, lowercased; isTemplate
= true. Export: not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
exact_mappings:
- cim:IdentifiedObject.name
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
nconds:
name: nconds
annotations:
order:
tag: order
value: 1
description: Number of wires in this geometry (phase + neutral conductors).
comments:
- 'Import: structural; one XYConductorPosition per conductor, sequenceNumber 1..nconds;
x and h must have nconds values. Export: not written; the LineGeometry carries
the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
related_mappings:
- cim:XYConductorPosition
domain_of:
- Linegeometry
- Linespacing
range: integer
required: false
minimum_value: 1
nphases:
name: nphases
annotations:
order:
tag: order
value: 2
description: Number of retained phase conductors (nconds minus neutrals).
comments:
- 'Import: structural; kind: phase for conductors 1..nphases, neutral after. Export:
not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
close_mappings:
- cim:ConductorPosition.kind
domain_of:
- Linecode
- Linegeometry
- Linespacing
range: integer
required: false
minimum_value: 1
x:
name: x
annotations:
order:
tag: order
value: 3
description: Array of wire X coordinates (horizontal position), one per conductor.
comments:
- 'Import: structural; XYConductorPosition.xCoord (<units>), one per conductor.
Export: not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
exact_mappings:
- cim:SpacingPosition.xCoord
domain_of:
- Buscoords
- Linegeometry
- Linespacing
- Xycurve
range: float
required: false
multivalued: true
h:
name: h
annotations:
order:
tag: order
value: 4
description: Array of wire Heights (vertical position), one per conductor.
comments:
- 'Import: structural; XYConductorPosition.yCoord (<units>), one per conductor.
Export: not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
exact_mappings:
- cim:SpacingPosition.yCoord
domain_of:
- Linegeometry
- Linespacing
range: float
required: false
multivalued: true
units:
name: units
annotations:
order:
tag: order
value: 5
description: 'Units for x and h: {mi|kft|km|m|Ft|in|cm}. Initial default is ft.'
comments:
- 'Import: mapped; the length unit of xCoord and yCoord (LENGTH_UNIT); unset raises.
Export: not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
domain_of:
- Line
- Linecode
- Linegeometry
- Linespacing
range: string
required: false
detailed:
name: detailed
annotations:
order:
tag: order
value: 6
description: '{Yes/True | No/False} Default = Yes. If No, uses equivalent spacing
formulas instead of actual geometry.'
comments:
- 'Import: structural; Yes (the default, LineSpacing.pas:213 and :327) maps the
positions; No (the equivalent-spacing form) raises: it has no positions. Export:
not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
rank: 1000
domain_of:
- Linespacing
range: boolean
required: false
EqDistPhPh:
name: EqDistPhPh
annotations:
order:
tag: order
value: 7
description: Equivalent distance between phase conductors.
comments:
- 'Import: structural; raises when set, at any value: detailed=No takes the distances
from EqDistPhPh and EqDistPhN and the image distances from AvgPhaseHeight and
AvgNeutralHeight (LineConstants.pas:218-297), which no XY positions reproduce
in general. Export: not written; the LineGeometry carries the positions inline
(B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
rank: 1000
domain_of:
- Linespacing
range: string
required: false
EqDistPhN:
name: EqDistPhN
annotations:
order:
tag: order
value: 8
description: Equivalent distance between phase and neutral conductors.
comments:
- 'Import: structural; raises when set, at any value: detailed=No takes the distances
from EqDistPhPh and EqDistPhN and the image distances from AvgPhaseHeight and
AvgNeutralHeight (LineConstants.pas:218-297), which no XY positions reproduce
in general. Export: not written; the LineGeometry carries the positions inline
(B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
rank: 1000
domain_of:
- Linespacing
range: string
required: false
AvgPhaseHeight:
name: AvgPhaseHeight
annotations:
order:
tag: order
value: 9
description: Average height of phase conductors.
comments:
- 'Import: structural; raises when set, at any value: detailed=No takes the distances
from EqDistPhPh and EqDistPhN and the image distances from AvgPhaseHeight and
AvgNeutralHeight (LineConstants.pas:218-297), which no XY positions reproduce
in general. Export: not written; the LineGeometry carries the positions inline
(B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
rank: 1000
domain_of:
- Linespacing
range: string
required: false
AvgNeutralHeight:
name: AvgNeutralHeight
annotations:
order:
tag: order
value: 10
description: Average height of neutral conductors.
comments:
- 'Import: structural; raises when set, at any value: detailed=No takes the distances
from EqDistPhPh and EqDistPhN and the image distances from AvgPhaseHeight and
AvgNeutralHeight (LineConstants.pas:218-297), which no XY positions reproduce
in general. Export: not written; the LineGeometry carries the positions inline
(B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
rank: 1000
domain_of:
- Linespacing
range: string
required: false
like:
name: like
annotations:
order:
tag: order
value: 11
description: 'Make like another object, e.g.: New LineSpacing.S2 like=S1 ...'
comments:
- 'Import: untranscribed; the reader resolves like= before mapping. Export: not
written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
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:Linespacing
Induced¶
name: Linespacing
description: A Linespacing object in OpenDSS defining the physical arrangement (XY
coordinates) of conductors in a cross-section, used for geometric impedance calculation.
comments:
- 'Import: a LineSpacing becomes a template XYSpacing spc_<name> with one XYConductorPosition
per conductor in linespacing.cimtbl (CIM 18 template, not a WireSpacingInfo catalog).
Export: not written as a LineSpacing; the LineGeometry carries the positions inline.'
from_schema: https://gridappsd.github.io/dss-graph/opendss
exact_mappings:
- cim:XYSpacing
attributes:
name:
name: name
description: Object name. Must be unique per object type.
comments:
- 'Import: copied to XYSpacing.name; mRID = spc_ + name, lowercased; isTemplate
= true. Export: not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
exact_mappings:
- cim:IdentifiedObject.name
identifier: true
owner: Linespacing
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
nconds:
name: nconds
annotations:
order:
tag: order
value: 1
description: Number of wires in this geometry (phase + neutral conductors).
comments:
- 'Import: structural; one XYConductorPosition per conductor, sequenceNumber 1..nconds;
x and h must have nconds values. Export: not written; the LineGeometry carries
the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
related_mappings:
- cim:XYConductorPosition
owner: Linespacing
domain_of:
- Linegeometry
- Linespacing
range: integer
required: false
minimum_value: 1
nphases:
name: nphases
annotations:
order:
tag: order
value: 2
description: Number of retained phase conductors (nconds minus neutrals).
comments:
- 'Import: structural; kind: phase for conductors 1..nphases, neutral after. Export:
not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
close_mappings:
- cim:ConductorPosition.kind
owner: Linespacing
domain_of:
- Linecode
- Linegeometry
- Linespacing
range: integer
required: false
minimum_value: 1
x:
name: x
annotations:
order:
tag: order
value: 3
description: Array of wire X coordinates (horizontal position), one per conductor.
comments:
- 'Import: structural; XYConductorPosition.xCoord (<units>), one per conductor.
Export: not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
exact_mappings:
- cim:SpacingPosition.xCoord
owner: Linespacing
domain_of:
- Buscoords
- Linegeometry
- Linespacing
- Xycurve
range: float
required: false
multivalued: true
h:
name: h
annotations:
order:
tag: order
value: 4
description: Array of wire Heights (vertical position), one per conductor.
comments:
- 'Import: structural; XYConductorPosition.yCoord (<units>), one per conductor.
Export: not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
exact_mappings:
- cim:SpacingPosition.yCoord
owner: Linespacing
domain_of:
- Linegeometry
- Linespacing
range: float
required: false
multivalued: true
units:
name: units
annotations:
order:
tag: order
value: 5
description: 'Units for x and h: {mi|kft|km|m|Ft|in|cm}. Initial default is ft.'
comments:
- 'Import: mapped; the length unit of xCoord and yCoord (LENGTH_UNIT); unset raises.
Export: not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
owner: Linespacing
domain_of:
- Line
- Linecode
- Linegeometry
- Linespacing
range: string
required: false
detailed:
name: detailed
annotations:
order:
tag: order
value: 6
description: '{Yes/True | No/False} Default = Yes. If No, uses equivalent spacing
formulas instead of actual geometry.'
comments:
- 'Import: structural; Yes (the default, LineSpacing.pas:213 and :327) maps the
positions; No (the equivalent-spacing form) raises: it has no positions. Export:
not written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
rank: 1000
owner: Linespacing
domain_of:
- Linespacing
range: boolean
required: false
EqDistPhPh:
name: EqDistPhPh
annotations:
order:
tag: order
value: 7
description: Equivalent distance between phase conductors.
comments:
- 'Import: structural; raises when set, at any value: detailed=No takes the distances
from EqDistPhPh and EqDistPhN and the image distances from AvgPhaseHeight and
AvgNeutralHeight (LineConstants.pas:218-297), which no XY positions reproduce
in general. Export: not written; the LineGeometry carries the positions inline
(B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
rank: 1000
owner: Linespacing
domain_of:
- Linespacing
range: string
required: false
EqDistPhN:
name: EqDistPhN
annotations:
order:
tag: order
value: 8
description: Equivalent distance between phase and neutral conductors.
comments:
- 'Import: structural; raises when set, at any value: detailed=No takes the distances
from EqDistPhPh and EqDistPhN and the image distances from AvgPhaseHeight and
AvgNeutralHeight (LineConstants.pas:218-297), which no XY positions reproduce
in general. Export: not written; the LineGeometry carries the positions inline
(B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
rank: 1000
owner: Linespacing
domain_of:
- Linespacing
range: string
required: false
AvgPhaseHeight:
name: AvgPhaseHeight
annotations:
order:
tag: order
value: 9
description: Average height of phase conductors.
comments:
- 'Import: structural; raises when set, at any value: detailed=No takes the distances
from EqDistPhPh and EqDistPhN and the image distances from AvgPhaseHeight and
AvgNeutralHeight (LineConstants.pas:218-297), which no XY positions reproduce
in general. Export: not written; the LineGeometry carries the positions inline
(B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
rank: 1000
owner: Linespacing
domain_of:
- Linespacing
range: string
required: false
AvgNeutralHeight:
name: AvgNeutralHeight
annotations:
order:
tag: order
value: 10
description: Average height of neutral conductors.
comments:
- 'Import: structural; raises when set, at any value: detailed=No takes the distances
from EqDistPhPh and EqDistPhN and the image distances from AvgPhaseHeight and
AvgNeutralHeight (LineConstants.pas:218-297), which no XY positions reproduce
in general. Export: not written; the LineGeometry carries the positions inline
(B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
rank: 1000
owner: Linespacing
domain_of:
- Linespacing
range: string
required: false
like:
name: like
annotations:
order:
tag: order
value: 11
description: 'Make like another object, e.g.: New LineSpacing.S2 like=S1 ...'
comments:
- 'Import: untranscribed; the reader resolves like= before mapping. Export: not
written; the LineGeometry carries the positions inline (B2).'
from_schema: https://gridappsd.github.io/dss-graph/general/linespacing
owner: Linespacing
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:Linespacing