Production and supply of electricity, heat, gas, and water