Project-OMOTES / rtc-tools-heat-network

GNU Lesser General Public License v3.0
2 stars 2 forks source link

112 utilize carrier cost in esdl for price profile in electricity #131

Closed FJanssen-TNO closed 6 months ago

FJanssen-TNO commented 7 months ago

Changed the component_type of heat_pump_elec to be inherited from heat_pump and added heat_pump_elec as a component_subtype, such that self.heat_network_components.get("heat_pump") will get all heat pump components the ones with and without a electricity connection and a subselection can still be made. (Like with geothermal sources)

Added function we could use if we are getting many different component types, to prevent having duplicates. Might particularly become important if we would want to have an overarching component_type for all sources, demands etc, indep of their carrier, would prevent many repetitions.

Carrier cost profile of electricity is used to calculated additional cost related to electricity for heat pumps that do not have an electricity connection drawn. It is assumed that for heat pumps with a drawn electricity connection, the electricity costs are already associated at the electricity producer and transport

A test for the electricity related costs pumppower and electricity of HP is still required.