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

dynamic biosphere builder adds dynamic_biomatrix entries multiple times if time-mapped producer is multiple times in the timeline #78

Open
muelleram opened this issue Aug 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@muelleram
Copy link
Collaborator

image
it would the same entries twice with DynamicBiosphereBuilder.add_matrix_entry_for_biosphere_flows() twice and dynamic_biomatrix = sp.coo_matrix((self.values, (self.rows, self.cols)), shape) would add up the amounts for these row-col pairs:
image

This is not a problem as soon as the time-mapped producer is occurring at a different time, because it gets it's own column then.

@muelleram muelleram added the bug Something isn't working label Aug 1, 2024
muelleram added a commit that referenced this issue Aug 1, 2024
muelleram added a commit that referenced this issue Aug 2, 2024
@muelleram
Copy link
Collaborator Author

#67 not quite the same but related issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant