Closed jeandemanged closed 8 months ago
I think it will be clearer if we make a specific separate query for synchronous machines than can only be "condensers". For the rest of types (generator, motor and its combinations) we should always have an associated generating unit.
Describe the current behavior
cim:SynchronousMachine-s with type
SynchronousMachineKind.condenser
are not imported in iIDMDescribe the expected behavior
Synchronous condensers should be imported in iIDM
Describe the steps
SynchronousMachineKind.condenser
. As per QoCDC ruleSynchronousCondenser
(line 2626), the SynchronousMachine should not have any cim:GeneratingUnit associated.Environment
powsybl-core:5.2.1
Relevant Log Output
No response
Extra Information
It seems that the SPARQL query for synchronous machines assumes that a GeneratingUnit is always present for SynchronousMachines, but this isn't true for condensers - hence query is missing the condensers.
cim:RotatingMachine.GeneratingUnit
should be considered optional in query, or another dedicated query should be made for condensers.