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

[ShortCircuit] Add CONFIGURED initial voltage profile and voltage ranges #759

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

EtienneLt
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

@EtienneLt EtienneLt changed the title add new shortCircuit parameter [WIP] add new shortCircuit parameter Jun 5, 2024
@EtienneLt EtienneLt force-pushed the add-new-shortcircuit-parameter branch from 2dec5a4 to 950fc05 Compare June 5, 2024 13:19
@EtienneLt EtienneLt changed the title [WIP] add new shortCircuit parameter add new shortCircuit parameter Jun 5, 2024
@EtienneLt EtienneLt requested a review from colinepiloquet June 5, 2024 13:22
@EtienneLt EtienneLt self-assigned this Jun 5, 2024
@EtienneLt EtienneLt requested a review from HugoKulesza June 5, 2024 13:22
.value("CONFIGURED", pypowsybl::InitialVoltageProfileMode::CONFIGURED,
"Voltage profile given by the user.")
.value("PREVIOUS_VALUE", pypowsybl::InitialVoltageProfileMode::PREVIOUS_VALUE,
"Voltage profile from the loadflow.");
Copy link
Contributor Author

@EtienneLt EtienneLt Jun 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@colinepiloquet I just copied what is in powsybl-core

@EtienneLt EtienneLt force-pushed the add-new-shortcircuit-parameter branch from 950fc05 to 5506b0e Compare June 7, 2024 08:28
@colinepiloquet
Copy link
Member

Voltage ranges must also be added, for configured initial voltage map

@EtienneLt
Copy link
Contributor Author

EtienneLt commented Jun 11, 2024

Voltage ranges must also be added, for configured initial voltage map

It's a parameter in powsybl-core ?

@colinepiloquet
Copy link
Member

Voltage ranges must also be added, for configured initial voltage map

It's a parameter in powsybl-core ?

Yes, also in the short-circuit API I can also try to do it if you want.

@EtienneLt EtienneLt force-pushed the add-new-shortcircuit-parameter branch 2 times, most recently from 7477387 to 921e46b Compare June 20, 2024 06:46
@EtienneLt EtienneLt force-pushed the add-new-shortcircuit-parameter branch 2 times, most recently from c56f59a to 09de88c Compare June 25, 2024 14:32
@EtienneLt EtienneLt added help wanted Extra attention is needed and removed status: ready-for-review labels Jun 25, 2024
@annetill annetill requested a review from obrix July 5, 2024 12:48
typedef struct voltage_range_struct {
double minimum_nominal_voltage;
double maximum_nominal_voltage;
double voltage;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually these parameters are not compulsory: either voltage or range coefficient should be given for each [mininum_nominal_voltage, maximum_nominal_voltage].

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in c/cpp double can be null ?

EtienneLt and others added 6 commits August 5, 2024 11:49
Signed-off-by: Etienne LESOT <[email protected]>
Signed-off-by: Tiphaine Mouminous <[email protected]>
Signed-off-by: Tiphaine Mouminous <[email protected]>
Signed-off-by: Tiphaine Mouminous <[email protected]>
@colinepiloquet colinepiloquet force-pushed the add-new-shortcircuit-parameter branch from efc733f to 2a856a0 Compare August 5, 2024 09:59
@colinepiloquet colinepiloquet changed the title add new shortCircuit parameter [ShortCircuit] Add CONFIGURED initial voltage profile and voltage ranges Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants