CN114239438B - Hydrogen circulation equipment simulation method and system - Google Patents

Hydrogen circulation equipment simulation method and system Download PDF

Info

Publication number
CN114239438B
CN114239438B CN202210148235.XA CN202210148235A CN114239438B CN 114239438 B CN114239438 B CN 114239438B CN 202210148235 A CN202210148235 A CN 202210148235A CN 114239438 B CN114239438 B CN 114239438B
Authority
CN
China
Prior art keywords
hydrogen
mass flow
ejector
port
circulation
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.)
Active
Application number
CN202210148235.XA
Other languages
Chinese (zh)
Other versions
CN114239438A (en
Inventor
于秋晔
何绍清
麻胜南
贾肖瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Automotive Technology and Research Center Co Ltd
Automotive Data of China Tianjin Co Ltd
Original Assignee
China Automotive Technology and Research Center Co Ltd
Automotive Data of China Tianjin Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Automotive Technology and Research Center Co Ltd, Automotive Data of China Tianjin Co Ltd filed Critical China Automotive Technology and Research Center Co Ltd
Priority to CN202210148235.XA priority Critical patent/CN114239438B/en
Publication of CN114239438A publication Critical patent/CN114239438A/en
Application granted granted Critical
Publication of CN114239438B publication Critical patent/CN114239438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/28Design optimisation, verification or simulation using fluid dynamics, e.g. using Navier-Stokes equations or computational fluid dynamics [CFD]
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M8/00Fuel cells; Manufacture thereof
    • H01M8/04Auxiliary arrangements, e.g. for control of pressure or for circulation of fluids
    • H01M8/04298Processes for controlling fuel cells or fuel cell systems
    • H01M8/04305Modeling, demonstration models of fuel cells, e.g. for training purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/08Fluids
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/50Fuel cells

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • Sustainable Development (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Sustainable Energy (AREA)
  • Algebra (AREA)
  • Computing Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Fuel Cell (AREA)

Abstract

The embodiment of the invention discloses a method and a system for simulating hydrogen circulation equipment, and relates to the technical field of fuel cell model simulation. The method comprises the following steps: in the simulation process of the hydrogen circulation system, the switching module acquires the operating parameters of the hydrogen circulation system and determines the optimal structure of the hydrogen circulation equipment by combining a set circulation strategy; and if the optimal structure is different from the current structure, the switching module sends control signals of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure so as to control the ejector and the circulating pump to change the hydrogen mass flow obtained from the primary flow port and the secondary flow port and switch the optimal structure. In the embodiment, Modelica language is adopted to compile the hydrogen circulation equipment, and the optimal mechanism for automatically acquiring the operation parameters and automatically controlling the hydrogen circulation equipment is adopted by the switching module, so that the automation and the intelligence of simulation are improved.

Description

Hydrogen circulation equipment simulation method and system
Technical Field
The invention relates to a fuel cell model simulation technology, in particular to a method and a system for simulating hydrogen circulation equipment.
Background
The simulation of the fuel system plays an extremely important role in the design of the fuel cell automobile, the recycling of residual hydrogen after the fuel cell stack is combusted has a great influence on the efficiency and the performance of the fuel cell, the simulation can guide the actual vehicle enterprises to select and debug the subsystem circulating equipment, and the simulation has a vital role in improving the quality, the period and reducing the cost of the fuel cell automobile project. The automatic test method is based on the prior experience of a tester, compares a test case prepared in advance with a test result, and finds out the difference to complete the test.
Most of traditional or existing models are based on a causal modeling mode, model compiling is restrictive, when a framework is changed, the model changing range is large, and experiment tests need to consume manpower, material resources and financial resources. For example, when a fuel cell model is built by using Simulink, manual connection or change of lines between modules is needed, and both the intelligence and the automation degree are insufficient.
Disclosure of Invention
The invention provides a method and a system for simulating hydrogen circulation equipment, which are characterized in that Modelica language is adopted to compile the hydrogen circulation equipment, and an optimal mechanism for automatically acquiring operation parameters and automatically controlling the hydrogen circulation equipment is adopted through a switching module, so that the automation and the intelligentization degree of simulation are improved.
In a first aspect, the invention provides a simulation method for hydrogen circulation equipment, which is applied to a model of the hydrogen circulation equipment, wherein the model comprises a switching module, an ejector, a circulation pump, a primary flow port, a secondary flow port and an output port; the ejector and the circulating pump are written in Modelica language;
the method comprises the following steps:
in the simulation process of the hydrogen circulation system, the switching module acquires the operation parameters of the hydrogen circulation system and determines the optimal structure of the hydrogen circulation equipment by combining a set circulation strategy, wherein the structure of the hydrogen circulation equipment comprises a single ejector, a single circulation pump or an ejector and a circulation pump which are connected in parallel;
and if the optimal structure is different from the current structure, the switching module sends a control signal of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure so as to control the ejector and the circulating pump to change the hydrogen mass flow obtained from the primary flow port and the secondary flow port and switch the optimal structure.
In a second aspect, the present invention also provides a hydrogen circulation device simulation system including a model of a hydrogen circulation device, a hydrogen tank model, a pressure reducing valve model, an injector model, and a stack model of a fuel cell;
the model of the hydrogen circulating equipment comprises a switching module, an ejector, a circulating pump, a primary flow port, a secondary flow port and an output port; the ejector and the circulating pump are written in Modelica language;
in the simulation process of the hydrogen circulation system, the switching module is used for collecting the operation parameters of the hydrogen circulation system and determining the optimal structure of the hydrogen circulation equipment by combining a set circulation strategy, wherein the structure of the hydrogen circulation equipment comprises a single ejector, a single circulation pump or an ejector connected with the circulation pump in parallel;
and if the optimal structure is different from the current structure, the switching module is used for sending a control signal of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure so as to control the ejector and the circulating pump to change the hydrogen mass flow obtained from the primary flow port and the secondary flow port and switch the optimal structure.
According to the invention, the ejector and the circulating pump are compiled by adopting a Modelica language, the switching module is introduced into the whole hydrogen circulating system, the switching module is used for automatically acquiring the system operation parameters and combining the set circulating strategy to obtain the optimal structure of the hydrogen circulating equipment, so that the optimal structure is switched. In the execution aspect, the switching module can send the control signal of hydrogen mass flow to ejector and circulating pump, and ejector and circulating pump have the response ability to this control signal to acquire corresponding hydrogen mass flow from the primary current port and the secondary current port, and then switch to optimum structure. The scheme provided by the invention is based on the physical modeling characteristics of Modelica language, realizes the structural switching by automatically controlling the hydrogen mass flow, does not need to manually change a connecting line, and achieves higher automation and intellectualization.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a structural diagram of a model of a hydrogen circulation device provided in an embodiment of the present invention;
fig. 2 is a structural diagram of a model of another hydrogen circulation device provided in an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a hydrogen circulation system provided in an embodiment of the present invention;
fig. 4 is a flowchart of a simulation method of a hydrogen circulation device according to an embodiment of the present invention;
fig. 5 is a MAP of an ejector according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The embodiment of the invention provides a simulation method of hydrogen circulation equipment, which is applied to a model of the hydrogen circulation equipment, and fig. 1 is a structural diagram of the model of the hydrogen circulation equipment provided by the embodiment of the invention, wherein the model comprises a switching module, an ejector, a circulating pump, a primary flow port, a secondary flow port and an output port.
Fig. 2 is a block diagram of a model of another hydrogen circulation device according to an embodiment of the present invention, referring to fig. 1 and 2, the switching module includes a collection port and a control port, the collection port connects the primary flow port, the secondary flow port and a stack model of a fuel cell, as shown by a dotted line in fig. 1, to collect a desired operation parameter; a control port connects the eductor and the recycle pump as shown by the solid line in fig. 1 to send a control signal for the hydrogen mass flow.
The ejector and the circulating pump are written in Modelica language. Modelica supports hierarchical modeling and model reuse of a complex system in an object-oriented mode, realizes consistent expression of physical laws in different fields based on generalized kirchhoff law, and supports statement expression of a model by adopting a non-causal modeling mechanism. It is shown in the model that the material flow (hydrogen mass flow in this embodiment) is transmitted inside the model, and the signal flow or the energy flow is transmitted inside the model built by Simulink. In this embodiment, the switching module is used to control the mass flow of hydrogen, so as to achieve the structural switching.
Specifically, the ejector comprises an energy balance module, a pressure balance module and a mass flow balance module which are written by a Modelica language; the first inlet of the ejector is connected with the primary flow port, the second inlet of the ejector is connected with the secondary flow port, and the first outlet of the ejector is connected with the output port. In addition, the ejector further comprises a first control port interacting with the switching module.
The mass flow balance module of the ejector comprises: mflow _ a + mflow _ C = mflow _ B
Energy balance module of ejector: mflow _ a × h _ flow _ a + mflow _ C × h _ flow _ C = mflow _ B × h _ flow _ B
Pressure balance module of ejector: dp1= PFirst outlet-PFirst inlet, dp2=PFirst outlet-PSecond inlet,(dp1,dp2)=f(mflow_A,mflow_C)
Where mflow _ A, mflow _ B, mflow _ C is the hydrogen mass flow rate of the first inlet, the hydrogen mass flow rate of the first outlet, and the hydrogen mass flow rate of the second inlet, respectively. h _ flow _ A, h _ flow _ B, h _ flow _ C are the specific enthalpy value of the first inlet, the specific enthalpy value of the first outlet and the specific enthalpy value of the second inlet, respectively. dp1 is the first outlet pressure PFirst outletAnd the first inlet PFirst inletDp2 is the first outlet pressure PFirst outletAnd a second inlet PSecond inletThe difference in pressure of (a). dp1 and dp2 are functions of mflow _ A, mflow _ C, and can be obtained by table lookup.
The circulating pump comprises an energy balance module written by a Modelica language, a pressure balance module and a mass flow balance module; the third inlet of the circulating pump is connected with the secondary flow port, and the second outlet is connected with the output port. In addition, the circulation pump further comprises a second control port interacting with the switching module.
Mass flow balancing module of circulating pump: mflow _ D = mflow _ E
Energy balance module of circulating pump: mflow _ D × h _ flow _ D + W = mflow _ E × h _ flow _ E
Pressure balance module of circulating pump: dp3= p (d) -p (e); dp3= f (mflow _ D) = f (mflow _ E)
Where mflow _ D, mflow _ E is the hydrogen mass flow rate at the third inlet and the hydrogen mass flow rate at the second outlet, respectively. h _ flow _ D, h _ flow _ E is the specific enthalpy value of the third inlet and the specific enthalpy value of the second outlet, respectively, W is the circulation pump mechanical work. P (d) and p (e) are the pressure at the third inlet and the pressure at the second outlet, respectively. dp3 is the pressure differential across the circulation pump, a function of hydrogen mass flow, and can be found by a table lookup.
Further, in order to operate the entire hydrogen circulation device in a modeica environment, the switching module, the primary flow port, the secondary flow port, and the output port are all written in a modeica language, and those skilled in the art can write according to the physical characteristics of each part, which is not described in detail in this embodiment.
The hydrogen circulation equipment meets the constraint conditions of hydrogen mass flow balance and energy conservation.
Hydrogen mass flow balance constraint conditions: mflow _ H + mflow _ J = mflow _ K
Energy conservation constraint condition:
mflow_H×h_flow_H+mflow_J×h_flow_J+W=mflow_K×h_flow_K
wherein, mflow _ H, mflow _ J, mflow _ K is the hydrogen mass flow of the primary flow port, the hydrogen mass flow of the secondary flow port and the hydrogen mass flow of the output port, respectively. h _ flow _ H, h _ flow _ J, h _ flow _ K are the specific enthalpy value of the primary flow port, the specific enthalpy value of the secondary flow port and the specific enthalpy value of the output port, respectively.
For convenience of describing the simulation method of the hydrogen circulation apparatus provided in this embodiment, a hydrogen circulation system will be described first. Fig. 3 is a schematic structural diagram of a hydrogen circulation system according to an embodiment of the present invention, including a model of the hydrogen circulation device shown in fig. 1, a hydrogen tank model, a pressure reducing valve model, an injector model, and a stack model of a fuel cell. The pressure reducing valve model reduces the pressure of the hydrogen provided by the hydrogen tank model and then enters the primary flow port of the model of the hydrogen circulation equipment. The outlet of the model of the hydrogen circulation device delivers hydrogen to the injector model and then into the stack model of the fuel cell. And the electric pile model outputs hydrogen to be fed back to a secondary flow port of the model of the hydrogen circulation equipment, so that the hydrogen is recycled.
Referring to fig. 1 and 3, a flow chart of a simulation method of a hydrogen circulation device is shown in fig. 4, and specifically includes:
and S110, in the simulation process of the hydrogen circulation system, the switching module collects the operation parameters of the hydrogen circulation system and determines the optimal structure of the hydrogen circulation equipment by combining the set circulation strategy.
The switching module collects the hydrogen mass flow of the primary flow port, the hydrogen mass flow of the secondary flow port and the current density of the galvanic pile in real time through the collection port.
A round robin strategy is a strategy for determining an optimal configuration based on the operating parameters of the system. Alternatively, the loop policy may be pre-programmed or may be input by the user. The switching module comprises a user input port; before the switching module collects the operating parameters of the hydrogen circulation system and determines the optimal structure of the hydrogen circulation equipment by combining the set circulation strategy, the method further comprises the following steps: and the switching module receives the circulation strategy set by the user from the user input port. Therefore, a user can switch the model into a required structure by inputting a switching strategy without manually changing a connecting line.
The cycling strategy includes, but is not limited to, a cycling strategy determined from the MAP of the eductor, a cycling strategy based on a power consumption threshold of the circulation pump, a cycling strategy based on a primary flow port hydrogen mass flow threshold and a stack power threshold.
The optimal structure is determined according to the operation parameters of the system and by combining a circulation strategy, and comprises a single ejector, a single circulation pump or an ejector and a circulation pump which are connected in parallel.
Optionally, the hydrogen circulation system adopts a set simulation step length, and an optimal structure is obtained after each simulation step length is finished, and compared with the current structure. If the two are the same, no action is taken. If they are different, S120 is performed.
And S120, if the optimal structure is different from the current structure, the switching module sends a control signal of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure so as to control the ejector and the circulating pump to change the hydrogen mass flow obtained from the primary flow port and the secondary flow port, and the optimal structure is switched.
The switching module firstly generates a control signal sent to the ejector and a control signal sent to the circulating pump according to the optimal structure. The hydrogen mass flow control signal comprises a first hydrogen mass flow rate obtained by the ejector from the primary flow port, a second hydrogen mass flow rate obtained from the secondary flow port, and a third hydrogen mass flow rate obtained by the circulating pump from the secondary flow port. The ejector responds to the control signal to obtain a first hydrogen mass flow from the primary flow port and obtain a second hydrogen mass flow from the secondary flow port; the circulation pump acquires a third hydrogen mass flow from the secondary flow port in response to the control signal; the primary flow port determines the mass flow of the fourth hydrogen flowing to the output port according to the hydrogen mass flow balance constraint condition of the hydrogen circulation equipment; and the mass flow of the output hydrogen of the ejector and the circulating pump is converged with the mass flow of the fourth hydrogen and then flows into the output port.
Optionally, if the single ejector is used, a control signal of "acquiring all the hydrogen mass flow from the primary flow port and acquiring a large amount of hydrogen mass flow from the secondary flow port" is sent to the ejector, and the "large amount" is preferably 99.9% of the hydrogen mass flow. In order to ensure that the whole system can operate and avoid the occurrence of a value of 0, the circulating pump also divides a part of flow, and sends a control signal of 'acquiring a small amount of hydrogen mass flow from the secondary flow port' to the circulating pump, preferably 0.1% of hydrogen mass flow. The ejector and the circulating pump are combined with a self balancing module according to the inflow mass flow to obtain the outflow mass flow. And then, combining mflow _ H + mflow _ J = mflow _ K, the flow rate of the primary flow port flowing to the output port, that is, the mass flow rate of 0.1% of hydrogen, can be calculated.
Alternatively, in the case of a single circulation pump, a control signal to the circulation pump "take a large amount of hydrogen mass flow from the secondary flow port", preferably 99.9% hydrogen mass flow. In order to ensure that the whole system can operate, the ejector can also obtain a part of flow, and then the flow is sent to a control signal of 'obtaining a small amount of hydrogen mass flow from the primary flow port and the secondary flow port', preferably 0.1% of hydrogen mass flow. The ejector and the circulating pump are combined with a self balancing module according to the inflow mass flow to obtain the outflow mass flow. And then, combining mflow _ H + mflow _ J = mflow _ K, the flow rate of the primary flow port flowing to the output port, that is, the mass flow rate of 99.9% of hydrogen gas, can be calculated.
Optionally, if the ejector is connected with the circulating pump in parallel, according to the causal relationship of the ejector model: the pressure at the primary flow port determines the hydrogen mass flow rate at the second inlet. The pressure at the primary flow port is determined by a pressure relief valve, which may be considered a fixed value herein. Therefore, the flow proportion of the secondary flow port to the ejector and the circulating pump can be determined, and the whole flow of the primary flow port is distributed to the ejector. Then, a control signal of "take the hydrogen mass flow rate of the proportion from the secondary flow port" is sent to the circulation pump. And sending a control signal of 'acquiring the hydrogen mass flow of the proportion from the secondary flow port' to the ejector, and 'acquiring a signal of the total hydrogen mass flow from the primary flow port'. The ejector and the circulating pump are combined with a self balancing module according to the inflow mass flow to obtain the outflow mass flow.
According to the embodiment of the invention, the ejector and the circulating pump are compiled by adopting a Modelica language, the switching module is introduced into the whole hydrogen circulating system, the switching module is used for automatically acquiring the system operation parameters and combining the set circulating strategy to obtain the optimal structure of the hydrogen circulating equipment, so that the optimal structure is switched. In the execution aspect, the switching module can send the control signal of hydrogen mass flow to ejector and circulating pump, and ejector and circulating pump have the response ability to this control signal to acquire corresponding hydrogen mass flow from the primary current port and the secondary current port, and then switch to optimum structure. The scheme provided by the embodiment of the invention is based on the physical modeling characteristics of Modelica language, realizes the structural switching by automatically controlling the hydrogen mass flow, does not need to manually change a connecting line, and achieves higher automation and intellectualization.
On the basis of the above embodiment, the detailed loop strategy and the determination process of the optimal structure specifically include the following three implementation manners. It should be noted that the three embodiments may be used alone or may be used alternately in different situations.
The first embodiment: the set circulation strategy is determined according to a MAP diagram of the ejector, and fig. 5 is the MAP diagram of the ejector provided by the embodiment of the invention, and includes a plurality of curves corresponding to different pressures (for example, 9bar and 19bar) of the primary flow port, and each curve represents a relation between a current density of the stack and a hydrogen mass flow rate of the second inlet (connected with the secondary flow port) of the ejector. For example, the curve toward the right is an ascending curve and the curve toward the left is a descending curve in the case of 9 bar.
Then, in the simulation process of the hydrogen circulation system, the switching module collects the pressure of the primary flow port and the current density of the galvanic pile; selecting a target curve matched with the pressure of the primary flow port from the MAP, and determining a section of the target curve according to the current density of the galvanic pile; an optimal structure corresponding to the segment is determined.
The pressure at the primary flow port is determined by the pressure reducing valve, which here can be considered to be a fixed value (e.g. 9bar), so that the target curve is selected. The variation trend of the target curve in this embodiment is consistent with the growth curve, and the curve with the pressure of 9bar is taken as an example, and is divided into initial slow growth sections (the current density is 0-0.85A/m) according to the difference of slopes2) A turning section (current density 0.85-0.9A/m)2) A rapid rise section (current density of 0.9 to 1.1A/m)2) The turn section (current density 1.1-1.2A/m)2) And a saturation region (current density 1.2 or more A/m)2). It should be noted that the turning section has 2 sections, which are respectively located at the front and rear sides of the rapid-rise section.
Determining an optimal structure corresponding to the segment, including any of: if the section is an initial slow-growth section, determining a single-circulation pump; if the section is a turning section or a rapid rising section, determining that the ejector is connected with the circulating pump in parallel; and if the section is a saturated section, determining the single ejector. This is because the ejector cannot achieve a good ejection effect under a low load (i.e., a low flow rate), so that the working condition coverage is not complete and the ejector must be started at a certain flow rate. And the circulating pump covers the operating mode more comprehensively, can make up the not enough of ejector. However, the circulating pump has power consumption, when the ejector can normally eject, the ejector is in a parallel connection mode, and after the ejector stably works (enters a saturation region), the flow rate distributed to the circulating pump from the secondary flow port is reduced, so that the circulating pump exits.
Optionally, after the determining the optimal structure corresponding to the segment, the method further includes: if the section is a rapid rising section, setting a first simulation step length; if the section is an initial slow growth section, a turning section or a saturation section, setting a second simulation step length; wherein the first simulation step size is smaller than the second simulation step size.
According to the embodiment, the simulation step length is dynamically adjusted, so that the section can be timely obtained while simulation resources are saved, and the optimal structure can be timely switched.
The second embodiment: the set circulation strategy is a circulation strategy according to a power consumption threshold value of the circulation pump. Then, in the simulation process of the hydrogen circulation system, the switching module acquires the hydrogen mass flow of the secondary flow port; if the required power of the hydrogen mass flow of the secondary flow port does not exceed the power consumption threshold of the circulating pump, determining the single circulating pump; and if the required power of the hydrogen mass flow of the secondary flow port exceeds the power consumption threshold of the circulating pump, determining that the ejector is connected with the circulating pump in parallel or a single ejector.
As is known, the circulation pump consumes power, while the ejector is a passive circulation device, which does not consume power. To avoid excessive power consumption, a power consumption threshold is set. And when the power consumption threshold is exceeded, determining that the ejector is connected with the circulating pump in parallel or a single ejector. Optionally, after exceeding the power consumption threshold, if the stack still has to increase its output, it will: 1) the ejector is connected with the circulating pump in parallel: starting the ejector under the condition that the power consumption of the circulating pump is not changed, and supplementing the flow by using the ejector; 2) a single ejector: and after the flow reaches the threshold value of the working interval of the ejector, the rotating speed of the circulating pump is gradually reduced, and the ejector is started.
Third embodiment: the set circulation strategy is a circulation strategy according to a primary flow port hydrogen mass flow threshold and a (output) power threshold of the electric pile. Then, in the simulation process of the hydrogen circulation system, the switching module collects the mass flow rate of the hydrogen at the primary flow port and the power of the galvanic pile; if the mass flow of the hydrogen at the primary flow port is smaller than the mass flow threshold of the hydrogen at the primary flow port, determining a single-circulation pump; if the mass flow of the hydrogen at the primary flow port is larger than the mass flow threshold of the hydrogen at the primary flow port and the power of the galvanic pile is smaller than the power threshold, determining that the ejector is connected with the circulating pump in parallel; and if the mass flow of the hydrogen at the primary flow port is greater than the mass flow threshold of the hydrogen at the primary flow port and the power of the galvanic pile is greater than the power threshold, determining the single ejector.
The primary flow port hydrogen mass flow threshold is a flow threshold at which the ejector can be started. If the hydrogen mass flow threshold of the primary flow port is not reached, only a single circulation pump can be adopted. After the mass flow threshold of the hydrogen at the primary flow port is reached and the power of the galvanic pile is smaller than the power threshold, namely the galvanic pile still needs to improve the output of the galvanic pile, and the ejector is determined to be connected with the circulating pump in parallel. When the mass flow threshold of the hydrogen at the primary flow port is reached and the output power requirement of the galvanic pile is also reached, the rotating speed of the circulating pump is gradually reduced, and the structure of the single ejector is adopted. Along with the increase of the mass flow of the hydrogen at the secondary flow port, the output flow of the ejector is increased more and more, so that the output power requirement of the galvanic pile is met.
In conjunction with fig. 3, an embodiment of the present invention further provides a hydrogen circulation device simulation system, which includes a model of a hydrogen circulation device, a hydrogen tank model, a pressure reducing valve model, an injector model, and a stack model of a fuel cell;
the model of the hydrogen circulating equipment comprises a switching module, an ejector, a circulating pump, a primary flow port, a secondary flow port and an output port; the ejector and the circulating pump are written in Modelica language;
in the simulation process of the hydrogen circulation system, the switching module is used for acquiring the operation parameters of the hydrogen circulation system and determining the optimal structure of the hydrogen circulation equipment by combining a set circulation strategy, wherein the structure of the hydrogen circulation equipment comprises a single ejector, a single circulation pump or an ejector and a circulation pump which are connected in parallel;
and if the optimal structure is different from the current structure, the switching module is used for sending a control signal of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure so as to control the ejector and the circulating pump to change the hydrogen mass flow obtained from the primary flow port and the secondary flow port and switch the optimal structure.
The functions of the switching module, the ejector, the circulating pump, the primary flow port, the secondary flow port and the output port are referred to the embodiment of the scheme, and are not described again here.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention.

Claims (8)

1. A hydrogen circulation equipment simulation method is characterized in that the hydrogen circulation equipment simulation method is applied to a model of hydrogen circulation equipment, and the model comprises a switching module, an ejector, a circulating pump, a primary flow port, a secondary flow port and an output port; the ejector and the circulating pump are written in Modelica language;
the hydrogen circulation equipment simulation method comprises the following steps:
in the simulation process of the hydrogen circulation system, the switching module acquires the operation parameters of the hydrogen circulation system and determines the optimal structure of the hydrogen circulation equipment by combining a set circulation strategy, wherein the structure of the hydrogen circulation equipment comprises a single ejector, a single circulation pump or an ejector and a circulation pump which are connected in parallel;
if the optimal structure is different from the current structure, the switching module sends a control signal of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure so as to control the ejector and the circulating pump to change the hydrogen mass flow obtained from the primary flow port and the secondary flow port and switch the optimal structure;
the acquisition port of the switching module is connected with the primary flow port, the secondary flow port and a fuel cell stack model, and the control port of the switching module is connected with the ejector and the circulating pump;
the ejector comprises an energy balance module, a pressure balance module and a mass flow balance module which are written by a Modelica language;
the circulating pump comprises an energy balance module, a pressure balance module and a mass flow balance module which are written by adopting a Modelica language;
the hydrogen circulating equipment meets the constraint conditions of hydrogen mass flow balance and energy conservation;
if the optimal structure is different from the current structure, the switching module sends a control signal of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure so as to control the ejector and the circulating pump to change the hydrogen mass flow obtained from the primary flow port and the secondary flow port, and the switching is the optimal structure, and the switching comprises the following steps:
if the optimal structure is different from the current structure, the switching module sends a control signal of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure, wherein the hydrogen mass flow control signal comprises a first hydrogen mass flow obtained by the ejector from a primary flow port, a second hydrogen mass flow obtained by the ejector from a secondary flow port, and a third hydrogen mass flow obtained by the circulating pump from the secondary flow port;
the ejector responds to the control signal to obtain a first hydrogen mass flow from the primary flow port and obtain a second hydrogen mass flow from the secondary flow port;
the circulation pump acquires a third hydrogen mass flow from the secondary flow port in response to the control signal;
the primary flow port determines the mass flow of the fourth hydrogen flowing to the output port according to the hydrogen mass flow balance constraint condition of the hydrogen circulation equipment;
and the mass flow of the output hydrogen of the ejector and the circulating pump is converged with the mass flow of the fourth hydrogen and then flows into the output port.
2. The hydrogen circulation device simulation method according to claim 1, wherein the switching module includes a user input port;
before the switching module collects the operating parameters of the hydrogen circulation system and determines the optimal structure of the hydrogen circulation equipment by combining the set circulation strategy, the method further comprises the following steps:
and the switching module receives the circulation strategy set by the user from the user input port.
3. The simulation method of the hydrogen circulation equipment according to claim 1, wherein the set circulation strategy is a circulation strategy determined according to a MAP of the ejector, the MAP comprises a plurality of curves corresponding to different pressures of the primary flow port, and each curve represents the relationship between the current density of the stack and the hydrogen mass flow at the second inlet of the ejector;
in the simulation process of the hydrogen circulation system, the switching module collects the operation parameters of the hydrogen circulation system and determines the optimal structure of the hydrogen circulation equipment by combining the set circulation strategy, and the method comprises the following steps:
in the simulation process of the hydrogen circulation system, the switching module acquires the pressure of the primary flow port and the current density of the galvanic pile;
selecting a target curve matched with the pressure of the primary flow port from the MAP, and determining a section of the target curve according to the current density of the galvanic pile;
an optimal structure corresponding to the section is determined.
4. The hydrogen circulation device simulation method according to claim 3, wherein the determining of the optimum structure corresponding to the section includes any one of:
if the section is an initial slow-growth section, determining a single-circulation pump;
if the section is a turning section or a rapid rising section, determining that the ejector is connected with the circulating pump in parallel;
if the section is a saturated section, determining a single ejector;
wherein the initial slow-growth section, the turning section, the sharp-rise section and the saturation section are divided according to different slopes of the target curve.
5. The hydrogen circulation device simulation method according to claim 4, further comprising, after the determining the optimal structure corresponding to the section:
if the section is a rapid rising section, setting a first simulation step length;
if the section is an initial slow growth section, a turning section or a saturation section, setting a second simulation step length;
wherein the first simulation step size is smaller than the second simulation step size.
6. The hydrogen circulation device simulation method according to claim 1, wherein the set circulation strategy is a circulation strategy according to a power consumption threshold of a circulation pump;
in the simulation process of the hydrogen circulation system, the switching module collects the operation parameters of the hydrogen circulation system and determines the optimal structure of the hydrogen circulation equipment by combining the set circulation strategy, and the method comprises the following steps:
in the simulation process of the hydrogen circulation system, the switching module acquires the mass flow of the hydrogen at the secondary flow port;
if the required power of the hydrogen mass flow of the secondary flow port does not exceed the power consumption threshold of the circulating pump, determining the single circulating pump;
and if the required power of the hydrogen mass flow of the secondary flow port exceeds the power consumption threshold of the circulating pump, determining that the ejector is connected with the circulating pump in parallel or a single ejector.
7. The hydrogen circulation device simulation method according to claim 1, wherein the set circulation strategy is a circulation strategy based on a primary flow port hydrogen mass flow threshold and a power threshold of a cell stack;
in the simulation process of the hydrogen circulation system, the switching module collects the operation parameters of the hydrogen circulation system and determines the optimal structure of the hydrogen circulation equipment by combining the set circulation strategy, and the method comprises the following steps:
in the simulation process of the hydrogen circulation system, the switching module acquires the mass flow of the hydrogen at the primary flow port and the power of the galvanic pile;
if the mass flow of the hydrogen at the primary flow port is smaller than the mass flow threshold of the hydrogen at the primary flow port, determining a single-circulation pump;
if the mass flow of the hydrogen at the primary flow port is larger than the mass flow threshold of the hydrogen at the primary flow port and the power of the galvanic pile is smaller than the power threshold, determining that the ejector is connected with the circulating pump in parallel;
and if the mass flow of the hydrogen at the primary flow port is greater than the mass flow threshold of the hydrogen at the primary flow port and the power of the galvanic pile is greater than the power threshold, determining the single ejector.
8. A hydrogen circulation equipment simulation system is characterized by comprising a model of hydrogen circulation equipment, a hydrogen tank model, a pressure reducing valve model, an injector model and a stack model of a fuel cell;
the model of the hydrogen circulating equipment comprises a switching module, an ejector, a circulating pump, a primary flow port, a secondary flow port and an output port; the ejector and the circulating pump are written in Modelica language;
in the simulation process of the hydrogen circulation system, the switching module is used for acquiring the operation parameters of the hydrogen circulation system and determining the optimal structure of the hydrogen circulation equipment by combining a set circulation strategy, wherein the structure of the hydrogen circulation equipment comprises a single ejector, a single circulation pump or an ejector and a circulation pump which are connected in parallel;
if the optimal structure is different from the current structure, the switching module is used for sending a control signal of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure so as to control the ejector and the circulating pump to change the hydrogen mass flow obtained from the primary flow port and the secondary flow port and switch the optimal structure;
the acquisition port of the switching module is connected with the primary flow port, the secondary flow port and a fuel cell stack model, and the control port of the switching module is connected with the ejector and the circulating pump;
the ejector comprises an energy balance module, a pressure balance module and a mass flow balance module which are written by a Modelica language;
the circulating pump comprises an energy balance module written by a Modelica language, a pressure balance module and a mass flow balance module;
the hydrogen circulating equipment meets the constraint conditions of hydrogen mass flow balance and energy conservation;
if the optimal structure is different from the current structure, the switching module sends a control signal of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure so as to control the ejector and the circulating pump to change the hydrogen mass flow obtained from the primary flow port and the secondary flow port, and the switching is the optimal structure, and the switching comprises the following steps:
if the optimal structure is different from the current structure, the switching module sends a control signal of the hydrogen mass flow to the ejector and the circulating pump according to the optimal structure, wherein the hydrogen mass flow control signal comprises a first hydrogen mass flow obtained by the ejector from a primary flow port, a second hydrogen mass flow obtained by the ejector from a secondary flow port, and a third hydrogen mass flow obtained by the circulating pump from the secondary flow port;
the ejector responds to the control signal to obtain a first hydrogen mass flow from the primary flow port and obtain a second hydrogen mass flow from the secondary flow port;
the circulation pump acquires a third hydrogen mass flow from the secondary flow port in response to the control signal;
the primary flow port determines the mass flow of the fourth hydrogen flowing to the output port according to the hydrogen mass flow balance constraint condition of the hydrogen circulation equipment;
and the mass flow of the output hydrogen of the ejector and the circulating pump is converged with the mass flow of the fourth hydrogen and then flows into the output port.
CN202210148235.XA 2022-02-18 2022-02-18 Hydrogen circulation equipment simulation method and system Active CN114239438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210148235.XA CN114239438B (en) 2022-02-18 2022-02-18 Hydrogen circulation equipment simulation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210148235.XA CN114239438B (en) 2022-02-18 2022-02-18 Hydrogen circulation equipment simulation method and system

Publications (2)

Publication Number Publication Date
CN114239438A CN114239438A (en) 2022-03-25
CN114239438B true CN114239438B (en) 2022-06-17

Family

ID=80747570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210148235.XA Active CN114239438B (en) 2022-02-18 2022-02-18 Hydrogen circulation equipment simulation method and system

Country Status (1)

Country Link
CN (1) CN114239438B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114861455A (en) * 2022-05-24 2022-08-05 阳光电源(上海)有限公司 Water electrolysis hydrogen production simulation system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105067271A (en) * 2015-07-17 2015-11-18 安徽江淮汽车股份有限公司 Modelica language-based engine cooling system simulation modeling method
CN106682324A (en) * 2016-12-30 2017-05-17 苏州同元软控信息技术有限公司 System for visually modeling complicated equations on basis of Modelica
CN110107989A (en) * 2019-04-30 2019-08-09 北京工业大学 Small-sized based on chilled water return water temperature optimum set point determines frequency water cooler and becomes temperature control method of water
CN111950085A (en) * 2020-08-12 2020-11-17 北京航空航天大学 Multiplexing type missile modeling method based on Simulink and Stateflow
CN114021253A (en) * 2021-11-03 2022-02-08 西安航天动力研究所 Modelica language-based dynamic simulation method for liquid rocket engine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3011027C (en) * 2018-07-11 2022-08-09 Suncor Energy Inc. An integrated thermal system and process for heavy oil and gas to liquids conversion

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105067271A (en) * 2015-07-17 2015-11-18 安徽江淮汽车股份有限公司 Modelica language-based engine cooling system simulation modeling method
CN106682324A (en) * 2016-12-30 2017-05-17 苏州同元软控信息技术有限公司 System for visually modeling complicated equations on basis of Modelica
CN110107989A (en) * 2019-04-30 2019-08-09 北京工业大学 Small-sized based on chilled water return water temperature optimum set point determines frequency water cooler and becomes temperature control method of water
CN111950085A (en) * 2020-08-12 2020-11-17 北京航空航天大学 Multiplexing type missile modeling method based on Simulink and Stateflow
CN114021253A (en) * 2021-11-03 2022-02-08 西安航天动力研究所 Modelica language-based dynamic simulation method for liquid rocket engine

