Biogas plants can flexibly feed in power and heat and in this way compensate for fluctuations in the power and heating network.