Skip to content

Commit

Permalink
BUG: Station group was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkleiven committed Jun 11, 2024
1 parent 94841fd commit 7de7ed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cimsparql/sparql/synchronous_machines.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ where {
# TODO: Seems like cim15 uses SynchronousMachine while cim16 uses RotatingMachine. Will fix this when we have a proper cim16 model
optional{
values ?gen_type {cim:NuclearGeneratingUnit cim:MktGeneratingUnit cim:HydroGeneratingUnit cim:WindGeneratingUnit cim:ThermalGeneratingUnit cim:SolarGeneratingUnit}
?machine cim:SynchronousMachine.GeneratingUnit|cim:RotatingMachine.GeneratingUnit ?nullable_gen_unit;
a ?gen_type
?machine cim:SynchronousMachine.GeneratingUnit|cim:RotatingMachine.GeneratingUnit ?nullable_gen_unit .
?nullable_gen_unit a ?gen_type
}
bind(coalesce(?nullable_gen_unit, URI("http://no-gen-unit")) as ?gen_unit)

Expand Down

0 comments on commit 7de7ed3

Please sign in to comment.