Class: Buscoords¶
The geographic or projected position of a single bus, as one row of a BusCoords / LatLongCoords CSV (BusName, c1, c2).
URI: dss:Buscoords
classDiagram
class Buscoords
click Buscoords href "../Buscoords/"
Buscoords : geographic
Buscoords : name
Buscoords : x
Buscoords : y
Class Properties¶
| Property | Value |
|---|---|
| Class URI | dss:Buscoords |
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| name | 1 String |
Bus name | direct |
| x | 0..1 Float |
Horizontal coordinate — easting for projected files, longitude for LatLongCoo... | direct |
| y | 0..1 Float |
Vertical coordinate — northing for projected files, latitude for LatLongCoord... | direct |
| geographic | 0..1 Boolean |
True when the row came from a LatLongCoords directive (x/y are longitude/... |
direct |
Comments¶
- Import: not a CIM class. Each bus coordinate sets the Location and PositionPoint of every equipment Terminal on that bus (buscoords.cimtbl, a bound_parts document); LatLongCoords picks the CoordinateSystem.
- Export: one row per bus from the equipment Locations (exporter/buscoords.py).
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://gridappsd.github.io/dss-graph/opendss
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | dss:Buscoords |
| native | dss:Buscoords |
| related | cim:Location, cim:CoordinateSystem |
| close | cim:PositionPoint |
LinkML Source¶
Direct¶
name: Buscoords
description: The geographic or projected position of a single bus, as one row of a
BusCoords / LatLongCoords CSV (``BusName, c1, c2``).
comments:
- 'Import: not a CIM class. Each bus coordinate sets the Location and PositionPoint
of every equipment Terminal on that bus (buscoords.cimtbl, a bound_parts document);
LatLongCoords picks the CoordinateSystem.'
- 'Export: one row per bus from the equipment Locations (exporter/buscoords.py).'
from_schema: https://gridappsd.github.io/dss-graph/opendss
close_mappings:
- cim:PositionPoint
related_mappings:
- cim:Location
- cim:CoordinateSystem
attributes:
name:
name: name
description: Bus name. Matched case-insensitively against ConnectivityNode names.
comments:
- 'Import: structural; picks the bus: every Terminal on it takes its coordinates.
Export: the bus (Names.bus) of each Terminal of located equipment.'
from_schema: https://gridappsd.github.io/dss-graph/general/buscoords
related_mappings:
- cim:Terminal.ConnectivityNode
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
x:
name: x
annotations:
order:
tag: order
value: 1
description: Horizontal coordinate — easting for projected files, longitude for
LatLongCoords files.
comments:
- 'Import: derived; geometry: a line''s LINESTRING vertex at each Terminal bus,
verbatim. Export: the Terminal''s PositionPoint xPosition (get_location_coordinates);
a bus only a device point touches is solved from it as the centroid of the device''s
buses.'
from_schema: https://gridappsd.github.io/dss-graph/general/buscoords
close_mappings:
- cim:PositionPoint.xPosition
rank: 1000
domain_of:
- Buscoords
- Linegeometry
- Linespacing
- Xycurve
range: float
required: false
y:
name: y
annotations:
order:
tag: order
value: 2
description: Vertical coordinate — northing for projected files, latitude for
LatLongCoords files.
comments:
- 'Import: derived; as x. Export: as x, from yPosition.'
from_schema: https://gridappsd.github.io/dss-graph/general/buscoords
close_mappings:
- cim:PositionPoint.yPosition
rank: 1000
domain_of:
- Buscoords
- Xycurve
range: float
required: false
geographic:
name: geographic
annotations:
order:
tag: order
value: 3
description: True when the row came from a ``LatLongCoords`` directive (x/y are
longitude/latitude degrees) rather than a projected ``BusCoords`` file.
comments:
- 'Import: mapped; the directive (LatLongCoords -> true) picks the CoordinateSystem:
COORDINATE_SYSTEMS. Export: crsUrn CRS84 -> true (LatLongCoords), OpenDSSLocalBusCoordinates
-> false; others raise.'
from_schema: https://gridappsd.github.io/dss-graph/general/buscoords
close_mappings:
- cim:CoordinateSystem.crsUrn
rank: 1000
domain_of:
- Buscoords
range: boolean
required: false
class_uri: dss:Buscoords
Induced¶
name: Buscoords
description: The geographic or projected position of a single bus, as one row of a
BusCoords / LatLongCoords CSV (``BusName, c1, c2``).
comments:
- 'Import: not a CIM class. Each bus coordinate sets the Location and PositionPoint
of every equipment Terminal on that bus (buscoords.cimtbl, a bound_parts document);
LatLongCoords picks the CoordinateSystem.'
- 'Export: one row per bus from the equipment Locations (exporter/buscoords.py).'
from_schema: https://gridappsd.github.io/dss-graph/opendss
close_mappings:
- cim:PositionPoint
related_mappings:
- cim:Location
- cim:CoordinateSystem
attributes:
name:
name: name
description: Bus name. Matched case-insensitively against ConnectivityNode names.
comments:
- 'Import: structural; picks the bus: every Terminal on it takes its coordinates.
Export: the bus (Names.bus) of each Terminal of located equipment.'
from_schema: https://gridappsd.github.io/dss-graph/general/buscoords
related_mappings:
- cim:Terminal.ConnectivityNode
identifier: true
owner: Buscoords
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
x:
name: x
annotations:
order:
tag: order
value: 1
description: Horizontal coordinate — easting for projected files, longitude for
LatLongCoords files.
comments:
- 'Import: derived; geometry: a line''s LINESTRING vertex at each Terminal bus,
verbatim. Export: the Terminal''s PositionPoint xPosition (get_location_coordinates);
a bus only a device point touches is solved from it as the centroid of the device''s
buses.'
from_schema: https://gridappsd.github.io/dss-graph/general/buscoords
close_mappings:
- cim:PositionPoint.xPosition
rank: 1000
owner: Buscoords
domain_of:
- Buscoords
- Linegeometry
- Linespacing
- Xycurve
range: float
required: false
y:
name: y
annotations:
order:
tag: order
value: 2
description: Vertical coordinate — northing for projected files, latitude for
LatLongCoords files.
comments:
- 'Import: derived; as x. Export: as x, from yPosition.'
from_schema: https://gridappsd.github.io/dss-graph/general/buscoords
close_mappings:
- cim:PositionPoint.yPosition
rank: 1000
owner: Buscoords
domain_of:
- Buscoords
- Xycurve
range: float
required: false
geographic:
name: geographic
annotations:
order:
tag: order
value: 3
description: True when the row came from a ``LatLongCoords`` directive (x/y are
longitude/latitude degrees) rather than a projected ``BusCoords`` file.
comments:
- 'Import: mapped; the directive (LatLongCoords -> true) picks the CoordinateSystem:
COORDINATE_SYSTEMS. Export: crsUrn CRS84 -> true (LatLongCoords), OpenDSSLocalBusCoordinates
-> false; others raise.'
from_schema: https://gridappsd.github.io/dss-graph/general/buscoords
close_mappings:
- cim:CoordinateSystem.crsUrn
rank: 1000
owner: Buscoords
domain_of:
- Buscoords
range: boolean
required: false
class_uri: dss:Buscoords