A local heat extracting assembly having an inlet connectable to a local feed conduit of a local energy distributing system, and an outlet connectable to a local return conduit of the local energy distributing system , wherein the local heat extracting assembly comprises: an intermediate circuit configured to circulate intermediate heat transfer fluid; a heating circuit comprising a feed conduit and a return conduit , the heating circuit being configured to circulate heat transfer fluid in a building for providing comfort heating; a first heat exchanger configured to extract heat from local heat transfer fluid of the local feed conduit to intermediate heat transfer fluid of the intermediate circuit ; a heat pump configured to pump heat from intermediate heat transfer fluid of the intermediate circuit to heat transfer fluid of the heating circuit ; and a tap hot water preparation system comprising: a heater configured to heat tap hot water in the tap hot water preparation system , the heater being connected to the heating circuit by a heat transfer fluid inlet connected to the feed conduit of the heating circuit and by a heat transfer fluid outlet connected to the return conduit of the heating circuit , characterized in that the tap hot water preparation system further comprising a tap hot water heat exchanger configured to extract heat from local heat transfer fluid of the local feed conduit to tap hot water in a tap hot water inlet of the heater . an intermediate circuit configured to circulate intermediate heat transfer fluid; a heating circuit comprising a feed conduit and a return conduit , the heating circuit being configured to circulate heat transfer fluid in a building for providing comfort heating; a first heat exchanger configured to extract heat from local heat transfer fluid of the local feed conduit to intermediate heat transfer fluid of the intermediate circuit ; a heat pump configured to pump heat from intermediate heat transfer fluid of the intermediate circuit to heat transfer fluid of the heating circuit ; and a tap hot water preparation system comprising: a heater configured to heat tap hot water in the tap hot water preparation system , the heater being connected to the heating circuit by a heat transfer fluid inlet connected to the feed conduit of the heating circuit and by a heat transfer fluid outlet connected to the return conduit of the heating circuit , characterized in that the tap hot water preparation system further comprising a tap hot water heat exchanger configured to extract heat from local heat transfer fluid of the local feed conduit to tap hot water in a tap hot water inlet of the heater . a heater configured to heat tap hot water in the tap hot water preparation system , the heater being connected to the heating circuit by a heat transfer fluid inlet connected to the feed conduit of the heating circuit and by a heat transfer fluid outlet connected to the return conduit of the heating circuit , characterized in that the tap hot water preparation system further comprising a tap hot water heat exchanger configured to extract heat from local heat transfer fluid of the local feed conduit to tap hot water in a tap hot water inlet of the heater . <EOS>