Cost-optimal control for a small energy community heated with dual source heat pump and district heating | Synapse