Es wird ein System zur automatisierten Einstellung eines durch eine Beatmungseinrichtung (10) vorgegebenen Drucks, insbesondere eines positiven endexpiratorischen Drucks (PEEP) und/oder eines maximalen Atemwegsdrucks (Paw_max), vorgeschlagen, welches eine Druckermittlungsanordnung zum Ermitteln eines transpulmonalen Drucks am Ende einer Expirationsphase (Ptp_ee) und/oder zum Ermitteln eines transpulmonalen Drucks am Ende einer Inspirationsphase (Ptp_ei) umfasst, sowie eine Einrichtung zur automatisierten Einstellung des durch die Beatmungseinrichtung (10) vorgegebenen Drucks auf Grundlage des ermittelten transpulmonalen Drucks am Ende der Expirationsphase (Ptp_ee) und/oder des ermittelten transpulmonalen Drucks am Ende der Inspirationsphase (Ptp_ei) umfasst.A system is proposed for automatically setting a pressure specified by a ventilation device (10), in particular a positive end-expiratory pressure (PEEP) and / or a maximum airway pressure (Paw_max), which comprises a pressure-determining arrangement for determining a transpulmonary pressure at the end of an expiration phase (FIG. Ptp_ee) and / or for determining a transpulmonary pressure at the end of an inspiratory phase (Ptp_ei), and a device for automatically setting the pressure specified by the ventilator (10) on the basis of the determined transpulmonary pressure at the end of the expiration phase (Ptp_ee) and / or of the determined transpulmonary pressure at the end of the inspiratory phase (Ptp_ei).