-
Notifications
You must be signed in to change notification settings - Fork 47
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
Dimension mismatch between technosphere and biosphere when exporting matrices #178
Comments
Hi @Michael-ljn, can you paste here the script used? I'll try to re-run it on my end. |
Hi @romainsacchi, I have been looking into it but don't have time to propose a fix. The issue comes from the update() method and in particular with one of these updates:
|
Can you provide an exact case/script that leads to the error? |
Hi @romainsacchi, Apologies, I mixed up the scenarios, the dimensions because I was trying to locate where the issue, is coming from. The dimensions I provided are for one of the SSP-pkbudg500, I can't find the exact one. But the issue happens in all scenarios and models, actually. First I start with a fresh environment, installing brightway (mac ARM install process) and all dependencies and then
The opening the produced csv files for A and B can clearly show the mismatch. now running the following
Everything is good. Lastly, when running:
The mismatch happens again. It's a process of elimination, a bit long, but I guess you might know which one of the updates might be causing that. |
Maybe let's look at the script you use to load the matrices. What shape do you get when running this?
|
@Michael-ljn have you tried the above example? |
Hi @romainsacchi, I tried on my Macbook and I get the same mismatch as in the screenshots above. I have tried on a different windows laptop and I got the right dimensions. I guess it is related to my macbook. I haven't had the chance to look further into but in will in 2 weeks from now. |
Hi @romainsacchi,
When exporting matrices with the Remind model SSP2-pkbudg500, there is a dimension mismatch. There are more activities in the A matrix than the B matrix. I tried to look for the source of the issue, but I can hardly trace it back. I just updated to the last version, 2.1.3.
A: (28475, 28475)
B: (4709, 28462)
The text was updated successfully, but these errors were encountered: