A frequency driven compressor has a working pattern with lower peaks and a smoother air profile. This is achieved by controlling the air delivery and producing only the amount of air required for the customer’s application at a specific moment. The net pressure is maintained by use of a frequency inverter. As a result, the compressor consumes only the energy needed which is very cost efficient.