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

Reactive power costs & generator capability curves #613

Closed
KSepetanc opened this issue Oct 12, 2019 · 4 comments
Closed

Reactive power costs & generator capability curves #613

KSepetanc opened this issue Oct 12, 2019 · 4 comments

Comments

@KSepetanc
Copy link
Contributor

Proposition to implement one or both Matpower generator features:

  • Reactive power costs
  • Generator capability curves
@ccoffrin
Copy link
Member

Generator capability curves are surely a feature that I would like to see in PowerModels, and it would be fairly easy to incorporate Matpower's model for this into PowerModels. A PR would be welcome on this and I can provide some high level instructions for how to implement it.

Reactive power costs is a more delicate point. First, addition of Matpower's version of this feature will require significant code updates, in the matpwer parser and objective function building. Data validation is also an issue. For example, reactive power costs only make sense to me for very specific functions (e.g. qg^2 or abs(qg)). In contrast to active power cost functions, I think it is much easier to make nonsensical test cases when applying generic cost functions to reactive power. For these reasons I think it would be better to handle reactive power costs in PowerModels via a matpower data extension (see https://lanl-ansi.github.io/PowerModels.jl/stable/network-data/#Working-with-Matpower-Data-Files-1) that targets a specific kind of reactive cost model, followed by a custom objective function that leverages this extended dataset. Does that make sense?

@KSepetanc
Copy link
Contributor Author

KSepetanc commented Oct 12, 2019

Thank you for suggestion. I didn't know I could change Matpower input file and load that easily in the PowerModels. It is good solution in short-medium term that is also applicable on capability curves.

I can try to implement capability curves. However, I haven't coded jet much in Julia besides custom OPF models and PowerModels data output script to Excel (for GAMS).

@ccoffrin
Copy link
Member

If you have a working solution in the near term I would suggest just waiting for a few months. Most likely we will have some support for capability curves soon.

You might also find these Julia scripts useful for quickly testing some variants of OPF problems,

https://github.com/lanl-ansi/PowerModelsAnnex.jl/tree/master/src/model

@ccoffrin
Copy link
Member

Closing in favor of #614.

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

No branches or pull requests

2 participants