Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Yao <ruiyao@ieee.org>
  • Loading branch information
rygx committed Nov 18, 2024
1 parent 6dd9ad6 commit b7402ac
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cgmes/cgmes-model/src/main/resources/CIM100.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,14 @@ WHERE {
cim:RotatingMachine.GeneratingUnit ?GeneratingUnit .
# Some test cases of condensers have a (wrong) association with a generating unit,
# So we explicitly check for the type of the synchronous machine
FILTER (!REGEX(STR(?type), "Kind.condenser"))
VALUES ?type {
cim:SynchronousMachineKind.generator
cim:SynchronousMachineKind.generatorOrCondenser
cim:SynchronousMachineKind.motor
cim:SynchronousMachineKind.generatorOrMotor
cim:SynchronousMachineKind.motorOrCondenser
cim:SynchronousMachineKind.generatorOrMotorOrCondenser
}
OPTIONAL {
?SynchronousMachine cim:RotatingMachine.ratedS ?ratedS
}
Expand Down

0 comments on commit b7402ac

Please sign in to comment.