Boavizta / boaviztapi

🛠 Giving access to BOAVIZTA reference data and methodologies trough a RESTful API
GNU Affero General Public License v3.0
73 stars 23 forks source link

Fix missing W to KW conversion #93

Closed da-ekchajzer closed 2 years ago

da-ekchajzer commented 2 years ago

hours_electrical_consumption should be given in Watt. When hours_electrical_consumption was directly given (in watt) the value was used in Wh. The electrical impacts factor requires kWh.

I added a conversion from W to kW ( / 1000) when the value is used with an electrical impact factor.