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

XIIDM writer writes generator's regulating terminal each time the connectable linked to this is not the generator in order not to lose info #1081

Merged
merged 2 commits into from
Dec 16, 2019

Conversation

miovd
Copy link
Contributor

@miovd miovd commented Dec 12, 2019

Signed-off-by: RALAMBOTIANA MIORA miora.ralambotiana@rte-france.com

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

  • The commit message follows our guidelines

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix

What is the current behavior? (You can also link to an open issue here)
A generator's regulating terminal is written in a XIIDM file only if its busBreakerView bus is different to the generator's busBreakerView bus. Hence, if the regulating terminal is different to the generator's terminal but in the same busBreakerView bus, the information is lost in a round trip.

What is the new behavior (if this is a feature change)?
A generator's regulating terminal is written in a XIIDM file if the connectable linked to this regulating terminal is not the generator itself. This way, the information is not lost in a round trip, no matter the topology.

@miovd miovd requested a review from mathbagu December 12, 2019 16:10
@miovd miovd changed the title XIIDM writer writes regulating terminal each time the connectable linked to this is not the generator in order not to lose info XIIDM writer writes generator's regulating terminal each time the connectable linked to this is not the generator in order not to lose info Dec 12, 2019
…ked to this is not the generator in order not to lose info

Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
@miovd miovd force-pushed the bugfix_reg_terminal_generator branch from 6c3f92a to 661bce4 Compare December 16, 2019 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants