Open poorva1209 opened 10 months ago
[x] Use FeederModel instead of DistributionModel from cimgraph.models import FeederModel feeder = cim.Feeder(mRID = feeder_mrid) network = FeederModel(connection=gapps, container=feeder, distributed=False)
[x] Update switch areas switch_areas = network.distributed_areas
[x] Update secondary areas secondary_areas = switch_areas.distributed_areas
[x] Change typed_catalog function call to graph in dist sample app sample_queries.py
[x] 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
from cimgraph.databases import ConnectionParameters params = ConnectionParameters(host = "localhost", port = "61613", cim_profile='rc4_2021', iec61970_301=7) gapps = GridappsdConnection(params)
[x] Use FeederModel instead of DistributionModel from cimgraph.models import FeederModel feeder = cim.Feeder(mRID = feeder_mrid) network = FeederModel(connection=gapps, container=feeder, distributed=False)
[x] Update switch areas
switch_areas = network.distributed_areas
[x] Update secondary areas secondary_areas = switch_areas.distributed_areas
[x] Change typed_catalog function call to graph in dist sample app sample_queries.py
[x] 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