Make the low_temperature_ates a subcomponent type of component type ates. And then we can rename the high temperature ates also as high_temperature_ates as subcomponent of ates. Then for the write output but also in financialmixin etc, we only need to loop over ates (will be the low temp and high temp ates then)
Then we do not have to loop over both types of ates anymore as shown below:
"....
elif asset_name in [
*self.energy_system_components.get("ates", []),
*self.energy_system_components.get("low_temperature_ates", []),
]:
...
"
Make the low_temperature_ates a subcomponent type of component type ates. And then we can rename the high temperature ates also as high_temperature_ates as subcomponent of ates. Then for the write output but also in financialmixin etc, we only need to loop over ates (will be the low temp and high temp ates then)
Then we do not have to loop over both types of ates anymore as shown below:
"....
elif asset_name in [
*self.energy_system_components.get("ates", []),
*self.energy_system_components.get("low_temperature_ates", []),
]:
...
"