rl-institut / multi-vector-simulator

Multi-vector Simulation Tool assessing and optimizing Local Energy Systems (LES) for the E-LAND project
GNU General Public License v2.0
21 stars 10 forks source link

Correct weighting factors #894

Closed TheOneAndra closed 3 years ago

TheOneAndra commented 3 years ago

Fix #822

Changes proposed in this pull request:

The following steps were realized, as well (if applies):

Please mark above checkboxes as following:

:x: Check not applicable to this PR

For more information on how to contribute check the CONTRIBUTING.md.

TheOneAndra commented 3 years ago

I am not sure how to tackle issue #822 with the natural gas energy carrier. Should we change the table so that the user uses gas as energy vector for natural gas or should we change the energy carrier name in the MVS so that _naturalgas is accepted ?

any suggestion @smartie2076 ?

smartie2076 commented 3 years ago

@TheOneAndra I had to update as there was a dev fix

smartie2076 commented 3 years ago

Hi @TheOneAndra! Hm, this is also a question of an API change - when we change from Gas to Natural_gas some previously created simulations may not work anymore (also, the EPA uses Gas now). So eventhough Natural_gas is more explicit, I would not change the name in constants.py. How about you change the tables in https://multi-vector-simulator.readthedocs.io/en/latest/model/assumptions.html#weighting-of-energy-carriers and make Gas oil/diesel --> Diesel and Natural gas --> Gas? Maybe you can also add a warning like this at the end of the section?

.. note::
   The :code:`energy_vector` of each of the assets and busses must be identical in spelling to one of the energy carriers defined in the above table. Other energy carriers can not be parsed and will raise a warning. Please note that `Heat` currently has to be measured in kWh(thermal).
smartie2076 commented 3 years ago

Hi @TheOneAndra! Hm, this is also a question of an API change - when we change from Gas to Natural_gas some previously created simulations may not work anymore (also, the EPA uses Gas now). So eventhough Natural_gas is more explicit, I would not change the name in constants.py. How about you change the tables in https://multi-vector-simulator.readthedocs.io/en/latest/model/assumptions.html#weighting-of-energy-carriers and make Gas oil/diesel --> Diesel and Natural gas --> Gas?

Added Natural_gas, identical to Gas, as EPA needs to use Gas. It does not matter which one is used.

Maybe you can also add a warning like this at the end of the section?

Added comment