Method for controlling a compressor room and an apparatus thereof
A method for controlling a compressed air or gas system is disclosed including the steps of estimating a current state, predicting a future process variable profile based on the current state, sampling the future process variable profile by a sampling method having sampling frequencies based on a volume of the compressed air or gas system, transforming by a model predictive control, MPC, method the sampled future process variable profile and the current state into an action profile and a state profile, and instructing the compressors to perform the actions in accordance with the action profile thereby controlling the compressed air or gas system.
1 . A computer-implemented method for controlling a compressed air or gas system comprising one or more compressors configured to provide compressed air or gas to one or more consumers, the compressed air or gas defined by one or more process variables, the method comprising a plurality of steps of:
measuring at least one of said one or more process variables and inputting the measurement to a master controller, wherein the master controller:
estimates a current state of the compressed air or gas system based on said one or more measured process variables;
predicts a future process variable profile based on the current state;
samples the future process variable profile by a sampling method having a sampling frequency based on a volume of the compressed air or gas system, thereby obtaining a sampled future process variable profile;
transforms, by a model predictive control (MPC) method, the sampled future process variable profile and the current state into:
an action profile comprising one or more actions distributed over a predefined first time-horizon; and
a state profile distributed over a predefined second time-horizon being equal or greater than the predefined first time-horizon; and
outputting instructions to said compressed air or gas system to perform the one or more actions in accordance with the action profile; and
causing the compressed air or gas system to perform the one or more actions to adjust said one or more measured process variables to control a flow of said compressed air or gas from the compressed air or gas system to a client network.
2 . The computer-implemented method according to claim 1 , wherein the compressed air or gas system further comprises one or more agents; and wherein the instructing further comprises instructing the one or more agents to perform the one or more actions in accordance with the action profile.
3 . The computer-implemented method according to claim 1 , further comprising a step of:
comparing the sampled future process variable profile with a previous state profile to identify one or more zones of the sampled future process variable being within a predefined deviation threshold;
and wherein the predicting is further based on the one or more zones.
4 . The computer-implemented method according to claim 1 , wherein the sampling frequency is further based on one or more of a group of:
an uncertainty factor of the predicting;
one or more working parameters of the compressed air or gas system;
response time compressor.
5 . The computer-implemented method according to claim 1 , wherein the estimating of the current state is further based on a model of the compressed air or gas system.
6 . The computer-implemented method according to claim 1 , wherein the predicting is further based on historical data.
7 . The computer-implemented method according to claim 6 , further comprising the step of:
updating the historical data by the current state and/or observed data.
8 . The computer-implemented method according to claim 1 , wherein said at least one of said one or more measured process variables comprises one of a group of a pressure, a pressure dew point, a gas temperature, an oxygen level, an energy level, a relative humidity, a partial gas pressure, a dissolved oxygen level, and/or an oil contamination level.
9 . The computer-implemented method according to claim 2 , wherein an agent comprises one of a group of a blower, a fan, a piston, a turbo, a variable frequency drive agent, a dryer, a valve, a lubricator, a filter, a pressure regulator, and/or a flow switch.
10 . A data processing system comprising a means for carrying out the method according to claim 1 .
11 . A non-transitory computer-readable medium comprising instructions which, when the instructions are executed by a computer, cause the computer to carry out the method according to claim 1 .
12 . A non-transitory computer-readable medium comprising instructions which, when the instructions are executed by a second computer, cause the second computer to receive encoded data from a first computer and decode the received encoded data by performing one or more of the plurality of steps of the method according to claim 1 .
13 . A compressor or an agent comprising the data processing system according to claim 10 .
14 . A compressed air or gas system that is controlled according to the method according to claim 1 .