Air compressor group control method and system based on load prediction
By predicting the load and analyzing the data of the air compressor group control system, load changes in the gas consumption area can be identified in advance, and the operating parameters of the air compressors can be adjusted, solving the problem of unstable gas supply in the existing technology and achieving more efficient load management.
Patent Information
- Application Number
- CN202611344902.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-01
- Publication Date
- 2026-11-27
AI Technical Summary
Existing air compressor group control systems are unable to adjust the operating parameters of air compressors in a timely manner according to the periodic load changes in the gas consumption area, resulting in frequent loading and starting/stopping, causing instability in gas supply pressure and flow.
By acquiring historical and real-time data of the gas-consuming area, time-series characteristic analysis is performed to determine the target fluctuation cycle, construct a standard cycle load sequence, and generate a future load prediction sequence through residual prediction. Combined with the unit operation data, the group control parameter mapping relationship is queried to generate equipment control commands and adjust the operating parameters of the air compressor group.
It enables early identification and coordinated adjustment of gas load changes, improves the stability of gas supply pressure and flow, and reduces frequent loading and starting/stopping caused by control lag.
Smart Images

Figure CN123174133A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air compressor group control and energy-saving technology, and in particular to an air compressor group control method and system based on load prediction. Background Technology
[0002] Currently, air compressors are important power equipment for providing compressed air in industrial production. They can be driven by energy-saving electric motors and other drive devices, and are widely used in production processes such as assembly, spraying, testing, and operation of pneumatic equipment.
[0003] In one existing technology, an air compressor group control system monitors the air supply status by collecting pressure and flow data from the air supply network, compares the network pressure with a preset pressure range, and adjusts the operating frequency of the variable frequency air compressor or controls the start and stop of the fixed frequency air compressor when the network pressure deviates from the preset pressure range. The system also performs time-sharing control of the air compressor group according to the production shift or the control parameters preset by the operator.
[0004] However, the formation of a detectable pressure deviation in the pipeline network requires a pressure transmission process, and control actions implemented based on this deviation lag behind actual gas load changes. Meanwhile, the gas load corresponding to different production shifts and processes exhibits periodicity and fluctuation. Time-sharing control based on pre-set parameters makes it difficult to adjust the operating parameters of variable frequency and fixed frequency air compressors in a timely manner according to periodic changes in gas load, easily leading to frequent loading and starting / stopping of the air compressors.
[0005] In summary, existing technologies have the problem of difficulty in coordinating the operating parameters of air compressor groups according to the periodic load changes in the gas consumption area. Summary of the Invention
[0006] This invention provides a method and system for controlling air compressor groups based on load forecasting, which enables early identification of periodic load changes in gas consumption areas and coordinated adjustment of the operating parameters of the air compressor group according to future gas consumption load.
[0007] In a first aspect, to solve the above-mentioned technical problems, the present invention provides a method for group control of air compressors based on load forecasting, comprising: Acquire historical gas consumption data, real-time gas consumption data, and unit operation data of the air compressor group in the gas consumption area; perform time-series characteristic analysis on the historical gas consumption data to determine the target fluctuation period; The real-time gas consumption data is divided into periods according to the target fluctuation period to obtain a standard period load sequence. The current period load sequence is extracted from the real-time gas consumption data, and the time-by-time difference between the current period load sequence and the standard period load sequence is calculated to obtain a residual sequence. The residual sequence is trend-predicted to obtain the residual prediction sequence for the prediction period. The periodic load corresponding to the prediction period is extracted based on the standard periodic load sequence and superimposed with the residual prediction sequence to obtain the future load prediction sequence. The future load state sequence is determined based on the comparison results between the predicted load value at each prediction time in the future load prediction sequence and the preset load threshold. Based on the future load state sequence and the unit operation data, a pre-established group control parameter mapping relationship is queried, equipment control commands are generated and executed to adjust the operating parameters of the air compressor group.
[0008] In one optional implementation, the time-series feature analysis of the historical gas consumption data includes: The historical gas consumption data is standardized, and the processed data is input into a preset long short-term memory network to extract the gas consumption time sequence features. Calculate the variance of the gas consumption time series characteristics, and cluster the gas consumption time series characteristics whose variance is greater than a preset fluctuation threshold to obtain gas consumption fluctuation characteristics.
[0009] In one optional implementation, determining the target fluctuation period includes: The gas consumption fluctuation characteristics are classified into multiple cycles based on multiple preset cycle classification conditions, resulting in multiple cycle classification labels. The statistics are then used to determine the voting ratio for each fluctuation cycle. When the largest voting ratio is greater than the preset period confidence threshold, the corresponding fluctuation period is determined as the target fluctuation period.
[0010] In one optional implementation, the step of periodically dividing the real-time gas consumption data to obtain a standard periodic load sequence includes: Based on the time length corresponding to the target fluctuation cycle, the real-time gas consumption data is divided into multiple continuous periodic load data segments; The standard periodic load sequence is obtained by aligning the phases of multiple consecutive periodic load data segments and statistically analyzing the load values at the same phase points.
[0011] In one optional implementation, obtaining the future load forecast sequence includes: Calculate the time-by-time difference between the current periodic load sequence and the standard periodic load sequence, and perform trend prediction to obtain the residual prediction sequence for the prediction period; The periodic load corresponding to the prediction period is extracted from the standard periodic load sequence, and the periodic load is superimposed with the residual prediction sequence according to the prediction time to obtain the future load prediction sequence.
[0012] In one alternative implementation, determining the future load state sequence includes: The predicted load value at each prediction time in the future load prediction sequence is compared with the preset load threshold. The predicted time when the predicted load value is greater than the preset load threshold is determined as a high load state, and the predicted time when the predicted load value is less than or equal to the preset load threshold is determined as a low load state. Arrange the corresponding load states according to the time sequence of each prediction time to determine the future load state sequence.
[0013] In one optional implementation, the query of the pre-established group control parameter mapping relationship includes: The adjustable operating range of each variable frequency air compressor, the current start / stop status of each fixed frequency air compressor, and the operating efficiency data of each air compressor are extracted from the unit's operating data to obtain the unit's status characteristics. The predicted load range is determined based on the predicted load value at each predicted time, and the group control parameter mapping relationship is queried based on the corresponding load status, the predicted load range and the unit status characteristics to obtain the basic operating parameters and start-stop control parameters corresponding to each predicted time. The basic operating parameters and the start-stop control parameters are sorted in chronological order to obtain the basic operating parameter sequence and the start-stop control parameter sequence.
[0014] In one optional implementation, generating and executing device control commands to adjust the operating parameters of the air compressor group includes: Acquire real-time pressure data and real-time flow data of the gas supply network, and determine real-time pressure deviation and real-time flow deviation based on the real-time pressure data and the real-time flow data; The basic operating parameter sequence is compensated based on the real-time pressure deviation and the real-time flow deviation to obtain the target operating parameter sequence of the variable frequency air compressor; A variable frequency control sequence and a fixed frequency switching matrix are generated based on the target operating parameter sequence and the start / stop control parameter sequence, respectively. Equipment control commands are then generated based on the variable frequency control sequence and the fixed frequency switching matrix, and the equipment control commands are sent to the field controller of the air compressor group.
[0015] Secondly, the present invention provides an air compressor group control system based on load forecasting, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the above-mentioned air compressor group control method based on load forecasting.
[0016] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described air compressor group control method based on load prediction.
[0017] Compared with the prior art, the present invention has the following beneficial effects: (1) This invention determines the target fluctuation period by performing time-series characteristic analysis on historical gas consumption data, constructs a standard periodic load sequence based on the target fluctuation period, and superimposes the residual prediction result of the current periodic load relative to the standard periodic load sequence with the periodic load of the corresponding prediction period to obtain the future load prediction sequence. This series of operations can reflect the changing trend of the current gas consumption load relative to the periodic benchmark while retaining the periodic load changes, thereby identifying the gas consumption load changes in the prediction period in advance and providing a basis for the early adjustment of the air compressor group.
[0018] (2) This invention determines the future load state sequence based on the future load forecast sequence, and combines the unit operation data of the air compressor group to query the pre-established group control parameter mapping relationship to obtain the basic operating parameters and start-stop control parameters corresponding to each forecast time. This series of operations can match the future gas load with the adjustable operating range of the variable frequency air compressor, the current start-stop state of the fixed frequency air compressor, and the operating efficiency of each air compressor, thereby coordinating and adjusting the operating parameters of the variable frequency air compressor and the fixed frequency air compressor.
[0019] (3) This invention compensates for the basic operating parameters based on the real-time pressure and flow deviations of the gas supply network, and generates equipment control commands based on the compensated target operating parameters and start-stop control parameters. This series of operations can correct the control parameters determined based on load prediction according to the real-time operating status of the gas supply network, so that the advance adjustment of the air compressor group is adapted to the real-time status of the network, thereby improving the stability of gas supply pressure and flow, and reducing frequent loading and start-stop caused by control lag. Attached Figure Description
[0020] Figure 1 This is a flowchart illustrating the air compressor group control method based on load prediction provided in the first embodiment of the present invention. Detailed Implementation
[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] Reference Figure 1The first embodiment of the present invention provides a method for group control of air compressors based on load prediction, including steps S101 to S105, as follows: S101, acquire historical gas consumption data, real-time gas consumption data and unit operation data of the gas consumption area, perform time series characteristic analysis on the historical gas consumption data, and determine the target fluctuation period; S102, the real-time gas consumption data is divided into periods according to the target fluctuation period to obtain a standard period load sequence. The current period load sequence is extracted from the real-time gas consumption data, and the time-by-time difference between the current period load sequence and the standard period load sequence is calculated to obtain a residual sequence. S103, perform trend prediction on the residual sequence to obtain the residual prediction sequence for the prediction period, extract the periodic load corresponding to the prediction period based on the standard periodic load sequence, and superimpose it with the residual prediction sequence to obtain the future load prediction sequence; S104, Based on the comparison results between the predicted load values at each prediction time in the future load prediction sequence and the preset load threshold, determine the future load state sequence; S105: Based on the future load state sequence and the unit operation data, query the pre-established group control parameter mapping relationship, generate equipment control commands and execute them to adjust the operating parameters of the air compressor group.
[0023] In step S101, historical gas consumption data, real-time gas consumption data, and unit operation data of the air compressor group for the gas consumption area are acquired. Time-series characteristic analysis is performed on the historical gas consumption data to determine the target fluctuation period. Specifically, this includes steps S1011 to S1015.
[0024] S1011, acquire historical gas consumption data, real-time gas consumption data, and unit operation data of the air compressor group for the gas consumption area. The historical and real-time gas consumption data are both actual gas supply flow rates collected by flow acquisition devices installed on the main gas supply pipe of the gas consumption area. The flow acquisition devices, through the data acquisition interface of the group control system, write the data arranged according to the sampling time into the historical and real-time databases respectively. The flow sampling interval for load forecasting is 1 hour, and the load unit is m³ / h. Historical gas consumption data is continuously selected backward from the current analysis time, covering at least four complete cycles of each candidate fluctuation period; for example, when the candidate periods include an 8-hour shift cycle, a 24-hour daily cycle, and a 168-hour weekly cycle, 28 consecutive days of historical gas consumption data are selected. Real-time gas consumption data is the gas load data continuously updated during the current operation at the same sampling interval. The unit operation data is uploaded by the controllers and frequency converters of each air compressor. The unit operation data of the variable frequency air compressor includes the adjustable operating frequency range (Hz), the adjustable operating speed range (r / min), the current output flow rate (m³ / h), and the input power (kW); the unit operation data of the fixed frequency air compressor includes the start / stop status, loading status, unloading status, rated output flow rate (m³ / h), and input power (kW).
[0025] Workshop ambient temperature data is provided by digital temperature sensors installed in the electrical control cabinet of the gas consumption area. The sampling interval is 1 hour, synchronized with the gas load sampling, and the temperature unit is °C. Production shift identifiers are output by the production execution system according to the current scheduling plan, using the production batch code as the identifier value, and are automatically updated to the real-time database with each shift change.
[0026] S1012, The historical gas consumption data is standardized to obtain normalized gas consumption data.
[0027] The standardization process includes validity determination, missing value imputation, and numerical mapping. Valid gas load values refer to data where the sampling time falls within a 1-hour sampling grid, the flow acquisition device reports a valid status code, and the flow rate is within the instrument's calibrated range; data that does not meet any of these conditions are considered missing values. For missing values occurring within no more than two consecutive sampling times, linear interpolation is performed using the preceding and following valid gas load values; for missing values occurring within more than two consecutive sampling times, no interpolation is performed, and the 24-hour training window and complete cycle load data segments containing the missing interval are removed. After missing value processing, a maximum-minimum normalization method is used to map the valid historical gas load values participating in this analysis to a numerical range of 0 to 1 based on their minimum and maximum values; when the load value within a historical period is constant, the normalization result for that period is recorded as 0.
[0028] For example, historical gas consumption data for a gas-consuming area is obtained over 28 consecutive days, sampled hourly. When the flow rate value at the 100th sampling time is missing, and the effective flow rate values at the 99th and 101st sampling times are 400 m³ / h and 420 m³ / h respectively, the flow rate value at the 100th sampling time is linearly interpolated to 410 m³ / h. After handling the missing values, the data is mapped to a numerical range of 0 to 1 according to the minimum-maximum normalization formula to obtain normalized gas consumption data for time-series feature extraction.
[0029] S1013, The normalized gas consumption data is input into a preset long short-term memory network to extract the gas consumption time sequence features.
[0030] The Long Short-Term Memory (LSTM) network was trained using normalized historical gas consumption data from a historical database before the group control system was put into operation. Normalized load values from 24 consecutive sampling times (i.e., 24 consecutive hours) were used as input samples, and the normalized load value from the 25th sampling time immediately following this input sample was used as the supervised learning label. A sample set was formed by sliding along the time axis in 1-hour increments. The first 70% of the sample set was divided into a training set, the next 15% into a validation set, and the last 15% into a test set, to prevent data from later periods from being included in the initial training. The Adam optimizer was used during training, with an initial learning rate of 0.001, mean squared error as the loss function, a batch size of 32, and a maximum of 100 training epochs. Training stopped when the validation set loss did not decrease after 10 consecutive training epochs, and the network parameters with the minimum validation set loss were saved. After training, the network parameters were fixed during a cycle identification and load prediction process. After accumulating new complete historical cycles, the network was retrained using the same sample construction and training method.
[0031] The analysis window is the same as the input window of the Long Short-Term Memory (LSTM) network, consisting of 24 consecutive sampling times, with the analysis window sliding in 1-hour increments. For each analysis window, the second LSM layer outputs 16-dimensional hidden states over 24 time steps. The variance of each hidden state component relative to its mean is calculated within the 24-hour window, and the 16 variances are summed to obtain the feature variance score for that window. Simultaneously, the output of each hidden state component over 24 hours is averaged to obtain the 16-dimensional window feature used for clustering. Thus, the feature variance score is used to filter load fluctuation windows, and the 16-dimensional window feature is used for subsequent clustering; both are calculated at a 24-hour granularity.
[0032] In this embodiment, the pre-defined Long Short-Term Memory (LSTM) network employs a two-layer stacked structure. The first LSM layer outputs a 32-dimensional hidden state at each time step within a 24-hour window. The second LSM layer receives the 32-dimensional output from the first layer and further encodes it into a 16-dimensional hidden state. Each LSM layer uses a single forward connection, does not employ dropout regularization, and uses the hyperbolic tangent function as the default activation method. This two-layer stacked architecture can gradually accumulate deep temporal patterns of gas load variations over time within a 24-hour input window.
[0033] S1014, Based on the variance of the gas consumption time sequence characteristics, feature filtering and clustering are performed to obtain gas consumption fluctuation characteristics.
[0034] Calculate the feature variance score for each analysis window, and identify 16-dimensional window features with feature variance scores greater than a preset fluctuation threshold as features to be clustered. The feature variance score represents the overall dispersion of each hidden state component within the corresponding 24-hour window; windows with scores not greater than the preset fluctuation threshold do not participate in clustering, while windows with scores greater than the preset fluctuation threshold are included in subsequent clustering.
[0035] In this embodiment, the preset fluctuation threshold is set to 5. This threshold is based on the characteristic variance score distribution of historical production data: before the group control system is put into operation, historical periods are selected where the production plan is recorded as being in production execution status, the unit controller has not recorded any fault shutdowns, maintenance shutdowns, or emergency shutdowns, and the proportion of effective flow data is not less than 95%. The characteristic variance scores of each 24-hour window are calculated. The cutoff value that can screen out windows with drastic gas consumption changes while retaining a sufficient number of cluster samples is set to 5. Since the characteristic variance score is obtained by adding the variances of 16 hidden state components, the threshold of 5 is used to identify gas consumption fluctuation windows with a large overall dispersion. When the long short-term memory network structure or feature dimension changes, this threshold is re-determined according to the same historical data statistical method.
[0036] The features to be clustered are grouped into clusters, and 16-dimensional window features with similar load change patterns are grouped into the same feature cluster to obtain gas consumption fluctuation features. These gas consumption fluctuation features include the cluster center of each feature cluster, the feature cluster number to which each window belongs, and the time position of the corresponding window. The three feature clusters are sequentially labeled as the first feature cluster, the second feature cluster, and the third feature cluster for subsequent periodic classification.
[0037] K-means clustering was used to cluster the features to be clustered, with 3 clusters. First, three initial cluster centers were selected from the features to be clustered. The distance between each feature and each cluster center was calculated, and the feature was assigned to the cluster with the smallest distance. Then, the stepwise average of the window features within each cluster was calculated, and the corresponding cluster center was updated using this stepwise average. This partitioning and updating operation was repeated until the cluster centers remained unchanged after two consecutive updates. The three feature clusters and their corresponding classification labels were then output. These three feature clusters are used to characterize the gas consumption fluctuation patterns during equipment startup, full-load operation, and shutdown purging, respectively.
[0038] For example, after filtering the 24-hour analysis window formed by 28 consecutive days of historical data, the features of the window with a feature variance score greater than 5 are divided into 3 feature clusters. Each feature cluster retains its cluster center, the start time of the member windows, and the classification label, which are used as input to the periodic classification model.
[0039] S1015, Determine the target fluctuation period based on the gas consumption fluctuation characteristics.
[0040] The gas consumption fluctuation characteristics are classified periodically according to 100 sets of preset periodic classification conditions. Each set of preset periodic classification conditions outputs a periodic classification label for a candidate fluctuation period. The 100 labels participate in the statistical analysis with equal weight. The voting ratio of a candidate fluctuation period is the proportion of the number of decision trees that output that periodic label to all 100 decision trees. When the maximum voting ratio is greater than a preset periodic confidence threshold, the candidate fluctuation period corresponding to the maximum voting ratio is determined as the target fluctuation period. When the maximum voting ratio is not greater than the threshold, the target fluctuation period determined in the previous control period is maintained, and the periodicity is reclassified after obtaining new complete periodic data.
[0041] The candidate fluctuation cycles are determined based on the repetitive patterns of production operations, including 8-hour shift cycles, 24-hour daily cycles, and 168-hour weekly cycles, consistent with the historical gas consumption data coverage strategy in step S1011. The samples used to train the cycle classification model consist of a set of historical gas load states: the gas consumption fluctuation characteristics, sampling timestamps, workshop ambient temperature, and production shift identifiers corresponding to each window are combined into a single sample; the cycle classification label of this sample is determined by the repetition cycle of its historical production plan. For example, samples whose production plans repeat weekly are labeled as weekly cycles. Training labels are generated from production plan records, avoiding reliance on operators' subjective judgment.
[0042] The 100 preset periodic classification conditions are composed of 100 feature decision trees. Each feature decision tree takes a 12-dimensional gas load state set consisting of gas consumption fluctuation characteristics, sampling timestamps, workshop ambient temperature, and production shift identifiers as input, and the corresponding periodic classification label as training label. During training, five features are randomly selected from the 12 input features to form a subset of candidate features for the current node. The information gain of each candidate feature is calculated, and the feature with the largest information gain is selected as the splitting criterion for that node. The feature decision tree is then recursively generated. Each of the 100 feature decision trees outputs a periodic classification label for the current gas load state set, and the output labels together form a classification voting matrix.
[0043] The 12-dimensional gas load state set is structured as follows: the 16-dimensional window feature vector of the current analysis window is used to calculate the Euclidean distance with the centers of the three feature clusters output in step S1014, resulting in three distance values, occupying three dimensions; the clustering label assigned to the current analysis window is represented by numerical encoding, occupying one dimension; the hour number corresponding to the sampling time is normalized and occupies one dimension; the week number corresponding to the sampling time is normalized and occupies one dimension; the workshop ambient temperature collected at the same time is normalized and occupies one dimension; the temperature change of the workshop ambient temperature relative to the previous hour occupies one dimension; the production shift code is normalized and occupies one dimension; three supplementary feature dimensions are reserved to accommodate future expansion of operating parameters. The above 12 dimensions are arranged in the order described above. During training, each feature decision tree randomly selects five dimensions from the 12 input dimensions as the candidate splitting feature subset for the current node.
[0044] The preset period confidence threshold is set to 0.8, meaning that a candidate period is only determined as the target fluctuation period when at least 81 out of 100 feature decision trees output the same candidate period. The threshold of 0.8 corresponds to at least 80% of the decision trees forming the same classification result, which is used to avoid the period classification results formed by a few decision trees directly changing the target fluctuation period of the group control system.
[0045] For example, 100 feature decision trees output periodic classification labels for the current gas consumption fluctuation characteristics, of which 85 trees output weekly cycles, 10 trees output daily cycles, and 5 trees output shift cycles. The weekly cycle received 85 votes, accounting for 0.85 of all 100 votes, which is greater than 0.8, so the weekly cycle is determined as the target fluctuation cycle; the time length corresponding to the weekly cycle is 168 hours.
[0046] In step S102, the real-time gas consumption data is divided into periods according to the target fluctuation period to obtain a standard periodic load sequence; the current periodic load sequence is extracted from the real-time gas consumption data, and the time-by-time difference between the current periodic load sequence and the standard periodic load sequence is calculated to obtain a residual sequence.
[0047] It should be noted that the periodic load data segment is a continuous data segment extracted from real-time gas consumption data according to the time length corresponding to the target fluctuation period. The phase point is the position corresponding to a sampling time within the target fluctuation period. The standard periodic load sequence is a periodic reference sequence obtained by aligning the phases of multiple periodic load data segments and statistically analyzing the load values at the same phase points.
[0048] The number of sampling points in each periodic load data segment is determined based on the time length corresponding to the target fluctuation period and the sampling interval of the real-time gas consumption data. Starting from the start time of the real-time gas consumption data, multiple consecutive data segments are sequentially divided according to the number of sampling points. The data segment used to establish the standard periodic load sequence is the complete periodic load data segment before the current time, and incomplete data segments are processed separately as the current periodic load sequence.
[0049] Because production start-up time, process changeover time, and pause time may have time offsets in different cycles, phase alignment is performed on multiple cycle load data segments to ensure that load values representing the same production stage in each data segment correspond to the same phase point. The complete cycle load data segment closest to the current time is selected as the reference data segment, and the remaining complete cycle load data segments are aligned using a dynamic time warping method. The dynamic time warping method compares the load differences between the data segment to be aligned and the reference data segment at each sampling time, and determines the alignment path with the minimum cumulative matching cost while maintaining the order of sampling times; this alignment path is used to map the gas consumption peaks, gas consumption troughs, and process changeover positions of each data segment to the same or adjacent phase points.
[0050] The dynamic time warping method uses the normalized load difference at the same candidate phase point in two periodic load data segments as the matching cost, and progressively selects the phase correspondence with the smaller cumulative matching cost from the start phase to the end phase of the data segment. After phase alignment is completed, only the phase correspondence between different data segments is changed, without changing the actual load value within any periodic load data segment.
[0051] The normalized load difference is obtained by performing maximum-min normalization on the load values in the two periodic load data segments. Specifically, for any periodic load data segment, the maximum value L_max and the minimum value L_min are extracted from all its load values, and each load value L is mapped to the [0,1] interval using the minmax normalization method. When L_max equals L_min within a data segment, all normalized load values in that data segment are set to 0. The absolute value of the difference between the normalized load values of the two data segments at the same candidate phase point after normalization is the matching cost of that candidate phase point.
[0052] When the real-time gas consumption data contains a production start-up flag or a process switching flag, the sampling time when the corresponding flag appears is used as the phase reference to shift and align the load data segments of each cycle. If no such flag is set, the sampling time with the highest load value within each cycle load data segment is used as the phase reference. If multiple identical highest load values exist, the earliest sampling time is selected. After phase alignment, data deemed invalid in step S1012 is removed, and the arithmetic mean of the remaining effective load values at the same phase point is taken to obtain the standard cycle load sequence. Each load value in the standard cycle load sequence represents the periodic reference load at the corresponding phase point within the target fluctuation period.
[0053] The dynamic time warping method and the identifier / peak reference shifting and alignment method are executed in series. The execution sequence is as follows: First, check if the real-time gas consumption database contains production start-up identifiers or process switching identifiers. If they exist, use the sampling time of the corresponding identifier in each cycle load data segment as the coarse alignment reference for shifting and alignment, so that the sampling times representing the same production stage in each data segment correspond to the same or adjacent phase points. If no identifier exists, use the sampling time with the highest load value in each cycle load data segment as the alternative coarse alignment reference. After coarse alignment, the dynamic time warping method is used to finely align each coarsely aligned data segment to further correct the remaining phase offset caused by production cycle fine-tuning and pause events.
[0054] It should be noted that the residual sequence is used to characterize the deviation of the current periodic load from the periodic reference load. A positive residual value indicates that the load at the corresponding phase point of the current period is higher than the periodic reference load, a negative residual value indicates that the current periodic load is lower than the periodic reference load, and a residual value close to zero indicates that the current periodic load is close to the periodic reference load. The residual sequence retains non-periodic changes and is used for trend prediction in step S103.
[0055] For example, the target fluctuation period is 168 hours, the sampling interval for real-time gas consumption data is 1 hour, and the real-time gas consumption data for 28 consecutive days is divided into 4 complete periodic load data segments. Using the 4th complete data segment as the baseline data segment, the first 3 data segments are phase-aligned; then, the load values at the same phase points in the 4 data segments are arithmetically averaged to obtain a standard periodic load sequence containing 168 baseline load values. When 48 hours of data have been collected for the current week, 48 load values are extracted from the start of the current week and subtracted hourly from the first 48 phase points of the standard periodic load sequence to obtain the current residual sequence.
[0056] Extract gas load data from the start of the current target fluctuation cycle to the current moment from real-time gas consumption data to obtain the current cycle load sequence. Based on the phase point corresponding to each load value in the current cycle load sequence, read the reference load at the same phase point from the standard cycle load sequence, and subtract the corresponding reference load from the current cycle load to obtain the residual value at that phase point. For any sampling moment... The residual values satisfy: .in, Indicates the sampling time The residual value; This indicates the current periodic load sequence at the sampling time. Gas load; This indicates the standard periodic load sequence at the sampling time. The reference load corresponding to the phase point; arrange all residual values according to the sampling time to obtain the residual sequence.
[0057] The trend prediction is based on the relationship between the residual values in the residual sequence and the sampling time, determining the predicted residual values for each prediction time within the prediction period. The prediction period is set to 24 hours, and the group control system recalculates the prediction every hour. The 24-hour prediction period covers the next day's production scheduling window and is less than a 168-hour cycle to avoid extrapolating the residual trend to a range exceeding one target fluctuation cycle. The residual prediction sequence is arranged according to the prediction time, and its k-th element uses the same sampling time index as the k-th element of the periodic load sequence.
[0058] An autoregressive integral moving average model is used to fit the trend of the residual sequence. The input of this model is the residual sequence up to the current time within the current target fluctuation period, and the output is the predicted residual sequence arranged according to the prediction time for the next 24 hours. In this embodiment, the order of the autoregressive term is set to 3, the order of the differencing term is set to 1, and the order of the moving average term is set to 2. The autoregressive term is used to reflect the correlation between the current residual value and the previous residual value, the differencing term is used to reduce non-stationary changes in the residual sequence, and the moving average term is used to reflect the correlation between the current residual value and the previous prediction error.
[0059] The parameter estimation of the autoregressive integral moving average model employs the conditional maximum likelihood estimation method. Given the constraints of the autoregressive term order p=3, the difference order d=1, and the moving average term order q=2, the residual sequence after difference is used as the observed data. A conditional likelihood function is constructed with the autoregressive coefficients φ1, φ2, φ3 and the moving average coefficients θ1, θ2 as the parameters to be estimated. A numerical optimization algorithm (such as the quasi-Newton method) is used to solve for the parameter combination that maximizes the likelihood function, and this parameter combination is then used as the model parameters for the current prediction period.
[0060] During model fitting, the residual sequence is first differenced, and then trend prediction is performed based on the current residual value, the residual values of the previous three sampling times, and the prediction errors of the previous two sampling times. The predicted residual values for the next 24 sampling times are then output sequentially. Therefore, the autoregression order, differencing order, and moving average order mentioned in this paper only represent the number of preceding residuals used in the autoregression process, the number of differencing operations, and the number of preceding prediction errors used in the moving average process, respectively, and are no longer referred to by single-letter symbols.
[0061] After the autoregressive integral moving average model outputs the predicted value in the difference domain, an inverse difference transformation is performed to recover the predicted residual value in the original domain as follows: Using the residual value R(t) at the current sampling time t as the initial accumulation value, the predicted value in the difference domain is sequentially accumulated for the k-th prediction time (k=1,2,…,24). Let the predicted value in the difference domain at the k-th sampling time be d_k, then the predicted residual value at the k-th prediction time… The following superposition relationship is satisfied: Where d_i is the difference domain prediction value output by the autoregressive integral moving average model at the i-th future sampling time, and R(t) is the residual value at the current sampling time. After completing the inverse difference transformation, all R_p values are arranged according to the prediction time to obtain the residual prediction sequence of the original domain, which is used for subsequent load overlay steps.
[0062] After inputting the current residual sequence into the autoregressive integral moving average model, the model outputs the predicted residual values for the next 24 hours sequentially according to the prediction time. The model parameters and prediction periods are determined before the start of the current prediction; when complete historical periodic data is reacquired, the model parameters are refitted using the newly acquired residual sequence.
[0063] Based on the phase of each forecast time within the target fluctuation cycle, the baseline load value for the corresponding phase point is read from the standard periodic load sequence. The read baseline load values are arranged according to the forecast time to obtain the periodic load sequence for the forecast period. When the forecast period crosses the end of the target fluctuation cycle, the periodic load is extracted again from the starting phase of the standard periodic load sequence, ensuring that the periodic load sequence covers all forecast times.
[0064] For example, an autoregressive integral moving average model with an autoregressive term of order 3, a differencing term of order 1, and a moving average term of order 2 is established based on the current residual sequence, and the residual prediction sequence for the next 24 hours is output. The load value corresponding to the first predicted time in the standard cycle load sequence is 400 cubic meters per hour, and the residual prediction value is 20 cubic meters per hour; therefore, the predicted load value for that time is 420 cubic meters per hour. The remaining 23 predicted times are calculated in the same way to obtain the load prediction sequence for the next 24 hours.
[0065] In step S104, the predicted load values at each prediction time in the future load prediction sequence are compared with preset load thresholds. Based on the comparison results, the load state corresponding to each prediction time is determined, and the load states are arranged in chronological order according to the prediction times to obtain a future load state sequence. This step converts continuous predicted load values into state information for querying the group control parameter mapping relationship.
[0066] The predicted load value for that prediction time is obtained by adding the cyclic load value to the residual predicted value at the same prediction time. For any prediction time... Predicted load meets .in, Indicates the predicted time Predicted gas load; This indicates the standard periodic load sequence at the prediction time. The reference load at the corresponding phase point; Indicates the predicted time The residual forecast values are used to calculate the future load forecast sequence by arranging all forecast load values according to the forecast time. The cyclical load value is used to represent the basic gas demand generated by the production cycle, and the residual forecast value is used to represent whether the current cycle is rising, falling, or maintaining a trend relative to the historical cycle benchmark. The two are superimposed to form the complete forecast load.
[0067] The high-load state refers to a state where the predicted load value is greater than the preset load threshold, indicating that the gas demand at the corresponding predicted time is above the preset load boundary value. The low-load state refers to a state where the predicted load value is less than or equal to the preset load threshold. The future load state sequence is a combination of high-load and low-load states arranged according to the predicted time, used to represent the occurrence time and duration of different load states within the prediction period.
[0068] For each forecast time in the future load forecast sequence, a comparison is performed between the forecast load value and a preset load threshold. When the forecast load value is greater than the preset load threshold, a high load state is recorded for that forecast time; when the forecast load value is less than or equal to the preset load threshold, a low load state is recorded for that forecast time. All comparisons use the same forecast time index to ensure that the load state corresponds to subsequent basic operating parameters and start / stop control parameters.
[0069] The preset load threshold is a load boundary value determined and stored in the group control system before the current load status judgment begins, with units of cubic meters per hour. Its calibration process includes: extracting the maximum predicted load value from the 24-hour load forecast sequence; obtaining the rated maximum transmission capacity of key pressure regulating nodes in the gas supply network under the target gas supply pressure, and the maximum promised supply volume of the gas source during the corresponding time period; calculating the ratio of the maximum predicted load value to the maximum available gas volume for the corresponding time period to obtain the supply-demand matching degree, wherein the maximum available gas volume is the smaller value between the rated maximum transmission capacity and the maximum supply volume; determining a dynamic fluctuation range in a pre-constructed interval mapping relationship based on the supply-demand matching degree; and determining the upper limit boundary value of the dynamic fluctuation range as the preset load threshold. The interval mapping relationship is established based on the average load of historical effective production periods and is used to adjust the load threshold according to the supply-demand matching degree.
[0070] The complete mapping structure of the pre-constructed interval mapping relationship is as follows: Using the historical average load value Q_base (unit: m³ / h) during effective production periods as the baseline, the supply-demand matching degree is divided into five continuous intervals, with the boundary points of each interval being 20%, 40%, 60%, and 80%. When the supply-demand matching degree is in the 0 to 20% interval, the dynamic fluctuation range is [Q_base×0.70, Q_base×0.90]; when it is in the 20% to 40% interval, the dynamic fluctuation range is [Q_base×0.75, Q_base×0.95]; when it is in the 40% to 60% interval, the dynamic fluctuation range is [Q_base×0.80, Q_base×1.05]; when it is in the 60% to 80% interval, the dynamic fluctuation range is [Q_base×0.85, Q_base×1.15]; and when it is in the 80% to 100% interval, the dynamic fluctuation range is [Q_base×0.90, Q_base×1.25]. This mapping relationship is stored in the parameter configuration module of the group control system in the form of a lookup table. When the average base load changes due to seasonal production plan adjustments or other reasons, the updated average base load is used as the benchmark, and the upper and lower limit boundary values of each dynamic fluctuation interval are recalculated according to the multiplier rules of each interval mentioned above, and the corresponding records in the lookup table are updated.
[0071] For example, the maximum predicted load value in the 24-hour load forecast sequence is 500 m³ / h, the rated maximum transmission capacity of the key pressure regulating node of the gas supply network is 800 m³ / h, and the maximum promised supply from the gas source is 800 m³ / h, thus determining a supply-demand matching degree of approximately 62%. The average base load during historical effective production periods is 400 m³ / h, with a supply-demand matching degree between 60% and 80%, resulting in a dynamic fluctuation range of 340 m³ / h to 460 m³ / h, with 460 m³ / h used as the preset load threshold. The predicted load value at the 5th forecast time is 485 m³ / h, greater than 460 m³ / h, recorded as a high load state; the predicted load value at the 6th forecast time is 450 m³ / h, less than or equal to 460 m³ / h, recorded as a low load state.
[0072] In step S105, the basic operating parameters and start-stop control parameters corresponding to each predicted time are obtained by querying the pre-established group control parameter mapping relationship based on the future load state sequence and unit operation data; then, the basic operating parameters are compensated by combining the real-time pressure data and real-time flow data of the gas supply network, generating equipment control commands and sending them to the field controller to adjust the operating parameters of the air compressor group.
[0073] The group control parameter mapping relationship is established before the air compressor group is put into group control operation. During establishment, the load forecast values, unit operating status, variable frequency air compressor operating speed or frequency, fixed frequency air compressor switching status, and operating efficiency data for historical effective production periods are compiled according to high load and low load conditions. Combined with the performance curves and trial operation results of each unit, the basic operating parameters and start-stop control parameters that can meet the air supply pressure and flow requirements within each predicted load range are determined and stored as the group control parameter mapping relationship. The mapping record corresponding to the high load condition is used to determine the basic operating speed or frequency of the variable frequency air compressor, and the mapping record corresponding to the low load condition is used to determine the number of fixed frequency air compressors in operation and their switching status.
[0074] The process of establishing the group control parameter mapping relationship includes the following steps: In the offline construction phase, for the median load of each predicted load interval and each load state (high load / low load), based on the equivalent air supply-efficiency relationship of the corresponding output flow point in the performance curve of each unit, all feasible variable frequency air compressor operating speed values and fixed frequency air compressor switching combinations are listed; In the gas supply network trial operation environment, the controller executes each feasible combination sequentially, and after the gas supply pressure and flow rate of the pipeline enter a steady state, the steady-state value of the gas supply pressure, the steady-state value of the gas supply flow rate, and the energy consumption per unit of gas supply are recorded; In all trial operation records, the combination that meets the set requirements for both gas supply pressure and gas supply flow rate and has the lowest energy consumption per unit of gas supply is selected, and its corresponding basic operating parameters and start-stop control parameters, along with the load state, upper and lower limits of the predicted load interval, the corresponding unit state characteristics, and the minimum duration, are stored as a record in the group control parameter mapping relationship. The set requirements are that the steady-state value of the gas supply pressure is within the allowable deviation range of the target gas supply pressure and the steady-state value of the gas supply flow rate is not less than the median load of the predicted load interval.
[0075] The predicted load intervals are pre-divided based on the rated maximum delivery capacity of the gas supply network, the sustainable gas supply capacity of the air compressor group, and the position of gas supply changes in the performance curves of each unit. Each predicted load interval has its lower and upper limits expressed in cubic meters per hour. Within the same predicted load interval, there is a set of basic operating parameters and start-stop control parameters that can meet the gas supply demand of that interval. For example, 460 m³ / h to 500 m³ / h constitutes a predicted load interval, which is used to query the basic operating parameters of the variable frequency air compressor and the switching combination of the fixed frequency air compressor under high load conditions.
[0076] The basic operating parameters are the variable frequency air compressor operating parameters predetermined based on future load conditions, predicted load ranges, and unit status characteristics, including the basic operating frequency or basic speed. The start-stop control parameters are used to determine the switching status of the fixed frequency air compressors, including the number of units in operation, switching combinations, start conditions, and shutdown conditions. The basic operating parameters and start-stop control parameters together represent the basic unit scheduling scheme for the corresponding predicted time.
[0077] The unit status characteristics are recorded according to the unit number. For each variable frequency air compressor, its availability status, minimum operating frequency, maximum operating frequency, and current operating frequency are recorded; for each fixed frequency air compressor, its availability status, current start / stop status, and loading or unloading status are recorded; and the operating efficiency data of each unit is determined based on the input power corresponding to the same output flow rate in the unit performance curve. When querying the group control parameter mapping relationship, priority is given to the mapping records of currently available units, whose basic operating frequency is within their adjustable operating range, and whose operating efficiency is relatively high.
[0078] The predicted load interval is determined based on the preset interval where the predicted load value is located at each predicted time. The load status, predicted load interval, and current unit status characteristics at the corresponding predicted time are used as query conditions. First, candidate records are accurately located in the group control parameter mapping relationship according to the load status, predicted load interval number, and available unit status code. Then, records whose basic operating frequency is not within the adjustable operating range of the current frequency converter are eliminated. The first record is selected from best to worst according to efficiency level and unit gas supply energy consumption. The basic operating parameters and start-stop control parameters in the record are read to obtain the parameter combination corresponding to the predicted time.
[0079] The basic operating parameters are arranged in chronological order according to the predicted time points to obtain the basic operating parameter sequence; the start-stop control parameters are arranged in the same chronological order to obtain the start-stop control parameter sequence. The same index in both parameter sequences corresponds to the same predicted time point. When adjacent predicted times fall within the same load state and predicted load range, the corresponding parameter combination is maintained; when the load state or predicted load range changes, the parameter combination is updated according to the new query results.
[0080] The group control parameter mapping relationship is stored in the form of a lookup table. Each record includes load status, lower limit of the predicted load range, upper limit of the predicted load range, unit status characteristics, basic operating frequency or basic operating speed, fixed-frequency air compressor switching combination, minimum duration, and energy consumption per unit air supply. Load status includes only high load and low load status; the predicted load range is expressed in cubic meters per hour; the fixed-frequency air compressor switching combination is recorded according to the unit number, indicating whether it is in operation or remains off; the minimum duration is expressed in minutes to prevent frequent changes in the start / stop status of the fixed-frequency air compressor between adjacent control times.
[0081] The minimum duration is not less than the minimum start-stop interval specified by the corresponding fixed-frequency air compressor manufacturer. For example, if the manufacturer specifies a minimum start-stop interval of 10 minutes, the minimum duration of the corresponding record in the lookup table is set to 10 minutes; the fixed-frequency air compressor switching combination in that record is executed only when the predicted load is continuously within the corresponding interval of that record for at least 10 minutes.
[0082] When the status characteristics of the generating units change, the group control system uses the currently available generating units and their adjustable operating range as query conditions to re-determine the parameter combinations. For example, when a variable frequency air compressor is out of operation or a fixed frequency air compressor is in an unavailable state, that unit is not included in the selectable switching combinations at the current moment; therefore, the basic operating parameters and start-stop control parameters output by the group control parameter mapping relationship are consistent with the currently executable generating unit status.
[0083] A complete mapping record in the lookup table can be defined as follows: load status is high load; predicted load range is 460 m³ / h to 500 m³ / h; current unit status is: the first variable frequency air compressor is available, the first fixed frequency air compressor is running, and the second and third fixed frequency air compressors are ready to be put into operation; basic operating speed is 2800 r / min; fixed frequency air compressor switching combination is: the first and second compressors are in operation, and the third compressor remains off; minimum duration is 10 minutes. After this record is retrieved, the first variable frequency air compressor operates at a basic speed of 2800 r / min, the first and second fixed frequency air compressors are in operation, and the third fixed frequency air compressor remains off.
[0084] Furthermore, real-time pressure and flow data of the gas supply network are acquired. Real-time pressure data, measured in MPa, is obtained from pressure acquisition devices installed at the outlet of the gas supply main or storage tank; real-time flow data, measured in m³ / h, is obtained from flow acquisition devices on the gas supply main. The pressure and flow acquisition devices upload data at a 1-minute control sampling interval. The latest sample with a valid status code and a value within the corresponding instrument's range is used as the network operation data for the current control moment.
[0085] It should be noted that the real-time pressure deviation is the difference between the preset target pressure and the real-time pressure data, used to represent the deviation of the current gas supply pressure from the target pressure. The real-time flow deviation is the difference between the predicted load value at the current control moment and the real-time flow data, used to represent the deviation of the actual gas supply flow from the predicted scheduling demand. Both deviations are determined before generating the equipment control commands for the current control moment.
[0086] The proportional, integral, and derivative adjustment coefficients are determined based on the allowable pressure range of the air supply network, the response time to flow rate changes, and the speed response time of the variable frequency air compressor. During trial operation, small changes in operating parameters are applied near the baseline operating speed, and the time required for pressure and flow rate to reach a stable state and whether continuous oscillations occur are recorded. A combination of coefficients is selected that maintains the pressure within the allowable range, gradually reduces flow rate deviation, and avoids continuous oscillations. The baseline operating parameters are then superimposed with the compensation values for the operating parameters, limiting the result to the adjustable operating range of the corresponding variable frequency air compressor.
[0087] In this embodiment, after calibration using the aforementioned trial operation method, the proportional control coefficient K_P is set to 1.2, the integral control coefficient K_I is set to 0.06, and the derivative control coefficient K_D is set to 0.15. These values are determined based on constraints including an allowable pressure deviation of ±0.05 MPa in the gas supply network, a speed response time of 2 to 5 seconds for the variable frequency air compressor, and a target pressure recovery time not exceeding 30 seconds. The initial parameter combination for trial operation calibration is K_P=1.0, K_I=0.05, and K_D=0.1. Around this initial combination, the coefficients are adjusted sequentially in steps of 0.1 (K_P), 0.01 (K_I), and 0.05 (K_D). The transition curves of pressure and flow deviations after each adjustment are recorded. The final value is selected as the three-coefficient combination that allows the pressure deviation to converge to the allowable range within 30 seconds and the flow deviation to monotonically decay without continuous oscillation. When the configuration of the gas supply network or the number of air compressor units changes, the values of the three adjustment coefficients shall be recalibrated according to the trial operation method described above.
[0088] A variable frequency control sequence is generated based on the target operating parameter sequence. The variable frequency control sequence records the target operating frequency or target speed according to the control time and the variable frequency air compressor number. A fixed frequency switching matrix is generated based on the start-stop control parameter sequence and the current start-stop status of each fixed frequency air compressor. The rows of the fixed frequency switching matrix correspond to the control time, the columns correspond to the fixed frequency air compressor numbers, and the matrix elements represent the start-up, maintenance, or shutdown status of the corresponding unit at the corresponding control time.
[0089] The target operating parameters of the variable frequency air compressor are obtained by compensating the basic operating parameters corresponding to the current control moment in the basic operating parameter sequence based on the real-time pressure deviation and real-time flow deviation. The real-time pressure deviation is the difference between the target air supply pressure and the real-time pressure data, and the real-time flow deviation is the difference between the predicted load value and the real-time flow data corresponding to the current control moment. The two deviations are first combined into a dimensionless comprehensive deviation according to a predetermined weight, and then input into the proportional-integral-derivative (PID) controller; the speed compensation of the PID controller satisfies… .in, Indicates the first The speed compensation amount at each control sampling moment, in r / min; Indicates the current control sampling time. This indicates the historical control sampling time in the integral calculation; Indicates the first Dimensionless composite deviation at each control sampling time Indicates the first Dimensionless composite deviation at each historical control sampling moment; , and These represent the proportional, integral, and derivative adjustment coefficients, respectively. The control sampling interval is used to superimpose the speed compensation amount onto the basic operating parameters to obtain the target operating parameters.
[0090] The dimensionless composite deviation is synthesized in the following manner: Wherein, ΔP(k) is the real-time pressure deviation (in MPa) at the k-th control sampling time, which is equal to the target gas supply pressure minus the real-time pressure data; ΔP_allow is the allowable pressure fluctuation range of the gas supply network, which is taken as 0.05 MPa in this embodiment; ΔQ(k) is the real-time flow deviation (in m³ / h) at the k-th control sampling time, which is equal to the predicted load value corresponding to the current control time minus the real-time flow data; Q_pred(k) is the predicted load value corresponding to the k-th control sampling time. The composite weight of the pressure deviation component is 0.6, and the composite weight of the flow deviation component is 0.4. The pressure deviation is given a higher weight to prioritize maintaining the stability of the gas supply pressure.
[0091] After receiving the equipment control command, the field controller first verifies the equipment identification and command time, then writes the target operating parameters into the corresponding frequency converter's operating parameter register, and converts the state values in the fixed-frequency switching matrix into the corresponding start / stop control signals for the fixed-frequency air compressor. The frequency converter adjusts its output according to the target operating parameters, while the fixed-frequency air compressor provides tiered air supply capacity according to the switching status.
[0092] For example, a future predicted time is determined to be a high-load state, corresponding to a predicted load range of 460 m³ / h to 500 m³ / h. Based on the current unit status characteristics, the group control parameter mapping relationship is queried to obtain the basic operating speed of the variable frequency air compressor as 2800 r / min. The switching combination of the fixed frequency air compressors is that the first and second units are in operation, while the third unit remains off. After inputting the real-time pressure deviation and real-time flow deviation at the current control time into the proportional-integral-derivative controller, a speed compensation of 50 r / min is obtained. This speed compensation is then added to the basic operating speed of 2800 r / min to obtain the target operating speed of 2850 r / min.
[0093] Before generating equipment control commands, the group control system writes the current control time, target operating parameters, and switching status into the same command record, and forms corresponding variable frequency control fields and fixed frequency control fields according to the unit number. The variable frequency control field is used to carry the target frequency or target speed, and the fixed frequency control field is used to carry the status value of start-up, maintenance operation, or shutdown. The field controller only performs the write operation on fields where both the equipment identifier and the control time match, so that variable frequency adjustment and fixed frequency switching within the same control time are implemented according to the same parameter combination.
[0094] For parameter combinations at adjacent control moments, the group control system first compares the corresponding basic operating parameters, target operating parameters, and switching status; a new equipment control command is generated only if at least one of these changes. If the parameter combinations at adjacent control moments are the same, the previously issued control status is maintained.
[0095] In summary, this invention provides a method for controlling air compressor groups based on load forecasting, which solves the problem in the prior art of coordinating the operating parameters of air compressor groups according to the periodic load changes in the gas consumption area.
[0096] The second embodiment of the present invention provides an air compressor group control system based on load prediction, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the above-described air compressor group control method based on load prediction.
[0097] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.
Claims
1. A method for group control of air compressors based on load forecasting, characterized in that, include: Acquire historical gas consumption data, real-time gas consumption data, and unit operation data of the air compressor group in the gas consumption area; perform time-series characteristic analysis on the historical gas consumption data to determine the target fluctuation period; The real-time gas consumption data is divided into periods according to the target fluctuation period to obtain a standard period load sequence. The current period load sequence is extracted from the real-time gas consumption data, and the time-by-time difference between the current period load sequence and the standard period load sequence is calculated to obtain a residual sequence. The residual sequence is trend-predicted to obtain the residual prediction sequence for the prediction period. The periodic load corresponding to the prediction period is extracted based on the standard periodic load sequence and superimposed with the residual prediction sequence to obtain the future load prediction sequence. The future load state sequence is determined based on the comparison results between the predicted load value at each prediction time in the future load prediction sequence and the preset load threshold. Based on the future load state sequence and the unit operation data, a pre-established group control parameter mapping relationship is queried, equipment control commands are generated and executed to adjust the operating parameters of the air compressor group.
2. The air compressor group control method based on load forecasting according to claim 1, characterized in that, The time-series feature analysis of the historical gas consumption data includes: The historical gas consumption data is standardized, and the processed data is input into a preset long short-term memory network to extract the gas consumption time sequence features. Calculate the variance of the gas consumption time series characteristics, and cluster the gas consumption time series characteristics whose variance is greater than a preset fluctuation threshold to obtain gas consumption fluctuation characteristics.
3. The air compressor group control method based on load forecasting according to claim 2, characterized in that, Determining the target fluctuation period includes: The gas consumption fluctuation characteristics are classified into multiple cycles based on multiple preset cycle classification conditions, resulting in multiple cycle classification labels. The statistics are then used to determine the voting ratio for each fluctuation cycle. When the largest voting ratio is greater than the preset period confidence threshold, the corresponding fluctuation period is determined as the target fluctuation period.
4. The air compressor group control method based on load forecasting according to claim 1, characterized in that, The step of periodically dividing the real-time gas consumption data to obtain a standard periodic load sequence includes: Based on the time length corresponding to the target fluctuation cycle, the real-time gas consumption data is divided into multiple continuous periodic load data segments; The standard periodic load sequence is obtained by aligning the phases of multiple consecutive periodic load data segments and statistically analyzing the load values at the same phase points.
5. The air compressor group control method based on load prediction according to claim 4, characterized in that, The process of obtaining the future load forecast sequence includes: Calculate the time-by-time difference between the current periodic load sequence and the standard periodic load sequence, and perform trend prediction to obtain the residual prediction sequence for the prediction period; The periodic load corresponding to the prediction period is extracted from the standard periodic load sequence, and the periodic load is superimposed with the residual prediction sequence according to the prediction time to obtain the future load prediction sequence.
6. The air compressor group control method based on load forecasting according to claim 1, characterized in that, The determination of the future load state sequence includes: The predicted load value at each prediction time in the future load prediction sequence is compared with the preset load threshold. The predicted time when the predicted load value is greater than the preset load threshold is determined as a high load state, and the predicted time when the predicted load value is less than or equal to the preset load threshold is determined as a low load state. Arrange the corresponding load states according to the time sequence of each prediction time to determine the future load state sequence.
7. The air compressor group control method based on load forecasting according to claim 1, characterized in that, The query pre-established group control parameter mapping relationship includes: The adjustable operating range of each variable frequency air compressor, the current start / stop status of each fixed frequency air compressor, and the operating efficiency data of each air compressor are extracted from the unit's operating data to obtain the unit's status characteristics. The predicted load range is determined based on the predicted load value at each predicted time, and the group control parameter mapping relationship is queried based on the corresponding load status, the predicted load range and the unit status characteristics to obtain the basic operating parameters and start-stop control parameters corresponding to each predicted time. The basic operating parameters and the start-stop control parameters are sorted in chronological order to obtain the basic operating parameter sequence and the start-stop control parameter sequence.
8. The air compressor group control method based on load forecasting according to claim 7, characterized in that, The generation and execution of equipment control commands, adjusting the operating parameters of the air compressor group, includes: Acquire real-time pressure data and real-time flow data of the gas supply network, and determine real-time pressure deviation and real-time flow deviation based on the real-time pressure data and the real-time flow data; The basic operating parameter sequence is compensated based on the real-time pressure deviation and the real-time flow deviation to obtain the target operating parameter sequence of the variable frequency air compressor; A variable frequency control sequence and a fixed frequency switching matrix are generated based on the target operating parameter sequence and the start / stop control parameter sequence, respectively. Equipment control commands are then generated based on the variable frequency control sequence and the fixed frequency switching matrix, and the equipment control commands are sent to the field controller of the air compressor group.
9. An air compressor group control system based on load forecasting, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the air compressor group control method based on load prediction as described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the air compressor group control method based on load prediction as described in any one of claims 1 to 8.
