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

Change the incomplete last period's weight to 1 #24

Merged

Conversation

greg-neustroev
Copy link
Collaborator

If the last period is incomplete and it has a dedicated representative, this representative's weight should be 1. In the old version it was last_period_duration/period_duration, but this is not necessary, because of how it is actually incorporated into TulipaEnergyModel.jl

Copy link
Member

@datejada datejada left a comment

Choose a reason for hiding this comment

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

LFTM

@datejada datejada merged commit d330b15 into TulipaEnergy:main Dec 6, 2023
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.

Ensure that an incomplete period's weight is consistent with the other periods' weights
2 participants