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

Fix #78 #79

Merged
Merged

Conversation

VEZY
Copy link
Member

@VEZY VEZY commented Jul 18, 2024

This PR fixes the issue of having a variable (e.g. reserve_organs) that is flagged as PreviousTimeStep in a model (e.g. OrgansCarbonAllocationModel) and used at the current time-step in another model at the same scale (e.g. OrganReserveFilling).

It fixes #78.

See the new tests in XPalm added after this fix for more details on the case the bug happened before: PalmStudio/XPalm.jl#6

@VEZY VEZY merged commit 12e2e0f into main Jul 18, 2024
7 checks passed
@VEZY VEZY deleted the fix-issue-with-same-variable-tagged-differently-in-two-models branch July 18, 2024 14:33
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.

Multiple variables with shared name
1 participant