Also Published As

Publication number Publication date
CN114239438A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN114239438B (en) Hydrogen circulation equipment simulation method and system
CN111129548A (en) Improved particle swarm optimization fuzzy PID fuel cell temperature control method
CN113549953A (en) Liquid level balance control method of hydrogen production system and hydrogen production system
CN112201822B (en) Temperature self-learning cooling method, device and system for hydrogen fuel cell
CN115939467B (en) Method for controlling water content of fuel cell stack in fuel cell system
CN111654042B (en) Online prediction method for power grid frequency situation considering wind power-direct current auxiliary frequency modulation
CN112036031B (en) Power grid evaluation and extension planning method considering flexibility bearing degree
CN113255244B (en) Fuel cell system simulation test platform, method and storage medium
CN110206682A (en) Method and device for dynamically determining yaw control accuracy
CN114726033A (en) Battery system charging and discharging control method based on dynamic reconfigurable battery network
CN114583220B (en) Fuel cell water content control method, fuel cell system and fuel cell vehicle
CN213779501U (en) Altitude simulation test system
CN113161583B (en) Method and system for evaluating performance of fuel cell steam-water separator
CN116404642A (en) Distributed power supply cluster division method and device, electronic equipment and storage medium
CN116706157B (en) Fuel cell vehicle and hydrogen discharge valve/drain valve fault diagnosis method and device
CN113361117B (en) Distributed energy storage polymerization degree evaluation index model based on polymerization condition
CN214225760U (en) High-precision full-function hardware-in-loop test platform for fuel cell controller
CN209747646U (en) Testing device for vehicle fuel cell system
CN114899460B (en) Electrolyte vanadium concentration regulation and control method and device of all-vanadium liquid flow energy storage system
CN114778764B (en) Testing system and method for fuel cell gas-water separator
CN117525505A (en) Control method, device, medium and electronic equipment for pulse injection hydrogen return
CN116525882B (en) Fuel cell and control method, device and storage medium for water management system of fuel cell
CN115911465A (en) Method for controlling complex working condition of fuel cell test platform
CN217009246U (en) DCDC integrated battery fuel cell system with braking energy feedback of rotating part
CN112232693B (en) Ultra-short-term operation scheduling method and device for power system

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