-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Describe the current behavior
Many IIDM objects are able to regulate voltage, either directly or through the control of reactive power. However, the modeling of the voltage regulation varies greatly from one class to another.
Describe the expected behavior
The voltage regulation modeling should be homogeneous for all objects capable of such regulation:
BatteryGeneratorRatioTapChangerShuntCompensatorStaticVarCompensatorVscConverterStationVoltageSourceConverter
These voltage control capable classes should refer a new object of type (to be created): VoltageRegulation with the following attributes:
double targetValuedouble targetDeadbanddouble slopeTerminal terminalRegulationMode modeboolean regulating
Notes:
- Unlike in CGMES, the
VoltageRegulationobject isn't shared: each IIDM object capable of voltage regulation shall have its own. - The
terminalcorresponds to the old regulatingTerminal attribute, the reason for the renaming is that the word regulation is already bear by the class nameVoltageRegulation. RegulationModeis an enum describing the kinds of regulation. It has the following values:VOLTAGEREACTIVE_POWERVOLTAGE_PER_REACTIVE_POWERREACTIVE_POWER_PER_ACTIVE_POWER
- The
slopeattribute is relevant for:VOLTAGE_PER_REACTIVE_POWER: it corresponds to the lambda in U0 = U + lambda*QREACTIVE_POWER_PER_ACTIVE_POWER: it corresponds to the tan(phi) in Q = tan(phi)*P
- The
targetDeadbandis only pertinent for objects with discrete (as opposed to continuous) voltage regulation, which is the case forRatioTapChangerandShuntCompensator. terminalis optional. If not set, the local terminal of the connectable should be used.targetValue,modeandregulatingare always required.
Controls must be performed in adders, setters and in the global network validation (method validate of ValidationUtil class) to ensure that:
- The regulation mode is authorized for this class:
| IIDM Class | V | Q | V/Q | Q/P |
|---|---|---|---|---|
| Battery | X | X | ||
| Generator | X | X | X | |
| RatioTapChanger | X | X | ||
| ShuntCompensator | X | |||
| StaticVarCompensator | X | X | X | |
| VscConverterStation | X | X | ||
| VoltageSourceConverter | X | X |
slopeattribute is defined when the regulation mode isVOLTAGE_PER_REACTIVE_POWERorREACTIVE_POWER_PER_ACTIVE_POWER.targetDeadbandis defined forRatioTapChangerandShuntCompensator.- In the case of reactive power regulation, the regulated terminal should be the terminal of a branch or 3-winding transformer leg.
To minimize the breaking changes:
- In the IIDM objects interfaces, the legacy methods (get/setRegulatingTerminal, get/setTargetV...) should be kept but marked deprecated.
- In the IIDM objects implementations, the legacy methods should call the ones of
VoltageRegulation. For instance,GeneratorImpl.getRegulatingTerminal()should callGeneratorImpl.getVoltageRegulation().getTerminal().
Describe the motivation
- All objects capable of regulating voltage have a similar way to describe this regulation.
Extra Information
Here are the elements that will be part of this refactoring:
- The interfaces and implementations of voltage regulation capable connectables
VoltageRegulationextension ofBatteryRemoteReactivePowerControlextension ofGeneratorVoltagePerReactivePowerControlextension ofStaticVarCompensator
Here are the elements that won't be part of this refactoring:
CoordinatedReactiveControlextension ofGeneratorthat is too specific (only applies for Generator)- Other regulation types than voltage/reactive power. For instance, active power regulation of Generator, phase tap changer regulation, dc voltage or active power regulation of voltage source converters.
- A
targetQshould remain on injections. It is used to represent the reactive power injection in case the voltage regulation is deactivated, or as starting value for a dynamic simulator. - A
targetVshould remain onGeneratorand onBatteryas local back-up value in case the simulator deems the one inVoltageRegulationinappropriate. This local backuptargetVmust be set together and in accordance with the one inVoltageRegulation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
Issues in progress