112 utilize carrier cost in esdl for price profile in electricity #131
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.