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

25 ibg #3012

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

25 ibg #3012

wants to merge 5 commits into from

Conversation

FredericSabot
Copy link
Contributor

closes #3011

Checklist before requesting a review

use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes

  • unit tests and non-regression tests were added (new model, new feature and bug fix)
  • main documentation was updated (update of input/output file, 3rd party, model, repository organization, solver)
  • example documentations were updated (new example in examples folder)
  • the corresponding milestone was added in the ticket and in this PR
  • if this PR modifies the parameters or inputs/outputs of a model/solver: the corresponding xsl was added in util/xsl and platform DB were updated
  • if this PR modifies a dictionary: the corresponding french dictionary was updated

@FredericSabot
Copy link
Contributor Author

Hello, I am currently implementing the WECC der_a model and I plan to add it to this PR since it has a few common building blocks. I am quite busy at the moment but should normally be able to update the PR and account for the comments early February.

@FredericSabot
Copy link
Contributor Author

Added the der_a model and updated PR following comments

@FredericSabot
Copy link
Contributor Author

In the current implementation, the solver (either IDA or SIM) will sometimes fail with

The following assertion has been violated %sat time %f
ibg.currentLimitsCalculation1.iqMaxPu >= ibg.currentLimitsCalculation1.iqMinPu 1.284

This is strange because the current limitation model is the same as in for WECC PV plants (WECC.BaseControls.CurrentLimitsCalculationPV). This occurs when iP increases leading to iQmax and iQmin=-iQmax "cross" at 0 due to extrapolation.

@rosiereflo : I haven't tested this extensively, but in the attached test case, removing the noEvent in the equation below solves the issue.

iqMaxPu = noEvent(if (abs(IMaxPu) > abs(ipLimPu)) then sqrt(IMaxPu ^ 2 - ipLimPu ^ 2) else 0);
iqMinPu = - iqMaxPu;

TestCase.zip

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.

Add models of distributed IBGs
2 participants