Cost-optimal dimensioning and operation of a solar PV–BESS–heat pump-based on-grid energy system for a Nordic climate townhouse | Synapse