Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cim query for energy consumers cannot access voltage #9

Open
Tylores opened this issue Apr 27, 2023 · 0 comments
Open

cim query for energy consumers cannot access voltage #9

Tylores opened this issue Apr 27, 2023 · 0 comments
Assignees

Comments

@Tylores
Copy link
Collaborator

Tylores commented Apr 27, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants