Open geofjamg opened 2 years ago
@annetill after thinking again and prototyping the proposed solution (not working...) I am wondering if the real and clean solution is to move controller from LfBus to LfGenerator. So the VoltageControl class will reference LFGenerators as controllers. voltageControlEnabled will move to LfGenerator too. It will kind of complexify some part of the code but it will be probably cleaner as controller are LfGenerator and not LfBus (On LfBus it is an aggregated view). And this is exactly what we did for ShuntVoltageControl where controllers are LfShunt and not LfBus.
Can I close this issue?
Do you want to request a feature or report a bug? Feature
What is the current behavior? If we have several generators connected to same bus but controlling voltage of different buses we have the following exception:
What is the expected behavior? We can support this case by just adaping the LF network creation (so without any change in the equations) by just creating
FakeLfBus
in addition to realLfBus
for other generators connected to the bus and by linkingFakeLfBus
to realLfBus
with aFakeLfSwitch
. Fake or fictitious in that case means there is no equivalent object in IIDM.What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)
(if a question doesn't apply, you can delete it)