Supply flow (hot) Storage tank Return flow (cool)

City Heat Pump Network: Dispatch & Thermal Storage (2D)

This 2D companion models the same district-heating network as a real dispatch problem rather than a decorative scene: three heat pump plants supply a shared main whose coefficient of performance is set by a Carnot-limited model against live ambient temperature, building demand follows a heating-degree curve, and a rate-limited thermal storage tank buffers the mismatch between the two — charging on surplus, discharging on deficit, and finally failing to keep up during a cold snap so you can watch unmet demand appear in real time.