Skip to content

Commit

Permalink
Use name of winding as name of the branch corresponding to the winding
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkleiven committed May 21, 2024
1 parent db56cdb commit 28b7782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cimsparql/sparql/transformer_branches.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ where {
service ?eq_repo {
# Use mrid of transformer as dummy node
?p_transformer cim:IdentifiedObject.mRID ?node_2;
cim:Equipment.EquipmentContainer ?Substation;
cim:IdentifiedObject.name ?name .
cim:Equipment.EquipmentContainer ?Substation .
?Substation cim:Substation.Region/cim:SubGeographicalRegion.Region/cim:IdentifiedObject.name ?area .
filter(regex(?area, '${region}'))

# Extract properties for the windings associated with p_transformer
?winding cim:TransformerEnd.Terminal ?terminal;
cim:IdentifiedObject.mRID ?mrid;
cim:IdentifiedObject.name ?name;
cim:PowerTransformerEnd.PowerTransformer ?p_transformer;
cim:PowerTransformerEnd.ratedU ?ubase;
cim:PowerTransformerEnd.r ?r;
Expand Down

0 comments on commit 28b7782

Please sign in to comment.