Skip to content

cim query for energy consumers cannot access voltage #9

@Tylores

Description

@Tylores

Describe the bug
The distributed agents area query for EnergyConsumers and ACLineSegments do not populate BaseVoltage value. Currently, the voltages are assumed to be 2400 for all buses.

To Reproduce
Steps to reproduce the behavior:
Running the distributed sample application with the original sample queries will demonstrate this behavior.

    line_ids = list(network_area.typed_catalog[cim.ACLineSegment].keys())

    for line_id in line_ids:
        line = network_area.typed_catalog[cim.ACLineSegment][line_id]
        print(line.name, line.BaseVoltage.nominalVoltage)
    for load in network_area.typed_catalog[cim.EnergyConsumer].values():
        node = load.Terminals[0].ConnectivityNode
        print(node.name, load.BaseVoltage.nominalVoltage)

Output Sample
lines:
l41 None
l114 None
l35 None
l44 None

energy consumers:
37 None
35 None
39 None
38 None

Operating System (please complete the following information):

  • OS: Ubuntu 20.04 running from WSL2.0
  • gridappsd-python -latest

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions