Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sv update for configured bus #484

Open
jonenst opened this issue Dec 4, 2024 · 0 comments
Open

add sv update for configured bus #484

jonenst opened this issue Dec 4, 2024 · 0 comments

Comments

@jonenst
Copy link
Collaborator

jonenst commented Dec 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant