Low-salinity NaCl-H2O system fluid inclusion parameter calculation and analysis method and system

By automatically calculating the parameters of fluid inclusions, the problems of low efficiency and insufficient accuracy in the prior art are solved, and efficient and accurate analysis of fluid inclusions parameters are achieved, which is suitable for the fields of mineralogy, geochemistry and resource exploration.

CN120544729APending Publication Date: 2025-08-26CHINA UNIV OF PETROLEUM (EAST CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510528161.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-25
Publication Date
2025-08-26

AI Technical Summary

Technical Problem

In the prior art, the calculation efficiency of fluid inclusion parameters is low, the data accuracy is insufficient, and the automation level is insufficient, making it difficult to meet the needs of modern large-scale data processing.

Method used

Computer automation methods are used to read the parameter data of fluid inclusions in low-salinity NaCl-H2O system, pre-process them, and use preset empirical formulas and self-start calculation tools to realize the full process automated calculation, including capture temperature, pressure calculation and result preservation.

Benefits of technology

It realizes the full process automation from data reading to result output, improves calculation efficiency and data accuracy, and is suitable for fluid inclusion parameter analysis in the fields of mineralogy, geochemistry and resource exploration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120544729A_ABST
    Figure CN120544729A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of fluid inclusion parameter analysis and calculation, in particular to a method and a system for calculating and analyzing parameters of a low-salinity NaCl-H2O system fluid inclusion, and particularly discloses a method and a system for calculating and analyzing parameters of a low-salinity NaCl-H2O system fluid inclusion by utilizing a computer automation technology through uniform temperature and salinity. Physical parameters (such as capture temperature, capture pressure, uniform pressure and the like) in the fluid inclusion are accurately and automatically calculated, the oil gas filling time at the corresponding capture temperature is obtained in the heat burial history through the capture temperature obtained through calculation, whether the reservoir is in the overpressure state or not is judged, and research of resource exploration is facilitated. And manpower can be liberated in fluid inclusion data calculation in mineralogy, geochemistry and related fields, and personal errors are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fluid inclusion parameter analysis and calculation, and in particular to a method and system for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system. Background Art

[0002] Fluid inclusions, tiny liquids or gases trapped within minerals, are widely present in various rocks in the Earth's crust. The physical and chemical information they contain is crucial for revealing geological processes, the formation mechanisms of ore deposits, and hydrothermal activity. Calculating fluid inclusion parameters (such as trapping temperature, trapping pressure, and homogenization pressure) is a key research step in fields such as mineralogy, geochemistry, and resource exploration.

[0003] In the existing technology, the calculation of fluid inclusion parameters mostly relies on manual operation or semi-automatic calculation programs, which have the following main shortcomings:

[0004] 1. High labor intensity and low efficiency

[0005] Traditional methods often require technicians to manually operate instruments or use semi-automated programs to calculate and record a large amount of inclusion data one by one. This is not only time-consuming, but also easily affected by the operator's subjective factors, and it is difficult to meet the requirements of modern large-scale data processing.

[0006] 2. Limited data accuracy

[0007] Due to the reliance on manual and semi-automatic calculations, errors may be introduced during data recording and transmission. Especially in systems with subtle boundary conditions, these errors will have a significant impact on the accuracy and reliability of parameter calculations.

[0008] 3. Insufficient automation level

[0009] Current computing software tools have not yet reached the ideal level in terms of automated operation and batch data processing. It is difficult to achieve full integration of processes from data reading, automatic operation, parameter calculation to result output, automatic saving, etc., further reducing the work efficiency of scientific researchers. Summary of the Invention

[0010] In view of this, the purpose of the present invention is to propose a method and system for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system to solve the problems of low efficiency, insufficient data accuracy and insufficient automation level in the existing technology.

[0011] The specific calculation steps of the present invention include:

[0012] S1. Automatically read the parameter data of the fluid inclusions in the low-salinity NaCl-H2O system through a computer;

[0013] S2. Preprocess the fluid inclusion parameter data of the low-salinity NaCl-H2O system and remove abnormal values ​​that do not meet the requirements;

[0014] S3. Using a preset empirical formula and a self-starting calculation tool, simulate the input parameters to complete the calculation of the fluid inclusion capture temperature, capture pressure, and homogenization pressure;

[0015] S4. Obtain the corresponding filling time and ancient burial depth on the burial history map using the obtained capture temperature, and determine whether there is overpressure by determining the pressure coefficient based on the fluid inclusion capture pressure and the ancient burial depth;

[0016] S5. Save the fluid inclusion capture pressure, capture temperature, uniform pressure, oil and gas filling time, and overpressure judgment result.

[0017] Preferably, the data read in step S1 is to automatically read the low-salinity NaCl-H2O system fluid inclusion parameter data from the Excek file through header parsing, specifically including:

[0018] Construct a dictionary of correspondence between data item names and column numbers by parsing the first row header of the Excel file;

[0019] For the key data items in the table header, the corresponding cell data is read row by row. If a cell data is empty, a default value of 0 is automatically assigned. The key data items include serial number, uniform temperature, and NaCl.

[0020] Store each row of data read into an internal data structure.

[0021] Preferably, the pretreatment comprises:

[0022] Perform a preliminary check on the read data to identify abnormal null values ​​and format errors;

[0023] Use preset conversion relationships for salinity data to achieve unit uniformity;

[0024] An outlier detection algorithm based on statistical methods is used to automatically identify data that exceeds a reasonable range and eliminate it.

[0025] Preferably, step S3 specifically includes:

[0026] Using automated control software to start an external program, wherein the external program is dedicated software for calculating fluid inclusion parameters;

[0027] Using window search technology to determine the main window of the external program and making the window active;

[0028] Using keyboard and mouse event simulation technology, sending operation commands to the external program in a pre-set order, including but not limited to sending commands, inputting various parameters in sequence, and triggering menu commands for save operations;

[0029] Set up appropriate delays and event handling mechanisms between each operation step.

[0030] Preferably, in step S3, the step of capturing temperature calculation includes:

[0031] According to the fluid inclusion parameter data obtained from the data reading step, the absolute value of the difference between the salinity val1 and 5 and 20 is automatically determined as a judgment condition, and accordingly, the capture temperature is calculated by the internal formula through the uniform temperature val2;

[0032] When the salinity satisfies |val1–5|<|val1–20|, the following formula is used for calculation, where:

[0033] When val2<120℃, the calculation formula is y=val2+(0.25×val2)–15;

[0034] When 120℃≤val2<150℃, the calculation formula is y=val2+(0.2491×val2)–14.89;

[0035] When 150℃≤val2<180℃, the calculation formula is y=val2+(0.1431×val2)+1.0053;

[0036] When val2 ≥ 180°C, the calculation formula is y = val2 + (0.2245 × val2) – 13.639;

[0037] y represents the capture temperature;

[0038] When the salinity does not meet the above conditions, the following formula is used for calculation:

[0039] When val2<120℃, the calculation formula is y=val2+(0.2167×val2)–13.5;

[0040] When 120℃≤val2<150℃, the calculation formula is y=val2+(1.2186×val2)+3.7674;

[0041] When 150℃≤val2<180℃, the calculation formula is y=val2+(1.1603×val2)+5.9542;

[0042] When val2≥180°C, the calculation formula is y=val2+(1.1546×val2)+2.1711.

[0043] Preferably, in step S3, the calculation step of the capture pressure and the homogenization pressure is performed by automatically using the Loner32 fluid inclusion calculation tool to complete the calculation of the capture pressure and the homogenization pressure parameters.

[0044] Preferably, step S4 specifically includes:

[0045] According to the captured temperature data, by matching the captured temperature with the burial history map, the corresponding paleo-burial depth h is automatically matched, and the time of oil and gas filling is deduced;

[0046] For each inclusion, the theoretical static pressure is calculated by obtaining the matched ancient burial depth h:

[0047] Calculate the ratio of the capture pressure Pc to the theoretical static pressure to obtain the pressure coefficient:

[0048] The pressure state of the reservoir to which the inclusion belongs is determined based on the pressure coefficient.

[0049] Preferably, step S5 includes:

[0050] Parse the results obtained in steps S3 and S4 and extract key information according to a preset format;

[0051] According to the header of the Excel file, locate the column number of the result category and write the data extracted from the result file into the corresponding cell.

[0052] The present invention also provides a low-salinity NaCl-H2O system fluid inclusion parameter calculation and analysis system, comprising:

[0053] A reading module automatically reads parameter data of fluid inclusions in a water-salt system through a computer;

[0054] The preprocessing module preprocesses the parameter data of fluid inclusions in the low-salinity NaCl-H2O system and eliminates abnormal values ​​that do not meet the requirements;

[0055] The human-computer interaction module simulates the preset empirical formula and self-starting calculation tool to simulate the operation input and read parameters to complete the calculation of capture temperature, capture pressure and uniform pressure;

[0056] The oil and gas filling time confirmation and overpressure judgment module uses the captured temperature to obtain the corresponding filling time and ancient burial depth on the burial history map, and determines the pressure coefficient based on the captured pressure and ancient burial depth to determine whether there is overpressure;

[0057] The result output and storage module saves the capture pressure, capture temperature, uniform pressure, oil and gas filling time, and overpressure judgment results.

[0058] Beneficial effects of the present invention:

[0059] 1. High degree of automation: The whole process from data reading, automated operation, parameter calculation to result output and automatic saving is automated, which greatly saves manual operation time;

[0060] 2. High data accuracy: Through automated calculation and operation, the error caused by manual intervention is reduced, and the accuracy of parameter measurement and calculation is improved;

[0061] 3. Wide range of applications: This method is applicable to the calculation and analysis of fluid inclusion parameters in many fields such as mineralogy, geochemistry, and resource exploration;

[0062] 4. Easy operation: Users only need to import data files, and the system can automatically complete all calculation and analysis operations, greatly improving work efficiency and consistency of data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0064] Figure 1 Schematic diagram of the flow chart of the method for calculating fluid parcel parameters according to an embodiment of the present invention;

[0065] Figure 2 This is a block diagram of the fluid parcel parameter system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0066] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to specific embodiments.

[0067] It should be noted that, unless otherwise defined, the technical or scientific terms used in the present invention should have the usual meanings understood by people with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the object being described changes, the relative positional relationship may also change accordingly.

[0068] like Figure 1 As shown, the present invention provides a method and system for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system coexisting with hydrocarbon inclusions, comprising the following steps:

[0069] Step 1: Automatically read the homogenization temperature and salinity parameters of fluid inclusions from the Excel file through header parsing.

[0070] (1) Data file format requirements

[0071] This embodiment uses an Excel file as the main carrier for data input. The first row of the Excel file should be the header, which must contain necessary items such as "serial number", "homogeneous temperature", and "NaCl".

[0072] (2) Data reading module design

[0073] The data reading module is mainly implemented using Python language and openpyxl library. The specific steps are as follows:

[0074] ① File loading: The program calls the openpyxl.load_workbook function, passes in the Excel file path, and loads the file as a workbook object.

[0075] ②Select the active worksheet: After reading the workbook, select the currently active worksheet (ws) as the data source.

[0076] ③Header parsing: Use the data in the first row of the worksheet to build a header dictionary. The specific method is to traverse all cells in the first row, use the text in the cell as the key and the corresponding column number as the value, and store them in a dictionary.

