Romain Sacchi
Romain Sacchi
Hi @Michael-ljn, can you paste here the script used? I'll try to re-run it on my end.
When running: ```` ndb= NewDatabase( scenarios = [ {"model":"REMIND", "pathway":"SSP2-PkBudg500", "year":2025,}, ], source_db="ecoinvent-3.9.1-cutoff", source_version="3.9.1", key='tUePmX_S5B8ieZkkM7WUU2CnO8SmShwmAeWK9x2rTFo=', biosphere_name="ecoinvent-3.9.1-biosphere", keep_source_db_uncertainty=True, keep_imports_uncertainty=True ) ndb.update() ndb.write_db_to_matrices() ```` (meaning, all sectors), I get correct shapes. Not...
Can you provide an exact case/script that leads to the error?
I still have correct shapes when running only: ````` ndb.update("trucks") ndb.update("two_wheelers") ndb.update("cars") ndb.update("buses") `````
Maybe let's look at the script you use to load the matrices. What shape do you get when running this? ````` from scipy import sparse #from pypardiso import spsolve
@Michael-ljn have you tried the above example?
[There's a function](https://github.com/polca/premise/blob/ba2e9f81ef5be491ea730ad30d2a6d9683b4a7d6/premise/inventory_imports.py#L731) that indeed lower-caps names and reference products of datasets and exchanges, except if it starts with an acronym. This is to align more with the ecoinvent naming...
Hi @OliverLyon, can you paste the script you used?
@OliverLyon can you check that you have a flow called: `Nickel, ion` with the compartment `water, ground` in your `biosphere` database in the project to which you are trying to...