Multi-stack solid oxide fuel cell system modeling method based on knowledge and data combined driving

By combining the data-driven difference prediction model and the knowledge-driven mechanism model in the multi-stack SOFC system, and using the BP neural network for weighted summation, the problems of high model calculation burden and low accuracy in the existing technology are solved, and an efficient and stable system is achieved. system modeling.

CN118610518APending Publication Date: 2024-09-06HUAZHONG UNIV OF SCI & TECH +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410639407.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

It is difficult for the existing multi-stack SOFC system to meet the requirements of high accuracy and real-time performance when building models. The single mechanism model has a heavy computational burden and low efficiency, and the data-driven model lacks physical interpretability and is unstable.

Method used

A method based on joint knowledge and data driving is used to build a data-driven difference prediction model and a shared knowledge-driven mechanism model for each stack. The system model is simplified through weighted summation of the BP neural network model and the calculation efficiency and accuracy are improved.

Benefits of technology

The simplification of the multi-stack SOFC system model is achieved, the accuracy and real-time performance are improved, the computational burden and storage requirements are reduced, and the physical interpretability and stability of the model are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118610518A
    Figure CN118610518A
Patent Text Reader

Abstract

The invention belongs to the field of multi-stack solid oxide fuel cells, and particularly relates to a multi-stack solid oxide fuel cell system modeling method based on knowledge and data combined driving, which comprises the following steps: constructing a data driving difference prediction model of each stack and a knowledge driving mechanism model shared by each stack, the mechanism model and each electric pile prediction model form a battery system model; the input of the mechanism model is an electric pile module input quantity; the input of the prediction model of each galvanic pile is the difference value between the input of the galvanic pile and the input quantity of the galvanic pile module, and the output is the output deviation corresponding to the difference value; according to the connection structure of each galvanic pile, the input of the galvanic pile is the input quantity of the galvanic pile module or the sum of the output deviation of each upstream galvanic pile connected with the galvanic pile and the output of the mechanism model; the output of the system model is the sum of the outputs of the subsequent galvanic piles without galvanic pile connection. The method can solve the problem that it is difficult to meet high accuracy and real-time performance at the same time when a single mechanism model is adopted to construct a system model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of multi-stack solid oxide fuel cells, and more specifically, relates to a multi-stack solid oxide fuel cell system modeling method based on joint driving of knowledge and data. Background Art

[0002] With the progress of scientific and technological innovation and social development, the demand for energy is increasing, whether it is for life needs or production and manufacturing. Under such demand conditions, with the increasing depletion of fossil energy and the increasing environmental pollution, there is an urgent need for a clean and renewable energy utilization method. Solid oxide fuel cells (SOFC) have become a promising green power generation system with its advantages of high efficiency, low emissions and low noise. SOFC stacks are assembled in series with multiple cells. To ensure the reliability of the stack, the number of cells should not be too many, so the power of a single SOFC stack is usually controlled within 1KW. In order to meet the power requirements of different scenarios, multiple SOFC stacks are selected to be connected in series or in parallel to form a multi-stack SOFC system. However, the multi-stack SOFC system faces problems such as high operating costs, integration complexity and safety hazards in terms of testing, system performance optimization and system integration design in actual scenarios.

[0003] To solve the above problems, high-precision mechanism models have become a powerful tool for in-depth research, which can effectively reduce experimental costs and save time. However, as the number of battery stacks increases, the computational burden of the mechanism model also increases significantly, and the timeliness is insufficient.

[0004] For multi-stack SOFC systems, the existing system modeling methods are mainly divided into knowledge-driven and data-driven. The knowledge-driven method relies on physical or mathematical knowledge and builds a mathematical model by deeply analyzing the principles and operating mechanisms of the system. It is usually presented in the form of a mechanism model or knowledge rules. Although it has the advantage of deeply analyzing the internal operating mechanism and mode of the object, it is often difficult to balance the accuracy and efficiency of the model calculation in the face of strong nonlinearity of complex problems. On the other hand, the data-driven method is based on a large amount of system observation data, relies on statistical analysis and artificial intelligence theoretical tools, and builds an empirical model by analyzing the relationship between data. This method abandons the rigorous analysis of the internal mechanism of the research object and has high computational efficiency and reliability in the face of complex application scenarios. However, the parameters within these models lack clear physical interpretability, and the model performance is also affected by the uncertainty and instability of data quality and scale, which may lead to inaccurate prediction results.

[0005] Therefore, how to simultaneously meet high accuracy and real-time requirements when constructing a multi-stack SOFC system model is a pressing issue. Summary of the invention

[0006] In view of the defects of the prior art and the need for improvement, the present invention provides a multi-stack solid oxide fuel cell system modeling method based on the joint drive of knowledge and data, which aims to solve the problem that it is difficult to simultaneously meet high accuracy and real-time requirements when a single mechanism model is used to construct a battery system model.

[0007] To achieve the above object, according to one aspect of the present invention, a multi-stack solid oxide fuel cell system modeling method based on knowledge and data joint drive is provided, comprising:

[0008] Constructing a data-driven difference prediction model for each battery stack in a multi-battery solid oxide fuel cell system and a knowledge-driven mechanism model shared by each battery stack in the battery system, wherein the knowledge-driven mechanism model and the data-driven difference prediction model for each battery stack constitute a system model of the multi-battery solid oxide fuel cell system;

[0009] Among them, the input of the knowledge-driven mechanism model is the input of the battery stack module; the data-driven difference prediction model of each battery stack is a machine learning model, whose input is the difference between the input of the battery stack and the input of the knowledge-driven mechanism model, and the output is the output deviation corresponding to the difference; according to the connection structure of each battery stack in the battery system, the input of the battery stack is the input of the battery stack module, or the input of the battery stack is the sum of the output deviation of each upstream battery stack connected to the battery stack and the output of the knowledge-driven mechanism model; the output of the system model is the sum of the outputs of each battery stack that is not connected to the battery stack subsequently, and the output of each battery stack that is not connected to the battery stack subsequently is the sum of the output deviation of the data-driven difference prediction model of the corresponding battery stack and the output of the knowledge-driven mechanism model.

[0010] Furthermore, the data-driven difference prediction model for each battery stack is constructed as follows:

[0011] A multi-stack solid oxide fuel cell system mechanism model is used to obtain the input and corresponding output of each stack under different power conditions, and one power condition is selected as a reference power condition to calculate the input deviation and output deviation of each stack at other power conditions relative to the reference power condition;

[0012] Each pair of input deviation and output deviation of each fuel cell stack constitutes a training sample to construct a training sample set, and the training sample set is used to train a data-driven difference prediction model, which is used as the data-driven difference prediction model for each fuel cell stack.

[0013] Furthermore, the input characteristic quantities included in the input of each battery stack include:

[0014] Cathode gas molar flow rate, air temperature, air pressure, oxygen mole fraction, nitrogen mole fraction, anode gas molar flow rate, fuel temperature, fuel pressure, water vapor mole fraction, hydrogen mole fraction, methane mole fraction, carbon monoxide mole fraction, carbon dioxide mole fraction and current setting value.

[0015] Furthermore, the output characteristic quantities included in the output of each battery stack include:

[0016] Cathode gas molar flow rate, air temperature, air pressure, oxygen mole fraction, nitrogen mole fraction, anode gas molar flow rate, fuel temperature, fuel pressure, water vapor mole fraction, hydrogen mole fraction, methane mole fraction, carbon monoxide mole fraction, carbon dioxide mole fraction, stack average temperature, temperature gradient, stack output voltage and stack output current.

[0017] Furthermore, the data-driven difference prediction model is a BP neural network model.

[0018] Furthermore, the summing operation is implemented by weighted summing.

[0019] Furthermore, a grid search and cross-validation method is used to determine the weight value required for executing the weighted summation corresponding to each battery stack.

[0020] The present invention also provides an application of a system model of a multi-stack solid oxide fuel cell system constructed by the multi-stack solid oxide fuel cell system modeling method based on joint knowledge and data drive as described above, which is used for actual testing, performance optimization or system integration design of the multi-stack solid oxide fuel cell system.

[0021] The present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute a multi-stack solid oxide fuel cell system modeling method based on joint knowledge and data drive as described above.

[0022] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects:

[0023] (1) The present invention proposes that only one knowledge-driven mechanism model is used in the model of the multi-stack solid oxide fuel cell system to be constructed, that is, for the system to be modeled, the common mechanism model of each stack is used as a shared knowledge-driven model, which simplifies the scale of the mechanism model in the system model compared to the existing configuration of a mechanism model for each stack. Further, a data-driven difference prediction model is configured for each stack. Since the calculation amount and storage amount of the data-driven difference prediction model are smaller than those of the knowledge-driven mechanism model, the system model of the multi-stack solid oxide fuel cell system composed of the knowledge-driven mechanism model and the data-driven difference prediction model of each stack is an equivalent simplified model compared to the existing multi-stack solid oxide fuel cell system mechanism model. The present invention solves the problem that it is difficult to simultaneously meet high accuracy and real-time performance when a single mechanism model is used to construct a battery system model, and jointly drives knowledge and data, making full use of the complementary characteristics of the two, and effectively improving efficiency and performance in practical applications.

[0024] (2) When training the data-driven difference prediction model, the present invention uses training samples taken from the input and output data of each battery stack in the battery system, so that the prediction model trained thereby can be used for each battery stack. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 A simplified structural diagram of a multi-stack solid oxide fuel cell system provided by an embodiment of the present invention;

[0026] Figure 2 A simplified structural diagram for series-parallel structure modeling of a multi-stack solid oxide fuel cell system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0028] Embodiment 1

[0029] A multi-stack solid oxide fuel cell system modeling method based on knowledge and data joint driving, including:

[0030] Constructing a data-driven difference prediction model for each battery stack in a multi-stack solid oxide fuel cell system and a knowledge-driven mechanism model shared by each battery stack in the battery system. The knowledge-driven mechanism model and the data-driven difference prediction model for each battery stack constitute a system model of the multi-stack solid oxide fuel cell system.

[0031] Among them, the input of the knowledge-driven mechanism model is the input of the stack module; the data-driven difference prediction model of each stack is a machine learning model, whose input is the difference between the input of the stack and the input of the knowledge-driven mechanism model, and the output is the output deviation corresponding to the difference; according to the connection structure of each stack in the multi-stack SOFC system, the input of the stack is the input of the stack module, or the input of the stack is the sum of the output deviations of the upstream stacks connected to the stack and the output of the knowledge-driven mechanism model; the output of the system model is the sum of the outputs of each subsequent stack that is not connected to the stack, and the output of each subsequent stack that is not connected to the stack is the sum of the output deviations of the data-driven difference prediction model of the corresponding stack and the output of the knowledge-driven mechanism model.

[0032] like Figure 1 As shown, taking a fuel cell stack as an example, the input of the knowledge-driven mechanism model is the input of the fuel cell stack module; the input of the data-driven difference prediction model of the nth fuel cell stack is the difference between the input of the fuel cell stack and the input of the knowledge-driven mechanism model, and the output is the output deviation corresponding to the difference.

[0033] Existing system modeling methods are mainly divided into two types: knowledge-driven and data-driven. The knowledge-driven method relies on physical or mathematical knowledge and builds a mathematical model by deeply analyzing the principles and operating mechanisms of the system. It is usually presented in the form of a mechanism model or knowledge rules. Although it has the advantage of deeply analyzing the internal operating mechanism and mode of the object, it is often difficult to balance the accuracy and efficiency of the model calculation in the face of strong nonlinear situations of complex problems. On the other hand, the data-driven method is based on a large amount of system observation data, relies on statistical analysis and artificial intelligence theoretical tools, and builds an empirical model by analyzing the relationship between data. This method abandons the rigorous analysis of the internal mechanism of the research object and has high computational efficiency and reliability in the face of application scenarios with complex mechanisms. However, the parameters within these models lack clear physical interpretability, and the model performance is also affected by the uncertainty and instability of data quality and scale, which may lead to inaccurate prediction results.

[0034] In the actual working scenario of the multi-stack solid oxide fuel cell system model, due to the diversity of the extended structure of the multi-stack system, the differences in input and output conditions of the stacks at different positions lead to huge model calculations and complex calculation mechanisms. Although each stack in the structure has the same number of cells and structure, there are differences due to the different input conditions of the stacks at different positions. Therefore, in order to simplify the system calculation, this embodiment proposes a knowledge-data joint driven method. In this method, each stack is replaced by combining a shared knowledge-driven model with a personalized data-driven difference prediction model. This comprehensive method takes into account the overall interpretability and accuracy of the system while taking into account the data-driven computing efficiency and the accuracy of complex mechanism calculations.

[0035] That is, this embodiment proposes that the model of the multi-stack solid oxide fuel cell system only adopts one knowledge-driven mechanism model, that is, for the system that needs to simplify the modeling, the common mechanism model of each stack is used as a shared knowledge-driven model. Compared with the existing configuration of a mechanism model for each stack, the scale of the mechanism model in the system model is simplified. Instead, a data-driven difference prediction model is configured for each stack. Since the computational complexity and storage capacity of the data-driven difference prediction model are smaller than those of the knowledge-driven mechanism model, the system model of the multi-stack solid oxide fuel cell system composed of the knowledge-driven mechanism model and the data-driven difference prediction model of each stack is an equivalent simplified model compared to the existing multi-stack solid oxide fuel cell system mechanism model.

[0036] Specifically, (1) About the shared knowledge-driven model. A multi-stack solid oxide fuel cell (SOFC) system includes multiple stacks. Due to the different topological structures of the stack modules, the stacks in different positions have different input operating conditions and outputs. When constructing the system model, each stack in the module has the same number of cells and structure, so the model is also similar. Therefore, the shared stack knowledge-driven model used in this embodiment can be any stack mechanism model in the system.

[0037] (2) The configuration of a data-driven difference prediction model for each battery stack proposed in this embodiment has been verified by research on its effectiveness as follows:

[0038] Applying the currently effective multi-stack solid oxide fuel cell system mechanism model, the same normal distribution deviation is added to the stack input data at different powers, the deviation of the output data at different powers is observed, and the deviation of the output data is evaluated by the mean absolute error (MAE).

[0039] In a multi-stack system, the input working conditions and outputs of stacks at different locations are different, resulting in differences between the stacks. The working power of a single stack is usually within 1KW. In order to observe the impact of stack input differences on output at different powers, the same normal distribution deviation is added to the input data of 300W, 500W, and 800W stacks. The normal distribution deviation is used to simulate the difference in input working conditions between stacks. The stack input data with added deviation is obtained through the following calculation:

[0040]

[0041] In the above formula, F δ (x i ) is the input data to which the normal distribution deviation is added, δ is the relative deviation level, is a normally distributed random number with a mean of 0 and a variance of 1, F(x i ) is the input data of the battery stack.

[0042] The input data with added normal distribution deviation is input into the knowledge-driven model, and the mean absolute error (MAE) is used to calculate the deviation between the output data of the physical model under the added deviation input and the original output data. The mean absolute error is obtained by the following calculation:

[0043]

[0044] In the above formula, y i It is the original output data of the battery stack. is the output data of the battery stack with normal distribution deviation input, and N is the number of data samples.

[0045] Through calculation, the difference between the mean absolute error values ​​of the stack mechanism model at 300W and 800W and the mean absolute error value at 500W is obtained, such as 0.5%. Since the performance and characteristics of each stack are the same, the input data has the same deviation at different powers, and the output data deviation is almost the same. Therefore, a data-driven difference prediction model can be configured for each stack, which can be applied at any power under normal operating conditions.

[0046] This embodiment simplifies the mechanism models of each battery stack in the battery system by combining a shared knowledge-driven model with a corresponding data-driven difference prediction model. The purpose is to solve the problem that it is difficult to simultaneously meet high accuracy and real-time requirements when constructing a battery system model using a single mechanism model. Considering the increasingly prominent limitations in applications related to complex multi-stack SOFC systems, knowledge and data are jointly driven to make full use of their complementary characteristics and effectively improve efficiency and performance in practical applications.

[0047] As a preferred implementation, the data-driven difference prediction model for each battery stack is constructed as follows:

[0048] A multi-stack solid oxide fuel cell system mechanism model is used to obtain the input and corresponding output of each stack under different power conditions, and one power condition is selected as a reference power condition to calculate the input deviation and output deviation of each stack at other power conditions relative to the reference power condition;

[0049] Each pair of input deviation and output deviation of each fuel cell stack constitutes a training sample to construct a training sample set, and the training sample set is used to train a data-driven difference prediction model, which is used as the data-driven difference prediction model for each fuel cell stack.

[0050] The differences in the battery stack caused by different working conditions will be described using a data-driven approach and a data-driven difference prediction model (BP neural network model) will be constructed. By performing data-driven modeling on the battery stack, the deviation of the input data deviation to the output data can be predicted, which is applicable to each battery stack in the battery system.

[0051] In order to reflect the output impact caused by input data deviation within the 1KW power range, for example, the stack mechanism model operating data at 500W power is used as a basis for calculating the deviation.

[0052] Taking a single battery stack as the data processing unit, the input and output data of the collected battery stack are subjected to difference calculation. Taking the 500W battery stack working condition data as the deviation reference, the input and output of each battery stack in the system is subtracted from the characteristic quantity of the input and output data corresponding to the 500W battery stack. The calculation formula for the deviation is as follows:

[0053]

[0054] Among them, E i,j is the deviation of the jth feature value of the i-th data, Data i,j is the jth feature value of the i-th data in the battery stack data to be processed, is the jth feature value of the i-th data in the 5 million data benchmark;

[0055] After the above data processing process, the deviation data of each battery stack in the multi-stack system and the reference battery stack is obtained. Next, a data-driven method is used to perform machine learning on a single battery stack in the system. Since the training samples are taken from the data of each battery stack in the battery system when training the data-driven difference prediction model, the trained prediction model can be used for each battery stack.

[0056] Preferably, a BP neural network with three hidden layer neurons is used to train the input and output deviation data of each stack in the multi-stack SOFC system to obtain a model, which is used as a data-driven difference prediction model for each stack to predict the output deviation data based on the input deviation data.

[0057] The neuron input of the hidden layer of the BP neural network can be calculated by the following formula:

[0058]

[0059] In the above formula, hidden i is the input of the i-th hidden layer neuron, w ij is the weight between the input layer and the hidden layer, x j is the input of the input layer, and n is the input size of the output layer.

[0060] The output of the hidden layer of the BP neural network can be calculated by the following formula:

[0061] O i =f(hidden i -θ i )

[0062] In the above formula, f is the activation function of the hidden layer, θ i is the threshold of the i-th neuron in the hidden layer.

[0063] The input of the BP neural network output layer can be calculated by the following formula:

[0064]

[0065] In the above formula, w is the connection weight between the hidden layer neurons and the output layer neurons.

[0066] The output of the BP neural network output layer can be calculated by the following formula:

[0067] Y k =f(net k -θ j )

[0068] In the above formula, f is the activation function of the output layer neuron, θ j is the threshold of the output layer neurons.

[0069] After training the BP neural network, a data-driven difference prediction model (BP neural network model) that can be used for each battery stack is obtained. The input deviation of the battery stack is passed through the corresponding data-driven difference prediction model to obtain the model's predicted output deviation RUL data .

[0070] Taking the stack in the multi-stack SOFC system as a simplified object, the input of the multi-stack module in the system is calculated through a shared knowledge-driven model (stack mechanism model) to obtain the output result RUL pof At the same time, before the input of each battery stack of the simplified system enters the corresponding data-driven difference prediction model (BP neural network model), the input deviation is calculated by the shared knowledge-driven model, and then the data-driven difference prediction model predicts the output deviation RUL based on the input deviation data_error .

[0071] Next, the shared knowledge driven model and the corresponding data driven difference prediction model are summed, preferably, weighted summed, to correct the prediction error of the data driven difference prediction model, and obtain the output result RUL. In this way, the simplification and equivalent replacement of the stack in the multi-stack SOFC system are achieved. The above simplification process is as follows: Figure 1 As shown;

[0072] The above weighted summation of the shared knowledge-driven model and the corresponding data-driven difference prediction model is as follows:

[0073] RUL=W data ·RUL data_error +W pof ·RUL pof

[0074] Among them, W pof represents the weight parameter of knowledge-driven (stack mechanism model), W data Represents the weight parameter of data-driven (BP neural network model), RUL data_error Represents the output of the data-driven model, RUL pof represents the output of the knowledge-driven model, and RUL represents the output of the fusion of the two;

[0075] The final prediction is obtained by weighted summation.

[0076] The weight of each model can be determined based on its performance or confidence, thereby improving the robustness and performance of the overall model, especially when the scales or variances of different outputs vary greatly, and the contribution of each output can be better captured.

[0077] Preferably, for each weight parameter in the simplified structure of the battery stack, the weight parameter of the weighted sum calculation model is determined by grid search and cross validation.

[0078] First, determine the candidate set of weight parameters for searching. data_error and RUL pof, the [0,2] search space is evenly divided into several parameter combinations, and then all parameter combinations are traversed to calculate the performance index of each combination through cross-validation.

