FMI-based new energy automobile battery pack cooling system joint simulation method and device
Through FMI technology, a coupled data interface of one-dimensional and three-dimensional models is built in the battery pack cooling system of new energy vehicles, realizing data exchange and strong coupling simulation, solving the problem of inconsistent boundary conditions in thermal management of battery pack cooling system, and improving calculation stability and simulation precision.
Patent Information
- Application Number
- CN202411358391.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-06-14
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-14
AI Technical Summary
In the prior art, the thermal management of the battery pack cooling system is difficult to refine, and the three-dimensional CFD model does not match the actual dynamic changes in the setting of boundary conditions, resulting in insufficient computing stability.
Using the FMI-based joint simulation method of new energy vehicle battery pack cooling system, the FMU model is derived by constructing a coupled data interface of one-dimensional and three-dimensional models, and the mass flow, temperature, pressure and other variables are exchanged in the joint simulation to set turbulent kinetic energy and turbulent flow Boundary conditions such as dissipation rate realize strongly coupled simulation of one-dimensional and three-dimensional models.
It improves the calculation stability and simulation precision of the battery pack cooling system, makes up for the defect that the one-dimensional model cannot obtain refined results, supports data exchange function, and improves the research efficiency of the thermal management system of new energy vehicles.
Smart Images

