A method for controlling a compressor or pump, containing at least one compressor or pump element for pressurised supply of a fluid to a network of consumers of such pressurised fluid and a motor, wherein the compressor or pump is designed to operate within a certain nominal working range determined by the maximum and minimum allowed values of the control parameters of the compressor or pump control, wherein the compressor or pump is equipped with a control having a basic control for the nominal regulation of one or more control parameters (flow rate Q, working pressure pw) within a nominal set control range and in function of a desired, set control parameter (set desired pressure pwset, set flow rate Qset) or of a desired, set working point of the compressor within the nominal set working range of the compressor, set during design,
- wherein when the actual working conditions deviate from the nominal working conditions or lie outside the nominal working range of the compressor or pump, an additional control step is applied for static or dynamic adjustment of the nominal control range of one or more control parameters (Q, rotational speed n, inlet pressure pi, control pressure pr, working pressure pw) in function of the actual working conditions of the compressor or pump.