[0079] Next, a cross validation cycle is performed for each parameter combination. According to the data of each battery stack in the system to be simplified collected in step S3, the weight parameters of the simplified structure of a single battery stack are determined, and the data set of the corresponding battery stack is divided into K folded data.

[0080] For each folding data K, all folding data except the Kth folding data are combined as the training set, and the Kth folding data is used as the validation set. The input in the training set is simplified through the stack structure to obtain two output RUL data_error and RUL pof , calculate the weighted sum of the current parameter combination, combine the actual battery stack output in the data set, train the weighted sum model, and optimize the weight parameters through gradient descent.

[0081] After each training cycle, the validation set is used to evaluate the model performance. The input on the validation set is simplified to obtain two output RUL data_error and RUL pof , calculate the weighted sum of the current parameter combination The RUL performance index of the actual output of the battery stack in the validation set is calculated by the mean square error, and the function form is as follows:

[0082]

[0083] Where n is the number of samples, RUL is the actual output, It is the calculated output of the corresponding current parameter combination.

[0084] The parameter combination with the best model performance was determined by comparing the mean squared error.

[0085] It can be used as a preferred implementation method, with a knowledge-driven model of a single fuel cell stack as the object, and the input data characteristic quantities of the fuel cell stack need to be collected, including: cathode gas molar flow rate (air molar flow rate), air temperature, air pressure, oxygen molar fraction, nitrogen molar fraction, anode gas molar flow rate (fuel molar flow rate), fuel temperature, fuel pressure, water vapor molar fraction, hydrogen molar fraction, methane molar fraction, carbon monoxide molar fraction, carbon dioxide molar fraction, current setting value, a total of 14 parameters for the fuel cell input.

[0086] As a preferred embodiment, the output data includes the relevant variables of the fuel components in the input of the stack to reflect the consumption changes and transfer relationships of the fuel components of the stack. In addition, the output of the stack also includes thermoelectric characteristic output parameters: average stack temperature, temperature gradient, stack output voltage, and stack output current. Therefore, the output data characteristic quantities of the stack that need to be collected are: cathode gas molar flow rate (air molar flow rate), air temperature, air pressure, oxygen molar fraction, nitrogen molar fraction, anode gas molar flow rate (fuel molar flow rate), fuel temperature, fuel pressure, water vapor molar fraction, hydrogen molar fraction, methane molar fraction, carbon monoxide molar fraction, carbon dioxide molar fraction, stack average temperature, temperature gradient, stack output voltage, and stack output current. There are a total of 17 parameters for the stack output.

[0087] The method of this embodiment can be applied to various multi-stack SOFC structures. Now, a simplified multi-stack SOFC series-parallel structure system is taken as an example. The simplified structure of the system is as follows: Figure 2 shown.

[0088] The input of the stack module is passed through a shared knowledge-driven model (stack mechanism model), and the mechanism model calculates the output result RUL pof At the same time, before the input of the first battery stack in the series-parallel structure enters the corresponding data-driven difference prediction model (BP neural network model), it is deviated from the shared knowledge-driven model input, and then the corresponding data-driven model predicts the output deviation RUL of the first battery stack based on the input deviation data_error_1 The shared knowledge-driven model and the corresponding data-driven difference prediction model are weighted and summed to obtain the output result RUL _1 .

[0089] Similarly, in the series-parallel structure, the second and third battery stacks are connected in parallel, and the input of their data-driven difference prediction model is the weighted output result of the first battery stack, which is used to calculate the deviation from the shared knowledge-driven model input. Then, the corresponding data-driven difference prediction model predicts the output deviation based on the input deviation, and the above weighted summation process is repeated to obtain the output result.

[0090] In general, the present invention proposes a method of jointly driving knowledge and data. In view of the differences in input conditions of the stacks at different positions in the multi-stack SOFC system, but the similarities between the models; the common mechanism model (stack mechanism model) of each stack is used as a shared knowledge-driven module, and a data-driven method is used to describe the differences in the stacks due to different working conditions, and a data-driven difference prediction model (BP neural network model) is constructed. By sharing the complex common mechanism model, the number of mechanism models is greatly reduced, and the equivalent model simplification of the multi-stack system is achieved by using a fast-calculated data-driven model. This provides strong support for the analysis, research and control of multi-stack systems.

[0091] Embodiment 2

