Skip to content

[FEATURE] Support feature-specific output properties without overhead #1503

Description

@frie-soptim

Describe the feature request

New features often require additional output properties. However, unconditionally adding these to output structs imposes overhead (memory, serialization) on users who don't use the feature.

Example: The Newton-Raphson powerflow solver could expose a bus_type (PQ/PV/Slack) in NodeOutput to help understand solver behavior, especially during Q-limit violations (see #185, #1236).

The goal is to find a way to support feature-specific outputs that:

  • Has litte or zero overhead when not used
  • Keeps the API simple and type-safe
  • Avoids breaking changes

Community Meeting

  • I wish to discuss this feature in the bi-monthly PGM community meeting. Please join the PGM community meeting.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions