Combined heat and power (CHP) or heat and power cogeneration (TAP)