The function "consumption" is calculated over the total of commodity products. Care should be taken when by-products are present.
To Reproduce
Using the "consumption" as invoked in muse.quantities.consumption and adding commodities which are not the main output. The basis for the calculation is the total commodity outputs rather than the sole main products.
Context
Please, complete the following to better understand the system you are using to run MUSE.
Operative system (eg. Windows 10): MacOS
MUSE version (eg. 1.0.1): 1.1.0
Installation method (eg. pipx, pip, development mode): development mode
Python version (you can get this running python --version): 3.9
Describe the bug
The function "consumption" is calculated over the total of commodity products. Care should be taken when by-products are present.
To Reproduce
Using the "consumption" as invoked in
muse.quantities.consumption
and adding commodities which are not the main output. The basis for the calculation is the total commodity outputs rather than the sole main products.Context
Please, complete the following to better understand the system you are using to run MUSE.
python --version
): 3.9