Class: Line¶
A Line object in OpenDSS representing a power delivery line connecting two buses in the distribution system. If Switch=True the element is treated as a switching device instead.
URI: dss:Line
classDiagram
class Line
click Line href "../Line/"
Line : B0
Line : B1
Line : basefreq
Line : bus1
Line : bus2
Line : C0
Line : C1
Line : cmatrix
Line : cncables
Line : conductors
Line : EarthModel
Line --> "0..1" EarthModelType : EarthModel
click EarthModelType href "../EarthModelType/"
Line : emergamps
Line : enabled
Line : EpsRmedium
Line : faultrate
Line : geometry
Line : HeightOffset
Line : HeightUnit
Line --> "0..1" LengthUnit : HeightUnit
click LengthUnit href "../LengthUnit/"
Line : length
Line : like
Line : linecode
Line : LineType
Line --> "0..1" LineTypeCode : LineType
click LineTypeCode href "../LineTypeCode/"
Line : name
Line : normamps
Line : pct_perm
Line : phases
Line : r0
Line : r1
Line : Ratings
Line : repair
Line : Rg
Line : rho
Line : rmatrix
Line : Seasons
Line : spacing
Line : Switch
Line : tscables
Line : units
Line --> "0..1" LengthUnit : units
click LengthUnit href "../LengthUnit/"
Line : wires
Line : x0
Line : x1
Line : Xg
Line : xmatrix
Class Properties¶
| Property | Value |
|---|---|
| Class URI | dss:Line |
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| name | 1 String |
Object name | direct |
| bus1 | 1 String |
Name of bus to which first terminal is connected | direct |
| bus2 | 0..1 String |
Name of bus to which 2nd terminal is connected | direct |
| linecode | 0..1 String |
Name of linecode object describing line impedances | direct |
| length | 0..1 Float |
Length of line | direct |
| phases | 0..1 Integer |
Number of phases, this line | direct |
| r1 | 0..1 Float |
Positive-sequence Resistance, ohms per unit length | direct |
| x1 | 0..1 Float |
Positive-sequence Reactance, ohms per unit length | direct |
| r0 | 0..1 Float |
Zero-sequence Resistance, ohms per unit length | direct |
| x0 | 0..1 Float |
Zero-sequence Reactance, ohms per unit length | direct |
| C1 | 0..1 Float |
Positive-sequence capacitance, nf per unit length | direct |
| C0 | 0..1 Float |
Zero-sequence capacitance, nf per unit length | direct |
| rmatrix | * Float |
Resistance matrix, lower triangle, ohms per unit length | direct |
| xmatrix | * Float |
Reactance matrix, lower triangle, ohms per unit length | direct |
| cmatrix | * Float |
Nodal Capacitance matrix, lower triangle, nf per unit length | direct |
| Switch | 0..1 Boolean |
Designates this line as a switch for graphics and algorithmic purposes | direct |
| Rg | 0..1 Float |
Carson earth return resistance per unit length used to compute impedance valu... | direct |
| Xg | 0..1 Float |
Carson earth return reactance per unit length used to compute impedance value... | direct |
| rho | 0..1 Float |
Earth resitivity used to compute earth correction factor | direct |
| geometry | 0..1 String |
Geometry code for LineGeometry Object | direct |
| units | 0..1 LengthUnit |
Length Units | direct |
| spacing | 0..1 String |
Reference to a LineSpacing for use in a line constants calculation | direct |
| cncables | * String |
Array of CNData names for use in a cable constants calculation | direct |
| tscables | * String |
Array of TSData names for use in a cable constants calculation | direct |
| wires | * String |
Array of WireData names for use in an overhead line constants calculation | direct |
| EarthModel | 0..1 EarthModelType |
Earth model to use for impedance calculations | direct |
| B1 | 0..1 Float |
Alternate way to specify C1 | direct |
| B0 | 0..1 Float |
Alternate way to specify C0 | direct |
| Seasons | 0..1 Integer |
Defines the number of ratings to be defined for the wire, to be used only whe... | direct |
| Ratings | * Float |
An array of ratings to be used when the seasonal ratings flag is True | direct |
| LineType | 0..1 LineTypeCode |
Code designating the type of line | direct |
| EpsRmedium | 0..1 Float |
Relative Permittivity of the medium | direct |
| HeightOffset | 0..1 Float |
Average Height (or depth) offset to be applied on top of coordinates of geome... | direct |
| HeightUnit | 0..1 LengthUnit |
Height offset Units | direct |
| conductors | * String |
Array of conductor names for use in line constants calculation | direct |
| normamps | 0..1 Float |
Normal rated current | direct |
| emergamps | 0..1 Float |
Maximum or emerg current | direct |
| faultrate | 0..1 Float |
Failure rate PER UNIT LENGTH per year | direct |
| pct_perm | 0..1 Float |
Percent of failures that become permanent | direct |
| repair | 0..1 Float |
Hours to repair | direct |
| basefreq | 0..1 Float |
Base Frequency for ratings | direct |
| enabled | 0..1 Boolean |
Indicates whether this element is enabled | direct |
| like | 0..1 String |
Make like another object, e | direct |
Comments¶
- Import: a Line becomes an ACLineSegment in line.cimtbl, referencing a WireConfiguration (its LineCode's template, its LineGeometry's, or a synthesized one for spacing=) or carrying its own PerLengthImpedance ln_
_lc (isTemplate=false). No impedance is computed from geometry. - Switch=y makes the Line a Switch (LoadBreakSwitch, or Fuse/Recloser when one names it as SwitchedObj). Export: an ACLineSegment is written by exporter/line.py, a Switch by exporter/switch.py. Details: CIMTBL_MAPPING.md#line-and-switches.
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://gridappsd.github.io/dss-graph/opendss
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | dss:Line |
| native | dss:Line |
| narrow | cim:LoadBreakSwitch, cim:Fuse, cim:Recloser |
| close | cim:ACLineSegment |
LinkML Source¶
Direct¶
name: Line
description: A Line object in OpenDSS representing a power delivery line connecting
two buses in the distribution system. If Switch=True the element is treated as a
switching device instead.
comments:
- 'Import: a Line becomes an ACLineSegment in line.cimtbl, referencing a WireConfiguration
(its LineCode''s template, its LineGeometry''s, or a synthesized one for spacing=)
or carrying its own PerLengthImpedance ln_<name>_lc (isTemplate=false). No impedance
is computed from geometry.'
- 'Switch=y makes the Line a Switch (LoadBreakSwitch, or Fuse/Recloser when one names
it as SwitchedObj). Export: an ACLineSegment is written by exporter/line.py, a Switch
by exporter/switch.py. Details: CIMTBL_MAPPING.md#line-and-switches.'
from_schema: https://gridappsd.github.io/dss-graph/opendss
close_mappings:
- cim:ACLineSegment
narrow_mappings:
- cim:LoadBreakSwitch
- cim:Fuse
- cim:Recloser
attributes:
name:
name: name
description: Object name. Must be unique per object type.
comments:
- 'Import: copied to ACLineSegment.name, Switch.name; mRID = ln_ + name (segment)
or sw_ + name (switch), lowercased. Export: Names; a coupled group''s: the group''s,
<line>_jumper1 for each circuit, and <line>_jumper2 or a longer line''s remainder
<line>.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
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
bus1:
name: bus1
annotations:
order:
tag: order
value: 1
description: Name of bus to which first terminal is connected.
comments:
- 'Import: structural; node1, and the phases from its nodes: 1/2/3 = A/B/C, s1/s2
on a split-phase island; no nodes = 1..phases. Export: bus_ref(get_terminal_nodes[0],
the phase conductors of get_conductor_phases); a coupled group''s: <group>_1
on nodes 1..n, its jumpers from each circuit''s own bus, a remainder from <group>_2
on its circuit''s nodes.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:Terminal.ConnectivityNode
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Windgen
- Capacitor
- Line
- Reactor
- Fault
- Isource
- Vsource
range: string
required: true
bus2:
name: bus2
annotations:
order:
tag: order
value: 2
description: Name of bus to which 2nd terminal is connected.
comments:
- 'Import: structural; node2; its phase nodes must equal bus1''s (a transposition
raises). Export: bus_ref(get_terminal_nodes[1], the same phases); a coupled
group''s: <group>_2.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:Terminal.ConnectivityNode
domain_of:
- Gicline
- Upfc
- Capacitor
- Line
- Reactor
- Fault
- Vsource
range: string
required: false
linecode:
name: linecode
annotations:
order:
tag: order
value: 3
description: Name of linecode object describing line impedances. If no line code
or impedance data are specified, the line defaults to 336 MCM ACSR on 4 ft spacing.
comments:
- 'Import: structural; ACLineSegment.WireConfiguration = the WireConfiguration
of the code''s template for the line''s unit (lc_<code>_wc or lc_<code>_<unit>_wc).
Export: the template PerLengthImpedance''s LineCode name (get_line_code); a
line''s own (isTemplate=false) is written inline.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:ACLineSegment.WireConfiguration
rank: 1000
domain_of:
- Line
range: string
required: false
length:
name: length
annotations:
order:
tag: order
value: 4
dss_default:
tag: dss_default
value: float(1.0)
description: Length of line. Default is 1.0. If units do not match the impedance
data, specify units property.
comments:
- 'Import: copied to ACLineSegment.length (<units>); default 1 (defaulted); none
on a switch. Export: required_qty(length, m); lumped: km, unset -> 1; a coupled
group''s: its shortest line''s, a remainder the rest of its line, a jumper 1
m.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
exact_mappings:
- cim:Conductor.length
rank: 1000
domain_of:
- Line
range: float
required: false
minimum_value: 0.0
phases:
name: phases
annotations:
order:
tag: order
value: 5
dss_default:
tag: dss_default
value: int(3)
description: Number of phases, this line.
comments:
- 'Import: structural; the phase count; unset = the code''s or geometry''s nphases,
else 3; one that differs from the code''s nphases raises. Export: the phase
conductors (a neutral is reduced, B4); a coupled group''s: every line''s.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:ACLineSegmentPhase.phase
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Vsconverter
- Windgen
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Xfmrcode
- Fault
- Gicsource
- Isource
- Vsource
range: integer
required: false
minimum_value: 1
maximum_value: 3
r1:
name: r1
annotations:
order:
tag: order
value: 6
dss_default:
tag: dss_default
value: float(0.058)
description: Positive-sequence Resistance, ohms per unit length. Setting any of
R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.r
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
x1:
name: x1
annotations:
order:
tag: order
value: 7
dss_default:
tag: dss_default
value: float(0.1206)
description: Positive-sequence Reactance, ohms per unit length. Setting any of
R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.x
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
r0:
name: r0
annotations:
order:
tag: order
value: 8
dss_default:
tag: dss_default
value: float(0.1784)
description: Zero-sequence Resistance, ohms per unit length. Setting any of R1,
R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.r0
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
x0:
name: x0
annotations:
order:
tag: order
value: 9
dss_default:
tag: dss_default
value: float(0.4047)
description: Zero-sequence Reactance, ohms per unit length. Setting any of R1,
R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.x0
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
C1:
name: C1
annotations:
order:
tag: order
value: 10
dss_default:
tag: dss_default
value: float(3.4)
description: Positive-sequence capacitance, nf per unit length. Setting any of
R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.bch
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
C0:
name: C0
annotations:
order:
tag: order
value: 11
dss_default:
tag: dss_default
value: float(1.6)
description: Zero-sequence capacitance, nf per unit length. Setting any of R1,
R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.b0ch
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
rmatrix:
name: rmatrix
annotations:
order:
tag: order
value: 12
dss_format:
tag: dss_format
value: matrix
description: Resistance matrix, lower triangle, ohms per unit length. Order of
the matrix is the number of phases. Using any of Rmatrix, Xmatrix, Cmatrix forces
program to use matrix values for line impedance.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PhaseImpedanceData.r
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
multivalued: true
xmatrix:
name: xmatrix
annotations:
order:
tag: order
value: 13
dss_format:
tag: dss_format
value: matrix
description: Reactance matrix, lower triangle, ohms per unit length. Order of
the matrix is the number of phases. Using any of Rmatrix, Xmatrix, Cmatrix forces
program to use matrix values for line impedance.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PhaseImpedanceData.x
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
multivalued: true
cmatrix:
name: cmatrix
annotations:
order:
tag: order
value: 14
dss_format:
tag: dss_format
value: matrix
description: Nodal Capacitance matrix, lower triangle, nf per unit length. Order
of the matrix is the number of phases. Using any of Rmatrix, Xmatrix, Cmatrix
forces program to use matrix values.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PhaseImpedanceData.b
domain_of:
- Capacitor
- Line
- Linecode
range: float
required: false
multivalued: true
Switch:
name: Switch
annotations:
order:
tag: order
value: 15
dss_default:
tag: dss_default
value: 'false'
description: 'Designates this line as a switch for graphics and algorithmic purposes.
Default is false. SIDE EFFECT: Sets r1=1.0, x1=1.0, r0=1.0, x0=1.0, c1=1.1,
c0=1.0, length=0.001.'
comments:
- 'Import: structural; a Switch (sw_) instead of an ACLineSegment; class from
its control. Export: not written, a Switch is exported by switch.py.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:Switch
rank: 1000
domain_of:
- Line
range: boolean
required: false
Rg:
name: Rg
annotations:
order:
tag: order
value: 16
dss_default:
tag: dss_default
value: float(0.01805)
description: Carson earth return resistance per unit length used to compute impedance
values at base frequency. Default is 0.01805 ohms per kft.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one (Carson earth return; the consumer''s choice for geometry). Export:
not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthImpedance.rg
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
Xg:
name: Xg
annotations:
order:
tag: order
value: 17
dss_default:
tag: dss_default
value: float(0.155081)
description: Carson earth return reactance per unit length used to compute impedance
values at base frequency. Default is 0.155081 ohms per kft.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one (Carson earth return; the consumer''s choice for geometry). Export:
not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthImpedance.xg
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
rho:
name: rho
annotations:
order:
tag: order
value: 18
dss_default:
tag: dss_default
value: float(100.0)
description: Earth resitivity used to compute earth correction factor. Default
is 100 meter ohms. Overrides Line geometry definition if specified.
comments:
- 'Import: structural; the deck''s EarthResistivity.rho (ohm-m), which every geometry
line must agree on (geometry.earth_statement). Export: a geometry line''s WireConfiguration
EarthResistivity.rho (ohm-m), unset -> not written; a spacing line''s: get_network_earth.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:EarthResistivity.rho
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
geometry:
name: geometry
annotations:
order:
tag: order
value: 19
description: 'Geometry code for LineGeometry Object. Supercedes any previous definition
of line impedance. CAUTION: may alter number of phases.'
comments:
- 'Import: structural; ACLineSegment.WireConfiguration = wc_<geometry>. Export:
the (WireConfiguration, ySpacingOffset) LineGeometry name; a spacing line''s:
spacing_geometry_name of its owner.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:ACLineSegment.WireConfiguration
rank: 1000
domain_of:
- Line
range: string
required: false
units:
name: units
annotations:
order:
tag: order
value: 20
description: Length Units. Default is None - assumes length units match impedance
units.
comments:
- 'Import: mapped; the length unit (LENGTH_UNIT); unset: the template''s unit.
Export: m (B1); lumped: km (B6).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
domain_of:
- Line
- Linecode
- Linegeometry
- Linespacing
range: LengthUnit
required: false
spacing:
name: spacing
annotations:
order:
tag: order
value: 21
description: Reference to a LineSpacing for use in a line constants calculation.
Must be used in conjunction with the Wires property.
comments:
- 'Import: structural; with spacing=: a synthesized WireConfiguration ln_<name>_wc
on spc_<spacing>, conductors in order. Export: not written, positions are written
inline in the LineGeometry (B2).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:WireConfiguration.WireSpacing
rank: 1000
domain_of:
- Line
- Linegeometry
range: string
required: false
cncables:
name: cncables
annotations:
order:
tag: order
value: 22
description: Array of CNData names for use in a cable constants calculation. Must
be used in conjunction with the Spacing property.
comments:
- 'Import: structural; with spacing=: a synthesized WireConfiguration ln_<name>_wc
on spc_<spacing>, conductors in order. Export: not written, the LineGeometry
carries the conductors (B2).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:WireSequenceConfiguration.WireInfo
rank: 1000
domain_of:
- Line
- Linegeometry
range: string
required: false
multivalued: true
tscables:
name: tscables
annotations:
order:
tag: order
value: 23
description: Array of TSData names for use in a cable constants calculation. Must
be used in conjunction with the Spacing property.
comments:
- 'Import: structural; with spacing=: a synthesized WireConfiguration ln_<name>_wc
on spc_<spacing>, conductors in order. Export: not written, the LineGeometry
carries the conductors (B2).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:WireSequenceConfiguration.WireInfo
rank: 1000
domain_of:
- Line
- Linegeometry
range: string
required: false
multivalued: true
wires:
name: wires
annotations:
order:
tag: order
value: 24
description: Array of WireData names for use in an overhead line constants calculation.
Must be used in conjunction with the Spacing property.
comments:
- 'Import: structural; with spacing=: a synthesized WireConfiguration ln_<name>_wc
on spc_<spacing>, conductors in order. Export: not written, the LineGeometry
carries the conductors (B2).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:WireSequenceConfiguration.WireInfo
rank: 1000
domain_of:
- Line
- Linegeometry
range: string
required: false
multivalued: true
EarthModel:
name: EarthModel
annotations:
order:
tag: order
value: 25
description: Earth model to use for impedance calculations. This is used to override
the global value for this line. Applies only when geometry property is used.
comments:
- 'Import: untranscribed; the earth model of the impedance calculation; the consumer''s
choice. Export: not written, the deck''s Set earthmodel carries it (options.py:
one model per deck).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
domain_of:
- Line
range: EarthModelType
required: false
B1:
name: B1
annotations:
order:
tag: order
value: 26
description: Alternate way to specify C1. MicroS per unit length.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: not written, C1/C0 carries the susceptance.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.bch
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
B0:
name: B0
annotations:
order:
tag: order
value: 27
description: Alternate way to specify C0. MicroS per unit length.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: not written, C1/C0 carries the susceptance.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.b0ch
rank: 1000
domain_of:
- Line
- Linecode
range: float
required: false
Seasons:
name: Seasons
annotations:
order:
tag: order
value: 28
description: Defines the number of ratings to be defined for the wire, to be used
only when defining seasonal ratings using the Ratings property.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one (an indexed rating array that names no calendar season; home OperationalLimitType.season).
Export: not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
domain_of:
- Line
- Transformer
- Storagecontroller
- Cndata
- Linecode
- Linegeometry
- Tsdata
- Wiredata
- Xfmrcode
range: integer
required: false
Ratings:
name: Ratings
annotations:
order:
tag: order
value: 29
description: An array of ratings to be used when the seasonal ratings flag is
True. Can be used to insert multiple ratings to change during a QSTS simulation.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one (with Seasons). Export: not written, not in CIM (untranscribed
or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
domain_of:
- Line
- Transformer
- Cndata
- Linecode
- Linegeometry
- Tsdata
- Wiredata
- Xfmrcode
range: float
required: false
multivalued: true
LineType:
name: LineType
annotations:
order:
tag: order
value: 30
description: Code designating the type of line. OpenDSS currently does not use
this internally. Default is OH.
todos:
- LineType → PSRType mapping not yet implemented. DSS LineTypeCode (OH, UG, etc.)
could be mapped to a PSRType classification on the ACLineSegment.
comments:
- 'Import: untranscribed; no home in the network profile parts. Export: not written,
not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
domain_of:
- Line
- Linecode
- Linegeometry
range: LineTypeCode
required: false
EpsRmedium:
name: EpsRmedium
annotations:
order:
tag: order
value: 31
dss_default:
tag: dss_default
value: float(1.0)
description: Relative Permittivity of the medium. Used by lines with a geometry
definition. Default is 1.0 for air.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one. Export: not written, not in CIM (untranscribed or raising on
import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
domain_of:
- Line
range: float
required: false
HeightOffset:
name: HeightOffset
annotations:
order:
tag: order
value: 32
dss_default:
tag: dss_default
value: float(0.0)
description: Average Height (or depth) offset to be applied on top of coordinates
of geometry or spacing. Use negative value for depth in underground lines. Default
is 0.0.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one. Export: not written, ySpacingOffset goes into the geometry''s
heights.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
domain_of:
- Line
range: float
required: false
HeightUnit:
name: HeightUnit
annotations:
order:
tag: order
value: 33
description: Height offset Units. If none is detected, meters is assumed.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one. Export: not written, ySpacingOffset goes into the geometry''s
heights.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
domain_of:
- Line
range: LengthUnit
required: false
conductors:
name: conductors
annotations:
order:
tag: order
value: 34
description: Array of conductor names for use in line constants calculation. Must
be used in conjunction with the Spacing property. Specify conductor type followed
by conductor name.
todos:
- Conductor converter not yet implemented. Names should resolve to WireInfo (OverheadWireInfo
or CableInfo) objects.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one. Export: not written, not in CIM (untranscribed or raising on
import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
domain_of:
- Line
- Linegeometry
range: string
required: false
multivalued: true
normamps:
name: normamps
annotations:
order:
tag: order
value: 35
description: Normal rated current.
comments:
- 'Import: structural; instance OperationalLimitSet ln_<name>_limits (see Ratings);
on a switch untranscribed. Export: rule, get_current_limits normal (A); unset
-> not written, the engine copies the catalog''s.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:CurrentLimit.normalValue
domain_of:
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Cndata
- Linecode
- Linegeometry
- Tsdata
- Wiredata
- Fault
range: float
required: false
emergamps:
name: emergamps
annotations:
order:
tag: order
value: 36
description: Maximum or emerg current.
comments:
- 'Import: structural; instance OperationalLimitSet ln_<name>_limits (see Ratings);
on a switch untranscribed. Export: rule, get_current_limits emergency (A); unset
-> not written, as normamps.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:CurrentLimit.normalValue
domain_of:
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Cndata
- Linecode
- Linegeometry
- Tsdata
- Wiredata
- Fault
range: float
required: false
faultrate:
name: faultrate
annotations:
order:
tag: order
value: 37
dss_default:
tag: dss_default
value: float(0.1)
description: Failure rate PER UNIT LENGTH per year. Length must be same units
as LENGTH property. Default is 0.1 fault per unit length per year.
todos:
- Requires CIM extension to roundtrip (e.g. on FailureStatistic or AssetFailureInfo).
comments:
- 'Import: untranscribed; reliability data; no home in the network profile parts.
Export: not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
domain_of:
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Linecode
- Fault
range: float
required: false
pct_perm:
name: pct_perm
annotations:
order:
tag: order
value: 38
dss_name:
tag: dss_name
value: pctperm
dss_default:
tag: dss_default
value: float(20.0)
description: Percent of failures that become permanent. Default is 20.
todos:
- Requires CIM extension to roundtrip.
comments:
- 'Import: untranscribed; reliability data; no home in the network profile parts.
Export: not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
domain_of:
- Line
- Transformer
range: float
required: false
repair:
name: repair
annotations:
order:
tag: order
value: 39
dss_default:
tag: dss_default
value: float(3.0)
description: Hours to repair. Default is 3 hr.
todos:
- Requires CIM extension to roundtrip.
comments:
- 'Import: untranscribed; reliability data; no home in the network profile parts.
Export: not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
domain_of:
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Linecode
- Fault
range: float
required: false
basefreq:
name: basefreq
annotations:
order:
tag: order
value: 40
description: Base Frequency for ratings.
comments:
- 'Import: structural; the line''s own impedance''s calculatedFrequency and the
frequency of its b; unset: the deck''s. Export: not written, Options.defaultbasefreq
is the deck''s.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthImpedance.calculatedFrequency
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: 41
dss_default:
tag: dss_default
value: 'true'
description: Indicates whether this element is enabled.
comments:
- 'Import: copied to ACLineSegment.normallyInService, Switch.normallyInService.
Export: get_in_service(which=''normal''); unset -> not written.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
exact_mappings:
- cim:Equipment.normallyInService
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: 42
description: 'Make like another object, e.g.: New Capacitor.C2 like=c1 ...'
comments:
- 'Import: untranscribed; the reader resolves like= before mapping. Export: not
written, the writer never writes like=.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
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:Line
Induced¶
name: Line
description: A Line object in OpenDSS representing a power delivery line connecting
two buses in the distribution system. If Switch=True the element is treated as a
switching device instead.
comments:
- 'Import: a Line becomes an ACLineSegment in line.cimtbl, referencing a WireConfiguration
(its LineCode''s template, its LineGeometry''s, or a synthesized one for spacing=)
or carrying its own PerLengthImpedance ln_<name>_lc (isTemplate=false). No impedance
is computed from geometry.'
- 'Switch=y makes the Line a Switch (LoadBreakSwitch, or Fuse/Recloser when one names
it as SwitchedObj). Export: an ACLineSegment is written by exporter/line.py, a Switch
by exporter/switch.py. Details: CIMTBL_MAPPING.md#line-and-switches.'
from_schema: https://gridappsd.github.io/dss-graph/opendss
close_mappings:
- cim:ACLineSegment
narrow_mappings:
- cim:LoadBreakSwitch
- cim:Fuse
- cim:Recloser
attributes:
name:
name: name
description: Object name. Must be unique per object type.
comments:
- 'Import: copied to ACLineSegment.name, Switch.name; mRID = ln_ + name (segment)
or sw_ + name (switch), lowercased. Export: Names; a coupled group''s: the group''s,
<line>_jumper1 for each circuit, and <line>_jumper2 or a longer line''s remainder
<line>.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
exact_mappings:
- cim:IdentifiedObject.name
identifier: true
owner: Line
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
bus1:
name: bus1
annotations:
order:
tag: order
value: 1
description: Name of bus to which first terminal is connected.
comments:
- 'Import: structural; node1, and the phases from its nodes: 1/2/3 = A/B/C, s1/s2
on a split-phase island; no nodes = 1..phases. Export: bus_ref(get_terminal_nodes[0],
the phase conductors of get_conductor_phases); a coupled group''s: <group>_1
on nodes 1..n, its jumpers from each circuit''s own bus, a remainder from <group>_2
on its circuit''s nodes.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:Terminal.ConnectivityNode
owner: Line
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Windgen
- Capacitor
- Line
- Reactor
- Fault
- Isource
- Vsource
range: string
required: true
bus2:
name: bus2
annotations:
order:
tag: order
value: 2
description: Name of bus to which 2nd terminal is connected.
comments:
- 'Import: structural; node2; its phase nodes must equal bus1''s (a transposition
raises). Export: bus_ref(get_terminal_nodes[1], the same phases); a coupled
group''s: <group>_2.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:Terminal.ConnectivityNode
owner: Line
domain_of:
- Gicline
- Upfc
- Capacitor
- Line
- Reactor
- Fault
- Vsource
range: string
required: false
linecode:
name: linecode
annotations:
order:
tag: order
value: 3
description: Name of linecode object describing line impedances. If no line code
or impedance data are specified, the line defaults to 336 MCM ACSR on 4 ft spacing.
comments:
- 'Import: structural; ACLineSegment.WireConfiguration = the WireConfiguration
of the code''s template for the line''s unit (lc_<code>_wc or lc_<code>_<unit>_wc).
Export: the template PerLengthImpedance''s LineCode name (get_line_code); a
line''s own (isTemplate=false) is written inline.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:ACLineSegment.WireConfiguration
rank: 1000
owner: Line
domain_of:
- Line
range: string
required: false
length:
name: length
annotations:
order:
tag: order
value: 4
dss_default:
tag: dss_default
value: float(1.0)
description: Length of line. Default is 1.0. If units do not match the impedance
data, specify units property.
comments:
- 'Import: copied to ACLineSegment.length (<units>); default 1 (defaulted); none
on a switch. Export: required_qty(length, m); lumped: km, unset -> 1; a coupled
group''s: its shortest line''s, a remainder the rest of its line, a jumper 1
m.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
exact_mappings:
- cim:Conductor.length
rank: 1000
owner: Line
domain_of:
- Line
range: float
required: false
minimum_value: 0.0
phases:
name: phases
annotations:
order:
tag: order
value: 5
dss_default:
tag: dss_default
value: int(3)
description: Number of phases, this line.
comments:
- 'Import: structural; the phase count; unset = the code''s or geometry''s nphases,
else 3; one that differs from the code''s nphases raises. Export: the phase
conductors (a neutral is reduced, B4); a coupled group''s: every line''s.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:ACLineSegmentPhase.phase
owner: Line
domain_of:
- Load
- Generator
- Generic5
- Gicline
- Indmach012
- Pvsystem
- Storage
- Upfc
- Vccs
- Vsconverter
- Windgen
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Xfmrcode
- Fault
- Gicsource
- Isource
- Vsource
range: integer
required: false
minimum_value: 1
maximum_value: 3
r1:
name: r1
annotations:
order:
tag: order
value: 6
dss_default:
tag: dss_default
value: float(0.058)
description: Positive-sequence Resistance, ohms per unit length. Setting any of
R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.r
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
x1:
name: x1
annotations:
order:
tag: order
value: 7
dss_default:
tag: dss_default
value: float(0.1206)
description: Positive-sequence Reactance, ohms per unit length. Setting any of
R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.x
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
r0:
name: r0
annotations:
order:
tag: order
value: 8
dss_default:
tag: dss_default
value: float(0.1784)
description: Zero-sequence Resistance, ohms per unit length. Setting any of R1,
R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.r0
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
x0:
name: x0
annotations:
order:
tag: order
value: 9
dss_default:
tag: dss_default
value: float(0.4047)
description: Zero-sequence Reactance, ohms per unit length. Setting any of R1,
R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.x0
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
C1:
name: C1
annotations:
order:
tag: order
value: 10
dss_default:
tag: dss_default
value: float(3.4)
description: Positive-sequence capacitance, nf per unit length. Setting any of
R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.bch
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
C0:
name: C0
annotations:
order:
tag: order
value: 11
dss_default:
tag: dss_default
value: float(1.6)
description: Zero-sequence capacitance, nf per unit length. Setting any of R1,
R0, X1, X0, C1, C0 forces the program to use the symmetrical component line
definition.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.b0ch
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
rmatrix:
name: rmatrix
annotations:
order:
tag: order
value: 12
dss_format:
tag: dss_format
value: matrix
description: Resistance matrix, lower triangle, ohms per unit length. Order of
the matrix is the number of phases. Using any of Rmatrix, Xmatrix, Cmatrix forces
program to use matrix values for line impedance.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PhaseImpedanceData.r
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
multivalued: true
xmatrix:
name: xmatrix
annotations:
order:
tag: order
value: 13
dss_format:
tag: dss_format
value: matrix
description: Reactance matrix, lower triangle, ohms per unit length. Order of
the matrix is the number of phases. Using any of Rmatrix, Xmatrix, Cmatrix forces
program to use matrix values for line impedance.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PhaseImpedanceData.x
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
multivalued: true
cmatrix:
name: cmatrix
annotations:
order:
tag: order
value: 14
dss_format:
tag: dss_format
value: matrix
description: Nodal Capacitance matrix, lower triangle, nf per unit length. Order
of the matrix is the number of phases. Using any of Rmatrix, Xmatrix, Cmatrix
forces program to use matrix values.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: the line''s own code (isTemplate=false) as a LineCode writes it; lumped:
the whole-line value / km.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PhaseImpedanceData.b
owner: Line
domain_of:
- Capacitor
- Line
- Linecode
range: float
required: false
multivalued: true
Switch:
name: Switch
annotations:
order:
tag: order
value: 15
dss_default:
tag: dss_default
value: 'false'
description: 'Designates this line as a switch for graphics and algorithmic purposes.
Default is false. SIDE EFFECT: Sets r1=1.0, x1=1.0, r0=1.0, x0=1.0, c1=1.1,
c0=1.0, length=0.001.'
comments:
- 'Import: structural; a Switch (sw_) instead of an ACLineSegment; class from
its control. Export: not written, a Switch is exported by switch.py.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:Switch
rank: 1000
owner: Line
domain_of:
- Line
range: boolean
required: false
Rg:
name: Rg
annotations:
order:
tag: order
value: 16
dss_default:
tag: dss_default
value: float(0.01805)
description: Carson earth return resistance per unit length used to compute impedance
values at base frequency. Default is 0.01805 ohms per kft.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one (Carson earth return; the consumer''s choice for geometry). Export:
not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthImpedance.rg
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
Xg:
name: Xg
annotations:
order:
tag: order
value: 17
dss_default:
tag: dss_default
value: float(0.155081)
description: Carson earth return reactance per unit length used to compute impedance
values at base frequency. Default is 0.155081 ohms per kft.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one (Carson earth return; the consumer''s choice for geometry). Export:
not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthImpedance.xg
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
rho:
name: rho
annotations:
order:
tag: order
value: 18
dss_default:
tag: dss_default
value: float(100.0)
description: Earth resitivity used to compute earth correction factor. Default
is 100 meter ohms. Overrides Line geometry definition if specified.
comments:
- 'Import: structural; the deck''s EarthResistivity.rho (ohm-m), which every geometry
line must agree on (geometry.earth_statement). Export: a geometry line''s WireConfiguration
EarthResistivity.rho (ohm-m), unset -> not written; a spacing line''s: get_network_earth.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:EarthResistivity.rho
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
geometry:
name: geometry
annotations:
order:
tag: order
value: 19
description: 'Geometry code for LineGeometry Object. Supercedes any previous definition
of line impedance. CAUTION: may alter number of phases.'
comments:
- 'Import: structural; ACLineSegment.WireConfiguration = wc_<geometry>. Export:
the (WireConfiguration, ySpacingOffset) LineGeometry name; a spacing line''s:
spacing_geometry_name of its owner.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:ACLineSegment.WireConfiguration
rank: 1000
owner: Line
domain_of:
- Line
range: string
required: false
units:
name: units
annotations:
order:
tag: order
value: 20
description: Length Units. Default is None - assumes length units match impedance
units.
comments:
- 'Import: mapped; the length unit (LENGTH_UNIT); unset: the template''s unit.
Export: m (B1); lumped: km (B6).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
- Linegeometry
- Linespacing
range: LengthUnit
required: false
spacing:
name: spacing
annotations:
order:
tag: order
value: 21
description: Reference to a LineSpacing for use in a line constants calculation.
Must be used in conjunction with the Wires property.
comments:
- 'Import: structural; with spacing=: a synthesized WireConfiguration ln_<name>_wc
on spc_<spacing>, conductors in order. Export: not written, positions are written
inline in the LineGeometry (B2).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:WireConfiguration.WireSpacing
rank: 1000
owner: Line
domain_of:
- Line
- Linegeometry
range: string
required: false
cncables:
name: cncables
annotations:
order:
tag: order
value: 22
description: Array of CNData names for use in a cable constants calculation. Must
be used in conjunction with the Spacing property.
comments:
- 'Import: structural; with spacing=: a synthesized WireConfiguration ln_<name>_wc
on spc_<spacing>, conductors in order. Export: not written, the LineGeometry
carries the conductors (B2).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:WireSequenceConfiguration.WireInfo
rank: 1000
owner: Line
domain_of:
- Line
- Linegeometry
range: string
required: false
multivalued: true
tscables:
name: tscables
annotations:
order:
tag: order
value: 23
description: Array of TSData names for use in a cable constants calculation. Must
be used in conjunction with the Spacing property.
comments:
- 'Import: structural; with spacing=: a synthesized WireConfiguration ln_<name>_wc
on spc_<spacing>, conductors in order. Export: not written, the LineGeometry
carries the conductors (B2).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:WireSequenceConfiguration.WireInfo
rank: 1000
owner: Line
domain_of:
- Line
- Linegeometry
range: string
required: false
multivalued: true
wires:
name: wires
annotations:
order:
tag: order
value: 24
description: Array of WireData names for use in an overhead line constants calculation.
Must be used in conjunction with the Spacing property.
comments:
- 'Import: structural; with spacing=: a synthesized WireConfiguration ln_<name>_wc
on spc_<spacing>, conductors in order. Export: not written, the LineGeometry
carries the conductors (B2).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
related_mappings:
- cim:WireSequenceConfiguration.WireInfo
rank: 1000
owner: Line
domain_of:
- Line
- Linegeometry
range: string
required: false
multivalued: true
EarthModel:
name: EarthModel
annotations:
order:
tag: order
value: 25
description: Earth model to use for impedance calculations. This is used to override
the global value for this line. Applies only when geometry property is used.
comments:
- 'Import: untranscribed; the earth model of the impedance calculation; the consumer''s
choice. Export: not written, the deck''s Set earthmodel carries it (options.py:
one model per deck).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
owner: Line
domain_of:
- Line
range: EarthModelType
required: false
B1:
name: B1
annotations:
order:
tag: order
value: 26
description: Alternate way to specify C1. MicroS per unit length.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: not written, C1/C0 carries the susceptance.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.bch
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
B0:
name: B0
annotations:
order:
tag: order
value: 27
description: Alternate way to specify C0. MicroS per unit length.
comments:
- 'Import: the line''s own PerLengthImpedance ln_<name>_lc (isTemplate=false)
in line.cimtbl, per-length values in the line''s units; untranscribed on a switch.
Export: not written, C1/C0 carries the susceptance.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthSequenceImpedance.b0ch
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
range: float
required: false
Seasons:
name: Seasons
annotations:
order:
tag: order
value: 28
description: Defines the number of ratings to be defined for the wire, to be used
only when defining seasonal ratings using the Ratings property.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one (an indexed rating array that names no calendar season; home OperationalLimitType.season).
Export: not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
owner: Line
domain_of:
- Line
- Transformer
- Storagecontroller
- Cndata
- Linecode
- Linegeometry
- Tsdata
- Wiredata
- Xfmrcode
range: integer
required: false
Ratings:
name: Ratings
annotations:
order:
tag: order
value: 29
description: An array of ratings to be used when the seasonal ratings flag is
True. Can be used to insert multiple ratings to change during a QSTS simulation.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one (with Seasons). Export: not written, not in CIM (untranscribed
or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
owner: Line
domain_of:
- Line
- Transformer
- Cndata
- Linecode
- Linegeometry
- Tsdata
- Wiredata
- Xfmrcode
range: float
required: false
multivalued: true
LineType:
name: LineType
annotations:
order:
tag: order
value: 30
description: Code designating the type of line. OpenDSS currently does not use
this internally. Default is OH.
todos:
- LineType → PSRType mapping not yet implemented. DSS LineTypeCode (OH, UG, etc.)
could be mapped to a PSRType classification on the ACLineSegment.
comments:
- 'Import: untranscribed; no home in the network profile parts. Export: not written,
not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
owner: Line
domain_of:
- Line
- Linecode
- Linegeometry
range: LineTypeCode
required: false
EpsRmedium:
name: EpsRmedium
annotations:
order:
tag: order
value: 31
dss_default:
tag: dss_default
value: float(1.0)
description: Relative Permittivity of the medium. Used by lines with a geometry
definition. Default is 1.0 for air.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one. Export: not written, not in CIM (untranscribed or raising on
import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
owner: Line
domain_of:
- Line
range: float
required: false
HeightOffset:
name: HeightOffset
annotations:
order:
tag: order
value: 32
dss_default:
tag: dss_default
value: float(0.0)
description: Average Height (or depth) offset to be applied on top of coordinates
of geometry or spacing. Use negative value for depth in underground lines. Default
is 0.0.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one. Export: not written, ySpacingOffset goes into the geometry''s
heights.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
owner: Line
domain_of:
- Line
range: float
required: false
HeightUnit:
name: HeightUnit
annotations:
order:
tag: order
value: 33
description: Height offset Units. If none is detected, meters is assumed.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one. Export: not written, ySpacingOffset goes into the geometry''s
heights.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
owner: Line
domain_of:
- Line
range: LengthUnit
required: false
conductors:
name: conductors
annotations:
order:
tag: order
value: 34
description: Array of conductor names for use in line constants calculation. Must
be used in conjunction with the Spacing property. Specify conductor type followed
by conductor name.
todos:
- Conductor converter not yet implemented. Names should resolve to WireInfo (OverheadWireInfo
or CableInfo) objects.
comments:
- 'Import: structural; raises when set: no deck in the sweep sets it, so a mapping
waits for one. Export: not written, not in CIM (untranscribed or raising on
import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
owner: Line
domain_of:
- Line
- Linegeometry
range: string
required: false
multivalued: true
normamps:
name: normamps
annotations:
order:
tag: order
value: 35
description: Normal rated current.
comments:
- 'Import: structural; instance OperationalLimitSet ln_<name>_limits (see Ratings);
on a switch untranscribed. Export: rule, get_current_limits normal (A); unset
-> not written, the engine copies the catalog''s.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:CurrentLimit.normalValue
owner: Line
domain_of:
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Cndata
- Linecode
- Linegeometry
- Tsdata
- Wiredata
- Fault
range: float
required: false
emergamps:
name: emergamps
annotations:
order:
tag: order
value: 36
description: Maximum or emerg current.
comments:
- 'Import: structural; instance OperationalLimitSet ln_<name>_limits (see Ratings);
on a switch untranscribed. Export: rule, get_current_limits emergency (A); unset
-> not written, as normamps.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:CurrentLimit.normalValue
owner: Line
domain_of:
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Cndata
- Linecode
- Linegeometry
- Tsdata
- Wiredata
- Fault
range: float
required: false
faultrate:
name: faultrate
annotations:
order:
tag: order
value: 37
dss_default:
tag: dss_default
value: float(0.1)
description: Failure rate PER UNIT LENGTH per year. Length must be same units
as LENGTH property. Default is 0.1 fault per unit length per year.
todos:
- Requires CIM extension to roundtrip (e.g. on FailureStatistic or AssetFailureInfo).
comments:
- 'Import: untranscribed; reliability data; no home in the network profile parts.
Export: not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
owner: Line
domain_of:
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Linecode
- Fault
range: float
required: false
pct_perm:
name: pct_perm
annotations:
order:
tag: order
value: 38
dss_name:
tag: dss_name
value: pctperm
dss_default:
tag: dss_default
value: float(20.0)
description: Percent of failures that become permanent. Default is 20.
todos:
- Requires CIM extension to roundtrip.
comments:
- 'Import: untranscribed; reliability data; no home in the network profile parts.
Export: not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
rank: 1000
owner: Line
domain_of:
- Line
- Transformer
range: float
required: false
repair:
name: repair
annotations:
order:
tag: order
value: 39
dss_default:
tag: dss_default
value: float(3.0)
description: Hours to repair. Default is 3 hr.
todos:
- Requires CIM extension to roundtrip.
comments:
- 'Import: untranscribed; reliability data; no home in the network profile parts.
Export: not written, not in CIM (untranscribed or raising on import).'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
owner: Line
domain_of:
- Autotrans
- Capacitor
- Gictransformer
- Line
- Reactor
- Transformer
- Linecode
- Fault
range: float
required: false
basefreq:
name: basefreq
annotations:
order:
tag: order
value: 40
description: Base Frequency for ratings.
comments:
- 'Import: structural; the line''s own impedance''s calculatedFrequency and the
frequency of its b; unset: the deck''s. Export: not written, Options.defaultbasefreq
is the deck''s.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
close_mappings:
- cim:PerLengthImpedance.calculatedFrequency
owner: Line
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: 41
dss_default:
tag: dss_default
value: 'true'
description: Indicates whether this element is enabled.
comments:
- 'Import: copied to ACLineSegment.normallyInService, Switch.normallyInService.
Export: get_in_service(which=''normal''); unset -> not written.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
exact_mappings:
- cim:Equipment.normallyInService
owner: Line
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: 42
description: 'Make like another object, e.g.: New Capacitor.C2 like=c1 ...'
comments:
- 'Import: untranscribed; the reader resolves like= before mapping. Export: not
written, the writer never writes like=.'
from_schema: https://gridappsd.github.io/dss-graph/pde/line
owner: Line
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:Line