[0092] An application of a system model of a multi-stack solid oxide fuel cell system constructed by the multi-stack solid oxide fuel cell system modeling method based on joint drive of knowledge and data as described in Example 1, which is used for actual testing, performance optimization or system integration design of the multi-stack solid oxide fuel cell system.

[0093] The relevant technical solution is the same as that in Embodiment 1 and will not be described in detail here.

[0094] Embodiment 3

[0095] A computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute a multi-stack solid oxide fuel cell system modeling method based on joint knowledge and data drive as described above.

[0096] The relevant technical solution is the same as that in Embodiment 1 and will not be described in detail here.

[0097] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A multi-stack solid oxide fuel cell system modeling method based on knowledge and data joint drive, characterized in that: include: Constructing a data-driven difference prediction model for each battery stack in a multi-battery solid oxide fuel cell system and a knowledge-driven mechanism model shared by each battery stack in the battery system, wherein the knowledge-driven mechanism model and the data-driven difference prediction model for each battery stack constitute a system model of the multi-battery solid oxide fuel cell system; Among them, the input of the knowledge-driven mechanism model is the input of the battery stack module; the data-driven difference prediction model of each battery stack is a machine learning model, whose input is the difference between the input of the battery stack and the input of the knowledge-driven mechanism model, and the output is the output deviation corresponding to the difference; according to the connection structure of each battery stack in the battery system, the input of the battery stack is the input of the battery stack module, or the input of the battery stack is the sum of the output deviation of each upstream battery stack connected to the battery stack and the output of the knowledge-driven mechanism model; the output of the system model is the sum of the outputs of each battery stack that is not connected to the battery stack subsequently, and the output of each battery stack that is not connected to the battery stack subsequently is the sum of the output deviation of the corresponding battery stack and the output of the knowledge-driven mechanism model.

2. The multi-stack solid oxide fuel cell system modeling method according to claim 1, characterized in that: The data-driven difference prediction model for each battery stack is constructed as follows: A multi-stack solid oxide fuel cell system mechanism model is used to obtain the input and corresponding output of each stack under different power conditions, and one power condition is selected as a reference power condition to calculate the input deviation and output deviation of each stack at other power conditions relative to the reference power condition; Each pair of input deviation and output deviation of each fuel cell stack constitutes a training sample to construct a training sample set, and the training sample set is used to train a data-driven difference prediction model, which is used as the data-driven difference prediction model for each fuel cell stack.

3. The multi-stack solid oxide fuel cell system modeling method according to claim 1, characterized in that: The input characteristics of each battery stack include: Cathode gas molar flow rate, air temperature, air pressure, oxygen mole fraction, nitrogen mole fraction, anode gas molar flow rate, fuel temperature, fuel pressure, water vapor mole fraction, hydrogen mole fraction, methane mole fraction, carbon monoxide mole fraction, carbon dioxide mole fraction and current setting value.

4. The multi-stack solid oxide fuel cell system modeling method according to claim 3, characterized in that: The output characteristics of each battery stack include: Cathode gas molar flow rate, air temperature, air pressure, oxygen mole fraction, nitrogen mole fraction, anode gas molar flow rate, fuel temperature, fuel pressure, water vapor mole fraction, hydrogen mole fraction, methane mole fraction, carbon monoxide mole fraction, carbon dioxide mole fraction, stack average temperature, temperature gradient, stack output voltage and stack output current.

5. The multi-stack solid oxide fuel cell system modeling method according to claim 1, characterized in that: The data-driven difference prediction model is a BP neural network model.

6. The multi-stack solid oxide fuel cell system modeling method according to claim 1, characterized in that: The summing operation is implemented by weighted summing.

7. The multi-stack solid oxide fuel cell system modeling method according to claim 6, characterized in that: The weight value required for executing the weighted summation corresponding to each battery stack is determined by means of grid search and cross validation.

8. An application of a system model of a multi-stack solid oxide fuel cell system constructed by the multi-stack solid oxide fuel cell system modeling method based on knowledge and data joint drive as described in any one of claims 1 to 7, characterized in that: Used for actual testing, performance optimization or system integration design of the multi-stack solid oxide fuel cell system.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute a multi-stack solid oxide fuel cell system modeling method based on joint knowledge and data drive as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Fault diagnosis method of fuel cell uninterruptible power supply system and storage medium

    CN119125898A

  • Fault diagnosis method for fuel cell uninterruptible power supply system and storage medium

    CN119125898B