Skip to content

add sv update for configured bus #484

Open
@jonenst

Description

@jonenst

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions