Method and device for determining working state of electrolytic cell and controller
1. A method for determining the operating condition of an electrolytic cell, applied to a controller, said method comprising:
acquiring actual parameter values of power supply parameters and hydrogen production parameters of the electrolytic cell;
predicting a reference parameter value of the hydrogen production parameter based on an actual parameter value of the power supply parameter;
calculating deviation data of the actual parameter values and the reference parameter values of the hydrogen production parameters, and determining the working state of the electrolytic cell according to the deviation data.
2. The method of determining of claim 1, wherein predicting the reference parameter value for the hydrogen production parameter based on the actual parameter value for the electrical supply parameter comprises:
calling a preset regression model to enable the preset regression model to process the actual parameter value of the power supply parameter to obtain a reference parameter value of the hydrogen production parameter;
the preset regression model comprises an incidence relation between an actual parameter value of the power supply parameter and a reference parameter value of the hydrogen production parameter.
3. The determination method according to claim 2, wherein the preset regression model includes a linear regression model and a feedback regression model;
the linear regression model is used for representing the incidence relation between each hydrogen production parameter and all the power supply parameters;
the feedback regression model represents the incidence relation between each hydrogen production parameter and all the power supply parameters and other hydrogen production parameters; the other hydrogen production parameters are other hydrogen production parameters than the hydrogen production parameters.
4. The determination method according to claim 3, wherein the generation process of the linear regression model includes:
acquiring a standard parameter value of a power supply parameter and a standard parameter value of a hydrogen production parameter of the electrolytic cell in a normal working state; the number of the hydrogen production parameters is multiple;
and establishing a linear regression model representing the incidence relation between each hydrogen production parameter and all the power supply parameters according to the standard parameter values of the power supply parameters and the standard parameter values of the hydrogen production parameters.
5. The method of claim 4, wherein the generating of the feedback regression model comprises:
calling the linear regression model, and calculating the intermediate value of each hydrogen production parameter corresponding to the standard parameter value of the power supply parameter;
establishing a feedback regression model representing the incidence relation between each hydrogen production parameter and all the power supply parameters and other hydrogen production parameters according to the standard parameter values of the power supply parameters, the intermediate values of each hydrogen production parameter corresponding to the standard parameter values of the power supply parameters and the standard parameter values of the hydrogen production parameters; the other hydrogen production parameters are other hydrogen production parameters than the hydrogen production parameters.
6. The determination method according to claim 5, wherein calling a preset regression model to enable the preset regression model to process the actual parameter value of the power supply parameter to obtain the reference parameter value of the hydrogen production parameter comprises:
calling the linear regression model to process the actual parameter values of the power supply parameters to obtain intermediate values of the hydrogen production parameters;
and calling the feedback regression model to process the actual parameter values of the power supply parameters and the intermediate values of the hydrogen production parameters to obtain the reference parameter values of the hydrogen production parameters.
7. The method of determining of claim 1, wherein the hydrogen production parameters include hydrogen production, oxygen content in hydrogen, and hydrogen content in oxygen;
calculating deviation data of the actual parameter values and the reference parameter values of the hydrogen production parameters, comprising:
calculating to obtain a first deviation value of the hydrogen yield according to an actual parameter value and a reference parameter value corresponding to the hydrogen yield;
calculating to obtain a second deviation value of the oxygen yield according to the actual parameter value and the reference parameter value corresponding to the oxygen yield;
calculating to obtain a performance evaluation parameter according to the first deviation value and the second deviation value;
and calculating a safety evaluation parameter according to the actual parameter value and the reference parameter value corresponding to the oxygen content in the hydrogen and the actual parameter value and the reference parameter value corresponding to the hydrogen content in the oxygen.
8. The method of claim 7, wherein determining the operating condition of the electrolytic cell based on the deviation data comprises:
determining the performance degree of the current electrolytic cell corresponding to the performance evaluation parameter according to a preset electrolytic cell performance determination rule;
and determining the safety degree of the current electrolytic cell corresponding to the safety evaluation parameter according to a preset electrolytic cell safety determination rule.
9. The method of claim 8, wherein determining the current cell performance level corresponding to the performance evaluation parameter according to a predetermined cell performance determination rule comprises:
determining the performance degree of the current electrolytic cell to be a first preset performance level under the condition that the performance evaluation parameter is smaller than a first alarm threshold value;
under the condition that the performance evaluation parameter is not less than a first alarm threshold value but less than a first fault threshold value, determining the performance degree of the current electrolytic cell to be a second preset performance level;
determining the performance degree of the current electrolytic cell to be a third preset performance level under the condition that the performance evaluation parameter is not less than the first fault threshold value; and the performance abnormal degrees corresponding to the first preset performance level, the second preset performance level and the third preset performance level are sequentially increased.
10. The method for determining according to claim 8, wherein determining the safety degree of the current electrolytic cell corresponding to the safety evaluation parameter according to a preset electrolytic cell safety determination rule comprises:
under the condition that the safety evaluation parameter is smaller than a second alarm threshold value, determining the safety degree of the current electrolytic cell to be a first preset safety level;
under the condition that the safety evaluation parameter is not less than a second alarm threshold but less than a second fault threshold, determining the safety degree of the current electrolytic cell to be a second preset safety level;
under the condition that the safety evaluation parameter is not less than a second fault threshold value, determining the safety degree of the current electrolytic cell to be a third preset safety level; and the safety degrees corresponding to the first preset safety level, the second preset safety level and the third preset safety level are sequentially decreased progressively.
11. An apparatus for determining the operating condition of an electrolytic cell, applied to a controller, comprising:
the data acquisition module is used for acquiring the actual parameter values of the power supply parameters and the hydrogen production parameters of the electrolytic cell;
the data processing module is used for predicting a reference parameter value of the hydrogen production parameter based on an actual parameter value of the power supply parameter;
and the state analysis module is used for calculating deviation data of the actual parameter values and the reference parameter values of the hydrogen production parameters and determining the working state of the electrolytic cell according to the deviation data.
12. A controller, comprising: a memory and a processor;
wherein the memory is used for storing programs;
the processor calls a program and is used to perform the method for determining the operating state of an electrolytic cell according to claims 1-10.
Background
The hydrogen energy power generation has the advantages of low carbon, environmental protection, storability, transportability and the like, and at present, the hydrogen energy power generation is gradually emphasized and becomes a new power in the field of new energy power generation.
The hydrogen used for hydrogen energy power generation can be produced by a hydrogen production device, and the hydrogen production device can be a photovoltaic hydrogen production system, a wind power hydrogen production system, a new energy hydrogen production system and the like. The electrolytic cell for hydrogen production in the hydrogen production device is a core conversion device in the hydrogen production device, and therefore, the working state of the electrolytic cell has a large influence on the hydrogen production effect and stability of the hydrogen production device.
At present, when the working state of the electrolytic cell is determined, if the electrolytic cell is in fault, the working state is generally judged manually according to experience, but the accuracy is lower by manually judging according to experience. Therefore, a method capable of accurately determining the operating state of the electrolytic cell is needed.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus and a controller for determining an operating state of an electrolytic cell, so as to solve the problem of an urgent need for a method capable of accurately determining an operating state of an electrolytic cell.
In order to solve the technical problems, the invention adopts the following technical scheme:
a method for determining the working state of an electrolytic cell, which is applied to a controller, comprises the following steps:
acquiring actual parameter values of power supply parameters and hydrogen production parameters of the electrolytic cell;
predicting a reference parameter value of the hydrogen production parameter based on an actual parameter value of the power supply parameter;
calculating deviation data of the actual parameter values and the reference parameter values of the hydrogen production parameters, and determining the working state of the electrolytic cell according to the deviation data.
Optionally, predicting a reference parameter value of the hydrogen production parameter based on the actual parameter value of the power supply parameter comprises:
calling a preset regression model to enable the preset regression model to process the actual parameter value of the power supply parameter to obtain a reference parameter value of the hydrogen production parameter;
the preset regression model comprises an incidence relation between an actual parameter value of the power supply parameter and a reference parameter value of the hydrogen production parameter.
Optionally, the preset regression model includes a linear regression model and a feedback regression model;
the linear regression model is used for representing the incidence relation between each hydrogen production parameter and all the power supply parameters;
the feedback regression model represents the incidence relation between each hydrogen production parameter and all the power supply parameters and other hydrogen production parameters; the other hydrogen production parameters are other hydrogen production parameters than the hydrogen production parameters.
Optionally, the generating process of the linear regression model includes:
acquiring a standard parameter value of a power supply parameter and a standard parameter value of a hydrogen production parameter of the electrolytic cell in a normal working state; the number of the hydrogen production parameters is multiple;
and establishing a linear regression model representing the incidence relation between each hydrogen production parameter and all the power supply parameters according to the standard parameter values of the power supply parameters and the standard parameter values of the hydrogen production parameters.
Optionally, the generating process of the feedback regression model includes:
calling the linear regression model, and calculating the intermediate value of each hydrogen production parameter corresponding to the standard parameter value of the power supply parameter;
establishing a feedback regression model representing the incidence relation between each hydrogen production parameter and all the power supply parameters and other hydrogen production parameters according to the standard parameter values of the power supply parameters, the intermediate values of each hydrogen production parameter corresponding to the standard parameter values of the power supply parameters and the standard parameter values of the hydrogen production parameters; the other hydrogen production parameters are other hydrogen production parameters than the hydrogen production parameters.
Optionally, calling a preset regression model to enable the preset regression model to process the actual parameter value of the power supply parameter, so as to obtain a reference parameter value of the hydrogen production parameter, including:
calling the linear regression model to process the actual parameter values of the power supply parameters to obtain intermediate values of the hydrogen production parameters;
and calling the feedback regression model to process the actual parameter values of the power supply parameters and the intermediate values of the hydrogen production parameters to obtain the reference parameter values of the hydrogen production parameters.
Optionally, the hydrogen production parameters include hydrogen production, oxygen content in hydrogen, and hydrogen content in oxygen;
calculating deviation data of the actual parameter values and the reference parameter values of the hydrogen production parameters, comprising:
calculating to obtain a first deviation value of the hydrogen yield according to an actual parameter value and a reference parameter value corresponding to the hydrogen yield;
calculating to obtain a second deviation value of the oxygen yield according to the actual parameter value and the reference parameter value corresponding to the oxygen yield;
calculating to obtain a performance evaluation parameter according to the first deviation value and the second deviation value;
and calculating a safety evaluation parameter according to the actual parameter value and the reference parameter value corresponding to the oxygen content in the hydrogen and the actual parameter value and the reference parameter value corresponding to the hydrogen content in the oxygen.
Optionally, determining the operating state of the electrolytic cell based on the deviation data comprises:
determining the performance degree of the current electrolytic cell corresponding to the performance evaluation parameter according to a preset electrolytic cell performance determination rule;
and determining the safety degree of the current electrolytic cell corresponding to the safety evaluation parameter according to a preset electrolytic cell safety determination rule.
Optionally, determining the performance degree of the current electrolytic cell corresponding to the performance evaluation parameter according to a preset electrolytic cell performance determination rule, including:
determining the performance degree of the current electrolytic cell to be a first preset performance level under the condition that the performance evaluation parameter is smaller than a first alarm threshold value;
under the condition that the performance evaluation parameter is not less than a first alarm threshold value but less than a first fault threshold value, determining the performance degree of the current electrolytic cell to be a second preset performance level;
determining the performance degree of the current electrolytic cell to be a third preset performance level under the condition that the performance evaluation parameter is not less than the first fault threshold value; and the performance abnormal degrees corresponding to the first preset performance level, the second preset performance level and the third preset performance level are sequentially increased.
Optionally, determining the safety degree of the current electrolytic cell corresponding to the safety evaluation parameter according to a preset electrolytic cell safety determination rule includes:
under the condition that the safety evaluation parameter is smaller than a second alarm threshold value, determining the safety degree of the current electrolytic cell to be a first preset safety level;
under the condition that the safety evaluation parameter is not less than a second alarm threshold but less than a second fault threshold, determining the safety degree of the current electrolytic cell to be a second preset safety level;
under the condition that the safety evaluation parameter is not less than a second fault threshold value, determining the safety degree of the current electrolytic cell to be a third preset safety level; and the safety degrees corresponding to the first preset safety level, the second preset safety level and the third preset safety level are sequentially decreased progressively.
An apparatus for determining the working state of an electrolytic cell, applied to a controller, the apparatus comprising:
the data acquisition module is used for acquiring the actual parameter values of the power supply parameters and the hydrogen production parameters of the electrolytic cell;
the data processing module is used for predicting a reference parameter value of the hydrogen production parameter based on an actual parameter value of the power supply parameter;
and the state analysis module is used for calculating deviation data of the actual parameter values and the reference parameter values of the hydrogen production parameters and determining the working state of the electrolytic cell according to the deviation data.
A controller, comprising: a memory and a processor;
wherein the memory is used for storing programs;
the processor calls a program and is used for executing the determination method of the working state of the electrolytic cell.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a method, a device and a controller for determining the working state of an electrolytic cell, wherein a reference parameter value of a hydrogen production parameter is used as a standard, an actual parameter value is analyzed to obtain deviation data, the deviation data can accurately represent the deviation condition of the actual parameter value relative to the reference parameter value, the deviation condition is caused by the working state of the electrolytic cell, and the current actual working state of the electrolytic cell can be accurately determined through the deviation condition, so that the problem that a method for accurately determining the working state of the electrolytic cell is urgently needed is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for determining the operating condition of an electrolytic cell according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for determining the operating condition of an electrolytic cell according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for determining the operating condition of an electrolytic cell according to another embodiment of the present invention;
FIG. 4 is a flowchart of a method for determining an operating condition of an electrolytic cell according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an apparatus for determining an operating condition of an electrolytic cell according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
With the rapid development of new energy power generation, hydrogen power generation is gradually emphasized due to its low carbon, environmental protection, storability and transmissibility, and becomes a new power in the field of new energy power generation.
The source of hydrogen can be obtained by producing the hydrogen producing device, and the hydrogen producing device can be a photovoltaic hydrogen producing system, a wind power hydrogen producing system, a new energy hydrogen producing system and the like. A photovoltaic hydrogen production system will now be described as an example.
The photovoltaic hydrogen production is to perform electrolytic hydrogen production on electric energy generated by photovoltaic power generation through a photovoltaic hydrogen production system to obtain hydrogen energy for storage or fuel combustion.
In a photovoltaic hydrogen production system, an electrolytic cell for producing hydrogen is used as a core conversion device, and the working principle is as follows: the electrolytic bath is composed of a pair of electrodes immersed in the electrolyte, and a diaphragm with gas permeation in the middle, and electrolysis can be carried out by applying a certain direct current.
The working state of the electrolytic cell has great influence on the hydrogen production effect and stability of the photovoltaic hydrogen production system. At present, when determining the working state of the electrolytic cell, such as whether performance degradation or equipment failure exists, the working state is generally determined manually according to experience, such as manually evaluating indexes of hydrogen production amount, oxygen production amount, hydrogen production purity and the like according to experience, so as to determine whether the performance degradation or equipment failure exists in the electrolytic cell. But the accuracy is low by manually judging according to experience. Therefore, a method capable of accurately determining the operating state of the electrolytic cell is needed.
Therefore, in the embodiment of the invention, the reference parameter value of the hydrogen production parameter is used as a standard, the actual parameter value is analyzed to obtain deviation data, the deviation data can accurately represent the deviation condition of the actual parameter value relative to the reference parameter value, the deviation condition is caused by the working state of the electrolytic cell, and the current actual working state of the electrolytic cell can be accurately determined through the deviation condition, so that the problem that a method for accurately determining the working state of the electrolytic cell is urgently needed is solved.
On the basis of the above content, the embodiment of the present invention provides a method for determining an operating state of an electrolytic cell, which is applied to a controller, where the controller in this embodiment may be a controller of a photovoltaic hydrogen production system.
Referring to fig. 1, the determination method may include:
and S11, acquiring the actual parameter value of the power supply parameter of the electrolytic cell and the actual parameter value of the hydrogen production parameter.
The power supply parameters are input parameters in the working process of the electrolytic cell, the power supply parameters are power generation parameters of a new energy power generation system or power supply parameters of a power grid, and the hydrogen production parameters are output parameters in the working process.
In practical application, the hydrogen production device takes a photovoltaic hydrogen production system as an example, a photovoltaic power generation unit in the photovoltaic hydrogen production system is influenced by weather conditions, namely, the better the weather is, the higher the power generation amount is, and further, the larger the hydrogen production amount is, so that the hydrogen production amount of the photovoltaic hydrogen production is strongly related to real-time weather. Thus, meteorological parameters (or environmental parameters) are parameters that affect the operating state of the electrolytic cell. In addition, when the electrolytic cell is in operation, current is input, and the electrical parameters of the current also influence the operating state of the electrolytic cell.
Therefore, the power supply parameters mainly comprise meteorological parameters and electrical parameters related to photovoltaic power generation, and in addition, water parameters and electrolyte parameters related to hydrogen production by water electrolysis can also be included;
the power supply parameters include:
solar radiation XgAmbient temperature XtOutput power X of photovoltaic stationpThe working current X of the electrolytic celliThe working voltage X of the electrolytic cellvUnit time water inlet flow XwfAnd electrolyte conductivity Xec。
The hydrogen production parameters of the electrolytic cell mainly include core parameters such as the content and purity of hydrogen and oxygen after electrolysis of the electrolytic cell, and the number of the hydrogen production parameters is multiple, such as:
hydrogen production (hydrogen output per unit time) YhOxygen output (oxygen output per unit time) YoOxygen content in hydrogen (oxygen content in hydrogen) YoinhAnd the hydrogen content in oxygen (hydrogen content in oxygen) Yhino。
The acquisition of the parameters is completed by optical, electric, gas, pressure and water acquisition equipment and communication sensing equipment which are generally applicable to the system.
In the actual operation, if the operation state of the electrolytic cell needs to be determined, step S11 is executed. For example, the determination of the operation state of the electrolytic cell may be performed at regular intervals, or may be performed upon receiving a manual instruction for determining the operation state.
When the working state of the electrolytic cell needs to be determined, acquiring the actual parameter values of the power supply parameters and the hydrogen production parameters of the electrolytic cell at the current moment, namely acquiring the current actual parameter values of the parameters.
And S12, predicting the reference parameter value of the hydrogen production parameter based on the actual parameter value of the power supply parameter.
In practical applications, a preset regression model may be trained in advance, and the preset regression model includes an association relationship between an actual parameter value of the power supply parameter and a reference parameter value of the hydrogen production parameter.
The preset regression model is obtained by training based on the standard parameter values of the power supply parameters and the standard parameter values of the hydrogen production parameters of the electrolytic cell in a normal working state. Then, when the actual parameter value of the power supply parameter is input, the preset regression model can output the standard parameter value of the hydrogen production parameter corresponding to the actual parameter value of the power supply parameter, which is referred to as the reference parameter value of the hydrogen production parameter in this embodiment.
And S13, calculating deviation data of the actual parameter value and the reference parameter value of the hydrogen production parameter, and determining the working state of the electrolytic cell according to the deviation data.
In practical application, if the working state of the electrolytic cell changes, such as performance is reduced or a fault occurs, the actual parameter value and the reference parameter value of the hydrogen production parameter deviate, and then the working state of the electrolytic cell can be determined according to the deviation data of the actual parameter value and the reference parameter value of the hydrogen production parameter.
In the embodiment, the reference parameter value of the hydrogen production parameter is used as a standard, the actual parameter value is analyzed to obtain deviation data, the deviation data can accurately represent the deviation condition of the actual parameter value relative to the reference parameter value, the deviation condition is caused by the working state of the electrolytic cell, and then the current actual working state of the electrolytic cell can be accurately determined through the deviation condition, so that the problem that a method for accurately determining the working state of the electrolytic cell is urgently needed is solved.
The above-mentioned embodiment refers to the preset regression model, and in this embodiment, the preset regression model includes a linear regression model and a feedback regression model,
wherein a linear regression model characterizes the correlation between each of the hydrogen production parameters and all of the power supply parameters.
The feedback regression model represents the incidence relation between each hydrogen production parameter and all the power supply parameters and other hydrogen production parameters; the other hydrogen production parameters are other hydrogen production parameters than the hydrogen production parameters.
The above description has been given of the meaning of the two models, and the generation process of the two models will now be described.
The embodiment of the invention is to carry out modeling prediction analysis on a plurality of hydrogen production parameters of the electrolytic cell, so that the method is different from a common single value regression mode, multi-objective regression modeling is required, the method is specifically divided into two steps, and each hydrogen production parameter needs to be subjected to independent regression to establish a linear regression model. And because the hydrogen production parameters are correlated, for example, the hydrogen yield and the oxygen yield in unit time have positive correlation in a normal working state, a multi-objective feedback regression is required to be further carried out, namely a feedback regression model is further established.
The two-step progressive modeling process in the implementation of the invention is concretely as follows:
first, a linear regression model is constructed, and referring to fig. 2, the generation process of the linear regression model may include:
s21, obtaining a standard parameter value of a power supply parameter and a standard parameter value of a hydrogen production parameter of the electrolytic cell in a normal working state;
the hydrogen production parameters are as described above.
Specifically, the operating state of the electrolytic cell is manually determined, and if the electrolytic cell is considered to be in the normal operating state, the parameter value of the power supply parameter (referred to as the parameter value of the power supply parameter in this embodiment) and the parameter value of the hydrogen production parameter (referred to as the standard parameter value of the hydrogen production parameter in this embodiment) are collected.
In addition, the parameter values of the power supply parameters and the parameter values of the hydrogen production parameters in the working process of the historical electrolytic cell can be obtained, normal data can be manually screened according to the data condition, and the data can be regarded as data of the electrolytic cell in a normal working state.
In this embodiment, the standard parameter values of the power supply parameters and the standard parameter values of the hydrogen production parameters acquired at the same time may be referred to as a set of data.
And S22, establishing a linear regression model representing the incidence relation between each hydrogen production parameter and all the power supply parameters according to the standard parameter values of the power supply parameters and the standard parameter values of the hydrogen production parameters.
Because the results of all hydrogen production parameters are influenced by the same power supply parameters, independent regression algorithm models are respectively established for all the parameters, and the linear regression models are established by all the independent regression algorithm models. Because the correlation between the hydrogen production and oxygen production in unit time and the photovoltaic power generation capacity and the correlation between the water consumption and the positive direction of the electrolyte preparation are obtained, the modeling adopts a multiple linear regression algorithm, namely:
in the formula (f)1() The multiple linear regression algorithm in this embodiment is input with the multiple data sets to the multiple linear regression algorithm, and f can be obtained through training1() And determining the linear regression model by the numerical value of each coefficient.
Y → Y 'after quotation mark refers to a predicted value Y' (including Y ') of the corresponding hydrogen production parameter obtained by inputting the standard parameter value of the power supply parameter in each group of data into the linear regression model after the linear regression model is established'h、Y′o、Y′oinh、Y′hino)。
After the linear regression model is obtained, the first step of model construction is completed, and then the second step of model construction is carried out by considering the incidence relation among all hydrogen production parameters, namely the construction of the feedback regression model is carried out.
Referring to fig. 3, the generation process of the feedback regression model includes:
and S31, calling the linear regression model, and calculating the intermediate value of each hydrogen production parameter corresponding to the standard parameter value of the power supply parameter.
Specifically, the standard parameter values of the power supply parameters in each group of data are input into the linear regression model, so that the intermediate value of each hydrogen production parameter, that is, the predicted value Y 'can be calculated'h、Y′o、Y′oinh、Y′hino。
S32, establishing a feedback regression model representing the incidence relation between each hydrogen production parameter and all the power supply parameters and other hydrogen production parameters according to the standard parameter values of the power supply parameters, the intermediate values of each hydrogen production parameter corresponding to the standard parameter values of the power supply parameters and the standard parameter values of the hydrogen production parameters.
The other hydrogen production parameters are other hydrogen production parameters than the hydrogen production parameters.
Specifically, hydrogen and oxygen produced in the process of producing hydrogen by the electrolytic cell are coupled in a correlated manner, that is, hydrogen production parameters are influenced mutually, which is reflected in the isolation performance of the diaphragm in the electrolytic cell to hydrogen and oxygen and the hydrogen production performance of the electrolytic cell, so that the correlation influence of other hydrogen production parameters on the hydrogen production parameters, such as the correlation of oxygen production to hydrogen production, needs to be further considered in the modeling process.
Based on the above, multi-objective feedback regression modeling is further carried out, namely when algorithm modeling is carried out on a certain hydrogen production parameter, the input parameter not only comprises the power supply parameter of the original electrolytic cell, but also introduces the predicted value of other hydrogen production parameters obtained by calculation in the previous section of multiple linear regression algorithm for calculation, so that the calculation result of the model is further corrected, and the accurate reference of the model is improved.
Because the predicted value of the output variable of the single-target regression of the previous stage is introduced as the input variable of the two stages, and the data have certain approximate collinearity, the modeling application of the stage is more suitable for the algorithm of biased estimation of the collinearity data analysis, such as a ridge regression algorithm. Namely, it is
In the formula (f)2() In the ridge regression algorithm in this embodiment, for each group of data, Y' corresponding to each group of data is also added to the corresponding group of data to obtain new groups of data, and the ridge regression algorithm is trained by using the groups of data to obtain the numerical values of each coefficient in the ridge regression algorithm, so that the feedback regression model is obtained.
In this embodiment, Y → Y ' after quotation mark refers to the accurate predicted value Y ' (including Y ') obtained by further modeling each hydrogen production parameter Y through the model finallyh、Y″o、Y″oinh、Y″hino) In this embodiment, the obtained Y ″ is referred to as a reference parameter value, i.e., an output result of the entire model operation.
After the linear regression model and the feedback regression model are obtained through training, when the working state of the actual electrolytic cell is determined, the linear regression model can be called to process the actual parameter value of the power supply parameter to obtain the intermediate value of the hydrogen production parameter, and the feedback regression model is called to process the actual parameter value of the power supply parameter and the intermediate value of the hydrogen production parameter to obtain the reference parameter value of the hydrogen production parameter. The determination of the operating state is subsequently carried out using the reference parameter values.
In the embodiment, during model construction, a multi-target regression model of a system corresponding to the hydrogen production electrolytic cell is constructed, on one hand, an independent single-target regression model is established by considering the influence of input parameters of photovoltaic hydrogen production working conditions, on the other hand, a multi-target feedback regression model is established by further considering the coupling correlation among output parameters, the indexes of theoretical hydrogen production, oxygen production purity and the like of the hydrogen production system in a real-time state are accurately calculated, and the theoretical hydrogen production, the oxygen production purity and the like are conveniently compared and analyzed with an actual measurement result, so that the working state of the electrolytic cell is evaluated.
In another implementation of the present invention, a specific implementation process of "calculating deviation data of actual parameter values and reference parameter values of the hydrogen production parameters" is provided, and referring to fig. 4, the specific implementation process may include:
and S41, calculating to obtain a first deviation value of the hydrogen yield according to the actual parameter value and the reference parameter value corresponding to the hydrogen yield.
And S42, calculating to obtain a second deviation value of the oxygen yield according to the actual parameter value and the reference parameter value corresponding to the oxygen yield.
After the model is constructed, the model is applied to the real-time working state judgment of the electrolytic cell, and the theoretical reference value of each hydrogen production parameter, namely the reference parameter value Y ″, is obtained by substituting the acquired actual parameter value into the modelh、Y″o、Y″oinh、Y″hino. And evaluating the performance of the electrolytic cell according to the difference of the reference parameter value and the actual parameter value. On one hand, the output performance of the electrolytic cell is evaluated according to the productivity of the hydrogen and oxygen unit; on the other hand, the safety of the cell was evaluated on the basis of the purity and doping of the produced gas.
First, the deviation between the output of the unit hydrogen production (hydrogen output) and the output of the unit oxygen production (oxygen output), i.e., the deviation
In the formula, epsilonhAnd εoThe output deviation corresponding to the hydrogen gas and the output deviation corresponding to the oxygen gas are respectively called as a first deviation value and a second deviation value.
And S43, calculating to obtain a performance evaluation parameter according to the first deviation value and the second deviation value. Specifically, a harmonic mean ε of the first deviation value and the second deviation value is further calculated1And as a performance evaluation parameter, i.e.
And S44, calculating the safety evaluation parameter according to the actual parameter value and the reference parameter value corresponding to the oxygen content in the hydrogen and the actual parameter value and the reference parameter value corresponding to the hydrogen content in the oxygen.
Specifically, the comprehensive purity evaluation coefficient epsilon of hydrogen and oxygen is calculated2I.e. by
Will calculate the obtained epsilon2As the safety evaluation parameter, the performance evaluation parameter and the safety evaluation parameter are taken as the above-mentioned deviation data.
In another embodiment of the invention, the evaluation of the operating state of the electrolyzer can be carried out both in terms of performance and safety.
The key for evaluating the performance of the electrolytic cell lies in the hydrogen production capacity per unit, so that the method is important for accurately evaluating the hydrogen production performance of the photovoltaic hydrogen production system.
In addition, due to the existence of the membrane, hydrogen and oxygen are completely separated in the normal hydrogen production process, the mixed safety problem does not exist, and if the membrane has a problem to cause gas permeation, the hydrogen and oxygen are mixed to a certain proportion to cause explosion, so that the stability of a hydrogen production system is seriously influenced, and the evaluation on the safety of the hydrogen production tank is also another important problem.
Therefore, a systematic diagnosis method needs to be established to automatically evaluate the performance attenuation of the hydrogen production electrolytic cell, predict faults and improve the reliability of the operation and maintenance of the hydrogen production system.
Specifically, after the deviation data is obtained through calculation, the working state of the electrolytic cell is determined according to the deviation data, diagnosis and regulation of the electrolytic cell are performed in two-stage control, namely two layers of threshold values are set, one layer is an alarm threshold value, the other layer is a fault threshold value, and the following steps are respectively explained through determination of the working state of the electrolytic cell in performance evaluation and safety evaluation degrees:
specifically, the performance degree of the current electrolytic cell corresponding to the performance evaluation parameter is determined according to a preset electrolytic cell performance determination rule, and the safety degree of the current electrolytic cell corresponding to the safety evaluation parameter is determined according to a preset electrolytic cell safety determination rule.
Specifically, in another implementation manner of the present invention, a specific process of "determining the performance degree of the current electrolytic cell corresponding to the performance evaluation parameter according to a preset electrolytic cell performance determination rule" is provided, specifically as follows:
1) and under the condition that the performance evaluation parameter is smaller than a first alarm threshold value, determining the performance degree of the current electrolytic cell to be a first preset performance level.
Wherein when the performance evaluation parameter ε1And when the current performance degree of the electrolytic cell is smaller than the first alarm threshold value, the working performance of the electrolytic cell is normal, the system does not need to be controlled, and the performance degree of the current electrolytic cell is set to be a first preset performance level.
2) And under the condition that the performance evaluation parameter is not less than the first alarm threshold value but less than the first fault threshold value, determining the performance degree of the current electrolytic cell to be a second preset performance level.
When epsilon1Equal to or exceed a first alarm threshold but have not exceeded a first faultAnd the threshold value (smaller than the first fault threshold value) indicates that the working performance of the electrolytic cell is reduced, and the performance degree of the current electrolytic cell is set to be a second preset performance level at the moment.
The reduction of the working performance of the electrolytic cell is probably caused by the abnormality of a gas transmission pipeline, the abnormality of an electrolytic electrode, the abnormality of a cell body and the like, and at the moment, the controller only reports an alarm prompt and does not perform control operation.
3) And under the condition that the performance evaluation parameter is not less than the first fault threshold value, determining the performance degree of the current electrolytic cell to be a third preset performance level.
Specifically, when epsilon1And when the working performance of the electrolytic cell is equal to or exceeds the first fault threshold, indicating that the working performance of the electrolytic cell is seriously abnormal, setting the performance degree of the current electrolytic cell to be a third preset performance level, reporting a performance serious abnormity prompt by the controller, and performing derating operation on the photovoltaic hydrogen production system.
The first alarm threshold and the first failure threshold in this embodiment are set by a technician according to an actual application scenario.
In addition, the performance abnormality degrees corresponding to the first preset performance level, the second preset performance level, and the third preset performance level in this embodiment are sequentially increased, that is, the higher the determined level is, the greater the performance abnormality degree is.
In another implementation manner of the present invention, an implementation process of "determining the safety degree of the current electrolytic cell corresponding to the safety evaluation parameter according to a preset electrolytic cell safety determination rule" is provided, which specifically includes the following steps:
1) and under the condition that the safety evaluation parameter is smaller than a second alarm threshold value, determining the safety degree of the current electrolytic cell to be a first preset safety level.
When the security evaluation parameter ε2And when the hydrogen production purity of the electrolytic cell is lower than the second alarm threshold, the hydrogen production purity of the electrolytic cell is normal, no potential safety hazard exists, the system does not need to alarm and control, and the safety degree of the current electrolytic cell is determined to be the first preset safety level.
2) And under the condition that the safety evaluation parameter is not less than a second alarm threshold value but less than a second fault threshold value, determining the safety degree of the current electrolytic cell to be a second preset safety level.
When epsilon2And when the hydrogen production purity of the electrolytic cell is equal to or exceeds the second alarm threshold but does not exceed the second fault threshold (is less than the second fault threshold), indicating that the hydrogen production purity of the electrolytic cell is reduced, and determining that the safety degree of the current electrolytic cell is a second preset safety level.
The hydrogen production purity of the electrolytic cell is reduced, possibly due to the reasons of the reduction of the abnormal isolation capability of the diaphragm, the abnormality of the electrolyte and the like, the controller reports a safety risk alarm and performs derating operation on the photovoltaic hydrogen production system.
3) Under the condition that the safety evaluation parameter is not less than a second fault threshold value, determining the safety degree of the current electrolytic cell to be a third preset safety level; and the safety degrees corresponding to the first preset safety level, the second preset safety level and the third preset safety level are sequentially decreased progressively.
When epsilon2And when the hydrogen production purity of the electrolytic cell is equal to or exceeds the second fault threshold, the hydrogen production purity of the electrolytic cell is seriously abnormal, and the safety risk exists, the controller sets the safety degree of the current electrolytic cell to a third preset safety level, reports a safety fault prompt and controls the hydrogen production system to be closed.
The second alarm threshold and the second failure threshold in this embodiment are set by a technician according to an actual application scenario.
In addition, the safety degrees corresponding to the first preset safety level, the second preset safety level and the third preset safety level in this embodiment are sequentially decreased, that is, the higher the determined level is, the greater the safety abnormal degree is.
It should be noted that, in this embodiment, the performance degree and the safety degree of the current electrolytic cell are determined, and when the control is performed, a more serious degree may be selected for control, and if the safety degree is a third preset safety level and the performance degree is a second preset performance level, the control is performed according to the control logic of the third preset safety level, that is, a safety failure prompt is reported, so as to control the hydrogen production system to be turned off.
In the embodiment, the controller performs performance evaluation and safety evaluation on the electrolytic cell, and performs working state evaluation on the aspects of performance and safety, specifically, whether the hydrogen production cell outputs low efficiency is evaluated on the one hand by evaluating the deviation of a theoretical result calculated by the model and an actual output result, so as to judge that the electrolytic cell has performance attenuation problems, such as abnormal hydrogen production electrodes, abnormal gas output pipelines and the like; on the other hand, whether the purity of the output gas is too low or hydrogen and oxygen are mixed is judged, so that the situation that the diaphragm of the electrolytic cell is abnormal, and hydrogen and oxygen permeate is judged, and the serious safety problem is judged. Finally, the severity is judged according to the two, and the higher severity is selected for prompting and controlling the strategy execution.
In addition, the embodiment of the invention can realize real-time monitoring, can realize real-time online evaluation on the working state and the safety performance of the electrolytic cell only based on the actually measured parameters, does not need to rely on artificial expert experience fuzzy judgment, saves manpower support, can be realized only by software, and does not need to increase hardware cost.
In addition, the embodiment of the invention carries out hierarchical regulation and control, sets a judgment threshold value which is divided into two stages in the fault diagnosis stage, corresponds to alarm prompt and fault regulation and control, sets progressive platform abnormity prompt and system regulation and control modes according to different fault severity degrees aiming at two aspects of working performance and safety performance of the electrolytic cell, and orderly regulates and controls the operation of the hydrogen production electrolytic cell.
Alternatively, on the basis of the embodiment of the method for determining the working state of the electrolytic cell, another embodiment of the present invention provides a device for determining the working state of the electrolytic cell, which is applied to a controller, and with reference to fig. 5, the device may include:
the data acquisition module 11 is used for acquiring actual parameter values of power supply parameters and hydrogen production parameters of the electrolytic cell;
the data processing module 12 is used for predicting a reference parameter value of the hydrogen production parameter based on an actual parameter value of the power supply parameter;
and the state analysis module 13 is used for calculating deviation data of the actual parameter values and the reference parameter values of the hydrogen production parameters and determining the working state of the electrolytic cell according to the deviation data.
Further, the data processing module 12 includes:
and the processing submodule is used for calling a preset regression model so that the preset regression model processes the actual parameter values of the power supply parameters to obtain the reference parameter values of the hydrogen production parameters, and the preset regression model comprises the incidence relation between the actual parameter values of the power supply parameters and the reference parameter values of the hydrogen production parameters.
Further, the preset regression model comprises a linear regression model and a feedback regression model;
the linear regression model is used for representing the incidence relation between each hydrogen production parameter and all the power supply parameters;
the feedback regression model represents the incidence relation between each hydrogen production parameter and all the power supply parameters and other hydrogen production parameters; the other hydrogen production parameters are other hydrogen production parameters than the hydrogen production parameters.
Further, the method further comprises a first model generation module, wherein the first model generation module is specifically configured to, when generating the linear regression model:
acquiring a standard parameter value of a power supply parameter and a standard parameter value of a hydrogen production parameter of the electrolytic cell in a normal working state; the number of the hydrogen production parameters is multiple;
and establishing a linear regression model representing the incidence relation between each hydrogen production parameter and all the power supply parameters according to the standard parameter values of the power supply parameters and the standard parameter values of the hydrogen production parameters.
Further, the method further comprises a second model generation module, wherein the first model generation module is specifically configured to, when generating the feedback regression model:
calling the linear regression model, and calculating the intermediate value of each hydrogen production parameter corresponding to the standard parameter value of the power supply parameter;
establishing a feedback regression model representing the incidence relation between each hydrogen production parameter and all the power supply parameters and other hydrogen production parameters according to the standard parameter values of the power supply parameters, the intermediate values of each hydrogen production parameter corresponding to the standard parameter values of the power supply parameters and the standard parameter values of the hydrogen production parameters; the other hydrogen production parameters are other hydrogen production parameters than the hydrogen production parameters.
Further, the processing submodule is specifically configured to:
calling the linear regression model to process the actual parameter values of the power supply parameters to obtain intermediate values of the hydrogen production parameters;
and calling the feedback regression model to process the actual parameter values of the power supply parameters and the intermediate values of the hydrogen production parameters to obtain the reference parameter values of the hydrogen production parameters.
Further, the hydrogen production parameters comprise hydrogen production, oxygen content in hydrogen, and hydrogen content in oxygen;
the state analysis module 13 includes:
the first calculation submodule is used for calculating a first deviation value of the hydrogen yield according to an actual parameter value and a reference parameter value corresponding to the hydrogen yield;
the second calculation submodule is used for calculating a second deviation value of the oxygen yield according to the actual parameter value and the reference parameter value corresponding to the oxygen yield;
the third calculation submodule is used for calculating to obtain a performance evaluation parameter according to the first deviation value and the second deviation value;
and the fourth calculation submodule is used for calculating the safety evaluation parameter according to the actual parameter value and the reference parameter value corresponding to the oxygen content in the hydrogen and the actual parameter value and the reference parameter value corresponding to the hydrogen content in the oxygen.
Further, the state analysis module 13 includes:
the first state determining submodule is used for determining the performance degree of the current electrolytic cell corresponding to the performance evaluation parameter according to a preset electrolytic cell performance determining rule;
and the second state determination submodule is used for determining the safety degree of the current electrolytic cell corresponding to the safety evaluation parameter according to a preset electrolytic cell safety determination rule.
Further, the first state determination submodule is specifically configured to:
determining the performance degree of the current electrolytic cell to be a first preset performance level under the condition that the performance evaluation parameter is smaller than a first alarm threshold value;
under the condition that the performance evaluation parameter is not less than a first alarm threshold value but less than a first fault threshold value, determining the performance degree of the current electrolytic cell to be a second preset performance level;
determining the performance degree of the current electrolytic cell to be a third preset performance level under the condition that the performance evaluation parameter is not less than the first fault threshold value; and the performance abnormal degrees corresponding to the first preset performance level, the second preset performance level and the third preset performance level are sequentially increased.
Further, the second state determination submodule is specifically configured to:
under the condition that the safety evaluation parameter is smaller than a second alarm threshold value, determining the safety degree of the current electrolytic cell to be a first preset safety level;
under the condition that the safety evaluation parameter is not less than a second alarm threshold but less than a second fault threshold, determining the safety degree of the current electrolytic cell to be a second preset safety level;
under the condition that the safety evaluation parameter is not less than a second fault threshold value, determining the safety degree of the current electrolytic cell to be a third preset safety level; and the safety degrees corresponding to the first preset safety level, the second preset safety level and the third preset safety level are sequentially decreased progressively.
In the embodiment, the reference parameter value of the hydrogen production parameter is used as a standard, the actual parameter value is analyzed to obtain deviation data, the deviation data can accurately represent the deviation condition of the actual parameter value relative to the reference parameter value, the deviation condition is caused by the working state of the electrolytic cell, and then the current actual working state of the electrolytic cell can be accurately determined through the deviation condition, so that the problem that a method for accurately determining the working state of the electrolytic cell is urgently needed is solved.
It should be noted that, for the working processes of each module and sub-module in this embodiment, please refer to the corresponding description in the above embodiments, which is not described herein again.
Optionally, on the basis of the embodiment of the method and the device for determining the working state of the electrolytic cell, another embodiment of the present invention provides a controller, including: a memory and a processor;
wherein the memory is used for storing programs;
the processor calls a program and is used for executing the determination method of the working state of the electrolytic cell.
In the embodiment, the reference parameter value of the hydrogen production parameter is used as a standard, the actual parameter value is analyzed to obtain deviation data, the deviation data can accurately represent the deviation condition of the actual parameter value relative to the reference parameter value, the deviation condition is caused by the working state of the electrolytic cell, and then the current actual working state of the electrolytic cell can be accurately determined through the deviation condition, so that the problem that a method for accurately determining the working state of the electrolytic cell is urgently needed is solved.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种无氯气酸性电解提铜循环再生的方法