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

Sensitivity analysis: manage contingency on HVDC line #264

Merged
merged 3 commits into from
Apr 8, 2021
Merged

Conversation

Djazouli
Copy link
Contributor

@Djazouli Djazouli commented Apr 6, 2021

Signed-off-by: Gael Macherel [email protected]

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
  • 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 ? If so, link to this issue using '#XXX' and skip the rest

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

What is the current behavior? (You can also link to an open issue here)

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

Does this PR introduce a breaking change or deprecate an API? If yes, check the following:

  • The Breaking Change or Deprecated label has been added
  • The migration guide has been updated in the github wiki (What changes might users need to make in their application due to this PR?)

Other information:

(if any of the questions/checkboxes don't apply, please delete them entirely)

Base automatically changed from V_sensitivity to master April 8, 2021 09:10
Signed-off-by: Gael Macherel <[email protected]>
double pCs = (isConverterStationRectifier ? 1 : -1) * line.getActivePowerSetpoint() *
(1 + (isConverterStationRectifier ? 1 : -1) * lcc.getLossFactor() / 100); // A LCC station has active losses.
double qCs = Math.abs(pCs * Math.tan(Math.acos(lcc.getPowerFactor()))); // A LCC station always consumes reactive power.
bus.setLoadTargetP(bus.getLoadTargetP() - pCs / PerUnit.SB);
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure that it works if you have a load or a shunt in the same connexion bus than your LCC converter station?

Copy link
Member

Choose a reason for hiding this comment

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

Okay I get it... mmmmm... could you add a FIXME for me later if we keep this like that?

annetill added 2 commits April 8, 2021 12:39
Signed-off-by: Anne Tilloy <[email protected]>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 8, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

96.5% 96.5% Coverage
0.3% 0.3% Duplication

@annetill annetill changed the title Manage contingencies on HVDC Sensitivity analysis: manage contingency on HVDC line Apr 8, 2021
@annetill annetill merged commit 1ed99e8 into master Apr 8, 2021
@annetill annetill deleted the hvdc_from_v branch April 8, 2021 15:59
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.

2 participants