CN116053536A - Proton exchange membrane fuel cell estimation method and computer readable medium - Google Patents
Proton exchange membrane fuel cell estimation method and computer readable medium Download PDFInfo
- Publication number
- CN116053536A CN116053536A CN202310042334.4A CN202310042334A CN116053536A CN 116053536 A CN116053536 A CN 116053536A CN 202310042334 A CN202310042334 A CN 202310042334A CN 116053536 A CN116053536 A CN 116053536A
- Authority
- CN
- China
- Prior art keywords
- factor
- proton exchange
- exchange membrane
- constant
- fuel cell
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 239000012528 membrane Substances 0.000 title claims abstract description 143
- 239000000446 fuel Substances 0.000 title claims abstract description 91
- 238000000034 method Methods 0.000 title claims abstract description 48
- 235000008954 quail grass Nutrition 0.000 claims abstract description 128
- 241000282485 Vulpes vulpes Species 0.000 claims abstract description 97
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 43
- 238000005457 optimization Methods 0.000 claims abstract description 31
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 27
- 239000013598 vector Substances 0.000 claims description 68
- 241000282487 Vulpes Species 0.000 claims description 31
- 230000006870 function Effects 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 12
- 230000000694 effects Effects 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 8
- 238000012163 sequencing technique Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 230000004913 activation Effects 0.000 claims description 6
- 230000000739 chaotic effect Effects 0.000 claims description 6
- 238000012804 iterative process Methods 0.000 claims description 6
- 230000001105 regulatory effect Effects 0.000 claims description 6
- 238000010845 search algorithm Methods 0.000 claims description 6
- 230000009471 action Effects 0.000 claims description 5
- 238000013507 mapping Methods 0.000 claims description 5
- 238000009395 breeding Methods 0.000 claims 1
- 230000001488 breeding effect Effects 0.000 claims 1
- 238000005259 measurement Methods 0.000 claims 1
- UFHFLCQGNIYNRP-UHFFFAOYSA-N Hydrogen Chemical compound [H][H] UFHFLCQGNIYNRP-UHFFFAOYSA-N 0.000 description 6
- 229910052739 hydrogen Inorganic materials 0.000 description 6
- 239000001257 hydrogen Substances 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 239000000126 substance Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003245 coal Substances 0.000 description 1
- 238000002485 combustion reaction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 230000010287 polarization Effects 0.000 description 1
- 230000002028 premature Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M8/00—Fuel cells; Manufacture thereof
- H01M8/04—Auxiliary arrangements, e.g. for control of pressure or for circulation of fluids
- H01M8/04298—Processes for controlling fuel cells or fuel cell systems
- H01M8/04992—Processes for controlling fuel cells or fuel cell systems characterised by the implementation of mathematical or computational algorithms, e.g. feedback control loops, fuzzy logic, neural networks or artificial intelligence
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0084—Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring voltage only
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/3644—Constructional arrangements
- G01R31/3648—Constructional arrangements comprising digital calculation means, e.g. for performing an algorithm
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/367—Software therefor, e.g. for battery testing using modelling or look-up tables
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/378—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC] specially adapted for the type of battery or accumulator
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
- G01R31/3835—Arrangements for monitoring battery or accumulator variables, e.g. SoC involving only voltage measurements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N7/00—Computing arrangements based on specific mathematical models
- G06N7/08—Computing arrangements based on specific mathematical models using chaos models or non-linear system models
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M8/00—Fuel cells; Manufacture thereof
- H01M8/04—Auxiliary arrangements, e.g. for control of pressure or for circulation of fluids
- H01M8/04298—Processes for controlling fuel cells or fuel cell systems
- H01M8/04313—Processes for controlling fuel cells or fuel cell systems characterised by the detection or assessment of variables; characterised by the detection or assessment of failure or abnormal function
- H01M8/04537—Electric variables
- H01M8/04544—Voltage
- H01M8/04559—Voltage of fuel cell stacks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/30—Hydrogen technology
- Y02E60/50—Fuel cells
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Software Systems (AREA)
- Electrochemistry (AREA)
- Data Mining & Analysis (AREA)
- Manufacturing & Machinery (AREA)
- Sustainable Development (AREA)
- Sustainable Energy (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Health & Medical Sciences (AREA)
- General Chemical & Material Sciences (AREA)
- Mathematical Physics (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Fuzzy Systems (AREA)
- Medical Informatics (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Automation & Control Theory (AREA)
- Biophysics (AREA)
- Nonlinear Science (AREA)
- Algebra (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Fuel Cell (AREA)
Abstract
The invention discloses a proton exchange membrane fuel cell estimation method and a computer readable medium. The invention calculates the stacking voltage of the proton exchange membrane fuel cell at each moment, and inputs the measured stacking voltages of the proton exchange membrane fuel cells at a plurality of moments; constructing a stacking voltage optimization target, selecting decision variables and constructing constraint conditions of parameters; the optimized first half empirical factor, the optimized second half empirical factor, the optimized third half empirical factor, the optimized fourth half empirical factor, the optimized constant resistance of the membrane, the optimized water content of the proton exchange membrane and the optimized constant factor are obtained by improving the red fox optimization algorithm for solving, so that the optimized setting of the proton exchange membrane fuel cell is further realized. The improved algorithm provided by the invention has the characteristics of high convergence rate and accurate result, and the fitting degree of the theoretical value of the output stack voltage and the experimental output voltage is higher.
Description
Technical Field
The present invention relates to the field of fuel cell technologies, and in particular, to a proton exchange membrane fuel cell estimation method and a computer readable medium.
Background
With the rapid development of social economy and new energy industry, the energy demand is gradually increased, the reserves of fossil energy such as coal and petroleum are gradually reduced, and renewable energy can gradually replace traditional fossil energy. The hydrogen energy is used as a new secondary energy source, has the advantages of no pollution in combustion, high heat value and the like, and has rich reserves. The reasonable utilization of hydrogen energy is of great significance in relieving the crisis of fossil energy. The application of the popularization hydrogen energy source has great significance in technical innovation.
In the application of hydrogen energy, the fuel cell technology has been rapidly developed due to the advantages of high energy conversion efficiency, high energy density, no pollution, low noise and the like. A fuel cell is a chemical device that converts chemical energy possessed by fuel into electric energy. Among the many fuel cells, proton exchange membrane fuel cells are the most promising ones, and have important significance for the utilization of hydrogen energy. For the related field of proton exchange membrane fuel cells, the government of China gives policy support for realizing the hydrogen energy revolution in the early days.
In the past decade, related scientific papers in the field of proton exchange membranes have emerged, each of which has made technical breakthroughs in the field of fuel cells. In the prior art, an improved Archimedes optimization algorithm is adopted to estimate the model parameters of the proton exchange membrane fuel cell; the parameters of the PEM fuel cell are accurately extracted by adopting a self-consistent model and an SCCSA optimization algorithm; and a proton exchange membrane fuel cell model is established by adopting a chaotic game optimization technology. If the polarization curve of the proton exchange membrane fuel cell is accurately simulated by an intelligent algorithm, the cost and the operation time are greatly saved.
Disclosure of Invention
In order to solve the above technical problems, the present invention provides a method for estimating a proton exchange membrane fuel cell and a computer readable medium thereof, which obtain an optimal solution of parameters of the proton exchange membrane fuel cell, so that a calculated value and a measured value of an output stack voltage are as close as possible, thereby facilitating further prediction and dynamic analysis of the proton exchange membrane fuel cell.
The technical scheme of the method is a proton exchange membrane fuel cell estimation method, which comprises the following specific steps:
step 1: acquiring Nernst voltages at a plurality of moments, activation voltages at a plurality of moments, ohmic voltage drops caused by electrodes and membrane resistances at a plurality of moments, concentration voltage losses at a plurality of moments, calculating the stack voltage of the proton exchange membrane fuel cell at each moment, and inputting the measured stack voltage of the proton exchange membrane fuel cell at a plurality of moments;
step 2: constructing a stacking voltage optimization target, selecting a first half empirical factor, a second half empirical factor, a third half empirical factor, a fourth half empirical factor, constant resistance of the membrane, water content of the proton exchange membrane and a constant factor as decision variables, and constructing constraint conditions of parameters;
step 3: and combining constraint conditions of a stacking voltage optimization target and parameters, taking the first half empirical factor, the second half empirical factor, the third half empirical factor, the fourth half empirical factor, the constant resistance of the membrane, the water content of the proton exchange membrane and the constant factor as variables to be solved, and solving by improving a red fox optimization algorithm to obtain an optimized first half empirical factor, an optimized second half empirical factor, an optimized third half empirical factor, an optimized fourth half empirical factor, the constant resistance of the optimized membrane, the water content of the optimized proton exchange membrane and the optimized constant factor, thereby further realizing the optimized setting of the proton exchange membrane fuel cell.
Preferably, the stack voltage of the proton exchange membrane fuel cell at each moment is calculated in the step 1, specifically as follows:
wherein, stack voltage of proton exchange membrane fuel cell at kth time, < >>For the number of fuel cells in series in each stack, < >>For the output voltage of the individual fuel cells at the kth instant,/->For the Nernst voltage at time k, < >>For the activation voltage at the kth time, +.>For ohmic drop due to electrode and membrane resistance at time k, < >>A concentration voltage loss at the kth time, n representing the number of times;
the measured stack voltages of the proton exchange membrane fuel cells at the multiple moments described in step 1 are defined as:
wherein, a measured stack voltage of the proton exchange membrane fuel cell at the kth time is represented, and n represents the number of times;
preferably, the stacking voltage optimization objective is constructed as described in step 2, and specifically as follows:
wherein min represents the minimization of the number of the steps,representing the stack voltage of the pem fuel cell at time k,represents the measured stack voltage of the PEM fuel cell at the kth time, n represents the number of times, SSE represents the PEM fuel cellVoltage error model of (a);
The constraint conditions of the parameters in the step 2 are as follows:
wherein, representing the first half of the experience factor, ">Represents the lower limit of the first half empirical factor, +.>An upper limit representing a first half of the empirical factor;
representing the second half experience factor,/->Represents the lower limit of the second half empirical factor, < ->Representing an upper bound of a second half empirical factor;
representing the third half experience factor, ">Represents the lower limit of the third half empirical factor, < ->Representing an upper bound of a third half empirical factor;
representing the fourth half experience factor,/->Represents the lower limit of the fourth half empirical factor, < ->Representing an upper bound of a fourth half empirical factor;
represents the water content of the proton exchange membrane, < >>Is the lower limit of the water content of the proton exchange membrane, < + >>Is the upper limit of the water content in the proton exchange membrane;
representing the constant resistance of the film, +.>Is the lower limit of the constant resistance of the membrane, +.>Is the upper limit of the constant resistance of the film;
representing a constant factor->Is the lower limit of the constant factor, +.>Is the upper limit of the constant factor.
Preferably, the solution in the step 3 is carried out by using a modified red fox optimization algorithm, and the specific process is as follows:
step 3.1: initializing a red fox search algorithm;
step 3.1.1: setting the activity space of the red fox according to the constraint condition of the parameters ;
Storing the upper limit of the first half empirical factor, the lower limit of the second half empirical factor, the lower limit of the third half empirical factor, the lower limit of the fourth half empirical factor, the lower limit of the constant resistance of the membrane, the lower limit of the water content of the proton exchange membrane and the lower limit of the constant factor in a dimension-by-dimension mannerIn the process,
the method comprises the following steps:is the lower limit of the first half empirical factor, +.>Is the lower limit of the second half empirical factor, < ->Is the lower limit of the third half empirical factor, < ->Is the lower limit of the fourth half empirical factor, < ->Is the lower limit of the constant resistance of the film, +.>Is the lower limit of the water content in the proton exchange membrane, < >>Is a constant factor lower limit;
storing the upper limit of the first half empirical factor, the upper limit of the second half empirical factor, the upper limit of the third half empirical factor, the upper limit of the fourth half empirical factor, the upper limit of the constant resistance of the membrane, the upper limit of the water content of the proton exchange membrane and the upper limit of the constant factor in a dimension-by-dimension mannerThe concrete steps are as follows:
is the upper limit of the first half empirical factor, +.>Is the upper limit of the second half empirical factor, < ->Is the lower upper limit of the third half experience factor, < ->Is the upper limit of the fourth half empirical factor, < ->Is the upper limit of the constant resistance of the film, +.>Is the upper limit of the water content in the proton exchange membrane, < >>Is a constant factor upper limit;
Setting the maximum iteration number asThe number of red foxes in the population is +.>The observation angle is +.>Weather factor->The action judgment factor is->Route judgment factor of->The evolution judgment factor is->The number of evolved individuals is->Shape control factor->;
Determining the search dimension of the red fox as the number of decision variables in the proton exchange membrane fuel cell optimization model in the step 2;
Wherein, is->Random number between->Is->Random number between->For interval->Constant between->、And->Is->Constant between->For interval->A constant therebetween;
randomly generating a population of red foxes in an activity interval of the red foxes, and setting the current iteration times;
The definition of the initialized red fox population is as follows:
wherein, indicate->The->First half empirical factor of individual solution vector, < ->Indicate->The->A second half-empirical factor of individual solution vectors, < ->Indicate->In the second iteration processThird half empirical factor of individual solution vector, < ->Indicate->The->A fourth half empirical factor of individual solution vectors, < ->Indicate->The->The water content in the proton exchange membrane with individual solution vectors, Indicate->The->Constant resistance of proton exchange membrane of individual solution vector, < ->Indicate->The->A fuel cell constant factor for each individual solution vector;
wherein, for the dimension of the solution, <' > for>Indicating +.f. in the active space of the red fox>Lower bound of dimension solution vector parameters +.>Indicating +.f. in the active space of the red fox>The upper limit of the vector parameters is maintained.
Step 3.2: searching a prey habitat, and performing global searching by adopting a wavelet elite learning strategy integrated with a chaos optimization algorithm;
calculating the fitness of all red fox individuals in the population according to the objective function of the voltage error model of the proton exchange membrane fuel cell in the step 2, sorting the red fox individuals according to the fitness, and selecting the optimal red fox individuals;
The wavelet elite learning strategy integrated with the chaos optimization algorithm is adopted to drive other individuals to move towards the optimal individuals, and the method specifically comprises the following steps:
wherein, is Morlet wavelet->For global search factor, ++>Is SPM mixed withChaotic map, < ->Indicate->The->Individuals before update->Indicate->Before updating in the iterative process, the global optimal solution, < >>As a sign function +.>Is the lower limit of the activity space of the red fox, < - >Is the upper limit of the activity space of the red fox, < ->Indicate->The->-updated individuals;
wherein, to take the function of random number +.>Is->And->The Euclidean distance between the two is calculated as follows:
wherein, the number of the model parameters of the proton exchange membrane fuel cell is the number;
wherein, representing chaos factor->For interval->Random number between->For the remainder function, ++>Represents +.>Individuals before update->And->For interval->A constant therebetween;Represents +.>The individual prior to the update is presented with a list of individuals,
and (3) recalculating the updated fitness of the red fox according to the voltage error model of the proton exchange membrane fuel cell in the step (2), judging whether the updated fitness of the red fox is superior to the historical optimal individual, and if so, keeping the updated position unchanged and replacing the historical optimal individual.
Step 3.3: traversing the habitat, searching for an accurate location of the game within the game habitat;
setting camouflage factors for each red foxTo simulate the possibility of the red fox being noticed when approaching the prey, wherein the camouflage factor +.>For interval->Random numbers in between;
judging camouflage factor Whether or not to meet->If not, the method is left in place for camouflage;
Wherein the route influencing factorFor interval->Random number in between, local scaling factor->For interval->Random numbers in between;
judging to satisfyRoute influencing factor of individual red fox->Whether or not to meet->If the rule is satisfied, updating the population of the red fox according to a spiral formula; wherein (1)>And->For interval->A constant therebetween;
the spiral formula is specifically as follows:
wherein, representing a first search angle, +.>Representing a second search angle, +.>Representing a third search angle, ++>Representing a fourth search angle, ++>Representing a fifth search angle, ++>Representing a sixth search angle, ++>Indicating a seventh search angle, all ofRandom number between->For local scale factor->Indicate->The->First half empirical factor of individual solution vector, < ->Indicate->The->A second half-empirical factor of individual solution vectors, < ->Indicate->The->Third half empirical factor of individual solution vector, < ->Indicate->The->A fourth half empirical factor of individual solution vectors, < - >Indicate->The->Water content of proton exchange membrane with individual solution vector, < >>Indicate->The->Constant resistance of proton exchange membrane of individual solution vector, < ->Indicate->The->Fuel cell constant factor of individual solution vector, < ->Indicate->The->First half empirical factor of solution vector after individual spiral update,/->Indicate->The->Second half empirical factor of solution vector after individual spiral update, +.>Indicate->The->Third half empirical factor of solution vector after individual spiral update, +.>Indicate->The->Fourth half empirical factor of solution vector after individual spiral update, +.>Indicate->The->Water content of proton exchange membrane of solution vector after individual spiral update, < >>Indicate->The->Proton exchange membrane constant resistance of solution vector after individual spiral update, +.>Indicate->The->A fuel cell constant factor of the individual spiral updated solution vector;
if the route influencing factor is not satisfiedThen the improved Archimedes spiral formula is adopted to update the population of the red fox,for interval->A constant therebetween;
the improved Archimedes spiral formula is specifically as follows:
wherein, to express +.>Updated +.>Individual(s), fright>Representing the regulatory factor->Is logarithmic spiral shape constant +.>For interval->T represents the maximum number of iterations, +.>Indicate->The->Individuals before update->Indicate->The global optimal solution before updating in the secondary iteration process;
re-calculating the population fitness of the red fox, re-sequencing the red fox according to the fitness, and selecting two optimal red fox individuals;
step 3.4: reproduction and release, according to the adaptability of red fox individual selectionThe worst individuals are laid out outside the habitat or directly hunted, wherein the +.>The method comprises the following specific operation steps:
judgingWhether or not to meet->If so, then ∈>The worst individuals are killed, and two optimal red foxes can reproduce equal amounts of red foxes in the habitat to replace the red foxes killed, and the red foxes are randomly distributed in the current habitat; wherein (1) >For interval->Constant of the same.
The calculation formula of the current habitat center point is as follows:
wherein, is->And (5) sequencing the fitness of the red fox individuals in the previous 2 in the iterative process.
The diameter calculation formula of the habitat in step 3.4.2 is as follows:
if it does not meetWill->The worst red fox individuals evict habitats, and the red fox evicted habitats can find new game habitats again in combination with hunting experience;
namely, a novel backtracking updating strategy is adopted to update the position of the red fox which is put by the red fox, and the updating formula is as follows:
wherein, is the initial position of the red fox +.>For SPM chaotic mapping, < >>Is->Post evolution +.>Individual red fox, ->Distributing values for a power function;For interval->Constant, T represents the maximum number of iterations;
Step 3.5: repeating the steps 3.2-3.4 untilAnd outputting the optimized first half empirical factor, the optimized second half empirical factor, the optimized third half empirical factor, the optimized fourth half empirical factor, the optimized constant resistance of the membrane, the optimized water content of the proton exchange membrane and the optimized constant factor, wherein the constant resistance is larger than T.
The present invention also provides a computer readable medium storing a computer program executed by an electronic device, which when run on the electronic device causes the electronic device to perform the steps of the proton exchange membrane fuel cell estimation method.
The invention has the advantages that:
the wavelet elite learning strategy integrated with the chaos optimization algorithm is adopted to drive the red fox individuals to move to the optimal individuals, so that the characteristic of elite solution is effectively reserved, the spatial distribution of the red fox is optimized, and the global searching capability of the algorithm is improved.
When the algorithm performs local search, a novel Archimedes spiral action path is introduced, so that the action path of the red fox is diversified, the local search capability of the algorithm is improved, and the algorithm is helped to find the accurate position of the local optimal solution more quickly.
The novel backtracking updating strategy is adopted to update the positions of the individuals of the red foxes after being put, help the individuals of the red foxes to find other habitats faster, help the algorithm to jump out of the local optimum, and avoid premature convergence of the algorithm due to the fact that the algorithm falls into the local optimum.
The red fox search algorithm is improved, and the adaptability of the algorithm to complex models is improved.
Drawings
Fig. 1: the method of the embodiment of the invention is a flow chart;
fig. 2: the embodiment of the invention provides an improved red fox search algorithm flow chart.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In particular, the method according to the technical solution of the present invention may be implemented by those skilled in the art using computer software technology to implement an automatic operation flow, and a system apparatus for implementing the method, such as a computer readable storage medium storing a corresponding computer program according to the technical solution of the present invention, and a computer device including the operation of the corresponding computer program, should also fall within the protection scope of the present invention.
The following technical scheme of the method of the embodiment of the present invention is described with reference to fig. 1-2, which is a proton exchange membrane fuel cell estimation method, specifically as follows:
a flow chart of the method of the present invention is shown in fig. 1.
Step 1: acquiring Nernst voltages at a plurality of moments, activation voltages at a plurality of moments, ohmic voltage drops caused by electrodes and membrane resistances at a plurality of moments, concentration voltage losses at a plurality of moments, calculating the stack voltage of the proton exchange membrane fuel cell at each moment, and inputting the measured stack voltage of the proton exchange membrane fuel cell at a plurality of moments;
the stack voltage of the proton exchange membrane fuel cell at each moment is calculated in the step 1, and is specifically as follows:
wherein, stack voltage of proton exchange membrane fuel cell at kth time, < >>For the number of fuel cells in series in each stack, < >>For the output voltage of the individual fuel cells at the kth instant,/->For the Nernst voltage at time k, < >>For the activation voltage at the kth time, +.>For ohmic drop due to electrode and membrane resistance at time k, < >>For the concentration voltage loss at the kth time, n=3600 indicates the number of times;
the measured stack voltages of the proton exchange membrane fuel cells at the multiple moments described in step 1 are defined as:,
wherein, a measured stack voltage of the proton exchange membrane fuel cell at the kth time is represented, and n represents the number of times;
step 2: constructing a stacking voltage optimization target, selecting a first half empirical factor, a second half empirical factor, a third half empirical factor, a fourth half empirical factor, constant resistance of the membrane, water content of the proton exchange membrane and a constant factor as decision variables, and constructing constraint conditions of parameters;
The stacking voltage optimization target is constructed in the step 2, and the method specifically comprises the following steps:
wherein min represents the minimization of the number of the steps,stack voltage of proton exchange membrane fuel cell at kth time, < >>The measured stack voltage of the proton exchange membrane fuel cell at the kth moment is represented, n represents the number of the moments, and SSE represents a voltage error model of the proton exchange membrane fuel cell;
the constraint conditions of the parameters in the step 2 are as follows:
wherein, representing the first half of the experience factor, ">= -1.19969 represents the lower limit of the first half empirical factor,/->The upper limit of the first half empirical factor is represented by = -0.8532, which is an empirical value, which is obviously only one preferred value of the plurality of values.
Representing the second half experience factor,/->=0.001 represents the lower limit of the second half empirical factor, ++>=0.005 represents the upper limit of the second half empirical factor, which is an empirical value, which is obviously only one preferred value of the plurality of values.
Representing the third half experience factor, ">= 0.000036 represents the lower limit of the third half empirical factor, ++>The value of = 0.000098 represents the upper limit of the third half empirical factor, which is an empirical value, which is obviously only one preferred value of the plurality of values.
Representing the fourth half experience factor,/->= -0.00026 represents the lower limit of the fourth half empirical factor, ++>The upper limit of the fourth half empirical factor is represented by = -0.0000954, which is an empirical value, which is obviously only one preferred value of the plurality of values.
Represents the water content of the proton exchange membrane, < >>=10 is the lower limit of the water content in the proton exchange membrane, +.>The value=24 is the upper limit of the water content in the proton exchange membrane, and is an empirical value, which is obviously only one preferred value among a plurality of values.
Representing the constant resistance of the film, +.>=0.0001 is the lower limit of the constant resistance of the film, +.>=0.0008 is the upper limit of the constant resistance of the film, which is an empirical value, which is obviously only one preferred value of the plurality of values.
Representing a constant factor->=0.0136 is the lower limit of the constant factor, +.>The value=0.5 is the upper limit of the constant factor, which is empirically valued, and obviously is only one preferred value among a plurality of values.
Step 3: and combining constraint conditions of a stacking voltage optimization target and parameters, taking the first half empirical factor, the second half empirical factor, the third half empirical factor, the fourth half empirical factor, the constant resistance of the membrane, the water content of the proton exchange membrane and the constant factor as variables to be solved, and solving by improving a red fox optimization algorithm to obtain an optimized first half empirical factor, an optimized second half empirical factor, an optimized third half empirical factor, an optimized fourth half empirical factor, the constant resistance of the optimized membrane, the water content of the optimized proton exchange membrane and the optimized constant factor, thereby further realizing the optimized setting of the proton exchange membrane fuel cell.
As shown in fig. 2, the solution is performed by using the improved red fox optimization algorithm in step 3, and the specific process is as follows:
step 3.1: initializing a red fox search algorithm;
step 3.1.1: setting the activity space of the red fox according to the constraint condition of the parameters;
Storing the upper limit of the first half empirical factor, the lower limit of the second half empirical factor, the lower limit of the third half empirical factor, the lower limit of the fourth half empirical factor, the lower limit of the constant resistance of the membrane, the lower limit of the water content of the proton exchange membrane and the lower limit of the constant factor in a dimension-by-dimension mannerIn the process,
the method comprises the following steps:is the lower limit of the first half empirical factor, +.>Is the lower limit of the second half empirical factor, < ->Is the lower limit of the third half empirical factor, < ->Is the lower limit of the fourth half empirical factor, < ->Is the lower limit of the constant resistance of the film, +.>Is the lower limit of the water content in the proton exchange membrane, < >>Is a constant factor lower limit;
storing the upper limit of the first half empirical factor, the upper limit of the second half empirical factor, the upper limit of the third half empirical factor, the upper limit of the fourth half empirical factor, the upper limit of the constant resistance of the membrane, the upper limit of the water content of the proton exchange membrane and the upper limit of the constant factor in a dimension-by-dimension mannerThe concrete steps are as follows:
is the upper limit of the first half empirical factor, +. >Is the upper limit of the second half empirical factor, < ->Is the lower upper limit of the third half experience factor, < ->Is the upper limit of the fourth half empirical factor, < ->Is the upper limit of the constant resistance of the film, +.>Is the upper limit of the water content in the proton exchange membrane, < >>Is a constant factor upper limit;
setting the maximum iteration number asThe number of red foxes in the population is +.>The observation angle is +.>Weather factor->The action judgment factor is->Route judgment factor of->The evolution judgment factor is->The number of evolved individuals is->Shape control factor->;
Determining the search dimension of the red fox as the number of decision variables in the proton exchange membrane fuel cell optimization model in the step 2;
Wherein the maximum number of iterations=100, number of red foxes in population +.>=100,Is->A random number between the two random numbers,is->Random number between->=10 is interval +.>Constant between->=0.75、=0.5、=0.45 isConstant between->= -0.8 is interval +.>The constant between, this value is empirically chosen, it being evident that this value is only one preferred value of the plurality of values.
Randomly generating a population of red foxes in an activity interval of the red foxes, and setting the current iteration times;
The definition of the initialized red fox population is as follows:
wherein, indicate->The- >First half empirical factor of individual solution vector, < ->Indicate->The->A second half-empirical factor of individual solution vectors, < ->Indicate->The->Third half empirical factor of individual solution vector, < ->Indicate->The->A fourth half empirical factor of individual solution vectors, < ->Indicate->The->The water content in the proton exchange membrane with individual solution vectors,indicate->The->Constant resistance of proton exchange membrane of individual solution vector, < ->Indicate->The->A fuel cell constant factor for each individual solution vector; and satisfies the following:
Wherein, for the dimension of the solution, <' > for>Indicating +.f. in the active space of the red fox>Lower bound of dimension solution vector parameters +.>Indicating +.f. in the active space of the red fox>The upper limit of the vector parameters is maintained.
Step 3.2: searching a prey habitat, and performing global searching by adopting a wavelet elite learning strategy integrated with a chaos optimization algorithm;
calculating the fitness of all red fox individuals in the population according to the objective function of the voltage error model of the proton exchange membrane fuel cell in the step 2, sorting the red fox individuals according to the fitness, and selecting the optimal red fox individuals ;
The wavelet elite learning strategy integrated with the chaos optimization algorithm is adopted to drive other individuals to move towards the optimal individuals, and the method specifically comprises the following steps:
wherein, is Morlet wavelet->For global search factor, ++>For SPM chaotic mapping, < >>Indicate->The->Individuals before update, represent +.>Before updating in the iterative process, the global optimal solution, < >>As a sign function +.>Is the lower limit of the activity space of the red fox, < ->Is the upper limit of the activity space of the red fox, < ->Indicate->The->-updated individuals;
Wherein, for taking a random number function, is +.>And->The Euclidean distance between the two is calculated as follows:
wherein, the number of the model parameters of the proton exchange membrane fuel cell is the number;
wherein, representing chaos factor->For interval->Random number between->For the remainder function, ++>Indicate->The->Individuals before update->=0.4 and->=0.3 is interval +.>A constant therebetween;Indicate->The->The value is empirically determined for the individual prior to updating, and obviously, the value is only one preferred value of a plurality of values.
And (3) recalculating the updated fitness of the red fox according to the voltage error model of the proton exchange membrane fuel cell in the step (2), judging whether the updated fitness of the red fox is superior to the historical optimal individual, and if so, keeping the updated position unchanged and replacing the historical optimal individual.
Step 3.3: traversing the habitat, searching for an accurate location of the game within the game habitat;
setting camouflage factors for each red foxTo simulate the possibility of the red fox being noticed when approaching the prey, wherein the camouflage factor +.>For interval->Random numbers in between;
judging camouflage factorWhether or not to meet->If not, the method is left in place for camouflage;
Wherein the route influencing factorFor interval->Random number in between, local scaling factor->For interval->Random numbers in between;
judging to satisfyRoute influencing factor of individual red fox->Whether or not to meet->If the rule is satisfied, updating the population of the red fox according to a spiral formula; wherein (1)>=0.5 interval +.>The constant between, this value is empirically chosen, it being evident that this value is only one preferred value of the plurality of values.
The spiral formula is specifically as follows:
wherein, representing a first search angle, +.>Representing a second search angle, +.>Representing a third search angle, ++>Representing a fourth search angle, ++>Representing a fifth search angle, ++>Representing a sixth search angle, ++>Indicating a seventh search angle, all of Random number between->For local scale factor->Indicate->The->First half empirical factor of individual solution vector, < ->Indicate->The->A second half-empirical factor of individual solution vectors, < ->Indicate->The->Third half empirical factor of individual solution vector, < ->Indicate->The->A fourth half empirical factor of individual solution vectors, < ->Indicate->The->Water content of proton exchange membrane with individual solution vector, < >>Indicate->The->Constant resistance of proton exchange membrane of individual solution vector, < ->Indicate->The->Fuel cell constant factor of individual solution vector, < ->Indicate->The->First half empirical factor of solution vector after individual spiral update,/->Indicate->The->Second half empirical factor of solution vector after individual spiral update, +.>Indicate->The->Third half empirical factor of solution vector after individual spiral update, +.>Indicate->The->Post-update solution for individual spiralsFourth half empirical factor of quantity, +.>Indicate- >The->Water content of proton exchange membrane of solution vector after individual spiral update, < >>Indicate->The->Proton exchange membrane constant resistance of solution vector after individual spiral update, +.>Indicate->The->A fuel cell constant factor of the individual spiral updated solution vector;
If the route influencing factor is not satisfiedThen the improved Archimedes spiral formula is adopted to update the population of the red fox,=0.5 interval +.>A constant therebetween;
the improved Archimedes spiral formula is specifically as follows:
wherein, to express +.>Updated +.>Individual(s), fright>Representing the regulatory factor->=1 is a logarithmic spiral shape constant, +.>For interval->T represents the maximum number of iterations, +.>Indicate->The->Individuals before update->Indicate->The global optimal solution before updating in the secondary iteration process;
re-calculating the population fitness of the red fox, re-sequencing the red fox according to the fitness, and selecting two optimal red fox individuals;
Step 3.4: reproduction and release, according to the adaptability of red fox individual selectionThe worst individuals are laid out outside the habitat or directly hunted, wherein the +.>The method comprises the following specific operation steps:
JudgingWhether or not to meet->If so, then ∈>The worst individuals are killed, and two optimal red foxes can reproduce equal amounts of red foxes in the habitat to replace the red foxes killed, and the red foxes are randomly distributed in the current habitat; wherein (1)>=0.45 is interval +.>The constant between, this value is empirically chosen, it being evident that this value is only one preferred value of the plurality of values.
The calculation formula of the current habitat center point is as follows:
wherein, is->And (5) sequencing the fitness of the red fox individuals in the previous 2 in the iterative process.
The diameter calculation formula of the habitat in step 3.4.2 is as follows:
if it does not meetWill->The worst red fox individuals evict habitats, and the red fox evicted habitats can find new game habitats again in combination with hunting experience;
namely, a novel backtracking updating strategy is adopted to update the position of the red fox which is put by the red fox, and the updating formula is as follows:
wherein, is the initial position of the red fox +. >For SPM chaotic mapping, < >>Is->Post evolution +.>Individual red fox, ->Distributing values for a power function;For interval->Constant between, T represents the maximum number of iterationsA number;
Step 3.5: repeating the steps 3.2-3.4 untilIs greater than->And outputting the optimized first half empirical factor, the optimized second half empirical factor, the optimized third half empirical factor, the optimized fourth half empirical factor, the optimized constant resistance of the membrane, the optimized water content of the proton exchange membrane and the optimized constant factor.
Particular embodiments of the present invention also provide a computer readable medium.
The computer readable medium is a server workstation;
the server workstation stores a computer program executed by the electronic device, and when the computer program runs on the electronic device, the electronic device executes the steps of the proton exchange membrane fuel cell estimation method according to the embodiment of the invention.
It should be understood that parts of the specification not specifically set forth herein are all prior art.
It should be understood that the foregoing description of the preferred embodiments is not intended to limit the scope of the invention, but rather to limit the scope of the claims, and that those skilled in the art can make substitutions or modifications without departing from the scope of the invention as set forth in the appended claims.
Claims (9)
1. A method for estimating a proton exchange membrane fuel cell, comprising the steps of:
step 1: acquiring Nernst voltages at a plurality of moments, activation voltages at a plurality of moments, ohmic voltage drops caused by electrodes and membrane resistances at a plurality of moments, concentration voltage losses at a plurality of moments, calculating the stack voltage of the proton exchange membrane fuel cell at each moment, and inputting the measured stack voltage of the proton exchange membrane fuel cell at a plurality of moments;
step 2: constructing a stacking voltage optimization target, selecting a first half empirical factor, a second half empirical factor, a third half empirical factor, a fourth half empirical factor, constant resistance of the membrane, water content of the proton exchange membrane and a constant factor as decision variables, and constructing constraint conditions of parameters;
step 3: and combining constraint conditions of a stacking voltage optimization target and parameters, taking the first half empirical factor, the second half empirical factor, the third half empirical factor, the fourth half empirical factor, the constant resistance of the membrane, the water content of the proton exchange membrane and the constant factor as variables to be solved, and solving by improving a red fox optimization algorithm to obtain an optimized first half empirical factor, an optimized second half empirical factor, an optimized third half empirical factor, an optimized fourth half empirical factor, the constant resistance of the optimized membrane, the water content of the optimized proton exchange membrane and the optimized constant factor, thereby further realizing the optimized setting of the proton exchange membrane fuel cell.
2. The method for estimating a proton exchange membrane fuel cell as claimed in claim 1, wherein,
the stack voltage of the proton exchange membrane fuel cell at each moment is calculated in the step 1, and is specifically as follows:
wherein, stack voltage of proton exchange membrane fuel cell at kth time, < >>For the number of fuel cells in series in each stack, < >>For the output voltage of the individual fuel cells at the kth instant,/->For the Nernst voltage at time k, < >>For the activation voltage at the kth time, +.>For ohmic drop due to electrode and membrane resistance at time k, < >>A concentration voltage loss at the kth time, n representing the number of times;
the measured stack voltages of the proton exchange membrane fuel cells at the multiple moments described in step 1 are defined as:
3. The method for estimating a proton exchange membrane fuel cell as claimed in claim 2, wherein,
the stacking voltage optimization target is constructed in the step 2, and the method specifically comprises the following steps:
wherein min represents the minimization of the number of the steps,representing the stack voltage of the pem fuel cell at time k, The measured stack voltage of the proton exchange membrane fuel cell at the kth moment is represented, n represents the number of the moments, and SSE represents a voltage error model of the proton exchange membrane fuel cell; />
The constraint conditions of the parameters in the step 2 are as follows:
wherein, representing the first half of the experience factor, ">Represents the lower limit of the first half empirical factor, +.>An upper limit representing a first half of the empirical factor;
representing the second half experience factor,/->Represents the lower limit of the second half empirical factor, < ->Representing an upper bound of a second half empirical factor;
representing the third half experience factor, ">Represents the lower limit of the third half empirical factor, < ->Representing an upper bound of a third half empirical factor;
representing the fourth half experience factor,/->Represents the lower limit of the fourth half empirical factor, < ->Representing an upper bound of a fourth half empirical factor;
represents the water content of the proton exchange membrane, < >>Is the lower limit of the water content of the proton exchange membrane, < + >>Is the upper limit of the water content in the proton exchange membrane;
representing the constant resistance of the film, +.>Is the lower limit of the constant resistance of the membrane, +.>Is the upper limit of the constant resistance of the film;
4. A method for estimating a PEM fuel cell according to claim 3 wherein,
The solving by using the improved red fox optimization algorithm in the step 3 comprises the following steps:
step 3.1: initializing a red fox search algorithm;
step 3.2: searching a prey habitat, and performing global searching by adopting a wavelet elite learning strategy integrated with a chaos optimization algorithm;
step 3.3: traversing habitat, and searching accurate positions of the hunting object in the hunting object habitat by combining a spiral formula and an improved Archimedes spiral formula;
step 3.4: according to the adaptability of the red fox individuals, carrying out propagation updating, and adopting a novel backtracking updating strategy to update the positions of the released red foxes;
step 3.5: repeating the steps 3.2-3.4 until the maximum iteration times are reached, and outputting an optimized first half empirical factor, an optimized second half empirical factor, an optimized third half empirical factor, an optimized fourth half empirical factor, an optimized constant resistance of the membrane, an optimized water content of the proton exchange membrane and an optimized constant factor.
5. The method for estimating a proton exchange membrane fuel cell as claimed in claim 4, wherein,
the initialization red fox search algorithm is specifically as follows:
setting the activity space of the red fox according to the constraint condition of the parameters ;/>
Storing the upper limit of the first half empirical factor, the lower limit of the second half empirical factor, the lower limit of the third half empirical factor, the lower limit of the fourth half empirical factor, the lower limit of the constant resistance of the membrane, the lower limit of the water content of the proton exchange membrane and the lower limit of the constant factor in a dimension-by-dimension mannerIn the process,
the method comprises the following steps:is the lower limit of the first half empirical factor, +.>Is the lower limit of the second half empirical factor, < ->Is a third half empirical factorLower limit (S)>Is the lower limit of the fourth half empirical factor, < ->Is the lower limit of the constant resistance of the film, +.>Is the lower limit of the water content in the proton exchange membrane, < >>Is a constant factor lower limit;
storing the upper limit of the first half empirical factor, the upper limit of the second half empirical factor, the upper limit of the third half empirical factor, the upper limit of the fourth half empirical factor, the upper limit of the constant resistance of the membrane, the upper limit of the water content of the proton exchange membrane and the upper limit of the constant factor in a dimension-by-dimension mannerThe concrete steps are as follows:
is the upper limit of the first half empirical factor, +.>Is the upper limit of the second half empirical factor, < ->Is the lower upper limit of the third half experience factor, < ->Is the upper limit of the fourth half empirical factor, < ->Is the upper limit of the constant resistance of the film, +.>Is the upper limit of the water content in the proton exchange membrane, < >>Is a constant factor upper limit;
Setting the maximum iteration number asThe number of red foxes in the population is +.>The observation angle is +.>Weather factor->The action judgment factor is->Route judgment factor of->The evolution judgment factor is->The number of evolved individuals is->Shape control factor->;
Determining the search dimension of the red fox as the number of decision variables in the proton exchange membrane fuel cell optimization model in the step 2;
Wherein, is->Random number between->Is->Random number between->For interval->Constant between->、And->Is->Constant between->For interval->A constant therebetween;
randomly generating a population of red foxes in an activity interval of the red foxes, and setting the current iteration times;
The definition of the initialized red fox population is as follows:
wherein, indicate->The->First half empirical factor of individual solution vector, < ->Indicate->The->A second half-empirical factor of individual solution vectors, < ->Indicate->The->Third half empirical factor of individual solution vector, < ->Indicate->The->A fourth half empirical factor of individual solution vectors, < ->Indicate->The->The water content in the proton exchange membrane with individual solution vectors, Indicate->The->Constant resistance of proton exchange membrane of individual solution vector, < ->Indicate->The->A fuel cell constant factor for each individual solution vector;
6. The method for estimating a fuel cell according to claim 5, wherein,
the searching of the prey habitat adopts a wavelet elite learning strategy integrated with a chaos optimization algorithm to perform global searching, and the method is specifically as follows:
calculating the fitness of all red fox individuals in the population according to the objective function of the voltage error model of the proton exchange membrane fuel cell in the step 2, sorting the red fox individuals according to the fitness, and selecting the optimal red fox individuals;
The wavelet elite learning strategy integrated with the chaos optimization algorithm is adopted to drive other individuals to move towards the optimal individuals, and the method specifically comprises the following steps:
wherein, is Morlet wavelet->For global search factor, ++>For SPM chaotic mapping, < >>Indicate->The->Individuals before update- >Indicate->Before updating in the iterative process, the global optimal solution, < >>As a sign function +.>Is the lower limit of the activity space of the red fox, < ->Is the upper limit of the activity space of the red fox, < ->Indicate->The->-updated individuals;
wherein, to take the function of random number +.>Is->And->The Euclidean distance between the two is calculated as follows:
wherein, the number of the model parameters of the proton exchange membrane fuel cell is the number;
wherein, representing chaos factor->For interval->Random number between->For the remainder function, ++>Represents +.>Individuals before update->And->For interval->A constant therebetween;Represents +.>The individual prior to the update is presented with a list of individuals,
and (3) recalculating the updated fitness of the red fox according to the voltage error model of the proton exchange membrane fuel cell in the step (2), judging whether the updated fitness of the red fox is superior to the historical optimal individual, and if so, keeping the updated position unchanged and replacing the historical optimal individual.
7. The method for estimating a proton exchange membrane fuel cell as claimed in claim 6, wherein,
the traversing habitat is combined with a spiral formula and an improved Archimedes spiral formula to search the accurate position of the hunting object in the hunting object habitat, and the method is specifically as follows:
Setting camouflage factors for each red foxTo simulate the possibility of the red fox being noticed when approaching the prey, wherein the camouflage factor +.>For interval->Random numbers in between;
judging camouflage factorWhether or not to meet->If not, the method is left in place for camouflage;
Wherein the route influencing factorFor interval->Random number in between, local scaling factor->For interval->Random numbers in between;
judging to satisfyRoute influencing factor of individual red fox->Whether or not to meet->If the rule is satisfied, updating the population of the red fox according to a spiral formula; wherein (1)>And->For interval->A constant therebetween;
the spiral formula is specifically as follows:
wherein, representing a first search angle, +.>Representing a second search angle, +.>Representing a third search angle, ++>Representing a fourth search angle, ++>Representing a fifth search angle, ++>Representing a sixth search angle, ++>Representing a seventh search angle, all +.>Random number between->For local scale factor->Indicate->The->First half empirical factor of individual solution vector, < ->Indicate->The->A second half-empirical factor of individual solution vectors, < - >Represent the firstThe->Third half empirical factor of individual solution vector, < ->Indicate->The->A fourth half empirical factor of individual solution vectors, < ->Indicate->The->Water content of proton exchange membrane with individual solution vector, < >>Indicate->The->Constant resistance of proton exchange membrane of individual solution vector, < ->Indicate->The->Fuel cell constant factor of individual solution vector, < ->Indicate->The->First half empirical factor of solution vector after individual spiral update,/->Indicate->The->Second half empirical factor of solution vector after individual spiral update, +.>Indicate->The->Third half empirical factor of solution vector after individual spiral update, +.>Indicate->The->Fourth half empirical factor of solution vector after individual spiral update, +.>Indicate->The->Water content of proton exchange membrane of solution vector after individual spiral update, < >>Indicate->The->Proton exchange membrane constant resistance of solution vector after individual spiral update, +.>Indicate->The- >A fuel cell constant factor of the individual spiral updated solution vector;
if the route influencing factor is not satisfiedThen the improved Archimedes spiral formula is adopted to update the population of the red fox, the ∈red fox>For interval->A constant therebetween;
the improved Archimedes spiral formula is specifically as follows:
wherein, to express +.>Updated +.>Individuals are provided withBody, s represents a regulatory factor,>is logarithmic spiral shape constant +.>For interval->T represents the maximum number of iterations, +.>Indicate->The->Individuals before update->Indicate->The global optimal solution before updating in the secondary iteration process;
and (5) re-calculating the population fitness of the red foxes, re-sequencing the red foxes according to the fitness, and selecting two optimal red foxes.
8. The method for estimating a proton exchange membrane fuel cell as claimed in claim 7, wherein,
the breeding and updating are carried out according to the fitness of the red fox individuals, and the positions of the red fox which are put aside are updated by adopting a novel backtracking updating strategy, specifically as follows:
Selection according to individual fitness of red foxThe worst individuals were placed outside the habitat or were directly hunted, as follows:
judgingWhether or not to meet->If so, then ∈>The worst individuals are killed, and two optimal red foxes can reproduce equal amounts of red foxes in the habitat to replace the red foxes killed, and the red foxes are randomly distributed in the current habitat; wherein (1)>For interval->A constant therebetween;
the calculation formula of the current habitat center point is as follows:
wherein, is->The fitness of the red fox individuals in the iterative process is ranked as the first 2;
the diameter calculation formula of the habitat is as follows:
if it does not meetWill->The worst red fox individuals evict habitats, and the red fox evicted habitats can find new game habitats again in combination with hunting experience;
namely, a novel backtracking updating strategy is adopted to update the position of the red fox which is put by the red fox, and the updating formula is as follows:
wherein, is the initial position of the red fox +.>For SPM chaotic mapping, < >>Is->Post evolution +.>Individual red fox, ->Distributing values for a power function;For interval->Constant, T represents the maximum number of iterations;
9. A computer readable medium, characterized in that it stores a computer program for execution by an electronic device, which computer program, when run on the electronic device, causes the electronic device to perform the steps of the method according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310042334.4A CN116053536B (en) | 2023-01-28 | 2023-01-28 | Proton exchange membrane fuel cell estimation method and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310042334.4A CN116053536B (en) | 2023-01-28 | 2023-01-28 | Proton exchange membrane fuel cell estimation method and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116053536A true CN116053536A (en) | 2023-05-02 |
CN116053536B CN116053536B (en) | 2023-06-16 |
Family
ID=86119998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310042334.4A Active CN116053536B (en) | 2023-01-28 | 2023-01-28 | Proton exchange membrane fuel cell estimation method and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116053536B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6422999B1 (en) * | 1999-05-13 | 2002-07-23 | Daniel A. Hill | Method of measuring consumer reaction |
CN107690585A (en) * | 2015-04-16 | 2018-02-13 | 奥克斯能源有限公司 | For determining the health status of lithium-sulfur cell group and the method and apparatus of charged state |
CN114089210A (en) * | 2022-01-24 | 2022-02-25 | 北京理工大学 | Method and system for estimating state of health of proton exchange membrane fuel cell |
CN114976129A (en) * | 2022-05-13 | 2022-08-30 | 南京工业大学 | Application of novel crow search algorithm in proton exchange membrane fuel cell model parameter identification |
CN115392139A (en) * | 2022-10-27 | 2022-11-25 | 西北工业大学 | Fuel cell parameter identification method |
-
2023
- 2023-01-28 CN CN202310042334.4A patent/CN116053536B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6422999B1 (en) * | 1999-05-13 | 2002-07-23 | Daniel A. Hill | Method of measuring consumer reaction |
CN107690585A (en) * | 2015-04-16 | 2018-02-13 | 奥克斯能源有限公司 | For determining the health status of lithium-sulfur cell group and the method and apparatus of charged state |
CN114089210A (en) * | 2022-01-24 | 2022-02-25 | 北京理工大学 | Method and system for estimating state of health of proton exchange membrane fuel cell |
CN114976129A (en) * | 2022-05-13 | 2022-08-30 | 南京工业大学 | Application of novel crow search algorithm in proton exchange membrane fuel cell model parameter identification |
CN115392139A (en) * | 2022-10-27 | 2022-11-25 | 西北工业大学 | Fuel cell parameter identification method |
Non-Patent Citations (1)
Title |
---|
B. DEEPANRAJ: "Optimal parameter estimation of proton exchange membrane fuel cell using improved red fox optimizer for sustainable energy management", 《JOURNAL OF CLEANER PRODUCTION》, vol. 369, pages 1 - 12 * |
Also Published As
Publication number | Publication date |
---|---|
CN116053536B (en) | 2023-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Özdemir | Optimal parameter estimation of polymer electrolyte membrane fuel cells model with chaos embedded particle swarm optimization | |
Priya et al. | A novel approach for fuel cell parameter estimation using simple genetic algorithm | |
CN115632179B (en) | Intelligent quick charging method and system for lithium ion battery | |
CN107463995B (en) | Fuel cell optimization modeling method with adaptive genetic strategy RNA-GA | |
Askarzadeh et al. | A new artificial bee swarm algorithm for optimization of proton exchange membrane fuel cell model parameters | |
CN110210071B (en) | All-vanadium redox flow battery energy storage system operation optimization method based on genetic algorithm | |
CN110082682B (en) | Lithium battery state of charge estimation method | |
Wang et al. | Application of co-evolution RNA genetic algorithm for obtaining optimal parameters of SOFC model | |
CN110399928A (en) | Voltage of solid oxide fuel cell prediction technique, terminal device and storage medium | |
CN110188408B (en) | Particle swarm algorithm-based operation optimization method for all-vanadium redox flow battery energy storage system | |
Abd Elaziz et al. | Optimal parameters extracting of fuel cell based on Gorilla Troops Optimizer | |
CN115392139B (en) | Fuel cell parameter identification method | |
Isa et al. | PEM fuel cell model parameters optimization using modified particle swarm optimization algorithm | |
CN106709131A (en) | Parameter intelligent optimization method suitable for proton exchange membrane fuel cell model | |
Fathy et al. | Proton exchange membrane fuel cell model parameters identification using Chaotically based-bonobo optimizer | |
Abdel-Basset et al. | On the facile and accurate determination of the highly accurate recent methods to optimize the parameters of different fuel cells: Simulations and analysis | |
Korkmaz et al. | Comparison of various metaheuristic algorithms to extract the optimal PEMFC modeling parameters | |
CN116053536B (en) | Proton exchange membrane fuel cell estimation method and computer readable medium | |
Erlin et al. | Parameter derivation of a proton exchange membrane fuel cell based on coevolutionary ribonucleic acid genetic algorithm | |
Khajuria et al. | Model Parameter Extraction for PEM Electrolyzer Using Honey Badger Algorithm | |
CN116646568B (en) | Fuel cell stack parameter optimizing method based on meta heuristic | |
CN117236200A (en) | Method for optimizing quick charge strategy of aerocar battery based on data-driven reduced-order model | |
CN117610242A (en) | Battery thermal model determining method, predicting method, thermal management method and related equipment | |
CN102521523A (en) | Autophagy membrane-computing optimization modeling method for fuel cell | |
CN117421969A (en) | Wind speed prediction method for optimizing LSSVM model based on BSSA algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |