Method for controlling a compressor installation with a heat recovery system, a controller provided with a control algorithm to carry out such a method and compressor installation with a heat recovery system provided with such a controller

The control algorithm optimizes compressor and heat recovery systems to match demand and cost dynamics, addressing inefficiencies in existing installations by minimizing operational costs through integrated network management.

WO2026115393A1PCT designated stage Publication Date: 2026-06-04ATLAS COPCO AIRPOWER NV

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
ATLAS COPCO AIRPOWER NV
Filing Date
2025-11-19
Publication Date
2026-06-04

AI Technical Summary

Technical Problem

Existing compressor installations fail to account for the varying heat demand of the heat network, leading to inefficient compression and higher operational costs due to the need for additional thermal production units when heat recovery systems cannot meet temperature requirements.

Method used

A control algorithm that uses mathematical models and predictive algorithms to manage the speed of the compressor and flow of the heat recovery system, optimizing both networks to minimize overall operational costs by matching heat and pressure demands with real-time energy and heating costs.

Benefits of technology

Achieves up to 10% additional savings in operational costs by optimizing the correlation between the compressor and heat networks, reducing energy consumption and maintaining efficient heat recovery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IB2025061833_04062026_PF_FP_ABST
    Figure IB2025061833_04062026_PF_FP_ABST
Patent Text Reader

Abstract

Method for controlling a compressor installation (1 ) with a heat recovery system (3), comprising a compressor device (2 ) that provides compressed gas to a pressure network (4 ) and a heat recovery system (3) that recovers heat from the compressor device (2 ) and provides the recovered heat to a heat network (7 ), characterized in that it comprises the steps of : - providing mathematical models (22 ) of the compressor device (2 ) and the heat recovery system (3); providing the costs (24 ) of electricity, and optionally gas cost and / or the costs (24 ) of heating by the heat network (7 ); - providing the desired pressure range (26) of the compressed gas and the desired temperature range (27 ) of the heat network ( 7 ); - providing a control algorithm (28) that controls the speed of the compressor device (2 ) and the flow of liquid in the heat recovery system (3); whereby the control algorithm (28 ) will determine, a control sequence (29) of the flow in the heat recovery system (3) and of the speed of the compressor device (2 ) thereby taking into account the cost (24 ) of electricity, and / or the costs (24 ) of heating by the heat network ( 7 ), such that the total operational cost is minimal.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Method for controlling a compressor installation with a heat recovery system, a controller provided with a control algorithm to carry out such a method and compressor installation with a heat recovery system provided with such a controller .

[0002] FIELD OF THE INVENTION

[0003] The present invention relates to a compressor installation with a heat recovery system, comprising a compressor device that provides compressed gas to a pressure network and a heat recovery system that recovers heat from the compressor device and provides the recovered heat to a heat application or heat network that can comprise optionally a thermal production unit .

[0004] A heat network is for example a heating system or a sanitary hot water system, i . e . any system whereby heat is used to heat a space, fluid or other and can be interpreted broadly . A thermal production unit is for example a gas boiler or a heat pump . The pressure network is a network of consumers of compressed gas and should be interpreted broadly as well . The heat recovery system is a system with pumps , valves , one or more heat exchangers that will use a liquid to extract heat from the compressor device and provide it to the heat network .

[0005] More specifically the invention is dedicated to providing a method controlling such a compressor installation for lowering the overall operating costs of the compressor installation and a heat network receiving heat from the heat recovery system of the compressor installation .

[0006] BACKGROUND OF THE INVENTION

[0007] It is known that a compressor device generates heat when compressing a gas .

[0008] It is also known compressor installations exists which comprise a heat recovery system which will recover at least part of the compression heat .

[0009] The compressor installation is provided with a cooling circuit with a cooling liquid, such as water or it is provided with an oil circuit with oil .

[0010] The liquid, oil or water, will be used to cool the compressor device of the compressor installation, which then in turn will be cooled and returned at a lower temperature to the compressor device .

[0011] In order to cool the liquid, use can be made of a heat recovery system which will recuperate the heat and provide it to other systems where it can be used in a useful way instead of just dissipating this heat .

[0012] Traditionally, in the known compressor installations , the compressor device will be controlled to be able to provide the required flow of compressed gas at the desired pressure, making sure the compressor' s electricity consumption is kept as low as possible . On the other hand, the heat recovery system will be controlled to make sure that the liquid of the cooling circuit will be cooled to a fixed temperature before the liquid is returned or the temperature of the liquid of the cooling circuit will be regulated such that the temperature of the liquid leaving the compressor device will be within a specific range .

[0013] However, this does not take into account the demand of heat of the heat network .

[0014] Indeed, the temperature requirement and heat demand of the user or client of the heat network typically changes in time .

[0015] If the actual temperature of the liquid exiting of the heat recovery system is too low, i . e . lower than the demand of the user or client, the heat is not useful for the user or client .

[0016] If the actual temperature of the heat recovery system is too high, the heat recovery will be lower . If less heat is removed during compression this will of course lead to a less efficient compression of gas and a higher specific energy requirement .

[0017] If the heat demand is high, and the heat recovery system does not provide the necessary heat at the correct temperature , the user or client will have higher operating costs of the heat network as the thermal production unit will have to be used to provide the required heat . SUMMARY OF THE INVENTION

[0018] It is therefore an obj ective of the invention to give a solution to one or more of the above-mentioned and other disadvantages .

[0019] To this end the present invention provides a method for controlling a compressor installation with a heat recovery system, comprising a compressor device that provides compressed gas to a pressure network and a heat recovery system that recovers heat from the compressor device and provides the recovered heat to a heat network, characterized by the fact that it comprises the steps of :

[0020] - providing mathematical models of the compressor device and the heat recovery system;

[0021] - providing the costs of electricity, and optionally gas cost and / or the costs of heating by the heat network;

[0022] - providing the desired pressure range of the compressed gas and the desired temperature range of the heat network;

[0023] - providing a control algorithm that controls the speed of the compressor device and the flow of liquid in the heat recovery system; whereby the method is such that the control algorithm will determine, using the mathematical method, a control sequence of the flow of liquid in the heat recovery system and of the speed of the compressor device such that the desired temperature range of the heat network and the desired pressure range of compressed gas can be delivered, thereby taking into account the costs of electricity and the costs of heating by the heat network, such that the total operational cost is minimal .

[0024] By using the mathematical models provided, it will determine the proper control of the flow of liquid in the heat recovery system and the machine state and speed of the compressor device . The machine state can for example be stopped or idling .

[0025] These mathematical models can be both physical-based as well as data-based models .

[0026] The total operational cost is determined by the total energy cost which comprises the cost of the electricity for driving the compressor device and the thermal savings achieved by using heat of the heat recovery system for the heat network instead of using the thermal production unit, and by the increased maintenance costs due to operation at higher temperatures .

[0027] The 'thermal savings' is due to the gas or electricity savings of not using the thermal production unit .

[0028] An advantage is that based on this combined control of both the compressor devices and the heat recovery system, the total overall operational costs can be minimalized, rather than j ust the energy costs of the compressor .

[0029] This will lead to an overall reduction in operational costs for the user or client, up to 10% additional savings compared to known methods , or when optimizing only the compressed air network or the heating network, without taking the correlation between the two networks into account .

[0030] Surprisingly, a method according to the invention could lead to a higher energy consumption of the compressor device compared to known methods in order to improve the heat recovery to give more heat to the heat network to eliminate the use of the thermal production unit , thereby decreasing the systems total operational cost .

[0031] By preference a Model Predictive Control or a control algorithm based on artificial intelligence is used for the control algorithm .

[0032] This will allow, based on the mathematical models , also called digital twins , of the different components of the compressor installation and related systems , to minimi ze the overall power consumption and to change the control inputs .

[0033] Following a preferred embodiment , is the step of providing electricity price, and optionally gas prices and / or the costs of the heating by the heat network performed by a user of the compressor installation or user system .

[0034] The real time energy prices should be interpreted as comprising both the energy costs itself , as well as the tax, distribution and / or transportation costs . Moreover, the real time energy prices include not only standard real time prices but also variable prices , dynamic prices , etc . related to different markets : day-ahead, intraday, imbalance , ancillary service incentives , capacity remuneration mechanisms and so on .

[0035] Such an afore-mentioned user system could be for example a program or similar of the user that connects with the control algorithm to provide this input .

[0036] It is of course possible that this is not done by the user itself , but in this way it can be guaranteed that the actual up to date information is available for the system .

[0037] The afore-mentioned costs of the heating with the heat network is typically temperature dependent . This can be covered by including the mathematical model of the thermal production unit .

[0038] Following a preferred characteristic of the invention the control of the flow of water of the heat recovery system is done by controlling one or more valves and / or pumps in the heat recovery system and / or that the control of the speed of the compressor device is done by controlling a drive of the compressor device .

[0039] In particular the control algorithm will control the flows of water of the heat recovery system between minimum and maximum flows and / or control the machine state and the speed of the compressor device, either zero or between a minimum and maximum speed .

[0040] The present invention also relates to a controller that is provided with a control algorithm to carry out the method according to the invention .

[0041] The present invention also relates to a compressor installation with a heat recovery system, comprising at least one compressor device that provides compressed gas to a pressure network and a heat recovery system that recovers heat from the compressor device and provides the recovered heat to a heat network comprising optionally a thermal production unit characterized in that is it provided with a controller according to the invention .

[0042] It is clear that the advantages of such a controller and compressor installation are the same as the advantages of the method according to the invention as described above .

[0043] BRIEF DESCRIPTION OF THE DRAWINGS

[0044] With the intention of better showing the characteristics of the invention, hereafter, as an example without any limitative character, preferred forms of embodiments are described of a method according to the invention for controlling a compressor installation with a heat recovery system, a controller provided with a control algorithm to carry out such a method and compressor installation provided with such a controller, with reference to the accompanying drawings , wherein : figure 1 schematically represents a compressor installation according to the invention; figure 2 schematically represents a method according to the invention . DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT

[0045] The compressor installation 1 represented in figure 1 mainly comprises a compressor device 2 and a heat recovery system 3 .

[0046] Although there is only one compressor device 2 present, it is possible that more than one compressor device 2 is present . This could be for example in the case of a multistage compressor or a compressor room equipped with multiple compressors .

[0047] The compressor device 2 provides compressed gas to a pressure network 4 .

[0048] In this case, but not necessary for the invention, the compressor device 2 is also provided with a pressure vessel 5 .

[0049] The pressure network 4 is , for example, a network containing consumers of compressed gas such as pneumatic tools and devices .

[0050] Further, the compressor device 2 is provided with a drive 6 , which can be any type of suitable drive 6 such as an electric motor or similar, which will regulate the speed of the compressor device 2 .

[0051] In this case, but not necessarily, the compressor device 2 is an oil-free compressor device 2 , and is provided with a water cooling system 3 ' , whereby the water cooling system 3 comprises the heat recovery system 3 .

[0052] Preferably, the water cooling system 3 ' is at least connected to the heat recovery system 3 , but in general both systems 3 ' , 3 can be combined or at least partly integrated .

[0053] It is of course also possible that the compressor device 2 is an oil inj ected compressor device , whereby oil is inj ected for cooling, sealing and lubrication . In this case the oil cooling system comprises the heat recovery system 3 .

[0054] This means that for the heat recovery system 3 , the working liquid can be water, oil or any other cooling liquid used for the cooling system 3' .

[0055] The heat recovery system 3 recovers heat from the compressor device 2 and provides the recovered heat to a heat network 7 comprising a thermal production unit 8 .

[0056] A heat recovery system 3 is a network of pipes and valves that comprises a pump 9 which pumps a fluid of the heat recovery system 3 through the heat recovery system 3 , and which heat network further comprises optionally a heat exchanger 10 .

[0057] In the example of figure 1 , the heat recovery system 3 comprises a heat exchanger 10 and a so-called back-up cooler 11 to provide additional cooling of the water or liquid when the heat exchanger 10 does not cool the water or liquid enough and a first pump 9 to circulate the water or liquid. A bypass 12 with a three-way valve 13 is provided over the back-up cooler 11 . However, the invention is not limited to this .

[0058] It is clear, that the heat recovery system 3 can be implemented in many different ways , and additional pumps 9 , valves and pipes can be present .

[0059] According to the invention, the compressor installation 1 further comprises a controller 14 according to the invention, that is provided with a control algorithm to carry out the method according to the invention, as will be explained later . This controller 14 is linked to the aforementioned drive 6 , first pump 9 and three-way valve 13 .

[0060] The heat network 7 is a network that provides heating or heated water to the user, for example a central heating system or a similar system that contains a thermal production unit 8 like a gas boiler and a number of heaters 15 like radiators or process heat exchangers .

[0061] In the example of figure 1 , the heat network 7 is coupled to the heat recovery system 3 , due to the fact that the working liquid of the heat network 7 flows through the heat exchanger 10 of the heat recovery system 3 .

[0062] In the example of figure 1 , but not necessarily for the invention, a thermal storage tank is provided 16 between the heat recovery system 3 and the heat network 7 . The thermal storage tank 16 is a part of the heat network 7 in the example of figure 1 , and an additional second pump 17 is provided to allow for the liquid to flow from the heat network 7 via the thermal storage tank 16 to the heat recovery system 3 or vice versa . It is possible that a third pump is provided between the thermal storage tank 16 and the heat network 7 .

[0063] The controller 10 is linked to this second pump 17 and third pump of the thermal storage tank 16 .

[0064] It should be noted here that the heat network 7 can also comprise a heat pump or any other production technology in addition to or instead of the gas boiler 8 .

[0065] Further, in the example of figure 1 , the compressor device 2 is provided with a blow-off valve 18 at the outlet of the pressure vessel to blow off compressed gas .

[0066] The control of this compressor installation 1 according to a method according to the invention is as follows , and shown in figure 2 .

[0067] In a first step 19, optionally, two prediction algorithms are provided . A first prediction algorithm 20a for the heat and / or temperature demand of the heat network 7 and a second prediction algorithm 20b for the demand of compressed gas flow of the pressure network 4 .

[0068] The first prediction algorithm 20a can, for example based on historical data and / or schedules of production and / or building occupancy, determine what the future demand will be for heating or for heated sanitary water .

[0069] These historical data can also include historical and current weather data .

[0070] The second prediction algorithm 20b can, for example based on historical data and information about the tool present in the pressure network 4 , determine what the future demand will be of compressed gas flow and, optionally, of the pressure or pressure range of the compressed gas .

[0071] In a second step 21 according to the invention, mathematical models 22 are provided for the compressor device 2 , the heat recovery system 3 and the thermal production unit 8 .

[0072] Such mathematical models 22 are also known as the 'digital twins' which will be used to calculate or simulate the effect of changing operating parameters of the afore-mentioned compressor device 2 and / or heat recovery system 3 and / or to calculate or simulate the heating costs of the thermal production unit 8 if it would supply the future demand of heat and / or temperature of the heat network 7 .

[0073] It is possible, but not required for the invention, that in this second step 21 mathematical models 22 are also provided for the heat network 7 and the pressure network 4 itself . Of course, these mathematical models 22 can also be simplified mathematical methods 22 depending, for example , on the complexity of the heat network 7 and the pressure network 4 . In the case of the compressor installation 1 of figure 1 , this second step 21 can optionally also comprise the step of providing a mathematical model 22 of the thermal storage tank 16 and can optionally also comprise the step of providing a mathematical model 22 of the back-up cooler 11 .