[0077] This allows you to dynamically determine the specific locations of columns such as "Serial Number", "Uniform Temperature", and "NaCl", avoiding reading errors caused by file format adjustments.

[0078] ④ Required data verification: After building the header dictionary, the program verifies the key columns. If the required columns are not found, the data reading is terminated.

[0079] Appropriate delays and event handling mechanisms (such as calling QApplication.processEvents() or using a non-blocking waiting method) can be set between each operation step to ensure that the external program has enough time to respond and complete each operation, thereby ensuring the continuity and stability of the automated operation process.

[0080] Step 2: Check the data units and outliers, unify the units of fluid inclusion uniform temperature and salinity, and remove outliers that do not meet the requirements.

[0081] After data reading, this embodiment uses an automated data preprocessing module to perform unit verification, anomaly detection, and standardization on the fluid inclusion parameters (mainly homogenization temperature and salinity). The specific steps include:

[0082] ①Preliminary inspection after header parsing and data extraction

[0083] The system first automatically parses the Excel file's header information to identify the columns containing each key parameter and extracts the raw values ​​from the corresponding cells. Because different laboratories may have inconsistent units and recording formats when entering data, the system performs a preliminary check on the extracted data to identify abnormal null values ​​and format errors. For example, for temperature data, the system checks whether the data is expressed in degrees Celsius (°C) or Kelvin (K); for salinity data, it checks whether it is recorded as a percentage.

[0084] ② Unified conversion of data units

[0085] To ensure the consistency of subsequent calculations, this embodiment designs a set of data unit standardization rules. When the temperature data is detected to be expressed in K, the system automatically converts it to Celsius. The conversion formula is:

[0086] T(℃)=T(K)-273.15

[0087] Similarly, a preset conversion relationship is used for salinity data to achieve unit uniformity. This step ensures that the input data is in a unified physical scale and dimension before entering the automated calculation module.

[0088] ③Outlier detection and elimination

[0089] Although most experimental data is rigorously verified, extreme outliers may still occur due to data entry errors. The system uses statistically based outlier detection algorithms (for example, using the mean and standard deviation or setting fixed upper and lower limits) to automatically identify data that falls outside a reasonable range. When an outlier is detected, the system automatically removes the data point or marks it invalid, preventing errors from being introduced into subsequent calculations.

[0090] Step 3, simulating human-computer interaction, using preset empirical formulas and self-starting calculation tools, simulating the operation input and reading parameters, and completing the calculation of capture temperature, capture pressure, and uniform pressure.

[0091] In some embodiments simulating human-computer interaction, this embodiment primarily implements automatic calculation of fluid inclusion parameters by invoking a fluid inclusion calculation tool and pre-set calculation formulas in programming. The fluid inclusion calculation tool, "Loner32.exe," is a publicly available, simple fluid inclusion calculation tool developed by Bakker et al. It incorporates specialized algorithms for calculating fluid inclusion parameters. Its calculation logic has been extensively tested and verified, enabling it to handle complex situations. The tool requires input of corresponding parameters for calculation. In traditional operations, the input of parameters and the recording of results through the tool are manually performed by the operator. The present invention simulates human-computer interaction through automated programs, enabling automatic control of external programs and thus completing fully automated calculations.

[0092] (1) Calculation using the default empirical formula

[0093] In this embodiment, the capture temperature is calculated based on an internal preset empirical formula. Specifically, two sets of calculation formulas are preset, namely Function 1 Formula and Function 2 Formula. The selection is based on the size of the salinity. The absolute value of the difference between the salinity and 5 and 20 is used as the judgment condition (such as 5% and 20%). The specific steps are as follows

[0094] ①Formula preset and conditional judgment

[0095] When the salinity value obtained from the data reading module (denoted as val1) satisfies |val1–5|<|val1–20|, function 1 formula is used to automatically calculate the salinity using the uniform temperature (denoted as val2), and the calculation result is automatically saved for subsequent use; otherwise, function 2 formula is used.

[0096] In the formula of function 1, different coefficients and constants are set for different temperature ranges. For example, the calculation formula is:

[0097] if val2<120:

[0098] y=val2+(0.25*val2)-15

[0099] elif 120<=val2<150:

[0100] y=val2+(0.2491*val2)-14.89

[0101] elif 150<=val2<180:

[0102] y=val2+(0.1431*val2)+1.0053

[0103] else:

[0104] y=val2+(0.2245*val2)-13.639

[0105] Function 2 is designed for another temperature range, for example:

[0106] if val2<120:

[0107] y=val2+(0.2167*val2)-13.5

[0108] elif 120<=val2<150:

[0109] y=val2+(0.2167*val2)-13.5

[0110] elif 150<=val2<180:

[0111] y=val2+(0.3*val2)-26

[0112] else:

[0113] y=val2+(0.2167*val2)–11

[0114] ②Calculation logic and implementation

[0115] Based on the above-mentioned conditional judgments and formulas, after reading the data, the system will automatically determine which set of formulas to use for calculation for each set of input data (such as uniform temperature, NaCl, etc.).

[0116] During the implementation process, the system first obtains the values ​​of NaCl and other parameters, and then selects the function 1 or function 2 formula for calculation based on the comparison results to obtain the value of the capture temperature y.

[0117] This calculation process is part of the automation program programming, so the relevant calculation tasks will be automatically completed during the re-run process.

[0118] (2) Fluid inclusion calculation tool call

[0119] In this embodiment, the call of the external program mainly relies on the automation control software (such as pywinauto). The specific steps are as follows:

[0120] ① Start an external program

[0121] The automation program first uses the pywinauto Application object to pass in the path of the external program to start the external program

[0122] ②Get the external program window

[0123] After launching an external program, the automation system locates the target window by searching for the window title (e.g. matching "WinSIOUX" or other preset strings). Using pywinauto's find_windows method, you can obtain the window handle that meets the criteria.

[0124] (2) Automatic input of parameters and control operations

[0125] Once the external program window is correctly positioned, the automation program will simulate human-computer interaction and input various parameters according to the predetermined steps. The specific automation process is as follows:

[0126] Using the type_keys method in pywinauto, the automated program sequentially inputs pre-set commands and parameters. The program navigates to the program window, issues functional commands, and then simulates human-computer interaction. Parameters read from Excel, such as the NaCl value, homogenization temperature, and trapping temperature calculated using an empirical formula, are automatically entered. The Loner32 fluid inclusion calculation tool is then used to automatically calculate trapping pressure and homogenization pressure parameters.

[0127] Step 4: Obtain the corresponding filling time and ancient burial depth on the burial history diagram using the obtained capture temperature, and determine the pressure coefficient using the capture pressure and ancient burial depth to determine whether it is overpressure.

[0128] This step mainly uses the captured temperature, captured pressure and paleo-burial depth information to reconstruct the hydrothermal state when the fluid inclusions were formed, providing a quantitative basis for determining the time of oil and gas filling and whether the reservoir is overpressured. The specific implementation steps include:

[0129] ① Matching the capture temperature with the burial history map

[0130] Based on the captured temperature data, the system uses a built-in or pre-established burial history map, which depicts temperature trends and corresponding burial depths for a specific region over different geological periods. By mapping the captured temperature to the burial history map, the corresponding paleoburial depth is automatically determined, and the timing of hydrocarbon injection can be deduced. This matching process can be achieved through numerical interpolation or curve fitting, resulting in a preliminary quantitative estimate.

[0131] ②Theoretical static pressure calculation

[0132] For each inclusion, the theoretical static pressure is calculated by obtaining the matched ancient burial depth h using the following formula:

[0133] P 理论 =ρ×g×h

[0134] ρ is the average density of the formation (e.g. 2.5 g / cm 3 , after conversion to use international units),

[0135] g is the acceleration due to gravity (9.8 m / s 2 ). This step provides a theoretical basis for subsequent overpressure analysis.

[0136] ③Pressure coefficient calculation and overpressure judgment

[0137] Calculate the ratio of the capture pressure Pc to the theoretical static pressure to obtain the pressure coefficient:

[0138]

[0139] If the pressure coefficient is significantly greater than 1 (for example, exceeding 1.2 or a threshold set based on regional experience), the reservoir to which the inclusion belongs is considered to be in an overpressure state; if the pressure coefficient is close to 1, it is considered to be in a normal pressure state. This ratio not only reflects the actual pressure environment when the fluid inclusion formed, but also provides a quantitative basis for further research on tectonic stress changes and reservoir fluid dynamics.

[0140] Step 5: rewrite the capture pressure, capture temperature, uniform pressure, oil and gas filling time, and overpressure judgment results into the Excel file and save it.

[0141] ① The automated system will open the result file generated by the fluid inclusion calculation tool, read and parse its contents. The parsing process mainly uses regular expressions to extract key information according to the preset format. The specific operations are as follows:

[0142] After reading the file content, the system uses regular expressions to match the text and extract data such as capture pressure and uniform pressure.

[0143] import re

[0144] match=re.search(r'Pressure\s*=\s*(\d+\.\d+)\s*MPa',text_content)

[0145] match2=re.search(r'Homogenisationpressure\s*=\s*(\d+\.\d+)\s*MPa',text_content)

[0146] ② The capture temperature calculated by the preset empirical formula, as well as the paleo-burial depth data and oil and gas filling time data obtained by combining the capture temperature and capture pressure with the burial history, as well as the reservoir overpressure judgment, will be written into the original Excel file through the Python openpyxl library and saved. The saving operation includes the following steps:

[0147] Locate the write column. Based on the Excel file header, the system locates the column numbers of "Capture Pressure", "Uniform Pressure", "Capture Temperature", etc. Write data to the corresponding cells after extracting the data from the result file.

[0148] Based on the overpressure judgment results of the oil and gas filling time and pressure coefficient obtained by comprehensive capture temperature matching, the system will automatically generate a data report, including:

[0149] The capture temperature, homogenization temperature, capture pressure, and homogenization pressure of each inclusion; the hydrocarbon filling time derived from the capture temperature; and the overpressure state determined by the pressure coefficient. This data report can be further compared with regional burial history and hydrothermal evolution models to reveal the dynamic changes in the hydrothermal system.

[0150] In summary, this embodiment provides an efficient, accurate, and automated solution for fluid inclusion parameter calculation and related analysis through full-process automation.

[0151] The present invention also provides a low-salinity NaCl-H2O system fluid inclusion parameter calculation and analysis system. Figure 2 Shown, including:

[0152] A reading module automatically reads parameter data of fluid inclusions in a water-salt system through a computer;

[0153] The preprocessing module preprocesses the parameter data of salt system fluid inclusions and eliminates abnormal values ​​that do not meet the requirements;

[0154] The human-computer interaction module simulates the preset empirical formula and self-starting calculation tool to simulate the operation input and read parameters to complete the calculation of capture temperature, capture pressure and uniform pressure;

[0155] The oil and gas filling time confirmation and overpressure judgment module uses the captured temperature to obtain the corresponding filling time and ancient burial depth on the burial history map, and determines the pressure coefficient based on the captured pressure and ancient burial depth to determine whether there is overpressure;

[0156] The result output and storage module saves the capture pressure, capture temperature, uniform pressure, oil and gas filling time, and overpressure judgment results.

[0157] Those skilled in the art will understand that the discussion of any of the above embodiments is merely illustrative and is not intended to limit the scope of the present invention to these examples. Within the spirit and principles of the present invention, the technical features of the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and many other variations exist for the various aspects of the present invention described above, which are not provided in detail for the sake of clarity. Any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.

Claims

1. A method for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system, characterized in that: include: S1. Automatically read the parameter data of the fluid inclusions of the NaCl-H2O system by computer; S2. Preprocessing the parameter data of the fluid inclusions in the NaCl-H2O system to remove abnormal values ​​that do not meet the requirements; S3. Using a preset empirical formula and a self-starting calculation tool, simulate the input parameters to calculate the capture temperature, capture pressure, and homogenization pressure of the fluid inclusions. S4. Obtain the corresponding filling time and ancient burial depth on the burial history map using the obtained capture temperature, determine the pressure coefficient using the capture pressure and the ancient burial depth, and determine whether there is overpressure; S5. Save the capture pressure, capture temperature, uniform pressure, oil and gas filling time, and overpressure judgment result.

2. The method for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system according to claim 1, characterized in that: The data read in step S1 is to automatically read the NaCl-H2O system fluid inclusion parameter data from the Excek file through header parsing, specifically including: Construct a dictionary of correspondence between data item names and column numbers by parsing the first row header of the Excel file; For the key data items in the table header, the corresponding cell data is read row by row. If a cell data is empty, a default value of 0 is automatically assigned. The key data items include serial number, uniform temperature, and NaCl. Store each row of data read into an internal data structure.

3. The method for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system according to claim 1, characterized in that: The pretreatment includes: Perform a preliminary check on the read data to identify abnormal null values ​​and format errors; Use preset conversion relationships for salinity data to achieve unit uniformity; An outlier detection algorithm based on statistical methods is used to automatically identify and eliminate data that exceeds a reasonable range.

4. The method for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system according to claim 1, characterized in that: Step S3 specifically includes: Using automated control software to start an external program, wherein the external program is dedicated software for calculating fluid inclusion parameters; Using window search technology to determine the main window of the external program and making the window active; Using keyboard and mouse event simulation technology, sending operation commands to the external program in a pre-set order, including but not limited to sending commands, inputting various parameters in sequence, and triggering menu commands for save operations; Set up appropriate delays and event handling mechanisms between each operation step.

5. The method for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system according to claim 4, characterized in that: In step S3, the step of capturing temperature calculation includes: According to the fluid inclusion parameter data obtained from the data reading step, the absolute value of the difference between the salinity val1 and 5 and 20 is automatically determined as a judgment condition, and accordingly, the capture temperature is calculated by the internal formula through the uniform temperature val2; When the salinity satisfies |val1–5|<|val1–20|, the following formula is used for calculation, where: When val2<120℃, the calculation formula is y=val2+(0.25×val2)–15; When 120℃≤val2<150℃, the calculation formula is y=val2+(0.2491×val2)–14.89; When 150℃≤val2<180℃, the calculation formula is y=val2+(0.1431×val2)+1.0053; When val2 ≥ 180°C, the calculation formula is y = val2 + (0.2245 × val2) – 13.639; y represents the capture temperature; When the salinity does not meet the above conditions, the following formula is used for calculation: When val2<120℃, the calculation formula is y=val2+(0.2167×val2)–13.5; When 120℃≤val2<150℃, the calculation formula is y=val2+(1.2186×val2)+3.7674; When 150℃≤val2<180℃, the calculation formula is y=val2+(1.1603×val2)+5.9542; When val2≥180°C, the calculation formula is y=val2+(1.1546×val2)+2.1711.

6. The method for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system according to claim 4, characterized in that: In step S3, the calculation step of the capture pressure and the homogenization pressure is to automatically use the Loner32 fluid inclusion calculation tool to complete the calculation of the capture pressure and the homogenization pressure parameters.

7. The method for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system according to claim 1, characterized in that: Step S4 specifically includes: According to the captured temperature data, by matching the captured temperature with the burial history map, the corresponding paleo-burial depth h is automatically matched, and the time of oil and gas filling is deduced; For each inclusion, the theoretical static pressure is calculated by obtaining the matched ancient burial depth h: Calculate the ratio of the capture pressure Pc to the theoretical static pressure to obtain the pressure coefficient: The pressure state of the reservoir to which the inclusion belongs is determined based on the pressure coefficient.

8. The method for calculating and analyzing fluid inclusion parameters in a low-salinity NaCl-H2O system according to claim 1, characterized in that: Step S5 includes: Parse the results obtained in steps S3 and S4 and extract key information according to a preset format; According to the header of the Excel file, locate the column number of the result category and write the data extracted from the result file into the corresponding cell.

9. A low-salinity NaCl-H2O system fluid inclusion parameter calculation and analysis system, used to implement the low-salinity NaCl-H2O system fluid inclusion parameter calculation and analysis method described in any one of 1-8, characterized in that: include: A reading module automatically reads parameter data of fluid inclusions in a water-salt system through a computer; The preprocessing module preprocesses the parameter data of salt system fluid inclusions and eliminates abnormal values ​​that do not meet the requirements; The human-computer interaction module simulates the input parameters read by the preset empirical formula and self-starting calculation tool to complete the calculation of capture temperature, capture pressure and uniform pressure. The oil and gas filling time confirmation and overpressure judgment module uses the captured temperature to obtain the corresponding filling time and ancient burial depth on the burial history map, and determines the pressure coefficient based on the captured pressure and ancient burial depth to determine whether there is overpressure; The result output and storage module saves the capture pressure, capture temperature, uniform pressure, oil and gas filling time, and overpressure judgment results.