Describe the current behavior
configured bus are always sent in full (P0, Q0, V, ANGLE) even if only setV or setAngle was done on them
Describe the expected behavior
only V and ANGLE are sent
Describe the motivation
symmetry with all other equipments when running a loadflow
Extra Information
network-store-model/src/main/java/com/powsybl/network/store/model/ConfiguredBusAttributes.java
//TODO for symmetry, we should add here for V and Angle only
//it only saves p0 and q0 for configuredbusattributes but is more logical
@Override
public Attributes filter(AttributeFilter filter) {
return new ConfiguredBusSvAttributes(v, angle);
}
and add updateResource(xx, AttributeFilter.SV) to configuredBus (and also the duplicated code in calculatedBus)
see powsybl/powsybl-network-store-server#86
Describe the current behavior
configured bus are always sent in full (P0, Q0, V, ANGLE) even if only setV or setAngle was done on them
Describe the expected behavior
only V and ANGLE are sent
Describe the motivation
symmetry with all other equipments when running a loadflow
Extra Information
network-store-model/src/main/java/com/powsybl/network/store/model/ConfiguredBusAttributes.java
and add updateResource(xx, AttributeFilter.SV) to configuredBus (and also the duplicated code in calculatedBus)
see powsybl/powsybl-network-store-server#86