Method and device for calculating carbon type composition of petroleum-based insulating oil and computer equipment

Automatically calculate the carbon type composition of petroleum-based insulating oil through the MATLAB platform and the graphical interface, solving the problems of low efficiency and artificial error in the existing technology, and achieving efficient and simple carbon type composition calculation.

CN120340686APending Publication Date: 2025-07-18BEIJING JIACHENG TESTING & MEASUREMENT CERTIFICATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410371114.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the prior art, the calculation method of carbon composition of petroleum-based insulating oil relies on manual operation, has low efficiency and artificial errors, and the FORTRAN program in the Appendix of the Standard is difficult to run in modern environments, limiting the application of computers.

Method used

A method and device for calculating the carbon type composition of petroleum-based insulating oil is provided. By receiving test parameters, the carbon type composition is automatically calculated using the MATLAB platform and a graphical interface, including density, refractive index, viscosity and sulfur content, simplifying the complex graph lookup process and using correction formulas to treat high sulfur content.

Benefits of technology

It improves the efficiency of carbon composition calculation of petroleum-based insulating oil, reduces artificial errors, reduces professional requirements, simplifies operating procedures, and improves the application convenience of computers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120340686A_ABST
    Figure CN120340686A_ABST
Patent Text Reader

Abstract

The invention discloses a petroleum-based insulating oil carbon type composition calculation method and device and computer equipment. The method comprises the following steps: judging whether a viscosity-weight constant is greater than zero or not; if the viscosity-weight constant is greater than zero, calculating specific refraction according to the refractive index and the density; if the viscosity-weight constant is smaller than or equal to zero, the viscosity-weight constant is calculated firstly, and then the specific refraction is calculated; calculating the percentage composition of cycloalkane carbon atoms, paraffin carbon atoms and aromatic hydrocarbon carbon atoms, and judging whether the mass fraction of the sulfur content is smaller than a threshold value or not; if the mass fraction of the sulfur content is smaller than a threshold value, a calculation result is directly output; if the mass fraction of the sulfur content is greater than a threshold value, correcting the percentage composition of cycloalkane carbon atoms, paraffin carbon atoms and aromatic hydrocarbon carbon atoms through a correction formula; finally, the calculated or corrected percentage composition of the cycloalkane carbon atoms, the paraffin carbon atoms and the aromatic hydrocarbon carbon atoms and the calculated viscosity-weight constants are displayed through a graphical interface, the test efficiency is improved, personal errors are reduced, and the professional requirement is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of petroleum-based insulating oil detection, and particularly relates to a method and device for calculating the carbon type composition of petroleum-based insulating oil and a computer device. Background Art

[0002] Lubricating oil, also known as lubricant, is widely used in mechanical equipment to reduce friction, cool working parts and seal, and plays a role in protecting equipment, preventing corrosion and rust. Therefore, lubricating oil is crucial in various mechanical equipment.

[0003] There are many types of lubricating oils, including mineral oils, synthetic oils and bio-based oils, etc. Different types of lubricating oils have different characteristics and performances. The selection of an appropriate type of lubricating oil depends on the requirements of mechanical equipment, working environment and application needs. Lubricating oil is mainly composed of base oil, and the base oil determines the basic performance and physical and chemical characteristics of the lubricating oil. In addition to acting as the main component to play a lubricating role, the base oil can also be used as a carrier for other additives to improve the performance of the lubricating oil, enhance the stability and high-temperature resistance of the lubricating oil, etc. Therefore, the chemical composition of the base oil is very critical for the evaluation of the overall performance of the lubricating oil.

[0004] Petroleum-based insulating oil, also known as mineral insulating oil, is an insulating medium refined from petroleum and widely used in electrical equipment (such as transformers). Petroleum-based insulating oil has good electrical insulation characteristics and can be used for insulating and cooling equipment, thus ensuring the safe and reliable operation of the equipment and playing a protective role. In addition to being used for insulation, petroleum-based insulating oil is also a main type of base oil. Therefore, in current lubricating oil research and determination of oil product properties, it is often necessary to pay attention to the properties of petroleum-based insulating oil.

[0005] The research on the properties of petroleum-based insulating oil is mainly to evaluate its molecular structure and composition to determine its physical, chemical and electrical characteristics. The carbon type composition of petroleum-based insulating oil is an important index, which refers to the percentage composition of aromatic hydrocarbon, naphthene and paraffin carbon atoms in its molecules. The carbon type composition of petroleum-based insulating oil directly affects its physical properties (such as density, viscosity and boiling point, etc.) and chemical properties (such as stability, antioxidant property and anti-wear property, etc.), and further can evaluate its insulation performance and lubrication performance, so as to ensure compliance with the design requirements of the product and guarantee the normal operation of mechanical equipment.

[0006] In summary, carbon type composition analysis is an important step in the quality control and quality assurance of lubricating oil base oil, which can ensure that petroleum-based insulating oil meets relevant specifications and standards.

[0007] At present, the method for calculating the carbon type composition of petroleum-based insulating oil mainly follows the "Petrochemical Industry Standard of the People's Republic of China SH / T 0725-2002", which is drafted based on the American Society for Testing and Materials standard ASTM D2140-97 "Standard Test Method for Carbon Type Composition of Petroleum-Based Insulating Oils". According to this method, first, test data such as the viscosity, density, relative density, and refractive index of the sample need to be measured. Then, the viscosity-gravity constant (VGC) and specific refractive index (ri) of the sample are calculated according to the formulas defined in the standard. Then, the corresponding carbon type proportion is found manually according to the carbon type composition lookup table provided in the standard. The specific method is as follows:

[0008] Step 1: Sampling is carried out according to the method of GB / T 4756 or GB 7597;

[0009] Step 2: Measure the viscosity of the test sample at 37.8 °C according to the method of GB / T 265;

[0010] Step 3: Measure the density of the test sample at 20 °C and the relative density at 15.6 °C according to the methods of SH / T 0604 or GB / T 2540 and the lookup tables in GB / T 1885 and the appendix;

[0011] Step 4: Measure the refractive index of the test sample at 20 °C according to the method of SH / T 0724;

[0012] Step 5: Calculate the viscosity-gravity constant VGC according to the viscosity and relative density;

[0013] Step 6: Calculate the specific refractive index ri of the test sample according to the density and refractive index;

[0014] Step 7: Find out the carbon type composition percentage according to the attached drawings of the standard;

[0015] Step 8: For test samples with a sulfur content > 0.8%, correction is carried out.

[0016] In the above method, the determination of the properties of the test sample needs to comply with strict standards and is measured manually. In this method, some of the calculations in the steps also need to be completed manually, and it is very cumbersome to look up the attached drawings and tables in the standard. Training and professional experience are required, so the overall calculation process is relatively complex, which limits the popularization and use of the determination technology.

[0017] The main reason for the above problem is that the standard was introduced relatively early. At that time, computers were not yet popular, and printing a fixed lookup table in production and daily life was more conducive to use and promotion under the conditions at that time. However, with the development of information technology and the popularization of computers, the current methods of manual calculation and chart lookup can no longer meet the current needs. Therefore, there is an urgent need for an automated and convenient calculation method to replace the manual process, so as to improve efficiency and reduce errors caused by human factors. A computer program can quickly and accurately calculate the carbon type composition based on input parameters. Although a subroutine code based on the FORTRAN language is provided in the appendix of this standard, this programming language is too outdated, and it is currently difficult to find a programming environment suitable for running this code. Moreover, this program is incomplete and does not provide a graphical interface. It is not realistic to require non-computer programming personnel to use the command line for calculation, so it cannot be directly used, resulting in the need for manual calculation and manual chart lookup in the carbon type composition at present. Summary of the Invention

[0018] For this reason, the present application provides a method, device and computer equipment for calculating the carbon type composition of petroleum-based insulating oil to solve the problems of low efficiency, human errors and high professionalism requirements in the prior art for manually calculating the carbon type composition of petroleum-based insulating oil.

[0019] In order to achieve the above object, the present application provides the following technical solutions:

[0020] In a first aspect, a method for calculating the carbon type composition of petroleum-based insulating oil, the method is used to detect the carbon type composition of petroleum-based insulating oil applied in electrical equipment, and the carbon type composition of petroleum-based insulating oil can be used to determine whether the petroleum-based insulating oil meets relevant specifications and standards; the method includes:

[0021] Step 1: Receive test parameters input by the user; the test parameters include density, refractive index, viscosity gravity constant, viscosity, relative density and mass fraction of sulfur content;

[0022] Step 2: Determine whether the viscosity gravity constant is greater than zero;

[0023] Step 3: If the viscosity gravity constant is greater than zero, calculate the specific refractive index according to the refractive index and the density;

[0024] Step 4: If the viscosity gravity constant is less than or equal to zero, calculate the viscosity gravity constant of the petroleum-based insulating oil sample according to the viscosity and the relative density, and calculate the specific refractive index according to the refractive index and the density;

[0025] Step 5: Calculate the percentage composition of cycloalkane carbon atoms, the percentage composition of paraffin carbon atoms and the percentage composition of aromatic hydrocarbon carbon atoms according to the preset parameter values;

[0026] Step 6: Determine whether the mass fraction of the sulfur content is less than the threshold value;

[0027] Step 7: If the mass fraction of the sulfur content is less than the threshold value, display the percentage composition of naphthene carbon atoms, the percentage composition of paraffin carbon atoms, the percentage composition of aromatic carbon atoms, and the calculated viscosity-gravity constant through a graphical interface;

[0028] Step 8: If the mass fraction of the sulfur content is greater than the threshold value, correct the percentage composition of naphthene carbon atoms, the percentage composition of paraffin carbon atoms, and the percentage composition of aromatic carbon atoms through a correction formula, and display the corrected percentage composition of naphthene carbon atoms, the percentage composition of paraffin carbon atoms, the percentage composition of aromatic carbon atoms, and the calculated viscosity-gravity constant through a graphical interface.

[0029] Optionally, in the said Step 3 and Step 4, when calculating the specific refractive index according to the refractive index and the density, it is specifically calculated through the first formula, and the first formula is:

[0030]

[0031] where r i is the specific refractive index, is the refractive index of the petroleum-based insulating oil sample at 20 °C, and d is the density of the petroleum-based insulating oil sample at 20 °C.

[0032] Optionally, in the said Step 4, when calculating the viscosity-gravity constant of the petroleum-based insulating oil sample according to the viscosity and the relative density, it is specifically calculated through the second formula, and the second formula is:

[0033]

[0034] where VGC is the viscosity-gravity constant, G is the relative density of the petroleum-based insulating oil sample at 15.6 °C, and V is the viscosity of the petroleum-based insulating oil sample at 37.8 °C.

[0035] Optionally, before calculating the viscosity-gravity constant of the petroleum-based insulating oil sample according to the viscosity and the relative density in the said Step 4, it further includes: determining whether V100F <= 4 or SG60 <= 0 is satisfied. If it is satisfied, an error is reported; if not, the viscosity-gravity constant of the petroleum-based insulating oil sample is calculated according to the viscosity and the relative density.

[0036] Optionally, in the said Step 6, the threshold value is 0.8%.

[0037] Optionally, in the said Step 8, the correction formula is:

[0038] C N = C N - S / 0.288

[0039] C P = C P + S / 0.216

[0040] C A = 100 - (Corrected C N + Corrected C P )

[0041] Wherein, C N is the percentage composition of cycloalkane carbon atoms, C P is the percentage composition of paraffin carbon atoms, C A is the percentage composition of aromatic carbon atoms, and S is the mass fraction of sulfur content.

[0042] In a second aspect, a device for calculating the carbon type composition of a petroleum-based insulating oil, the device is used to detect the carbon type composition of the petroleum-based insulating oil applied in electrical equipment, and the carbon type composition of the petroleum-based insulating oil can be used to determine whether the petroleum-based insulating oil meets the relevant specifications and standards; the device includes:

[0043] A test data receiving module, configured to receive test parameters input by a user; the test parameters include density, refractive index, viscosity gravity constant, viscosity, relative density, and the mass fraction of sulfur content;

[0044] A viscosity gravity constant judgment module, configured to judge whether the viscosity gravity constant is greater than zero;

[0045] A specific refractive index calculation module, configured to calculate the specific refractive index according to the refractive index and the density if the viscosity gravity constant is greater than zero;

[0046] A viscosity gravity constant calculation module, configured to calculate the viscosity gravity constant of the petroleum-based insulating oil sample according to the viscosity and the relative density if the viscosity gravity constant is less than or equal to zero, and calculate the specific refractive index according to the refractive index and the density;

[0047] A carbon type composition calculation module, configured to calculate the percentage composition of cycloalkane carbon atoms, the percentage composition of paraffin carbon atoms, and the percentage composition of aromatic carbon atoms according to preset parameter values;

[0048] A sulfur content mass fraction judgment module, configured to judge whether the mass fraction of the sulfur content is less than a threshold value. If the mass fraction of the sulfur content is less than the threshold value, the calculation result is directly output. If the mass fraction of the sulfur content is greater than the threshold value, correction is performed;

[0049] A correction module, configured to correct the percentage composition of cycloalkane carbon atoms, the percentage composition of paraffin carbon atoms, and the percentage composition of aromatic carbon atoms through a correction formula if the mass fraction of the sulfur content is greater than the threshold value;

[0050] The graphical interface display module is used to display the calculated or corrected percentage composition of cycloalkane carbon atoms, percentage composition of paraffin carbon atoms, percentage composition of aromatic hydrocarbon carbon atoms, and the calculated viscosity-gravity constant through the graphical interface.

[0051] In a third aspect, a computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of a calculation method for the carbon type composition of petroleum-based insulating oil are implemented.

[0052] In a fourth aspect, a computer-readable storage medium stores a computer program thereon. When the computer program is executed by a processor, the steps of a calculation method for the carbon type composition of petroleum-based insulating oil are implemented.

[0053] In a fifth aspect, a computer program product includes a computer program / instructions. When the computer program / instructions are executed by a processor, the steps of a calculation method for the carbon type composition of petroleum-based insulating oil are implemented.

[0054] Compared with the prior art, the present application has at least the following beneficial effects:

[0055] The present application provides a calculation method, device and computer device for the carbon type composition of petroleum-based insulating oil. By receiving test parameters including mass fractions of density, refractive index, viscosity-gravity constant, viscosity, relative density and sulfur content input by the user; judging whether the viscosity-gravity constant is greater than zero; if the viscosity-gravity constant is greater than zero, calculating the specific refractive index according to the refractive index and density; if the viscosity-gravity constant is less than or equal to zero, calculating the viscosity-gravity constant of the petroleum-based insulating oil sample according to the viscosity and relative density, and then calculating the specific refractive index; calculating the percentage composition of cycloalkane carbon atoms, paraffin carbon atoms and aromatic hydrocarbon carbon atoms, and judging whether the mass fraction of sulfur content is less than a threshold value; if the mass fraction of sulfur content is less than the threshold value, directly outputting the calculation result; if the mass fraction of sulfur content is greater than the threshold value, correcting the percentage composition of cycloalkane carbon atoms, paraffin carbon atoms and aromatic hydrocarbon carbon atoms through a correction formula; finally, displaying the calculated or corrected percentage composition of cycloalkane carbon atoms, paraffin carbon atoms, aromatic hydrocarbon carbon atoms and the calculated viscosity-gravity constant through the graphical interface. The present application transforms the manual calculation and complex chart lookup process required in the detection process of petroleum-based insulating oil samples into a computer program, simplifies the overall process of determining the carbon type composition of petroleum-based insulating oil, improves the test efficiency, reduces human errors, and has low professional requirements. Description of the Drawings

[0056] To more intuitively illustrate the prior art and the present application, exemplary drawings are given below. It should be understood that the specific shapes and structures shown in the drawings generally should not be regarded as limiting conditions when implementing the present application; for example, those skilled in the art are capable of making routine adjustments or further optimizations to the addition / removal / attribution division of certain units (components), specific shapes, positional relationships, connection methods, dimensional proportional relationships, etc. based on the technical concepts disclosed in the present application and the exemplary drawings.

[0057] Figure 1 This is the basic flowchart of a calculation method for the carbon type composition of a petroleum-based insulating oil provided in the first embodiment of the present application.

[0058] Figure 2 This is the judgment flowchart of a calculation method for the carbon type composition of a petroleum-based insulating oil provided in the first embodiment of the present application.

[0059] Figure 3 This is the schematic diagram of the input interface of a calculation method for the carbon type composition of a petroleum-based insulating oil provided in the first embodiment of the present application.

[0060] Figure 4 This is the schematic diagram of the calculation result output interface of a calculation method for the carbon type composition of a petroleum-based insulating oil provided in the first embodiment of the present application. Detailed implementation manners

[0061] The following further details the present application through specific embodiments in conjunction with the drawings.

[0062] In the description of the present application: Unless otherwise specified, "a plurality of" means two or more. The terms "first", "second", "third", etc. in the present application are intended to distinguish the objects being referred to, and do not have special significance in terms of technical connotations (for example, it should not be understood as emphasizing the importance level or order, etc.). Expressions such as "including", "comprising", "having", etc. also mean "not limited to" (certain units, components, materials, steps, etc.).

[0063] The terms such as "upper", "lower", "left", "right", "middle", etc. cited in the present application are usually indications of the general relative positional relationship for the convenience of intuitively understanding with reference to the drawings, and are not absolute limitations on the positional relationship in the actual product.

[0064] Embodiment 1

[0065] Please refer to Figure 1 and Figure 2 , this embodiment provides a calculation method for the carbon type composition of a petroleum-based insulating oil, which is used to detect the carbon type composition of the petroleum-based insulating oil applied in electrical equipment, and the carbon type composition of the petroleum-based insulating oil can be used to determine whether the petroleum-based insulating oil meets the relevant specifications and standards.

[0066] The method provided in this embodiment refers to the subroutine code given in the reference standard, is implemented based on the MATLAB platform, and a corresponding graphical interface is developed. This method includes:

[0067] S1: Receive the test parameters input by the user; the test parameters include the density, refractive index, viscosity gravity constant, viscosity, relative density, and mass fraction of sulfur content.

[0068] Specifically, the density and refractive index are the density and refractive index of the petroleum-based insulating oil sample at 20 °C, the viscosity is the viscosity of the petroleum-based insulating oil sample at 37.8 °C, and the relative density is the relative density of the petroleum-based insulating oil sample at 15.6 °C.

[0069] S2: Determine whether the viscosity gravity constant is greater than zero.

[0070] S3: If the viscosity gravity constant is greater than zero, calculate the specific refractive index according to the refractive index and density.

[0071] Specifically, if the viscosity gravity constant VGC is greater than zero, it means that the user has input the pre-calculated viscosity gravity constant VGC, and then the following calculation process can be directly entered, that is, calculate the specific refractive index according to the refractive index and density. The specific calculation formula is:

[0072]

[0073] In formula (1):

[0074] r i is the specific refractive index, is the refractive index of the petroleum-based insulating oil sample at 20 °C, and d is the density of the petroleum-based insulating oil sample at 20 °C.

[0075] S4: If the viscosity gravity constant is less than or equal to zero, calculate the viscosity gravity constant of the petroleum-based insulating oil sample according to the viscosity and relative density, and calculate the specific refractive index according to the refractive index and density.

[0076] Specifically, if VGC is equal to 0, it means that the program needs to calculate the viscosity gravity constant VGC. Before calculating the viscosity gravity constant VGC, the program needs to determine whether the calculation conditions of the viscosity gravity constant VGC are met, that is, determine whether V100F <= 4 or SG60 <= 0 is satisfied. If this condition is met, the program will report an error to prompt the user; if not, calculate the viscosity gravity constant of the petroleum-based insulating oil sample according to the viscosity and relative density. The calculation formula is:

[0077]

[0078] In formula (2):

[0079] The VGC is the viscosity-gravity constant, G is the relative density of the petroleum-based insulating oil sample at 15.6 °C, and V is the viscosity of the petroleum-based insulating oil sample at 37.8 °C.

[0080] S5: Calculate the percentage composition of cycloalkane carbon atoms, the percentage composition of alkane carbon atoms, and the percentage composition of aromatic hydrocarbon carbon atoms according to the preset parameter values;

[0081] Specifically, the preset parameter values and calculation process refer to the FORTRAN program provided in the standard. This part of the algorithm simplifies the complex process of looking up charts into a calculation process based on the corresponding principles. First, calculate the cycloalkane carbon atoms C N and alkane carbon atoms C P percentage composition, and then subtract the two from 100 to get the aromatic hydrocarbon carbon atoms C A percentage composition.

[0082] S6: Determine whether the mass fraction of sulfur content is less than the threshold value;

[0083] Specifically, the threshold value is 0.8%.

[0084] S7: If the mass fraction of sulfur content is less than the threshold value, display the percentage composition of cycloalkane carbon atoms, the percentage composition of alkane carbon atoms, the percentage composition of aromatic hydrocarbon carbon atoms, and the calculated viscosity-gravity constant through the graphical interface;

[0085] Specifically, when the sulfur content is less than 0.8%, no correction is required according to the standard, and the sulfur content can be filled with 0 or the actual value.

[0086] S8: If the mass fraction of sulfur content is greater than the threshold value, correct the percentage composition of cycloalkane carbon atoms, the percentage composition of alkane carbon atoms, and the percentage composition of aromatic hydrocarbon carbon atoms through the correction formula, and display the corrected percentage composition of cycloalkane carbon atoms, the percentage composition of alkane carbon atoms, the percentage composition of aromatic hydrocarbon carbon atoms, and the calculated viscosity-gravity constant through the graphical interface.

[0087] Specifically, if the mass fraction of sulfur content >= 0.8%, correction is required, and the program will correct the final carbon type composition according to the actual value and the correction formula. The specific correction formula is:

[0088] The corrected C N = C N - S / 0.288 (3)

[0089] The corrected C P = C P + S / 0.216 (4)

[0090] The corrected C A = 100 - (the corrected CN +Corrected C P ) (5)

[0091] where C N is the percentage composition of cycloalkane carbon atoms, C P is the percentage composition of paraffin carbon atoms, C A is the percentage composition of aromatic carbon atoms, and S is the mass fraction of sulfur content.

[0092] It should be noted that the carbon type composition calculation method for petroleum-based insulating oils provided in this embodiment is applicable to the analysis of the carbon type composition of samples with an average molecular weight of 200 - 600, an aromatic carbon atom number between 0 - 50, and a viscosity at 37.8°C > 4; in this embodiment, the user can manually calculate VGC or it can be automatically calculated by a program. When automatic calculation is required, VGC can be input as 0.

[0093] Please refer to Figure 3 and Figure 4 . After the program starts, it first prompts the user for precautions, including the applicable calculation range mentioned above, whether correction is required according to the sulfur content, and the choice of manual calculation or automatic calculation of VGC. Before use, the user needs to input the following measured parameters, pass these parameters into the carbon type composition calculation algorithm, and then the algorithm returns the carbon type composition and the viscosity-gravity constant VGC (if automatic calculation of VGC is required).

[0094] Input parameters:

[0095]

[0096]

[0097] Return results

[0098]

[0099] The carbon type composition calculation method for petroleum-based insulating oils provided in this embodiment significantly reduces the requirements for testers in the determination method of petroleum-based insulating oils. Previous methods required relevant personnel to be able to proficiently search for corresponding charts. Although some subroutine codes were provided in the standard, it required users to understand basic programming methods and the long-established programming language FORTRAN, which had no practical application value. In this embodiment, the overall calculation process in the standard is transformed into a fixed program, and it has a simple graphical operation interface. The user does not need to master complex chart-searching methods and computer programming knowledge. Only by inputting the relevant property parameters measured according to the standard in the corresponding input box can the percentage composition of the carbon type composition be automatically calculated.

[0100] The whole method is very simple and fast, which can improve the efficiency of carbon type determination of petroleum-based insulating oil, and also helps to reduce the human errors generated in the previous complex determination process, eliminating the manual calculation and the complicated process of looking up charts, thereby improving the calculation efficiency, reducing the personnel training cost, and reducing the errors caused by human factors. Finally, a graphical interface is developed for this method, which is very user-friendly.

[0101] Example Two

[0102] This example provides a device for calculating the carbon type composition of petroleum-based insulating oil. The device is used to detect the carbon type composition of petroleum-based insulating oil applied in electrical equipment, and the carbon type composition of petroleum-based insulating oil can be used to determine whether the petroleum-based insulating oil meets the relevant specifications and standards. The device includes:

[0103] A test data receiving module for receiving the test parameters input by the user. The test parameters include density, refractive index, viscosity gravity constant, viscosity, relative density, and mass fraction of sulfur content.

[0104] A viscosity gravity constant judgment module for judging whether the viscosity gravity constant is greater than zero.

[0105] A specific refractive index calculation module for calculating the specific refractive index according to the refractive index and the density if the viscosity gravity constant is greater than zero.

[0106] A viscosity gravity constant calculation module for calculating the viscosity gravity constant of the petroleum-based insulating oil sample according to the viscosity and the relative density and calculating the specific refractive index according to the refractive index and the density if the viscosity gravity constant is less than or equal to zero.

[0107] A carbon type composition calculation module for calculating the percentage composition of naphthene carbon atoms, the percentage composition of paraffin carbon atoms, and the percentage composition of aromatic carbon atoms according to the preset parameter values.

[0108] A sulfur content mass fraction judgment module for judging whether the mass fraction of sulfur content is less than the threshold value. If the mass fraction of sulfur content is less than the threshold value, the calculation result is directly output. If the mass fraction of sulfur content is greater than the threshold value, correction is performed.

[0109] A correction module for correcting the percentage composition of naphthene carbon atoms, the percentage composition of paraffin carbon atoms, and the percentage composition of aromatic carbon atoms through a correction formula if the mass fraction of sulfur content is greater than the threshold value.

[0110] A graphical interface display module for displaying the percentage composition of naphthene carbon atoms, the percentage composition of paraffin carbon atoms, the percentage composition of aromatic carbon atoms after calculation or correction, and the calculated viscosity gravity constant through the graphical interface.

[0111] For the specific implementation content of each module in a device for calculating the carbon type composition of petroleum-based insulating oil, reference can be made to the limitations on the method for calculating the carbon type composition of petroleum-based insulating oil in the above text, which will not be elaborated here.

[0112] Embodiment III

[0113] This embodiment provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of a method for calculating the carbon type composition of petroleum-based insulating oil are implemented.

[0114] Embodiment IV

[0115] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of a method for calculating the carbon type composition of petroleum-based insulating oil are implemented.

[0116] Embodiment V

[0117] This embodiment provides a computer program product, including a computer program / instructions. When the computer program / instructions are executed by a processor, the steps of a method for calculating the carbon type composition of petroleum-based insulating oil are implemented.

[0118] The technical features of the above embodiments can be combined arbitrarily (as long as there is no contradiction in the combination of these technical features). For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described; these embodiments that are not explicitly written should also be considered to be within the scope described in this specification.

Claims

1. A calculation method for the carbon type composition of petroleum-based insulating oil, characterized in that, The method is used to detect the carbon type composition of petroleum-based insulating oil applied in electrical equipment, and the carbon type composition of petroleum-based insulating oil can be used to judge whether the petroleum-based insulating oil meets relevant specifications and standards; the method includes: Step 1: Receive the test parameters input by the user; the test parameters include density, refractive index, viscosity-gravity constant, viscosity, relative density, and mass fraction of sulfur content; Step 2: Judge whether the viscosity-gravity constant is greater than zero; Step 3: If the viscosity-gravity constant is greater than zero, calculate the specific refractive index according to the refractive index and the density; Step 4: If the viscosity-gravity constant is less than or equal to zero, calculate the viscosity-gravity constant of the petroleum-based insulating oil sample according to the viscosity and the relative density, and calculate the specific refractive index according to the refractive index and the density; Step 5: Calculate the percentage composition of cycloalkane carbon atoms, the percentage composition of paraffin carbon atoms, and the percentage composition of aromatic hydrocarbon carbon atoms according to the preset parameter values; Step 6: Judge whether the mass fraction of the sulfur content is less than the threshold value; Step 7: If the mass fraction of the sulfur content is less than the threshold value, display the percentage composition of cycloalkane carbon atoms, the percentage composition of paraffin carbon atoms, the percentage composition of aromatic hydrocarbon carbon atoms, and the calculated viscosity-gravity constant through a graphical interface; Step 8: If the mass fraction of the sulfur content is greater than the threshold value, correct the percentage composition of cycloalkane carbon atoms, the percentage composition of paraffin carbon atoms, and the percentage composition of aromatic hydrocarbon carbon atoms through a correction formula, and display the corrected percentage composition of cycloalkane carbon atoms, the percentage composition of paraffin carbon atoms, the percentage composition of aromatic hydrocarbon carbon atoms, and the calculated viscosity-gravity constant through a graphical interface.

2. The calculation method of the carbon type composition of the petroleum-based insulating oil according to claim 1, characterized in that, In Step 3 and Step 4, when calculating the specific refractive index according to the refractive index and the density, it is specifically calculated through the first formula, and the first formula is: where r i is the specific refractive index, is the refractive index of the petroleum-based insulating oil sample at 20 °C, and d is the density of the petroleum-based insulating oil sample at 20 °C.

3. The calculation method of the carbon type composition of the petroleum-based insulating oil according to claim 1, characterized in that In Step 4, when calculating the viscosity-gravity constant of the petroleum-based insulating oil sample according to the viscosity and the relative density, it is specifically calculated through the second formula, and the second formula is: Wherein, VGC is the viscosity-gravity constant, G is the relative density of the petroleum-based insulating oil sample at 15.6 °C, and V is the viscosity of the petroleum-based insulating oil sample at 37.8 °C.

4. The calculation method of the carbon type composition of the petroleum-based insulating oil according to claim 1, characterized in that Before calculating the viscosity-gravity constant of the petroleum-based insulating oil sample according to the viscosity and the relative density in Step 4, it also includes: judging whether V100F <= 4 or SG60 <= 0 is satisfied. If it is satisfied, an error is reported; if it is not satisfied, the viscosity-gravity constant of the petroleum-based insulating oil sample is calculated according to the viscosity and the relative density.

5. The calculation method of the carbon type composition of the petroleum-based insulating oil according to claim 1, characterized in that, In Step 6, the threshold value is 0.8%.

6. The calculation method of the carbon type composition of the petroleum-based insulating oil according to claim 1, characterized in that, In Step 8, the correction formula is: C N = C N - S / 0.288 C P = C P + S / 0.216 C A = 100 - (Corrected C N + Corrected C P ) Among them, C N is the percentage composition of cycloalkane carbon atoms, C P is the percentage composition of paraffin carbon atoms, C A is the percentage composition of aromatic carbon atoms, and S is the mass fraction of sulfur content.

7. An apparatus for calculating the carbon type composition of a petroleum-based insulating oil, characterized in that, The device is used to detect the carbon type composition of petroleum-based insulating oil applied in electrical equipment, and the carbon type composition of petroleum-based insulating oil can be used to judge whether the petroleum-based insulating oil meets relevant specifications and standards; the device includes: A test data receiving module for receiving the test parameters input by the user; the test parameters include density, refractive index, viscosity-gravity constant, viscosity, relative density, and mass fraction of sulfur content; A viscosity-gravity constant judgment module for judging whether the viscosity-gravity constant is greater than zero; A specific refractive index calculation module, configured to calculate the specific refractive index based on the refractive index and the density if the viscosity gravity constant is greater than zero; A viscosity gravity constant calculation module, configured to calculate the viscosity gravity constant of the petroleum-based insulating oil sample based on the viscosity and the relative density and calculate the specific refractive index based on the refractive index and the density if the viscosity gravity constant is less than or equal to zero; A carbon type composition calculation module, configured to calculate the percentage composition of naphthenic carbon atoms, the percentage composition of paraffinic carbon atoms, and the percentage composition of aromatic carbon atoms according to preset parameter values; A sulfur content mass fraction judgment module, configured to judge whether the mass fraction of the sulfur content is less than a threshold value. If the mass fraction of the sulfur content is less than the threshold value, the calculation result is directly output. If the mass fraction of the sulfur content is greater than the threshold value, correction is performed; A correction module, configured to correct the percentage composition of naphthenic carbon atoms, the percentage composition of paraffinic carbon atoms, and the percentage composition of aromatic carbon atoms through a correction formula if the mass fraction of the sulfur content is greater than the threshold value; A graphical interface display module, configured to display the calculated or corrected percentage composition of naphthenic carbon atoms, the percentage composition of paraffinic carbon atoms, the percentage composition of aromatic carbon atoms, and the calculated viscosity gravity constant through a graphical interface.

8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method described in any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method described in any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, the steps of the method described in any one of claims 1 to 6 are implemented.