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

[WIP] Add JSON file content to ContingencyContainer #959

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

Conversation

nao1345678
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)

What kind of change does this PR introduce?

It allows the user to add new contingencies via a JSON file rather than by filling the parameters by hand.

Does this PR introduce a new Powsybl Action implying to be implemented in simulators or pypowsybl?

  • Yes, the corresponding issue is here
  • No

What is the current behavior?

To add a contingency, you have to fill two parameters of the addContingency function, with the contingency ID and the elements IDs.

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

  • Yes
  • No

@nao1345678 nao1345678 self-assigned this Feb 26, 2025
Copy link

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

Successfully merging this pull request may close these issues.

1 participant