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

Cleaning up TNEP line on/off constraints #67

Open
ccoffrin opened this issue Jan 23, 2017 · 3 comments
Open

Cleaning up TNEP line on/off constraints #67

ccoffrin opened this issue Jan 23, 2017 · 3 comments

Comments

@ccoffrin
Copy link
Member

In light of recent changes can constraint_complex_voltage_ne{T <: AbstractWRForm} be made cleaner? Like constraint_complex_voltage_on_off{T <: AbstractWRForm}?

@rb004f
Copy link
Collaborator

rb004f commented Jan 23, 2017

From a mathematical perspective, these constraints are identical (different on/off variables). So, should be possible.

@ccoffrin
Copy link
Member Author

I see the issue. The functions used in constraint_complex_voltage_on_off, implicitly call the standard versions of the variables, while constraint_complex_voltage_ne needs the "_ne" versions. Will think about how to unify these.

@rb004f
Copy link
Collaborator

rb004f commented Jan 30, 2017

And we can't directly use the "standard" versions of the variables, because that would preclude us from creating a model with both line switching and expansion planning.

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