EnergySystemsModellingLab / MUSE_OS

Welcome to the MUSE-OS repository
https://muse-os.readthedocs.io/en/latest/
GNU General Public License v3.0
22 stars 9 forks source link

Problem when invoking consumption function #238

Open sgiarols opened 8 months ago

sgiarols commented 8 months ago

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.