[0074] Of course, if either or both are not present , this will not be provided .

[0075] In the third step 23 of the method according to the invention, the costs 24 of electricity, and optionally gas cost and / or the costs 24 of heating by the heat network 7 are provided .

[0076] This step can be performed by the user of the compressor installation 1 , for example by inputting the aforementioned costs 24 in the aforementioned controller .

[0077] There can also be a user system present that can take care of this step, and which will input real time energy prices 24 and the cost 24 of heating with the heat network 7 . Such an user system can be an application or other type of software that provides this information .

[0078] In the fourth step 25 of the method according to the invention, the desired pressure range 26 of the pressure network 4 and the desired temperature range 27 of the heat network 7 is provided .

[0079] This information or data can again be inputted by a user or it can be determined by the two prediction algorithms 20a, 20b mentioned above .

[0080] The desired pressure range 26 relates to the pressure which the compressed gas users of the pressure network 4 need, whereas the desired temperature range 27 of the heat network 7 relates to the heating temperature or the temperature of the heated water that the heat network 7 must provide .

[0081] These values can be fixed in time, but they can be variable in time as well .

[0082] In the fifth step of the method according to the invention, a control algorithm 28 is provided that controls the speed of the compressor device 2 and the flows of liquid in the heat recovery system 3 .

[0083] In this case, but not necessary for the invention, the control algorithm 28 is based on a Model Predictive Control , which is a method of controlling a system, in this case the compressor installation 1 , while satisfying a set of constraints or limits . The advantage of Model Predictive Control is that it allows to control the system in the present while taking into account future predictions of the prediction algorithms by optimizing the control of the system for the future predictions as well , and after implementing a certain control sequence, optimizing the system again . In this way Model Predictive Control can take future predictions into account and has the ability to anticipate on these predictions .

[0084] However, the control algorithm 28 can also be based on artificial intelligence or on reinforcement learning .

[0085] In the present embodiment of the compressor installation 1 of figure 1 , the control of the speed of the compressor device 2 is done by the controlling of the drive 6 of the compressor device .

[0086] Further, in the present embodiment of the compressor installation 1 of figure 1 , the control of the flows of water of the heat recovery system 3 is done by controlling the first pump 9 and / or the second pump 17 and / or an optional third pump and / or the three-way valve 13 .

[0087] It should be noted that , although in the discussion of the method above ' first step' , ' second step' etc . has been used, this is not necessarily to indicate the order of the steps , but rather to easily distinguish between the different steps . A skilled person will know that the afore-mentioned third step 23 can be performed first or at the same time as the aforementioned first step 19. Moreover, a skilled person will understand that the third step 23 might need to be done regularly and / or be updated regularly, whereas this might not be necessary for the first step 19 .

[0088] According to the invention, the method, or more specifically, the control algorithm 28 is such that the control algorithm 28 will determine , using the mathematical models 22 and optionally based on the prediction algorithms 20a, 20b if they are available, a control sequence 29 of the flow of liquid in the heat recovery system 3 and of the speed of the compressor device 2 such that the desired temperature range 26 of the energy recovery system 3 and the desired pressure range 27 of compressed gas can be delivered .

[0089] The aforementioned control sequence 29 will comprise for example a set of control signals or similar that are sent to the drive 6 and / or the first pump 9 and / or the second pump 17 and / or the three-way valve 13 and that allow to regulate or control the flow of liquid in the heat recovery system 3 and the speed of the compressor device 2 .

[0090] In the determination of this control sequence 29 , the control algorithm 28 will take into account the predictions made by the two prediction algorithms 20a, 20b regarding the future demand of heating or for heated sanitary water and of compressed gas flow .

[0091] Further, according to the invention, the control algorithm 28 will take into account the costs 24 of electricity, and optionally gas cost and / or the costs 24 of heating by the heat network 7 , such that the total operational cost is minimal .

[0092] For example, if the costs of heating by the heat network 7 is relatively high due to e . g . high gas prices, in comparison with the costs of electricity that is needed for the drive of the compressor device 2 , it could be beneficial to generate more compressed gas such that more heat can be recovered by the heat recovery system 3 to be used in the heat network 7 such that the thermal production unit 8 (gas boiler) does not have to provide the required heat demand . As the control algorithm 28 will take into account future demands , it will be able to proactively respond to predicted demands and, for example, if a high demand of heat and / or temperature of the heat network 7 is to be expected, determine a control sequence 29 that will allow the controller 14 to control the compressor installation 1 such that heat is stored in the storage tank 16 for when this high demand of heat and / or temperature of the heat network 7 will occur .

[0093] When determining an appropriate control sequence 29, the control algorithm 28 will preferably, but not necessary for the invention, control the flow of water of the heat recovery system 3 between a minimum and maximum flow and, optionally, the control algorithm 28 will control the machine state and the speed of the compressor device 2 , either zero or between a minimum and maximum speed .

[0094] In the example of the compressor installation 1 of figure 1 , the method comprises the step of blowing of compressed gas , when the control algorithm 28 controls the speed of the compressor device 2 such that more flow is provided than the current demand of compressed gas flow of the pressure network 4 .

[0095] Should such a situation occur, when for example a lot of heat is to be recovered by the heat recovery system 3 as a consequence of a predicted high demand or high costs of heating by the heat network 7 such that more heat needs to be generated by the compressor device 2 , the excess of generated compressed gas will be blown off via the blow off valve 18 . This blow-off valve 18 is also controlled by the controller 14 , i . e . the control algorithms 28 , although this is not required for the invention .

[0096] Similar situations will also occur when the electricity prices are negative .

[0097] After the control sequence 28 has been executed, it is possible that certain parameters 30 in the compressor installation 1 are measured, such as pressures and temperatures .

[0098] The measured parameters 30 can then be used to update 31 the predictions of the prediction algorithms or to update one or more of the mathematical models 22 of the compressor device 2 , heat recovery system 3 , pressure network 47 , heat network 7 and / or the thermal production unit 8 .

[0099] In this way, changes in the compressor installation 1 e . g . due to wear, replacement or repair, will be taken into account .

[0100] Although in the above, the control algorithm 28 only controls the flow of liquid in the heat recovery system and the machine state and the speed of the compressor device, it should be noted that it is possible that the back-up cooler 11 is also controlled by the control algorithm 28 and a possible other heat producer in the heat recovery system 3 .

[0101] The aforementioned control sequence 29 will then comprise additionally for example a set of control signals or similar for the back-up cooler 11 .

[0102] The present invention is in no way limited to the form of embodiment described by way of an example and represented in the figures , however, such a method for controlling a compressor installation with a heat recovery system, a controller provided with a control algorithm to carry out such a method and compressor installation provided with such a controller according to the invention can be realized in various forms without leaving the scope of the invention .

Claims

Claims .1.- Method for controlling a compressor installation (1) with a heat recovery system (3) , comprising a compressor device (2) that provides compressed gas to a pressure network (4) and a heat recovery system (3) that recovers heat from the compressor device (2) and provides the recovered heat to a heat network (7) , characterized in that it comprises the steps of :- providing mathematical models (22) of the compressor device (2) and the heat recovery system (3) ;- providing the costs (24) of electricity, and optionally gas cost and / or the costs (24) of heating by the heat network ( 7 ) ;- providing the desired pressure range (26) of the compressed gas and the desired temperature range (27) of the heat network (7) ;- providing a control algorithm (28) that controls the speed of the compressor device (2) and the flow of liquid in the heat recovery system (3) ; whereby the method is such that the control algorithm (28) will determine, using the mathematical models (22) , a control sequence (29) of the flow of liquid in the heat recovery system (3) and of the speed of the compressor device (2) such that the desired temperature range (27) of the heat network (7) and the desired pressure range (26) of compressed gas can be delivered, thereby taking into account the cost (24) of electricity, and optionally gas cost and / or the costs (24) of heating by the heat network (7) , such that the total operational cost is minimal.2.- Method according to claim 1, characterized in that it further comprises the step of:- providing a prediction algorithm (20a) for the heat and / or temperature demand of the heat network (7) and a prediction algorithm (20b) for the demand of compressed gas flow of the pressure network (4) ; whereby the method is such that the control algorithm (28) will determine, based on the prediction algorithms (20a, 20b) , the aforementioned control sequence (29) of the flow of liquid in the heat recovery system (3) and of the speed of the compressor device (2) .3.- Method according to claim 1 or 2 , characterized in that the step of providing mathematical models (22) , also comprises the step of providing a mathematical model (22) , or a simplified mathematical model (22) , of the heat network (7) and the pressure network (4) of the compressor installation (1) .4.- Method according to any of the preceding claims, characterized in that the heat network (7) comprises thermal production unit (8) and that the step of providing mathematical models (22) , also comprises the step of providing a mathematical model (22) for the thermal production unit (8) .5.- Method according to any of the previous claims, characterized in that a thermal storage tank (16) is provided between the heat recovery system (3) and the heat network (7) , whereby the step of providing mathematical models (22) ,also comprises the step of providing a mathematical model (22) of the thermal storage tank (16) and / or that the energy recovery system (3) is provided with a back-up cooler (11) , whereby the step of providing mathematical methods (22) , also comprises the step of providing a mathematical model (22) of the back-up cooler (11) .6.- Method according to any of the preceding claims, characterized in that for the control algorithm (28) use is made of a Model Predictive Control or of a control algorithm based on artificial intelligence.7.- Method according to any of the preceding claims, characterized in that the step of providing electricity and / or gas prices (24) and / or the costs (24) of the heating by the heat network (7) , is performed by a user of the compressor installation (1) or user system.8.- Method according to any of the preceding claims, characterized in that the control of the flow of water of the heat recovery system (3) is done by controlling one or more valves (13) and / or pumps (9, 17) in the heat recovery system (3) and / or that the control of the speed of the compressor device (2) is done by controlling a drive (6) of the compressor device (2) .9.- Method according to any of the preceding claims, characterized in that the control algorithm (28) will control the flow of water of the heat recovery system (3) between a minimum and maximum flow and / or that the control algorithm (28) will control the machine state and the speed of thecompressor device (2) , either zero or between a minimum and maximum speed.10.- Method according to any of the preceding claims, characterized in that the method comprises the step of blow off compressed gas, when the control algorithm (28) controls the machine state or the speed of the compressor device (2) such that more flow is provided than the current demand of compressed gas flow of the pressure network (4) .11.- Method according to any one of the previous claims, characterized in that the compressor device (2) is an oil- free compressor device (2) or a compressor device (2) with a water cooling system (3' ) , whereby the water cooling system (3' ) comprises the heat recovery system (3) .12.- Controller, characterized in that it is provided with a control algorithm (28) to carry out the method according to any one of the previous claims .13.- Compressor installation with a heat recovery system (3) , comprising at least one compressor device (2) that provides compressed gas to a pressure network (7) and a heat recovery system (3) that recovers heat from the compressor device (2) and provides the recovered heat to a heat network (7) characterized in that it is provided with a controller (14) according to claim 11.14.- Compressor installation according to claim 13, characterized in that the heat network (7) comprising a thermal production unit (8) .15.- Compressor installation according to claim 13 or 14, characterized in that the at least one compressor device (2) is an oil-free compressor device (2) or a compressor device (2) with a water cooling system (3' ) , whereby the water cooling system (3' ) comprises the heat recovery system (3) .