Figure CN119312722A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure belong to the technical field of thermal management of new energy vehicles, and specifically relate to a joint simulation method and device for a battery pack cooling system of a new energy vehicle based on FMI. Background Art
[0002] With the growing development of my country's new energy vehicle market, the demand for optimization of vehicle thermal management systems is increasing day by day. Refined thermal management of the battery pack cooling system is one of the key technologies to ensure efficient and safe operation of the automotive system. The coolant circulation power system simulation model can quickly calculate and predict the performance of the battery pack cooling system, but there is a problem that the data in the details is difficult to obtain. The three-dimensional CFD (Computational Fluid Dynamics) model can simulate the battery pack liquid cooling plate model, calculate the field data of the fluid flow, and effectively obtain the simulation results of the details of the battery pack liquid cooling plate, but the setting of the boundary conditions in the model is difficult to correspond to the actual dynamically changing engineering conditions.
[0003] FMI (Functional Mock-up Interface) is an open international joint simulation standard that can be used to exchange and collaboratively use dynamic system models in a simulation environment. The main application of FMI is to encapsulate the model into an FMU (Functional Mock-up Unit). The encapsulated FMU unit can be connected to the FMU component unit through the FMI standard interface to achieve cross-disciplinary and cross-software system simulation. By encapsulating the one-dimensional model and the three-dimensional model into FMU models for joint simulation, the one-dimensional model can calculate and provide boundary conditions that meet the actual dynamic change conditions to the three-dimensional model. After obtaining the boundary conditions, the three-dimensional model can obtain the simulation results of the details through numerical simulation and pass them to the one-dimensional model, thereby realizing the data exchange function between the one-dimensional and three-dimensional models.
[0004] The three-dimensional model simulates the flow problem by solving the Navier-Stokes equations. Before solving the problem, the correct boundary conditions need to be set. In the joint simulation of one-dimensional and three-dimensional flows, the three-dimensional model changes the setting of boundary conditions by exchanging data with the one-dimensional model to achieve a strongly coupled joint simulation. At the entrance of the three-dimensional model, variables such as turbulent kinetic energy, turbulent dissipation rate, and specific dissipation rate need to be set as second-class boundary conditions at the same time to ensure the stability of the three-dimensional CFD model calculation.
[0005] Therefore, providing a joint simulation device that supports the data exchange function of the battery pack cooling system and has high computational stability is of great significance for the research on the thermal management system of new energy vehicles. Summary of the invention
[0006] The embodiments of the present disclosure aim to solve at least one of the technical problems existing in the prior art, and disclose a joint simulation method and device for a new energy vehicle battery pack cooling system based on FMI.
[0007] In a first aspect, an embodiment of the present disclosure provides a joint simulation method for a new energy vehicle battery pack cooling system based on FMI, the method comprising:
[0008] Construct a one-dimensional model of the coolant circulation power system based on Modelica language;
[0009] Configure the coupling data interface between the constructed one-dimensional model and the three-dimensional CFD model of the battery pack liquid cooling plate, and export the one-dimensional FMU model after the configuration is completed;
[0010] Constructing a three-dimensional CFD model of the battery pack liquid cooling plate;
[0011] configuring a coupling data interface between the constructed three-dimensional CFD model and the one-dimensional model, and exporting a three-dimensional FMU model after the configuration is completed;
[0012] The one-dimensional FMU model and the three-dimensional FMU model are respectively imported, the coupling data interfaces of the one-dimensional FMU model and the three-dimensional FMU model are connected, and the joint simulation configuration is completed to perform one-dimensional and three-dimensional joint simulation.
[0013] In some possible embodiments, the one-dimensional coolant circulation power system model includes a mass flow boundary component, a pressure sensor component, a water pump component, a heat exchanger component, an expansion kettle component, a mass flow sensor component, a temperature sensor component and a pressure boundary condition component connected in sequence.
[0014] In some possible embodiments, the configuration constructs a coupling data interface between the one-dimensional model and the three-dimensional CFD model of the battery pack liquid cooling plate, and exports the one-dimensional FMU model after the configuration is completed, including:
[0015] The one-dimensional coolant circulation power system model transmits the mass flow monitored in the one-dimensional model to the three-dimensional CFD model of the battery pack liquid cold plate through the mass flow sensor assembly, and serves as the velocity boundary condition at its inlet;
[0016] Based on the mass flow value relationship between the inlet and outlet of the liquid cooling plate pipeline of the three-dimensional CFD model, the mass flow value monitored in the one-dimensional model is used as the mass flow setting value in its mass flow boundary component;
[0017] The temperature sensor assembly transmits the temperature monitored in the one-dimensional model to the three-dimensional CFD model as a temperature boundary condition at its inlet;
[0018] The pressure sensor assembly transmits the pressure value monitored in the one-dimensional model to the three-dimensional CFD model as a pressure boundary condition at its outlet;
[0019] After the configuration is completed, the one-dimensional FMU model is exported.
[0020] In some possible embodiments, constructing a three-dimensional CFD model of the battery pack liquid cooling plate includes:
[0021] The three-dimensional CFD model of the battery pack liquid cooling plate uses the mass flow and temperature values transmitted by the one-dimensional model as velocity and temperature boundary conditions at its inlet, and uses the pressure value transmitted by the one-dimensional model as the pressure boundary condition at its outlet;
[0022] At the entrance of the three-dimensional CFD model, the turbulent kinetic energy, turbulent dissipation rate and specific dissipation rate variables are set as the second type of boundary conditions to ensure the stability of the three-dimensional CFD model calculation.
[0023] In some possible embodiments, configuring the coupling data interface between the three-dimensional CFD model and the one-dimensional model, and exporting the three-dimensional FMU model after the configuration is completed, includes:
[0024] The monitored temperature value at the outlet of the three-dimensional CFD model and the pressure difference between the inlet and outlet of the three-dimensional CFD model are transmitted to the one-dimensional model as pressure loss values, and the three-dimensional FMU model is exported after the configuration is completed.
[0025] In some possible embodiments, the step of respectively importing the one-dimensional FMU model and the three-dimensional FMU model, connecting the coupling data interface of the one-dimensional FMU model and the three-dimensional FMU model and completing the joint simulation configuration, and performing the one-dimensional and three-dimensional joint simulation includes:
[0026] The one-dimensional FMU model and the three-dimensional FMU model are imported respectively, and the mass flow, temperature, and pressure values derived from the one-dimensional model and the pressure loss value and temperature variables of the three-dimensional CFD model are connected according to corresponding connection relationships to perform one-dimensional and three-dimensional joint simulation.
[0027] In some possible embodiments, the coupling relationship between the one-dimensional model and the three-dimensional CFD model during joint simulation is as follows:
[0028] One-dimensional model of the coolant circulation dynamic system model:
[0029] [Q 1D,n+1 ,p 1D,n+1 ,T 1D,n+1 ]=F(ΔP 3D,n ,T3D,n );
[0030] Where Q 1D,n+1 ,p 1D,n+1 ,T 1D,n+1 are the mass flow, temperature, and pressure values calculated by the one-dimensional coolant circulation dynamic system model at time n+1, ΔP 3D,n ,T 3D,n They are respectively the pressure loss value and temperature value transmitted by the three-dimensional CFD model of the battery pack liquid cooling plate after completing the calculation at time n;
[0031] 3D CFD model of battery pack liquid cooling plate:
[0032] [ΔP 3D,n+1 ,T 3D,n+1 ]=F(Q 1D,n ,p 1D,n ,T 1D,n );
[0033] Where ΔP 3D,n+1 ,T 3D,n+1 are the pressure loss and temperature values calculated by the three-dimensional CFD model of the battery pack liquid cooling plate at time n+1, Q 1D,n ,p 1D,n ,T 1D,n They are the flow rate, temperature, and pressure values transmitted by the one-dimensional coolant circulation power system model after completing the calculation at time n.
[0034] In a second aspect, an embodiment of the present disclosure provides a joint simulation device for a new energy vehicle battery pack cooling system based on FMI, the device comprising:
[0035] The first building module is used to build a one-dimensional model of the coolant circulation power system based on the Modelica language;
[0036] A first configuration module is used to configure a coupling data interface between the constructed one-dimensional model and the three-dimensional CFD model of the battery pack liquid cooling plate, and to export the one-dimensional FMU model after the configuration is completed;
[0037] A second construction module is used to construct a three-dimensional CFD model of the battery pack liquid cooling plate;
[0038] A second configuration module is used to configure the coupling data interface between the constructed three-dimensional CFD model and the one-dimensional model, and export the three-dimensional FMU model after the configuration is completed;
[0039] The simulation module is used to import the one-dimensional FMU model and the three-dimensional FMU model respectively, connect the coupling data interface of the one-dimensional FMU model and the three-dimensional FMU model and complete the joint simulation configuration to perform one-dimensional and three-dimensional joint simulation.
[0040] In some possible embodiments, the one-dimensional coolant circulation power system model includes a mass flow boundary component, a pressure sensor component, a water pump component, a heat exchanger component, an expansion kettle component, a mass flow sensor component, a temperature sensor component and a pressure boundary condition component connected in sequence.
[0041] In some possible embodiments, the first configuration module is further configured to:
[0042] The one-dimensional coolant circulation power system model transmits the mass flow monitored in the one-dimensional model to the three-dimensional CFD model of the battery pack liquid cold plate through the mass flow sensor assembly, and serves as the velocity boundary condition at its inlet;
[0043] Based on the mass flow value relationship between the inlet and outlet of the liquid cooling plate pipeline of the three-dimensional CFD model, the mass flow value monitored in the one-dimensional model is used as the mass flow setting value in its mass flow boundary component;
[0044] The temperature sensor assembly transmits the temperature monitored in the one-dimensional model to the three-dimensional CFD model as a temperature boundary condition at its inlet;
[0045] The pressure sensor assembly transmits the pressure value monitored in the one-dimensional model to the three-dimensional CFD model as a pressure boundary condition at its outlet;
[0046] After the configuration is completed, the one-dimensional FMU model is exported.
[0047] In some possible embodiments, the second building module is further used to:
[0048] The three-dimensional CFD model of the battery pack liquid cooling plate uses the mass flow and temperature values transmitted by the one-dimensional model as velocity and temperature boundary conditions at its inlet, and uses the pressure value transmitted by the one-dimensional model as the pressure boundary condition at its outlet;
[0049] At the entrance of the three-dimensional CFD model, the turbulent kinetic energy, turbulent dissipation rate and specific dissipation rate variables are set as the second type of boundary conditions to ensure the stability of the three-dimensional CFD model calculation.
[0050] In some possible embodiments, the second configuration module is further configured to:
[0051] The monitored temperature value at the outlet of the three-dimensional CFD model and the pressure difference between the inlet and outlet of the three-dimensional CFD model are transmitted to the one-dimensional model as pressure loss values, and the three-dimensional FMU model is exported after the configuration is completed.
[0052] In some possible embodiments, the simulation module is further used to:
[0053] The one-dimensional FMU model and the three-dimensional FMU model are imported respectively, and the mass flow, temperature, and pressure values derived from the one-dimensional model and the pressure loss value and temperature variables of the three-dimensional CFD model are connected according to corresponding connection relationships to perform one-dimensional and three-dimensional joint simulation.
[0054] In some possible embodiments, the coupling relationship between the one-dimensional model and the three-dimensional CFD model during joint simulation is as follows:
[0055] One-dimensional model of the coolant circulation dynamic system model:
[0056] [Q 1D,n+1 ,p 1D,n+1 ,T 1D,n+1 ]=F(ΔP 3D,n ,T 3D,n );
[0057] Where Q 1D,n+1 ,p 1D,n+1 ,T 1D,n+1 are the mass flow, temperature, and pressure values calculated by the one-dimensional coolant circulation dynamic system model at time n+1, ΔP 3D,n ,T 3D,n They are respectively the pressure loss value and temperature value transmitted by the three-dimensional CFD model of the battery pack liquid cooling plate after completing the calculation at time n;
[0058] 3D CFD model of battery pack liquid cooling plate:
[0059] [ΔP 3D,n+1 ,T 3D,n+1 ]=F(Q 1D,n ,p 1D,n ,T 1D,n );
[0060] Where ΔP 3D,n+1 ,T 3D,n+1 are the pressure loss and temperature values calculated by the three-dimensional CFD model of the battery pack liquid cooling plate at time n+1, Q 1D,n ,p 1D,n ,T 1D,n They are the flow rate, temperature, and pressure values transmitted by the one-dimensional coolant circulation power system model after completing the calculation at time n.
[0061] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
[0062] one or more processors;
[0063] A storage unit is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors can implement the method described above.
[0064] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, can implement the method described above.
[0065] The FMI-based joint simulation method and device for the new energy vehicle battery pack cooling system of the disclosed embodiment supports the data exchange function between the one-dimensional system model and the three-dimensional CFD model, making up for the defect that the one-dimensional system model cannot obtain refined results, and provides a method for improving the calculation stability for the joint simulation model involving one-dimensional and three-dimensional flow problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0067] Figure 1 It is a flow chart of a joint simulation method of a new energy vehicle battery pack cooling system based on FMI according to an embodiment of the present disclosure;
[0068] Figure 2 A schematic diagram of a one-dimensional coolant circulation power system model according to an embodiment of the present disclosure;
[0069] Figure 3 A one-dimensional coolant circulation power system model diagram constructed using the Modelica language according to an embodiment of the present disclosure;
[0070] Figure 4 A schematic diagram of the coupling interface configuration of a three-dimensional CFD model of a battery pack liquid cooling plate according to an embodiment of the present disclosure;
[0071] Figure 5 A simple schematic diagram of the connection relationship between the one-dimensional FMU model and the three-dimensional FMU model of the embodiment of the present disclosure;
[0072] Figure 6 A schematic diagram of connecting a one-dimensional FMU model and a three-dimensional FMU model according to an embodiment of the present disclosure;
[0073] Figure 7 A mass flow result diagram of a joint simulation of a battery pack cooling system according to an embodiment of the present disclosure;
[0074] Figure 8It is a structural schematic diagram of a joint simulation device of a new energy vehicle battery pack cooling system based on FMI according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0075] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the present disclosure is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0076] Unless otherwise specified, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "including" or "comprising" used in the embodiments of the present disclosure neither limits the shapes, numbers, steps, actions, operations, components, originals and / or their groups mentioned, nor excludes the appearance or addition of one or more other different shapes, numbers, steps, actions, operations, components, originals and / or their groups, or the addition of these. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number and order of the indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0077] Unless otherwise specifically stated, the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure. At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the drawings are not drawn according to the actual proportional relationship, and the techniques, methods and devices known to ordinary technicians in the relevant fields may not be discussed in detail, but where appropriate, the techniques, methods and devices shown should be considered as part of the authorized specification. In all examples shown and discussed here, any specific other examples may have different values. It should be noted that similar symbols and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0078] In the description of the embodiments of the present disclosure, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In the embodiments of the present disclosure, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine the different embodiments or examples described in the embodiments of the present disclosure and the features of the different embodiments or examples, unless they are contradictory.
[0079] Figure 1 This is a flow chart of a joint simulation method for a new energy vehicle battery pack cooling system based on FMI according to an embodiment of the present disclosure.
[0080] like Figure 1 As shown, a joint simulation method for a new energy vehicle battery pack cooling system based on FMI includes the following steps S101 to S105:
[0081] Step S101: construct a one-dimensional model of a coolant circulation power system based on the Modelica language.
[0082] In this step, refer to Figure 2 and Figure 3 , Figure 2 This is a schematic diagram of building a one-dimensional coolant circulation power system model according to an embodiment of the present disclosure. Figure 3 This is a one-dimensional coolant circulation power system model diagram constructed using the Modelica language according to an embodiment of the present disclosure.
[0083] Specifically, Figure 2 and Figure 3 As shown, in this step, when building a one-dimensional coolant circulation power system model, the model construction is completed in the order of key components such as mass flow boundary component, pressure sensor component, water pump component, heat exchanger component, expansion kettle component, mass flow sensor component, temperature sensor component and pressure boundary condition component. The connection order between models is mass flow boundary component-pressure sensor component-water pump component-heat exchanger component-expansion kettle component-mass flow sensor component-temperature sensor component-pressure boundary condition component.
[0084] Step S102: configure a coupling data interface between the constructed one-dimensional model and the three-dimensional CFD model of the battery pack liquid cooling plate, and export the one-dimensional FMU model after the configuration is completed.
[0085] Specifically, in this step, the one-dimensional coolant circulation power system model transmits the mass flow monitored in the one-dimensional model to the three-dimensional CFD model of the battery pack liquid cooling plate through the mass flow sensor assembly, and uses it as the velocity boundary condition at its inlet. Based on the relationship between the mass flow values at the inlet and outlet of the liquid cooling plate pipeline of the three-dimensional CFD model, the mass flow value monitored in the one-dimensional model is used as the mass flow setting value in its mass flow boundary component. The temperature sensor assembly transmits the temperature monitored in the one-dimensional model to the three-dimensional CFD model, and uses it as the temperature boundary condition at its inlet. The pressure sensor assembly transmits the pressure value monitored in the one-dimensional model to the three-dimensional CFD model, and uses it as the pressure boundary condition at its outlet. After the configuration is completed, the one-dimensional FMU model is exported.
[0086] Step S103: construct a three-dimensional CFD model of the battery pack liquid cooling plate.
[0087] Specifically, in this step, the three-dimensional CFD model of the battery pack liquid cooling plate uses the mass flow and temperature values transmitted by the one-dimensional model as the velocity and temperature boundary conditions at its inlet, and uses the pressure value transmitted by the one-dimensional model as the pressure boundary condition at its outlet. At the inlet of the three-dimensional CFD model, the turbulent kinetic energy, turbulent dissipation rate, and specific dissipation rate variables are set as the second type of boundary conditions to ensure the stability of the three-dimensional CFD model calculation.
[0088] Step S104: configuring the coupled data interface between the constructed three-dimensional CFD model and the one-dimensional model, and exporting the three-dimensional FMU model after the configuration is completed.
[0089] Specifically, in this step, refer to Figure 4 , Figure 4 The schematic diagram of the configuration of the coupling interface of the three-dimensional CFD model of the battery pack liquid cooling plate of the embodiment of the present disclosure is shown. The monitored temperature value at the outlet of the three-dimensional CFD model and the pressure difference between the inlet and outlet of the three-dimensional CFD model are transmitted to the one-dimensional model as the pressure loss value, and the three-dimensional FMU model is exported after the configuration is completed.
[0090] Step S105 , respectively importing the one-dimensional FMU model and the three-dimensional FMU model, connecting the coupling data interface of the one-dimensional FMU model and the three-dimensional FMU model, completing the joint simulation configuration, and performing one-dimensional and three-dimensional joint simulation.
[0091] In this step, refer to Figure 5 , Figure 6 and Figure 7 , Figure 5 A simple schematic diagram of the connection relationship between the one-dimensional FMU model and the three-dimensional FMU model of the embodiment of the present disclosure; Figure 6A schematic diagram of connecting a one-dimensional FMU model and a three-dimensional FMU model according to an embodiment of the present disclosure; Figure 7 This is a mass flow result diagram of the joint simulation of the battery pack cooling system of the embodiment of the present disclosure.
[0092] Specifically, Figure 5 and Figure 6 As shown, the one-dimensional FMU model and the three-dimensional FMU model are imported respectively, and the mass flow, temperature, and pressure values derived from the one-dimensional model are connected with the pressure loss value and temperature variables of the three-dimensional CFD model according to the corresponding connection relationship to perform one-dimensional and three-dimensional joint simulation. The simulation results are shown in FIG. Figure 7 shown.
[0093] In some possible embodiments, the coupling relationship between the one-dimensional model and the three-dimensional CFD model during joint simulation is as follows:
[0094] One-dimensional model of the coolant circulation dynamic system model:
[0095] [Q 1D,n+1 ,p 1D,n+1 ,T 1D,n+1 ]=F(ΔP 3D,n ,T 3D,n );
[0096] Where Q 1D,n+1 ,p 1D,n+1 ,T 1D,n+1 are the mass flow, temperature, and pressure values calculated by the one-dimensional coolant circulation dynamic system model at time n+1, ΔP 3D,n ,T 3D,n They are respectively the pressure loss value and temperature value transmitted by the three-dimensional CFD model of the battery pack liquid cooling plate after completing the calculation at time n;
[0097] 3D CFD model of battery pack liquid cooling plate:
[0098] [ΔP 3D,n+1 ,T 3D,n+1 ]=F(Q 1D,n ,p 1D,n ,T 1D,n );
[0099] Where ΔP 3D,n+1 ,T 3D,n+1 are the pressure loss and temperature values calculated by the three-dimensional CFD model of the battery pack liquid cooling plate at time n+1, Q 1D,n ,p 1D,n ,T 1D,n They are the flow rate, temperature, and pressure values transmitted by the one-dimensional coolant circulation power system model after completing the calculation at time n.
[0100] The FMI-based joint simulation method for the new energy vehicle battery pack cooling system of the disclosed embodiment supports the data exchange function between the one-dimensional system model and the three-dimensional CFD model, makes up for the defect that the one-dimensional system model cannot obtain refined results, and provides a method for improving the calculation stability for the joint simulation model involving one-dimensional and three-dimensional flow problems.
[0101] Based on the same inventive concept, an embodiment of the present disclosure provides a new energy vehicle battery pack cooling system joint simulation device based on FMI, which can be applied to the method described above. For details, please refer to the relevant records in the above text and will not be repeated here.
[0102] Figure 8 FIG. 1 is a schematic diagram of the structure of a joint simulation device for a new energy vehicle battery pack cooling system based on FMI according to an embodiment of the present disclosure. Figure 8 As shown, the device includes: a first construction module 801, a first configuration module 802, a second construction module 803, a second configuration module 804 and a simulation module 805.
[0103] Specifically, the first construction module 801 is used to construct a one-dimensional model of the coolant circulation power system based on the Modelica language. The first configuration module 802 is used to configure the coupling data interface between the constructed one-dimensional model and the three-dimensional CFD model of the battery pack liquid cooling plate, and export the one-dimensional FMU model after the configuration is completed. The second construction module 803 is used to construct a three-dimensional CFD model of the battery pack liquid cooling plate. The second configuration module 804 is used to configure the coupling data interface between the constructed three-dimensional CFD model and the one-dimensional model, and export the three-dimensional FMU model after the configuration is completed. The simulation module 805 is used to import the one-dimensional FMU model and the three-dimensional FMU model respectively, connect the coupling data interface of the one-dimensional FMU model and the three-dimensional FMU model, complete the joint simulation configuration, and perform one-dimensional and three-dimensional joint simulation.
[0104] The FMI-based joint simulation device for the new energy vehicle battery pack cooling system of the disclosed embodiment supports the data exchange function between the one-dimensional system model and the three-dimensional CFD model, making up for the defect that the one-dimensional system model cannot obtain refined results, and provides a device that can improve the calculation stability for the joint simulation model involving one-dimensional and three-dimensional flow problems.
[0105] In some possible embodiments, the one-dimensional coolant circulation power system model includes a mass flow boundary component, a pressure sensor component, a water pump component, a heat exchanger component, an expansion kettle component, a mass flow sensor component, a temperature sensor component and a pressure boundary condition component connected in sequence.
[0106] In some possible embodiments, Figure 8As shown, the first configuration module 802 is specifically used for: the one-dimensional coolant circulation power system model transmits the mass flow monitored in the one-dimensional model to the three-dimensional CFD model of the battery pack liquid cooling plate through the mass flow sensor component, and uses it as the velocity boundary condition at its inlet; based on the mass flow value relationship between the inlet and outlet of the liquid cooling plate pipeline of the three-dimensional CFD model, the mass flow value monitored in the one-dimensional model is used as the mass flow setting value in its mass flow boundary component; the temperature sensor component transmits the temperature monitored in the one-dimensional model to the three-dimensional CFD model, and uses it as the temperature boundary condition at its inlet; the pressure sensor component transmits the pressure value monitored in the one-dimensional model to the three-dimensional CFD model, and uses it as the pressure boundary condition at its outlet; and the one-dimensional FMU model is exported after the configuration is completed.
[0107] In some possible embodiments, Figure 8 As shown, the second construction module 803 is specifically used for: the three-dimensional CFD model of the battery pack liquid cooling plate uses the mass flow and temperature values transmitted by the one-dimensional model as the velocity and temperature boundary conditions at its inlet, and uses the pressure value transmitted by the one-dimensional model as the pressure boundary condition at its outlet; at the inlet of the three-dimensional CFD model, the turbulent kinetic energy, turbulent dissipation rate, and specific dissipation rate variables are set as the second type of boundary conditions to ensure the stability of the three-dimensional CFD model calculation.
[0108] In some possible embodiments, Figure 8 As shown, the second configuration module 804 is specifically used to: transmit the monitored temperature value at the outlet of the three-dimensional CFD model and the pressure difference between the inlet and outlet of the three-dimensional CFD model as pressure loss values to the one-dimensional model, and export the three-dimensional FMU model after the configuration is completed.
[0109] In some possible embodiments, Figure 8 As shown, the simulation module 805 is specifically used to: import the one-dimensional FMU model and the three-dimensional FMU model respectively, connect the mass flow, temperature, and pressure values exported by the one-dimensional model and the pressure loss value and temperature variables of the three-dimensional CFD model according to corresponding connection relationships, and perform one-dimensional and three-dimensional joint simulation.
[0110] In some possible embodiments, the coupling relationship between the one-dimensional model and the three-dimensional CFD model during joint simulation is as follows:
[0111] One-dimensional model of the coolant circulation dynamic system model:
[0112] [Q 1D,n+1 ,p 1D,n+1 ,T 1D,n+1 ]=F(ΔP 3D,n,T 3D,n );
[0113] Where Q 1D,n+1 ,p 1D,n+1 ,T 1D,n+1 are the mass flow, temperature, and pressure values calculated by the one-dimensional coolant circulation dynamic system model at time n+1, ΔP 3D,n ,T 3D,n They are respectively the pressure loss value and temperature value transmitted by the three-dimensional CFD model of the battery pack liquid cooling plate after completing the calculation at time n;
[0114] 3D CFD model of battery pack liquid cooling plate:
[0115] [ΔP 3D,n+1 ,T 3D,n+1 ]=F(Q 1D,n ,p 1D,n ,T 1D,n );
[0116] Where ΔP 3D,n+1 ,T 3D,n+1 are the pressure loss and temperature values calculated by the three-dimensional CFD model of the battery pack liquid cooling plate at time n+1, Q 1D,n ,p 1D,n ,T 1D,n They are the flow rate, temperature, and pressure values transmitted by the one-dimensional coolant circulation power system model after completing the calculation at time n.
[0117] Based on the same inventive concept, an embodiment of the present disclosure provides an electronic device, including:
[0118] one or more processors;
[0119] A storage unit is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors can implement the method described above.
[0120] Based on the same inventive concept, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method described above can be implemented.
[0121] The computer-readable medium may be included in the apparatus, device, or system of the present invention, or may exist independently.
[0122] Among them, computer-readable storage media can be any tangible media that contains or stores a program, which can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment. More specific examples include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, an optical fiber, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0123] The computer-readable storage medium may also include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code, specific examples of which include but are not limited to electromagnetic signals, optical signals, or any suitable combination thereof.
[0124] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and substance of the present disclosure, and these modifications and improvements are also considered to be within the scope of protection of the present disclosure.
Claims
1. A joint simulation method for a new energy vehicle battery pack cooling system based on FMI, characterized in that: The method comprises: Construct a one-dimensional model of the coolant circulation power system based on Modelica language; A coupling data interface between the configured one-dimensional model and the three-dimensional CFD model of the battery pack liquid cooling plate is configured, and the one-dimensional FMU model is exported after the configuration is completed; Constructing a three-dimensional CFD model of the battery pack liquid cooling plate; configuring a coupling data interface between the constructed three-dimensional CFD model and the one-dimensional model, and exporting a three-dimensional FMU model after the configuration is completed; The one-dimensional FMU model and the three-dimensional FMU model are respectively imported, the coupling data interfaces of the one-dimensional FMU model and the three-dimensional FMU model are connected, and the joint simulation configuration is completed to perform one-dimensional and three-dimensional joint simulation.
2. The method according to claim 1, characterized in that The one-dimensional coolant circulation power system model includes a mass flow boundary component, a pressure sensor component, a water pump component, a heat exchanger component, an expansion kettle component, a mass flow sensor component, a temperature sensor component and a pressure boundary condition component which are connected in sequence.
3. The method according to claim 2, characterized in that The configuration constructs a coupling data interface between the one-dimensional model and the three-dimensional CFD model of the battery pack liquid cooling plate, and exports the one-dimensional FMU model after the configuration is completed, including: The one-dimensional coolant circulation power system model transmits the mass flow monitored in the one-dimensional model to the three-dimensional CFD model of the battery pack liquid cold plate through the mass flow sensor assembly, and serves as the velocity boundary condition at its inlet; Based on the mass flow value relationship between the inlet and outlet of the liquid cooling plate pipeline of the three-dimensional CFD model, the mass flow value monitored in the one-dimensional model is used as the mass flow setting value in its mass flow boundary component; The temperature sensor assembly transmits the temperature monitored in the one-dimensional model to the three-dimensional CFD model as a temperature boundary condition at its inlet; The pressure sensor assembly transmits the pressure value monitored in the one-dimensional model to the three-dimensional CFD model as a pressure boundary condition at its outlet; After the configuration is completed, the one-dimensional FMU model is exported.
4. The method according to claim 1, characterized in that: The constructing of the three-dimensional CFD model of the battery pack liquid cooling plate includes: The three-dimensional CFD model of the battery pack liquid cooling plate uses the mass flow and temperature values transmitted by the one-dimensional model as velocity and temperature boundary conditions at its inlet, and uses the pressure value transmitted by the one-dimensional model as the pressure boundary condition at its outlet; At the entrance of the three-dimensional CFD model, the turbulent kinetic energy, turbulent dissipation rate and specific dissipation rate variables are set as the second type of boundary conditions to ensure the stability of the three-dimensional CFD model calculation.
5. The method according to claim 4, characterized in that The configuration constructs a coupling data interface between the three-dimensional CFD model and the one-dimensional model, and exports a three-dimensional FMU model after the configuration is completed, including: The monitored temperature value at the outlet of the three-dimensional CFD model and the pressure difference between the inlet and outlet of the three-dimensional CFD model are transmitted to the one-dimensional model as pressure loss values, and the three-dimensional FMU model is exported after the configuration is completed.
6. The method according to claim 1, characterized in that The step of respectively importing the one-dimensional FMU model and the three-dimensional FMU model, connecting the coupling data interface of the one-dimensional FMU model and the three-dimensional FMU model and completing the joint simulation configuration, and performing the one-dimensional and three-dimensional joint simulation includes: The one-dimensional FMU model and the three-dimensional FMU model are imported respectively, and the mass flow, temperature, and pressure values derived from the one-dimensional model and the pressure loss value and temperature variables of the three-dimensional CFD model are connected according to corresponding connection relationships to perform one-dimensional and three-dimensional joint simulation.
7. The method according to claim 6, characterized in that The coupling relationship between the one-dimensional model and the three-dimensional CFD model during joint simulation is as follows: One-dimensional model of the coolant circulation dynamic system model: [Q 1D,n+1 ,p 1D,n+1 ,T 1D,n+1 ]=F(ΔP 3D,n ,T 3D,n ); Where Q 1D,n+1 ,p 1D,n+1 ,T 1D,n+1 are the mass flow, temperature, and pressure values calculated by the one-dimensional coolant circulation dynamic system model at time n+1, ΔP 3D,n ,T 3D,n They are respectively the pressure loss value and temperature value transmitted by the three-dimensional CFD model of the battery pack liquid cooling plate after completing the calculation at time n; 3D CFD model of battery pack liquid cooling plate: [ΔP 3D,n+1 ,T 3D,n+1 ]=F(Q 1D,n ,p 1D,n ,T 1D,n ); Where ΔP 3D,n+1 ,T 3D,n+1 are the pressure loss and temperature values calculated by the three-dimensional CFD model of the battery pack liquid cooling plate at time n+1, Q 1D,n ,p 1D,n ,T 1D,n They are the flow rate, temperature, and pressure values transmitted by the one-dimensional coolant circulation power system model after completing the calculation at time n.
8. A joint simulation device for a new energy vehicle battery pack cooling system based on FMI, characterized in that: The device comprises: The first building module is used to build a one-dimensional model of the coolant circulation power system based on the Modelica language; A first configuration module is used to configure a coupling data interface between the constructed one-dimensional model and the three-dimensional CFD model of the battery pack liquid cooling plate, and to export the one-dimensional FMU model after the configuration is completed; A second construction module is used to construct a three-dimensional CFD model of the battery pack liquid cooling plate; A second configuration module is used to configure the coupling data interface between the constructed three-dimensional CFD model and the one-dimensional model, and export the three-dimensional FMU model after the configuration is completed; The simulation module is used to import the one-dimensional FMU model and the three-dimensional FMU model respectively, connect the coupling data interface of the one-dimensional FMU model and the three-dimensional FMU model and complete the joint simulation configuration to perform one-dimensional and three-dimensional joint simulation.
9. An electronic device, characterized in that: include: one or more processors; A storage unit, used to store one or more programs, which, when executed by the one or more processors, enable the one or more processors to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 can be implemented.