A computer program product comprising computer program code stored on a non-transitory computer-readable medium, said computer program product used for operating a compressed air system of a vehicle, the compressed air system comprising:
- an air compressor;
- an air processing element;
- and an air pressure accumulator, wherein the air compressor is configured to compress air to the air pressure accumulator via the air processing element when an air pressure in the compressed air system is below a threshold pressure, and wherein the compressed air system comprises a purge valve controllable to an open state to vent air from the compressed air system at a location between the air compressor and the air processing element.
- said computer program code comprising computer instructions to cause one or more control devices to perform the following operations:
- controlling the purge valve to an open state if data is indicative of at least one of a preceding, an ongoing and an upcoming accumulation of matter in at least one component of the compressed air system;
- and
- maintaining the purge valve in the open state until the air pressure in the compressed air system declines below the threshold pressure.