A method for calculating thermophysical parameters based on salt solubility normalization
By constructing a three-dimensional orthogonal table using normalized salinity nodes in the calculation of seawater thermal properties, the problem of irregular data regions caused by salinity variations was solved, and efficient calculation of seawater thermal properties was achieved.
Patent Information
- Application Number
- CN202611660551.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-26
- Publication Date
- 2026-11-27
AI Technical Summary
Existing methods cannot effectively handle irregularly shaped data regions caused by salinity variations when constructing three-dimensional tables of seawater thermophysical parameters, resulting in the inability to use hash indexes and low computational efficiency.
By setting the normalized salinity nodes to be uniformly distributed within [0,1], the density is calculated using the standard equation of seawater thermodynamics, a three-dimensional orthogonal density property table of temperature-pressure-normalized salinity is constructed, and fast interpolation is performed using hash index.
It achieves fast and accurate calculations across the entire salinity range, increasing calculation speed by 300 times and solving the problem of low calculation efficiency in existing technologies.
Smart Images

Figure CN123178757A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of seawater thermophysical parameter calculation technology, and in particular to a method for calculating thermophysical parameters based on salt solubility normalization. Background Technology
[0002] Thermal properties are fundamental data for engineering design and numerical simulation in fields such as seawater desalination, thermal management of underwater vehicles, and ocean numerical simulation. Their computational efficiency directly affects the feasibility of large-scale real-time computing.
[0003] To improve the speed of fluid thermal property calculation, existing methods employ a fast calculation approach based on property interpolation tables. This method, for systems such as supercritical carbon dioxide or supercritical water, establishes a two-dimensional temperature-pressure interpolation table. Property values are pre-calculated and stored at the table nodes. During actual use, the target operating point's temperature and pressure are used to locate the corresponding grid in the table via a hash index. The property values of the four vertices of that grid are then used for two-dimensional linear interpolation to obtain the property values for the target operating point.
[0004] However, existing methods only use temperature and pressure as independent variables, and their two-dimensional temperature-pressure tables cannot be directly used in seawater scenarios with salinity changes. When extended to a three-dimensional temperature-pressure-salinity system, the effective data area across the entire salinity range becomes irregularly shaped due to the variation of salt solubility with temperature and pressure. The directly discretized three-dimensional tables cannot maintain orthogonality, and the hash index cannot be used properly, resulting in reduced efficiency in calculating seawater thermophysical parameters. Summary of the Invention
[0005] Therefore, it is necessary to provide a method, apparatus, medium, and equipment for calculating thermophysical parameters based on salt solubility normalization to address the above-mentioned technical problems.
[0006] The following technical solution is adopted in this specification: This specification provides a method for calculating thermophysical parameters based on salt solubility normalization, including: Determine the effective upper limit of salinity for each temperature-pressure combination, and use it as the salt solubility for the corresponding temperature-pressure combination. Set normalized salinity nodes, which are uniformly distributed in [0,1], where 0 corresponds to pure water and 1 corresponds to saturated saline. For each three-dimensional grid node consisting of a temperature node, a pressure node, and a normalized salinity node, the normalized salinity node is multiplied by the salt solubility corresponding to the temperature node and the pressure node to obtain the actual salinity corresponding to the three-dimensional grid node. Using the temperature node, the pressure node, and the actual salinity as input, the density is calculated based on the standard equation of seawater thermodynamics. A three-dimensional orthogonal density property table of temperature-pressure-normalized salinity is constructed based on the calculated density value. For the target operating point, the normalized salinity of the target operating point is determined based on its temperature, pressure and actual salinity. Based on the temperature, pressure and normalized salinity of the target operating point, interpolation is performed using a three-dimensional orthogonal density property table to determine the thermal property parameters of the target operating point.
[0007] Optionally, the effective upper limit of salinity under each temperature-pressure combination is determined, including: calculating the salt solubility under each temperature-pressure combination based on the empirical formula for salt solubility, and using it as the effective upper limit of salinity under the corresponding temperature-pressure combination.
[0008] Optionally, for a target operating point, the normalized salinity of that target operating point is determined based on its temperature, pressure, and actual salinity, including: Based on the temperature and pressure of the target operating point, the salt solubility corresponding to the target operating point is obtained by two-dimensional linear interpolation in the salt solubility table. The salt solubility table is obtained by storing the salt solubility under each temperature-pressure combination. The normalized salinity of the target operating point is obtained by dividing the actual salinity of the target operating point by the salt solubility corresponding to the target operating point.
[0009] Optionally, based on the temperature, pressure, and normalized salinity of the target operating point, interpolation is performed using a three-dimensional orthogonal density property table to determine the thermal property parameters of the target operating point, including: Based on the temperature, pressure and normalized salinity of the target operating point, the three-dimensional coordinates are located in the three-dimensional orthogonal density property table using hash indexing. The density of the target working point is obtained by performing three-dimensional linear interpolation based on the three-dimensional coordinates. The thermophysical parameters of the target operating point are determined based on the temperature, actual salinity, and density of the target operating point.
[0010] Optionally, three-dimensional linear interpolation is performed based on the three-dimensional coordinates, including: taking the density values of the eight neighboring grid nodes corresponding to the three-dimensional coordinates, and performing three-dimensional linear interpolation based on the normalized salinity of the target working point and the positional relationship of the eight neighboring grid nodes.
[0011] Optionally, the thermophysical parameters include at least one of sound velocity, specific heat capacity at isobaric pressure, enthalpy, entropy, viscosity, and thermal conductivity.
[0012] Optionally, the normalized salinity nodes are uniformly discretized into multiple nodes within [0,1], and the number of nodes is determined based on the computational accuracy and storage capacity.
[0013] This specification provides a device for calculating thermophysical parameters based on salt solubility normalization, including: Salt solubility determination module: used to determine the effective upper limit of salinity under each temperature-pressure combination, as the salt solubility under the corresponding temperature-pressure combination; Normalized salinity node setting module: used to set normalized salinity nodes. The normalized salinity nodes are evenly distributed in [0,1], where 0 corresponds to pure water and 1 corresponds to saturated saline. The table construction module is used to multiply the normalized salinity node by the salt solubility corresponding to the temperature and pressure nodes for each three-dimensional mesh node composed of temperature nodes, pressure nodes, and normalized salinity nodes, to obtain the actual salinity corresponding to the three-dimensional mesh node. Using the temperature node, pressure node, and actual salinity as input, the density is calculated based on the standard equation of seawater thermodynamics, and a three-dimensional orthogonal density property table of temperature-pressure-normalized salinity is constructed based on the calculated density value. Thermophysical property parameter calculation module: For a target operating point, it determines the normalized salinity of the target operating point based on its temperature, pressure and actual salinity, and determines the thermophysical property parameters of the target operating point by interpolation based on the temperature, pressure and normalized salinity of the target operating point and a three-dimensional orthogonal density property table.
[0014] This specification provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for calculating thermophysical parameters based on salt solubility normalization.
[0015] This specification provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the above-described method for calculating thermophysical parameters based on salt solubility normalization.
[0016] The above-mentioned technical solutions adopted in this specification can achieve the following beneficial effects: This invention uses the effective upper limit of salinity under various temperature-pressure combinations as the salt solubility and sets normalized salinity nodes uniformly distributed within [0,1], where 0 corresponds to pure water and 1 corresponds to saturated brine. This allows the salinity dimension to be scaled by the degree of saturation, rather than by the actual salinity value that varies with temperature and pressure. Specifically, since the normalized salinity nodes are uniformly distributed from 0 to 1 under different temperature-pressure combinations, the salinity dimension corresponding to each temperature-pressure combination has the same length. The original irregularly shaped three-dimensional effective data region due to salt solubility boundary constraints is reconstructed into a regular orthogonal grid, and the grid nodes have uniform coordinates in space. The three-dimensional grid where the target working point is located can be directly located through simple coordinate calculations. This solves the problems of existing technologies being unable to construct three-dimensional orthogonal property tables under salt solubility constraints and being unable to simultaneously cover the entire salinity range and perform fast table lookup calculations, effectively improving the calculation efficiency of seawater thermophysical parameters. Attached Figure Description
[0017] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0018] Figure 1 This document provides a schematic flowchart of a method for calculating thermophysical parameters based on salt solubility normalization. Figure 2 This is a schematic diagram of the node principle for three-dimensional linear interpolation provided in this specification; Figure 3 A schematic diagram illustrating the construction and normalization of the three-dimensional property tables provided in this specification; Figure 4 This specification provides a schematic diagram of a thermophysical property parameter calculation device based on salt solubility normalization. Figure 5 This is a schematic diagram of a computer device used in this specification to implement a method for calculating thermophysical parameters based on salt solubility normalization. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative effort are within the scope of protection of this application.
[0020] The thermophysical properties of seawater and high-salinity aqueous solutions (including density, sound velocity, specific heat capacity at isobaric pressure, enthalpy, entropy, viscosity, and thermal conductivity) are fundamental data for marine engineering design, numerical simulation of ocean circulation, calculation of seawater desalination processes, thermal management of underwater vehicles, and design of brine heat exchange systems. All of the above properties refer to temperature. T ,pressure p and salinity S The function needs to be called repeatedly according to the specific working conditions in actual engineering calculations.
[0021] Currently, the international standard for measuring the thermodynamic properties of seawater is the Thermodynamic Equation of Seawater 2010 (TEOS-10). TEOS-10 is based on the Gibbs function of seawater and can calculate various thermodynamic properties of seawater with high accuracy over a wide range of temperature, pressure, and salinity. However, TEOS-10 involves several high-order polynomial expansions, logarithmic and exponential term operations, and some parameters (such as density) need to be obtained by iteratively solving the equation of state, resulting in high computational complexity. In large-scale ocean numerical simulations or real-time control systems, calling TEOS-10 point-by-point for property calculations leads to enormous computational loads and low computational efficiency, making it difficult to meet real-time requirements.
[0022] To improve the computational speed of fluid thermal properties, existing technologies employ rapid calculation methods based on property interpolation tables. For example, researchers have established two-dimensional property interpolation tables for systems such as supercritical carbon dioxide and supercritical water, using a combination of table lookup and interpolation to replace iterative equation solving, significantly improving computational efficiency. However, existing interpolation table methods primarily target single-component or fixed-composition fluid systems, typically constructing only temperature-pressure two-dimensional tables, which cannot effectively cover scenarios involving salinity variations. For seawater, salinity is a key independent variable affecting its thermal properties; salinity varies significantly across different sea areas and depths, and two-dimensional tables with fixed salinity cannot meet the computational needs across all sea areas and operating conditions.
[0023] When attempting to construct a three-dimensional temperature-pressure-salinity property table, a key challenge arises: the solubility of salt varies with temperature and pressure. For conventional seawater calculations, salinity is typically much lower than salt solubility; however, for applications such as seawater desalination, the effective upper limit of salinity varies under different temperature-pressure combinations. That is, across the entire salinity range, due to the constraint of salt solubility boundaries, the effective data region in the temperature-pressure-salinity three-dimensional space exhibits an irregular shape. Direct uniform discretization leads to some nodes exceeding the solubility range, rendering calculation impossible (resulting in non-convergence or physically meaningless results). Non-uniform discretization based on the maximum solubility at each temperature and pressure results in a non-orthogonal grid, rendering traditional hash indexing methods inapplicable and significantly reducing search efficiency. Current technologies lack orthogonalization methods for constructing three-dimensional temperature-pressure-salinity property tables across the entire range, particularly those constrained by salt solubility, and also lack adaptive table construction strategies for both seawater and full-salinity scenarios. Therefore, a rapid calculation method for three-dimensional interpolation tables of seawater thermal properties that balances universality across the entire salinity range with high efficiency in seawater scenarios is urgently needed.
[0024] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0025] Figure 1 This is a schematic diagram of a method for calculating thermophysical parameters based on salt solubility normalization, as described in this specification. The method specifically includes the following steps: S101: Determine the effective upper limit of salinity under each temperature-pressure combination, which is used as the salt solubility under the corresponding temperature-pressure combination.
[0026] In one embodiment of this specification, determining the effective upper limit of salinity for each temperature-pressure combination includes: calculating the salt solubility for each temperature-pressure combination based on an empirical formula for salt solubility, and using this as the effective upper limit of salinity for the corresponding temperature-pressure combination.
[0027] In one embodiment of this specification, when the application scenario requires coverage of the entire salinity range (such as brine heat exchange, salt lake resource development, high-salinity wastewater treatment, etc.), each temperature-pressure combination is calculated based on the empirical formula for salt solubility. Salt solubility Salt solubility refers to the maximum mass of salt that can dissolve in a unit mass of water at a given temperature and pressure. Its value increases with increasing temperature and pressure. The salt solubility curve is higher in the high temperature and high pressure regions, forming a non-horizontal upper boundary that varies with temperature and pressure. The salt solubility values for each temperature and pressure combination are stored as a two-dimensional array. This means that the salt solubility table has been completed.
[0028] S102: Set the normalized salinity nodes. The normalized salinity nodes are uniformly distributed in [0,1], where 0 corresponds to pure water and 1 corresponds to saturated saline.
[0029] In one embodiment of this specification, the normalized salinity node is uniformly discretized into multiple nodes in the range [0,1], and the number of multiple nodes is determined based on the calculation accuracy and storage capacity.
[0030] S103: For each three-dimensional grid node consisting of a temperature node, a pressure node, and a normalized salinity node, multiply the normalized salinity node by the salt solubility corresponding to the temperature node and the pressure node to obtain the actual salinity corresponding to the three-dimensional grid node. Using the temperature node, the pressure node, and the actual salinity as input, calculate the density based on the standard equation of seawater thermodynamics. Construct a three-dimensional orthogonal density property table of temperature-pressure-normalized salinity based on the calculated density value.
[0031] In one embodiment of this specification, the standard equation for seawater thermodynamics is TEOS-10.
[0032] In one embodiment of this specification, for each temperature-pressure combination, the salinity is normalized and reconstructed relative to salt solubility, resulting in a normalized salinity. , For pure water, Corresponding to saturated salinity. The normalized salinity interval [0,1] is uniformly discretized into... N Nodes (e.g.) N =200), the normalized salinity of each node is , For each temperature node Pressure nodes and normalized salinity nodes Calculate its corresponding actual salinity , and then with The TEOS-10 equation is called to calculate the seawater density. The density values of all nodes are stored as a three-dimensional array, thus completing the three-dimensional density property table of temperature-pressure-normalized salinity. Since the normalized salinity is uniformly distributed in the [0,1] interval, it is a standard orthogonal table, and a hash index can be used for fast lookup with O(1) time complexity.
[0033] In one embodiment of this specification, the number of discrete nodes for normalized salinity is determined as follows: A higher number of nodes results in higher interpolation accuracy for the three-dimensional orthogonal density property table, but also increases the required storage capacity and computational load. Therefore, a trade-off between computational accuracy and storage capacity can be struck to determine the number of discrete nodes for normalized salinity based on the actual application's requirements. For example, the normalized salinity range from zero to one is uniformly discretized into 200 nodes, with the normalized salinity of each node being 0, 1 / 200, 2 / 200, ..., 1, respectively. In this case, the number of temperature nodes is 200, the number of pressure nodes is 200, the number of normalized salinity nodes is 200, and the three-dimensional orthogonal density property table contains a total of 200 × 200 × 200 density values. Within the operating conditions of a temperature range of 0 to 120 degrees Celsius, a pressure range of 0 to 100 MPa, and a salinity range of 0 to the corresponding salt solubility, the average absolute value of the relative deviation of the density interpolation in this table is less than 0.004%, and the maximum relative error is less than 0.02%. When higher computational accuracy is required, the number of discrete nodes for normalized salinity can be increased; when storage capacity requirements are more stringent, the number of discrete nodes for normalized salinity can be decreased.
[0034] S104: For the target operating point, determine the normalized salinity of the target operating point based on its temperature, pressure and actual salinity. Based on the temperature, pressure and normalized salinity of the target operating point, interpolate based on the three-dimensional orthogonal density property table to determine the thermal property parameters of the target operating point.
[0035] In one embodiment of this specification, for a target operating point, determining the normalized salinity of the target operating point based on its temperature, pressure, and actual salinity includes: obtaining the salt solubility corresponding to the target operating point through two-dimensional linear interpolation in a salt solubility table based on the temperature and pressure of the target operating point, wherein the salt solubility table is obtained by storing the salt solubility under each temperature-pressure combination; and dividing the actual salinity of the target operating point by the salt solubility corresponding to the target operating point to obtain the normalized salinity of the target operating point.
[0036] In one embodiment of this specification, the thermal property parameters of the target operating point are determined by interpolation based on a three-dimensional orthogonal density property table, according to the temperature, pressure, and normalized salinity of the target operating point. This includes: locating the three-dimensional coordinates in the three-dimensional orthogonal density property table using a hash index based on the temperature, pressure, and normalized salinity of the target operating point; performing three-dimensional linear interpolation based on the three-dimensional coordinates to obtain the density of the target operating point; and determining the thermal property parameters of the target operating point based on the temperature, actual salinity, and density of the target operating point.
[0037] In one embodiment of this specification, three-dimensional linear interpolation based on three-dimensional coordinates includes: taking the density values of eight neighboring grid nodes corresponding to the three-dimensional coordinates, and performing three-dimensional linear interpolation based on the positional relationship between the normalized salinity of the target working point and the eight neighboring grid nodes.
[0038] In one embodiment of this specification, the thermophysical parameters include at least one of the following: sound velocity, specific heat capacity at isobaric pressure, enthalpy, entropy, viscosity, and thermal conductivity.
[0039] In one embodiment of this specification, interpolation calculations are performed on a normalized table. For values expressed in terms of temperature... T ,pressure p and actual salinity S To input the target operating point, first, based on temperature... T and pressure p In the salt solubility table The salt solubility at the corresponding temperature and pressure is obtained by two-dimensional linear interpolation. Then calculate the normalized salinity. .by For input, in the three-dimensional density property table The three-dimensional coordinates are located using hash indexes. :
[0040] Where INT represents floor function. , , This represents the node spacing in each direction, with the subscript "min" indicating the minimum value of this parameter. =0.
[0041] In this embodiment, Figure 2 This is a schematic diagram of the node principle for three-dimensional linear interpolation provided in this specification, such as... Figure 2 As shown, three-dimensional coordinates are located based on index. Calculate in input parameters The density values of the target point can be calculated based on the following linear differences between the density values of the eight nearest nodes: in, , , .
[0042] In this embodiment, 2000 target verification points were randomly selected within the temperature-pressure-salinity range, and the interpolated density calculation results of the present invention were compared with the direct calculation results of TEOS-10. For a normalized three-dimensional orthogonal table (200×200×200 nodes), the average absolute value of the relative deviation of density interpolation within the full salinity range was less than 0.004%, and the maximum relative error was less than 0.02%.
[0043] In this embodiment, in the calculation of 2000 sample points, based on the same computer test environment, the TEOS-10 directly solved the density in about 42.61 seconds, while the linear interpolation of the three-dimensional table of the seawater range of the present invention took about 0.14 seconds, which is 300 times faster. The normalized three-dimensional table took about 0.23 seconds because it requires additional querying of salt solubility and calculation of normalized salinity, which is about 200 times faster.
[0044] The execution subject of the methods provided in this specification can be a server, which can be a server set up on a business platform, or a device such as a desktop computer or laptop computer that can execute the scheme in this specification.
[0045] based on Figure 1The method for calculating thermophysical parameters based on salt solubility normalization, as shown, uses the effective upper limit of salinity under each temperature-pressure combination as the salt solubility and sets normalized salinity nodes uniformly distributed within [0,1], where 0 corresponds to pure water and 1 corresponds to saturated brine. This means that the salinity dimension is no longer measured by the actual salinity value that changes with temperature and pressure, but by the degree of saturation. Specifically, since the normalized salinity nodes are uniformly distributed from 0 to 1 under different temperature-pressure combinations, the salinity dimension corresponding to each temperature-pressure combination has the same length. The original irregular three-dimensional effective data region, constrained by salt solubility boundaries, is reconstructed into a regular orthogonal grid, and the grid nodes have uniform coordinates in space. This allows for direct location of the target operating point within the three-dimensional grid through simple coordinate calculations. This solves the problems of existing technologies being unable to construct three-dimensional orthogonal property tables under salt solubility constraints and being unable to simultaneously cover the entire salinity range and perform fast table lookup calculations, effectively improving the calculation efficiency of seawater thermophysical parameters.
[0046] When applying the method for calculating thermophysical parameters based on salt solubility normalization provided in this manual, it is not necessary to consider... Figure 1 The steps shown are executed in sequence. The specific execution order of each step can be determined as needed, and this manual does not impose any restrictions on it.
[0047] In addition, in one embodiment of this specification, the method further includes: when the salinity is within the seawater salinity range, extracting a sub-table corresponding to the seawater salinity range from the three-dimensional orthogonal density property table, as the three-dimensional orthogonal density property table for the seawater range.
[0048] Furthermore, Figure 3 This is a schematic diagram illustrating the construction and normalization process of the three-dimensional property tables provided in this specification. Figure 3 As shown, the salt solubility curve is higher in the high temperature and high pressure region, forming a non-horizontal upper boundary that varies with temperature and pressure. For the entire three-dimensional space of temperature-pressure-salinity, due to the variation of salt solubility with temperature and pressure, the upper limit of the effective salinity range is... The fact that it is not a constant causes the directly constructed 3D table to be a non-orthogonal table. To address this, the present invention provides two construction paths: the upper right path is for normalizing the non-orthogonal table, reconstructing salinity relative to salt solubility into the [0,1] interval, resulting in a regular normalized 3D orthogonal table; the lower right path is for orthogonal tables that do not require normalization, directly extracting a sub-region of seawater salinity, where salinity is much lower than solubility, allowing for the direct construction of an orthogonal table.
[0049] In this embodiment, when the application scenario is a typical seawater scenario such as marine engineering, seawater desalination, and underwater vehicles, since the salinity range of seawater is usually 0~42 g / kg, which is much lower than the salt solubility at various temperatures and pressures (the solubility of sodium chloride at room temperature and pressure is about 360 g / kg), the salinity dimension is not constrained by the solubility boundary within the seawater salinity range, and an orthogonal table can be directly constructed without normalization. The interpolation calculation method is the same as that of a normalized orthogonal three-dimensional table.
[0050] The above describes one or more embodiments of the method for calculating thermophysical parameters based on salt solubility normalization provided in this specification. Based on the same approach, this specification also provides corresponding devices for calculating thermophysical parameters based on salt solubility normalization, such as... Figure 4 As shown.
[0051] Figure 4 A schematic diagram of a thermophysical property parameter calculation device based on salt solubility normalization provided in this specification includes: Salt solubility determination module: used to determine the effective upper limit of salinity under each temperature-pressure combination, as the salt solubility under the corresponding temperature-pressure combination; Normalized salinity node setting module: used to set normalized salinity nodes. The normalized salinity nodes are evenly distributed in [0,1], where 0 corresponds to pure water and 1 corresponds to saturated saline. The table construction module is used to multiply the normalized salinity node by the salt solubility corresponding to the temperature and pressure nodes for each three-dimensional mesh node composed of temperature nodes, pressure nodes, and normalized salinity nodes, to obtain the actual salinity corresponding to the three-dimensional mesh node. Using the temperature node, pressure node, and actual salinity as input, the density is calculated based on the standard equation of seawater thermodynamics, and a three-dimensional orthogonal density property table of temperature-pressure-normalized salinity is constructed based on the calculated density value. Thermophysical property parameter calculation module: For a target operating point, it determines the normalized salinity of the target operating point based on its temperature, pressure and actual salinity, and determines the thermophysical property parameters of the target operating point by interpolation based on the temperature, pressure and normalized salinity of the target operating point and a three-dimensional orthogonal density property table.
[0052] Specific limitations regarding the calculation device for thermophysical parameters based on salt solubility normalization can be found in the limitations of the calculation method for thermophysical parameters based on salt solubility normalization mentioned above, and will not be repeated here. Each module in the aforementioned calculation device for thermophysical parameters based on salt solubility normalization can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0053] This specification also provides a computer-readable storage medium storing a computer program that can be used to execute the above-described... Figure 1 A method for calculating thermophysical parameters based on salt solubility normalization is provided.
[0054] This instruction manual also provides Figure 5 The schematic diagram of the computer device shown is as follows: Figure 5 As shown, at the hardware level, this computer device includes a processor, internal bus, network interface, memory, and non-volatile memory, and may also include other hardware required for business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then executes it to achieve the above. Figure 1 A method for calculating thermophysical parameters based on salt solubility normalization is provided.
[0055] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0056] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A method for calculating thermophysical parameters based on salt solubility normalization, characterized in that, include: Determine the effective upper limit of salinity for each temperature-pressure combination, and use it as the salt solubility for the corresponding temperature-pressure combination. Set normalized salinity nodes, which are uniformly distributed in [0,1], where 0 corresponds to pure water and 1 corresponds to saturated saline water; For each three-dimensional grid node consisting of a temperature node, a pressure node, and a normalized salinity node, the normalized salinity node is multiplied by the salt solubility corresponding to the temperature node and the pressure node to obtain the actual salinity corresponding to the three-dimensional grid node. Using the temperature node, the pressure node, and the actual salinity as input, the density is calculated based on the standard equation of seawater thermodynamics. A three-dimensional orthogonal density property table of temperature-pressure-normalized salinity is constructed based on the calculated density value. For a target operating point, the normalized salinity of the target operating point is determined based on its temperature, pressure, and actual salinity. Based on the temperature, pressure, and normalized salinity of the target operating point, interpolation is performed using the three-dimensional orthogonal density property table to determine the thermal property parameters of the target operating point.
2. The method as described in claim 1, characterized in that, The determination of the effective upper limit of salinity under each temperature-pressure combination includes: calculating the salt solubility under each temperature-pressure combination based on the empirical formula for salt solubility, and using it as the effective upper limit of salinity under the corresponding temperature-pressure combination.
3. The method as described in claim 1, characterized in that, The determination of the normalized salinity of the target operating point based on its temperature, pressure, and actual salinity includes: Based on the temperature and pressure of the target operating point, the salt solubility corresponding to the target operating point is obtained by two-dimensional linear interpolation in the salt solubility table. The salt solubility table is obtained by storing the salt solubility under each temperature-pressure combination. The normalized salinity of the target operating point is obtained by dividing the actual salinity of the target operating point by the salt solubility corresponding to the target operating point.
4. The method as described in claim 1, characterized in that, Based on the temperature, pressure, and normalized salinity of the target operating point, interpolation is performed using the three-dimensional orthogonal density property table to determine the thermal property parameters of the target operating point, including: Based on the temperature, pressure, and normalized salinity of the target operating point, the three-dimensional coordinates are located in the three-dimensional orthogonal density property table using a hash index. The density of the target working point is obtained by performing three-dimensional linear interpolation based on the three-dimensional coordinates. The thermophysical parameters of the target operating point are determined based on the temperature, actual salinity, and density of the target operating point.
5. The method as described in claim 4, characterized in that, The step of performing three-dimensional linear interpolation based on the three-dimensional coordinates includes: taking the density values of the eight neighboring grid nodes corresponding to the three-dimensional coordinates, and performing three-dimensional linear interpolation based on the normalized salinity of the target working point and the positional relationship of the eight neighboring grid nodes.
6. The method as described in claim 4, characterized in that, The thermophysical parameters include at least one of the following: sound velocity, specific heat capacity at constant pressure, enthalpy, entropy, viscosity, and thermal conductivity.
7. The method as described in claim 1, characterized in that, The normalized salinity node is uniformly discretized into multiple nodes in the range [0,1]. The number of these multiple nodes is determined based on the computational accuracy and storage capacity.
8. A device for calculating thermophysical parameters based on salt solubility normalization, characterized in that, include: Salt solubility determination module: used to determine the effective upper limit of salinity under each temperature-pressure combination, as the salt solubility under the corresponding temperature-pressure combination; Normalized salinity node setting module: used to set normalized salinity nodes, which are uniformly distributed in [0,1], where 0 corresponds to pure water and 1 corresponds to saturated saline. The table construction module is used to multiply the normalized salinity node by the salt solubility corresponding to the temperature and pressure nodes for each three-dimensional mesh node composed of temperature nodes, pressure nodes, and normalized salinity nodes, to obtain the actual salinity corresponding to the three-dimensional mesh node. Using the temperature node, pressure node, and actual salinity as input, the density is calculated based on the standard equation of seawater thermodynamics, and a three-dimensional orthogonal density property table of temperature-pressure-normalized salinity is constructed based on the calculated density value. Thermophysical property parameter calculation module: For a target operating point, it determines the normalized salinity of the target operating point based on its temperature, pressure and actual salinity, and determines the thermophysical property parameters of the target operating point by interpolation based on the three-dimensional orthogonal density property table based on the temperature, pressure and normalized salinity of the target operating point.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 1 to 7.
10. A computer device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method of any one of claims 1 to 7.
