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

Update distributed API and apps to use cim-graph 1.0 #1753

Open
6 of 8 tasks
poorva1209 opened this issue Nov 20, 2023 · 0 comments
Open
6 of 8 tasks

Update distributed API and apps to use cim-graph 1.0 #1753

poorva1209 opened this issue Nov 20, 2023 · 0 comments
Assignees

Comments

@poorva1209
Copy link
Contributor

poorva1209 commented Nov 20, 2023

  • Update ConnectionParameter
    from cimgraph.databases import ConnectionParameters
    params = ConnectionParameters(host = "localhost", port = "61613", cim_profile='rc4_2021', iec61970_301=7)
    gapps = GridappsdConnection(params)

  • Use FeederModel instead of DistributionModel
    from cimgraph.models import FeederModel
    feeder = cim.Feeder(mRID = feeder_mrid)
    network = FeederModel(connection=gapps, container=feeder, distributed=False)

  • Update switch areas
    switch_areas = network.distributed_areas

  • Update secondary areas
    secondary_areas = switch_areas.distributed_areas

  • Change typed_catalog function call to graph in dist sample app sample_queries.py

  • Change get_all_attributed to get_all_edges in dist sample app sample_queries.py

After above changes are done in distributed API :

  • Update Ybus to use updated distributed API and cim-graph

  • Update DEC app to use updated distributed API and cim-graph

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

4 participants