Phase change energy storage wellhead heating control method and device, electronic equipment and storage medium
By obtaining and predicting the on-site parameters of the phase change energy storage wellhead and generating control parameters to adjust the circulation pump and electric heating equipment, the problems of temperature control complexity and thermal energy loss of phase change energy storage and electric heating systems in the prior art are solved, and the problem of temperature control of phase change energy storage and electric heating systems is realized. Accurate temperature control of wellhead heating system.
Patent Information
- Application Number
- CN202310640102.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-01
- Publication Date
- 2024-12-03
AI Technical Summary
The prior art is difficult to effectively control the temperature in a wellhead heating system that combines phase change energy storage with electrical heating, resulting in thermal energy loss and control complexity.
By obtaining the on-site parameters of the phase change energy storage wellhead, the optimal crude oil outlet temperature is predicted using a pre-trained prediction model, and a control parameter is generated to adjust the output heat of the circulation pump and the electric heating equipment, so that the water body in the water jacket furnace can be stabilized at the highest level. Excellent crude oil outlet temperature.
It realizes precise temperature control of the wellhead heating system combining phase change energy storage and electrical heating to prevent thermal energy loss. It is suitable for the wellhead heating system combining phase change energy storage and electrical heating.
Smart Images

Figure CN119062283A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of equipment control, and in particular to a phase change energy storage wellhead heating control method, device, electronic equipment and storage medium. Background Art
[0002] Under the background of the country advocating the "dual carbon goals", the heating method of oilfield wellheads is undergoing tremendous changes. The direct electric heating furnace method has the potential to catch up. The phase change energy storage technology has a large energy storage density and a fairly stable output temperature, which makes it applicable to the use of electric thermal energy storage, power peak shaving and valley filling, industrial waste heat utilization and energy consumption reduction. At present, the country is promoting the "peak-flat-valley" electricity price policy to adjust the economic lever and reduce the industrial electricity load. The use of low-cost valley electricity heat storage and its use during flat and peak electricity has important practical significance and positive impact on reducing the cost of oilfield production. However, because temperature control belongs to a large lag link and the control is relatively complex, most solutions currently tend to use a single heating equipment for temperature control, which is not suitable for temperature control of the wellhead heating system combining phase change heat storage materials with electric heating. Summary of the invention
[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a phase change energy storage wellhead heating control method, device, electronic device and storage medium.
[0004] According to one aspect of an embodiment of the present application, a phase change energy storage wellhead heating control method is provided, the method is applied to a measuring device, the measuring device is connected to a heating system, the heating system includes: a circulating pump, an electric heating device, a phase change energy storage device and a water jacket furnace, the method includes: Obtaining current field parameters of a phase change energy storage wellhead in a phase change energy storage device; Inputting the field parameters into a pre-trained prediction model so that the prediction model predicts the corresponding optimal crude oil outlet temperature based on the field parameters; A control parameter is generated based on the optimal crude oil outlet temperature, and the control parameter is used to control a circulation pump and / or an electric heating device, wherein the control parameter is used to adjust the output heat of the circulation pump and / or the electric heating device so that the water body in the water jacket furnace is stabilized at the optimal crude oil outlet temperature.
[0005] Furthermore, the step of obtaining the current field parameters of the phase change energy storage wellhead to be controlled includes: Detecting the current phase change material temperature of the phase change energy storage device, the current water jacket furnace parameters of the water jacket furnace, and the current pipeline parameters of the crude oil transportation pipeline; The phase change material temperature, water jacket furnace parameters and pipeline parameters are determined as the field parameters.
[0006] Furthermore, the step of inputting the field parameters into a pre-trained prediction model so that the prediction model predicts the corresponding optimal crude oil outlet temperature based on the field parameters includes: Inputting the field parameters into the prediction model so that the prediction model predicts the corresponding initial crude oil outlet temperature based on the field parameters; In the case that the initial crude oil outlet temperature does not meet the required temperature, a cyclic prediction is performed based on the field parameters until an optimal crude oil outlet temperature is obtained.
[0007] Furthermore, when the initial crude oil outlet temperature does not meet the required temperature, performing cyclic prediction based on the field parameters until the optimal crude oil outlet temperature is obtained includes: In the case where the initial crude oil outlet temperature is lower than the required temperature, the prediction model is used to search for the optimum based on the field parameters according to the preset optimization accuracy until the difference between the crude oil outlet temperature and the required temperature is within a preset range, thereby obtaining the optimum crude oil outlet temperature; When the initial crude oil outlet temperature is greater than the required temperature, the prediction model is used to optimize downward based on the field parameters according to the preset optimization accuracy until the difference between the crude oil outlet temperature and the required temperature is within a preset range, thereby obtaining the optimal crude oil outlet temperature.
[0008] Furthermore, the method further comprises: Acquire training samples, wherein the training samples include: field parameter samples and optimal crude oil outlet temperature samples; Initializing a preset neural network model, wherein the preset neural network model includes: an input layer, a first hidden layer, a second hidden layer and an output layer; Inputting the training sample into the input layer of the initial neural network model, and transferring the training sample to the first hidden layer through the input layer; Extracting key features corresponding to the field parameter samples through the first hidden layer, and transferring the key features to the second hidden layer; Outputting a prediction result based on the key features and weights through the second hidden layer, and transmitting the prediction result to the output layer; In the case that the prediction result does not match the optimal crude oil outlet temperature sample, the weight is updated until the prediction result matches the optimal crude oil outlet temperature sample to obtain the prediction model.
[0009] Further, the generating of control parameters based on the optimal crude oil outlet temperature and using the control parameters to control a circulation pump and / or an electric heating device includes: Obtaining a current target operation mode of the heating system; Generating control parameters corresponding to the target operation mode using the optimal crude oil outlet temperature; In the target operation mode, the circulation pump and / or the electric heating device are controlled using the control parameters.
[0010] Furthermore, the target operation mode includes: electric heating mode, phase change heating mode, phase change and electric heating combined operation mode and electric heat storage mode.
[0011] According to another aspect of the embodiment of the present application, a phase change energy storage wellhead heating control device is also provided, comprising: An acquisition module, used to acquire current field parameters of a phase change energy storage wellhead in a phase change energy storage device; A prediction module, used for inputting the field parameters into a pre-trained prediction model, so that the prediction model predicts the corresponding optimal crude oil outlet temperature based on the field parameters; A processing module is used to generate control parameters based on the optimal crude oil outlet temperature, and use the control parameters to control a circulation pump and / or an electric heating device, wherein the control parameters are used to adjust the output heat of the circulation pump and / or the electric heating device so that the water in the water jacket furnace is stabilized at the optimal crude oil outlet temperature.
[0012] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.
[0013] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the program stored in the memory.
[0014] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps in the above method.
[0015] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application collects the field parameters of the phase change energy storage wellhead, and uses the field parameters to predict the current optimal crude oil outlet temperature, and finally uses the optimal crude oil outlet temperature to accurately control the electric heating equipment or circulating pump, so that the water in the water jacket furnace is stabilized at the optimal crude oil outlet temperature, preventing heat energy loss. This method is more suitable for temperature control of a wellhead heating system that combines phase change energy storage with electric heating. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0018] Figure 1 A flow chart of a phase change energy storage wellhead heating control method provided in an embodiment of the present application; Figure 2 A schematic diagram of a phase change energy storage wellhead heating control method provided in an embodiment of the present application; Figure 3 A schematic diagram of a prediction model provided in an embodiment of the present application; Figure 4 A schematic diagram of the training results of the prediction model provided in the embodiment of the present application; Figure 5 A schematic diagram of the training results of the prediction model provided in the embodiment of the present application; Figure 6 A block diagram of a phase change energy storage wellhead heating control device provided in an embodiment of the present application; Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0020] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another similar entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0021] The embodiments of the present application provide a phase change energy storage wellhead heating control method, device, electronic device and storage medium. The method provided by the embodiments of the present invention can be applied to any required electronic device, for example, it can be a server, terminal and other electronic devices, which are not specifically limited here. For the convenience of description, it is referred to as electronic device in the following.
[0022] According to one aspect of the embodiments of the present application, a method embodiment of a phase change energy storage wellhead heating control method is provided. Figure 1 A flow chart of a phase change energy storage wellhead heating control method provided in an embodiment of the present application, such as Figure 1 As shown, the method includes: Step S11, obtaining the current field parameters of the phase change energy storage wellhead in the phase change energy storage device.
[0023] The method provided in the embodiment of the present application is applied to the measuring equipment in the phase-variable energy storage wellhead heating simulation system, such as Figure 2 As shown, the system includes: a heating system combining phase change energy storage and electric heating, a heat load and a measurement control system; the heating system includes a phase change energy storage device and a water jacket furnace device connected by a circulating pump, multiple pipes and several valves, and the two devices are controlled by the circulating pump to operate independently or together. The heat load can match the actual wellhead crude oil that needs to be heated; the measuring equipment can control the operating power of the electric heating equipment and collect field parameters, such as: the temperature, liquid level or flow of the phase change material, water jacket furnace, and crude oil transportation pipeline. Then the field parameters are used to predict the optimal crude oil outlet temperature.
[0024] It should be noted that the embodiment of the present application uses a phase change energy storage device as one of the heat sources, which is heated by an electric heating device during valley power periods and released during peak power periods. At the same time, the system changes the direct electric heating to water as the circulating medium, which is stored in a water jacket furnace and heats the crude oil pipeline through a heat exchanger. Based on this, it is necessary to detect the temperature at various locations in the heating system, the crude oil inlet flow rate and temperature, etc. as field parameters.
[0025] Specifically, the current field parameters of the phase change energy storage wellhead to be controlled are obtained, including: calling sensors and other detection equipment to detect the current phase change material temperature of the phase change energy storage device, the current water jacket furnace parameters of the water jacket furnace, and the current pipeline parameters of the crude oil transportation pipeline; the phase change material temperature, water jacket furnace parameters and pipeline parameters are determined as field parameters. Among them, the water jacket furnace parameters include: water jacket furnace temperature, water jacket furnace liquid level and water jacket furnace flow. The pipeline parameters include: pipeline temperature, pipeline liquid level and pipeline flow.
[0026] Step S12, inputting the field parameters into the pre-trained prediction model, so that the prediction model predicts the corresponding optimal crude oil outlet temperature based on the field parameters.
[0027] In the embodiment of the present application, the field parameters are input into a pre-trained prediction model so that the prediction model predicts the corresponding optimal crude oil outlet temperature based on the field parameters, including the following steps A1-A2: Step A1, inputting the field parameters into the prediction model, so that the prediction model predicts the corresponding initial crude oil outlet temperature based on the field parameters.
[0028] In the embodiment of the present application, the structure of the prediction model is as follows: Figure 3 As shown, the prediction model includes: an input layer, a first hidden layer, a second hidden layer and an output layer. Specifically, the parameters of the input layer of the input prediction model include: phase change material temperature, water jacket furnace temperature, water jacket furnace liquid level, water jacket furnace flow, pipeline temperature, pipeline liquid level and pipeline flow, etc. The input layer transfers the above parameters to the first hidden layer. In the first hidden layer, the key features of the above parameters are extracted. The key features are the features associated with the crude oil outlet temperature, and the key features are input into the second hidden layer. The neurons in the second hidden layer predict an initial crude oil outlet temperature based on the key features and the corresponding weights set, and the output layer outputs it.
[0029] Step A2: When the initial crude oil outlet temperature does not meet the required temperature, a cyclic prediction is performed based on the field parameters until the optimal crude oil outlet temperature is obtained.
[0030] In the embodiment of the present application, when the initial crude oil outlet temperature does not meet the required temperature, a cyclic prediction is performed based on the field parameters until the optimal crude oil outlet temperature is obtained, including the following two situations: (1) When the initial crude oil outlet temperature is lower than the required temperature, the prediction model is used to optimize upward according to the preset optimization accuracy based on the field parameters until the difference between the crude oil outlet temperature and the required temperature is within the preset range, thus obtaining the optimal crude oil outlet temperature.
[0031] In the embodiment of the present application, if the predicted initial crude oil outlet temperature value is less than the required temperature, the water jacket furnace temperature will be used to search upward for optimization with an optimization accuracy of 0.2°C, and will be continuously brought into the prediction model until the difference between the crude oil outlet temperature value and the required temperature is within a preset range, and the water jacket furnace temperature at this time is set as the optimal crude oil outlet temperature.
[0032] (2) When the initial crude oil outlet temperature is greater than the required temperature, the prediction model is used to optimize downward based on the field parameters according to the preset optimization accuracy until the difference between the crude oil outlet temperature and the required temperature is within the preset range, thereby obtaining the optimal crude oil outlet temperature.
[0033] In the embodiment of the present application, if the predicted initial crude oil outlet temperature value is greater than the required temperature, the water jacket furnace temperature is used to search downward for optimization with an optimization accuracy of 0.2°C, and is continuously introduced into the neural network prediction model until the difference between the crude oil outlet temperature value and the required temperature is within a reasonable range, and the water jacket furnace temperature at this time is set as the optimal crude oil outlet temperature.
[0034] It should be noted that, according to the temperature of each position of the energy storage wellhead heating system, the crude oil inlet flow and temperature, etc., the relevant values of the neural network learning are set, and the initial crude oil outlet temperature is calculated. The initial crude oil outlet temperature is compared with the required temperature, and the temperature of the water jacket furnace is optimized up and down, and predictions are made continuously until the predicted crude oil outlet temperature meets the requirements. At this time, the water jacket furnace temperature is set as the optimal crude oil outlet temperature. In this way, it is convenient to control the electric heating equipment or circulating pump in the future, adjust the output heat, so that the water body in the water jacket furnace is stable at the optimal crude oil outlet temperature, and the crude oil flows in the water body through the heat exchange pipe and absorbs heat, so that the crude oil is above the standard minimum temperature of 50°C for oil transportation, and the upward floating does not exceed 1°C to prevent heat energy loss.
[0035] Step S13, generating control parameters based on the optimal crude oil outlet temperature, and using the control parameters to control the circulation pump and / or the electric heating equipment, wherein the control parameters are used to adjust the output heat of the circulation pump and / or the electric heating equipment so that the water in the water jacket furnace is stabilized at the optimal crude oil outlet temperature.
[0036] In the embodiment of the present application, a control parameter is generated based on the optimal crude oil outlet temperature, and a circulating pump and / or an electric heating device are controlled using the control parameter, including the following steps B1-B3: Step B1, obtaining the current target operation mode of the heating system.
[0037] In the embodiment of the present application, the target operation mode includes: electric heating mode, phase change heating mode, phase change and electric heating operation mode and electric heat storage mode. Different operation modes have different corresponding control methods and control parameters.
[0038] Step B2, using the optimal crude oil outlet temperature to generate control parameters corresponding to the target operation mode.
[0039] Step B3: in the target operation mode, the circulation pump and / or the electric heating device are controlled by using the control parameters.
[0040] In the embodiment of the present application, when the current operating mode of the heating system is the phase change heating mode, the control parameters are used to generate corresponding control instructions, heat is brought to the water jacket furnace through the circulation pump, and the crude oil pipeline is heated through the heat exchanger.
[0041] In the embodiment of the present application, when the current operating mode of the heating system is the phase change and electric heating joint operating mode, at this time, the residual heat of the phase change energy storage device cannot complete the heating of the crude oil, and the control parameters can be used to generate corresponding control instructions and send them to the electric heating equipment. The electric heating equipment heats the water in the water jacket furnace and heats the crude oil pipeline through the heat exchanger.
[0042] In the embodiment of the present application, the current operating mode of the heating system is the electric heating mode. At this time, the power grid is in a valley electricity period. The corresponding control instructions are generated using the control parameters and sent to the electric heating equipment. The electric heating equipment responds to the control instructions to heat the water in the water jacket furnace, and at the same time controls the heat exchanger to heat the crude oil pipeline.
[0043] In the embodiment of the present application, the current operating mode of the heating system is the electric heat storage mode. At this time, the power grid is in a valley electricity period. The corresponding control instructions are generated using the control parameters and sent to the circulating pump and the electric heating equipment in the phase change energy storage device. The electric heating equipment responds to the control instructions, heats the phase change heat storage material, and stores heat.
[0044] The method provided in the embodiment of the present application collects the field parameters of the phase change energy storage wellhead, and uses the field parameters to predict the current optimal crude oil outlet temperature, and finally uses the optimal crude oil outlet temperature to accurately control the electric heating equipment or circulating pump, so that the water in the water jacket furnace is stabilized at the optimal crude oil outlet temperature to prevent heat energy loss. This method is more suitable for temperature control of a wellhead heating system that combines phase change energy storage with electric heating.
[0045] In the embodiment of the present application, the training process of the prediction model includes the following steps C1-C6: Step C1, obtaining training samples, wherein the training samples include: field parameter samples and optimal crude oil outlet temperature samples.
[0046] Step C2, initializing a preset neural network model, wherein the preset neural network model includes: an input layer, a first hidden layer, a second hidden layer and an output layer.
[0047] Step C3, input the training sample to the input layer of the initial neural network model, and transfer the training sample to the first hidden layer through the input layer.
[0048] Step C4, extracting key features corresponding to the field parameter samples through the first hidden layer, and transferring the key features to the second hidden layer; Step C5, outputting the prediction result based on the key features and weights through the second hidden layer, and transmitting the prediction result to the output layer; Step C16, when the prediction result does not match the optimal crude oil outlet temperature sample, update the weight until the prediction result matches the optimal crude oil outlet temperature sample to obtain a prediction model.
[0049] In an embodiment of the present application, the preset neural network model can be a BP neural network model. The BP neural network model is a multi-layer feedforward neural network trained according to the error back propagation algorithm. It has obvious nonlinear mapping and adaptive characteristics, and has arbitrarily complex pattern classification capabilities and excellent multidimensional function mapping capabilities.
[0050] In the embodiment of the present application, data processing is first performed to statistically analyze the temperature at each position of the phase change energy storage wellhead heating simulation system, the crude oil inlet flow rate and temperature, and obtain field parameter samples as input samples, and select the corresponding optimal crude oil outlet temperature samples as output samples. Secondly, for the temperature, crude oil inlet flow rate and temperature at each position in the input sample, the output is the crude oil outlet temperature, and it is normalized.
[0051] Then, initialize the preset neural network model. The specific process is as follows: Use trial and error to define the number of neurons in the hidden layer, or use 2N+1, where N corresponds to the number of neurons in the input layer. The activation function of the hidden layer and the output layer uses the Sigmoid function, establish the BP neural network temperature prediction model, and set the number of training times, learning rate, weight, and minimum error.
[0052] Finally, the training samples are input into the input layer of the initial neural network model, and the training samples are passed to the first hidden layer through the input layer. The prediction results are output based on the key features and weights through the second hidden layer, and the prediction results are passed to the output layer. When the error between the prediction result and the optimal crude oil outlet temperature sample is greater than the minimum error, the weight of the hidden layer is updated until the prediction result matches the optimal crude oil outlet temperature sample, and the prediction model is obtained.
[0053] In the embodiment of the present application, the model is trained, the error limit is set to 0.01, and the trained model is used for prediction to obtain the prediction result, which is then denormalized. The training effect is as follows: Figure 4 and Figure 5 shown.
[0054] Figure 6 This is a block diagram of a phase change energy storage wellhead heating control device provided in an embodiment of the present application. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 6 As shown, the device comprises: An acquisition module 61 is used to acquire current field parameters of a phase change energy storage wellhead in a phase change energy storage device; A prediction module 62, for inputting field parameters into a pre-trained prediction model, so that the prediction model predicts a corresponding optimal crude oil outlet temperature based on the field parameters; The processing module 63 is used to generate control parameters based on the optimal crude oil outlet temperature, and use the control parameters to control the circulation pump and / or the electric heating device, wherein the control parameters are used to adjust the output heat of the circulation pump and / or the electric heating device to stabilize the water body in the water jacket furnace at the optimal crude oil outlet temperature.
[0055] In the embodiment of the present application, the acquisition module 61 is used to detect the current phase change material temperature of the phase change energy storage device, the current water jacket furnace parameters of the water jacket furnace, and the current pipeline parameters of the crude oil transportation pipeline; and determine the phase change material temperature, water jacket furnace parameters and pipeline parameters as field parameters.
[0056] In an embodiment of the present application, the prediction module 62 is used to input the field parameters into the prediction model so that the prediction model predicts the corresponding initial crude oil outlet temperature based on the field parameters; when the initial crude oil outlet temperature does not meet the required temperature, a cyclic prediction is performed based on the field parameters until the optimal crude oil outlet temperature is obtained.
[0057] In the embodiment of the present application, the prediction module 62 is used to use the prediction model to search for the best crude oil outlet temperature according to the preset optimization accuracy based on the field parameters when the initial crude oil outlet temperature is lower than the required temperature, until the difference between the crude oil outlet temperature and the required temperature is within the preset range, thereby obtaining the best crude oil outlet temperature; The prediction module 62 is used to use the prediction model to optimize downward according to the preset optimization accuracy based on the field parameters when the initial crude oil outlet temperature is greater than the required temperature, until the difference between the crude oil outlet temperature and the required temperature is within a preset range, thereby obtaining the optimal crude oil outlet temperature.
[0058] In an embodiment of the present application, the device also includes: a training module for obtaining training samples, wherein the training samples include: field parameter samples and optimal crude oil outlet temperature samples; initializing a preset neural network model, wherein the preset neural network model includes: an input layer, a first hidden layer, a second hidden layer and an output layer; inputting the training samples into the input layer of the initial neural network model, and passing the training samples to the first hidden layer through the input layer; extracting key features corresponding to the field parameter samples through the first hidden layer, and passing the key features to the second hidden layer; outputting prediction results based on the key features and weights through the second hidden layer, and passing the prediction results to the output layer; in the case where the prediction results do not match the optimal crude oil outlet temperature samples, updating the weights until the prediction results match the optimal crude oil outlet temperature samples to obtain a prediction model.
[0059] In the embodiment of the present application, the processing module 63 is used to obtain the current target operating mode of the heating system; generate control parameters corresponding to the target operating mode using the optimal crude oil outlet temperature; and control the circulation pump and / or electric heating equipment using the control parameters under the target operating mode.
[0060] In the embodiment of the present application, the target operating mode includes: electric heating mode, phase change heating mode, phase change and electric heating joint operation mode and electric heat storage mode.
[0061] The present application also provides an electronic device, such as Figure 7 As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .
[0062] Memory 1503, used for storing computer programs; The processor 1501 is used to implement the steps of the above embodiment when executing the computer program stored in the memory 1503.
[0063] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0064] The communication interface is used for communication between the above terminal and other devices.
[0065] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0066] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0067] In another embodiment provided in the present application, a computer-readable storage medium is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the phase change energy storage wellhead heating control method described in any of the above embodiments.
[0068] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the phase change energy storage wellhead heating control method described in any of the above embodiments.
[0069] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidState Disk), etc.
[0070] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
[0071] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A phase change energy storage wellhead heating control method, characterized in that: The method is applied to a measuring device, the measuring device is connected to a heating system, the heating system includes: a circulating pump, an electric heating device, a phase change energy storage device and a water jacket furnace, and the method includes: Obtaining current field parameters of a phase change energy storage wellhead in a phase change energy storage device; Inputting the field parameters into a pre-trained prediction model so that the prediction model predicts the corresponding optimal crude oil outlet temperature based on the field parameters; A control parameter is generated based on the optimal crude oil outlet temperature, and the control parameter is used to control a circulation pump and / or an electric heating device, wherein the control parameter is used to adjust the output heat of the circulation pump and / or the electric heating device so that the water body in the water jacket furnace is stabilized at the optimal crude oil outlet temperature.
2. The method according to claim 1, characterized in that The obtaining of the current field parameters of the phase change energy storage wellhead to be controlled includes: Detecting the current phase change material temperature of the phase change energy storage device, the current water jacket furnace parameters of the water jacket furnace, and the current pipeline parameters of the crude oil transportation pipeline; The phase change material temperature, water jacket furnace parameters and pipeline parameters are determined as the field parameters.
3. The method according to claim 1, characterized in that The step of inputting the field parameters into a pre-trained prediction model so that the prediction model predicts the corresponding optimal crude oil outlet temperature based on the field parameters comprises: Inputting the field parameters into the prediction model so that the prediction model predicts the corresponding initial crude oil outlet temperature based on the field parameters; In the case that the initial crude oil outlet temperature does not meet the required temperature, a cyclic prediction is performed based on the field parameters until an optimal crude oil outlet temperature is obtained.
4. The method according to claim 3, characterized in that When the initial crude oil outlet temperature does not meet the required temperature, performing cyclic prediction based on the field parameters until the optimal crude oil outlet temperature is obtained includes: In the case where the initial crude oil outlet temperature is lower than the required temperature, the prediction model is used to search for the optimum based on the field parameters according to the preset optimization accuracy until the difference between the crude oil outlet temperature and the required temperature is within a preset range, thereby obtaining the optimum crude oil outlet temperature; When the initial crude oil outlet temperature is greater than the required temperature, the prediction model is used to optimize downward based on the field parameters according to the preset optimization accuracy until the difference between the crude oil outlet temperature and the required temperature is within a preset range, thereby obtaining the optimal crude oil outlet temperature.
5. The method according to claim 3, characterized in that: The method further comprises: Acquire training samples, wherein the training samples include: field parameter samples and optimal crude oil outlet temperature samples; Initializing a preset neural network model, wherein the preset neural network model includes: an input layer, a first hidden layer, a second hidden layer and an output layer; Inputting the training sample into the input layer of the initial neural network model, and transferring the training sample to the first hidden layer through the input layer; Extracting key features corresponding to the field parameter samples through the first hidden layer, and transferring the key features to the second hidden layer; Outputting a prediction result based on the key features and weights through the second hidden layer, and transmitting the prediction result to the output layer; In the case that the prediction result does not match the optimal crude oil outlet temperature sample, the weight is updated until the prediction result matches the optimal crude oil outlet temperature sample to obtain the prediction model.
6. The method according to claim 1, characterized in that The generating of control parameters based on the optimal crude oil outlet temperature and using the control parameters to control a circulation pump and / or an electric heating device comprises: Obtaining a current target operation mode of the heating system; Generating control parameters corresponding to the target operation mode using the optimal crude oil outlet temperature; In the target operation mode, the circulation pump and / or the electric heating device are controlled using the control parameters.
7. The method according to claim 6, characterized in that The target operation modes include: electric heating mode, phase change heating mode, phase change and electric heating combined operation mode and electric heat storage mode.
8. A phase change energy storage wellhead heating control device, characterized in that: include: An acquisition module, used to acquire current field parameters of a phase change energy storage wellhead in a phase change energy storage device; A prediction module, used for inputting the field parameters into a pre-trained prediction model, so that the prediction model predicts the corresponding optimal crude oil outlet temperature based on the field parameters; A processing module is used to generate control parameters based on the optimal crude oil outlet temperature, and use the control parameters to control a circulation pump and / or an electric heating device, wherein the control parameters are used to adjust the output heat of the circulation pump and / or the electric heating device so that the water in the water jacket furnace is stabilized at the optimal crude oil outlet temperature.
9. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the method steps of any one of claims 1 to 7 when executed.
10. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: Memory, used to store computer programs; A processor, configured to execute the method steps of any one of claims 1 to 7 by running a program stored in a memory.
