Biogas contains water vapors. Combustion in gas piston engines or inside a turbine leads to corrosion and damage. Therefore, the biogas must be dehumidified with a chiller. When cooled, the moisture contained in the biogas, condenses. The condensate is separated into a trap located in the chiller and discharged through a siphon. This method of removing moisture from biogas is also good because the biogas acquires the required temperature.