An intelligent terminal, system and control method for an integrated energy system based on edge computing privacy protection
By constructing edge computing-based intelligent terminals and cloud-edge-device collaborative systems within the integrated energy system, and employing encrypted communication and consistent computing, the vulnerability of information networks to attacks has been addressed, achieving secure and stable system operation and data privacy protection.
Patent Information
- Application Number
- CN202210744076.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-27
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2042-06-27
AI Technical Summary
In integrated energy systems, information networks under distributed control are vulnerable to malicious attacks, leading to the leakage of important information. Existing technologies have failed to effectively protect data privacy and have neglected security issues on the communication side.
Build an edge computing-based intelligent terminal, including data acquisition, preprocessing, encryption/decryption, communication, storage, and collaborative computing modules. Combined with a cloud-edge-device collaborative system, adopt the Paillier cryptosystem and an improved fixed-time control strategy to achieve data encryption and consistent computation.
Ensuring that data is transmitted in encrypted form in the communication link prevents malicious attacks by attackers, achieves safe and stable operation of the system, and improves the operational stability and security of the integrated energy system.
Smart Images

Figure CN115270146B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the field of comprehensive energy system collaborative optimization, and particularly relates to an intelligent terminal for a comprehensive energy system based on edge computing and privacy protection and a control method thereof. BACKGROUND
[0002] With increasing environmental concerns, fossil fuel shortages, and the development of energy coupling-related key technologies, comprehensive energy systems integrating multiple energy carriers have attracted widespread attention in recent years. An electric-thermal-gas comprehensive energy system covers the entire energy chain of energy production, transmission, consumption, storage, and conversion. Information is shared within the system, and energy flow and information flow are organically integrated, interconnected, interactive, and tightly coupled to form an information-physical system. The deep integration of energy flow and information flow in a comprehensive energy system enables the traditional energy to be transformed from a pure production, transmission, consumption, and storage-based subject into a self-balancing subject integrating energy production, transmission, consumption, and storage. The boundaries between energy production and energy consumption will no longer be clear, and the corresponding roles and functions can be compatible and replaceable. Due to the deep application of the Internet, big data, and cloud computing, the flexibility, adaptability, and intelligence of the comprehensive energy system can be effectively improved. Through an open information-physical system architecture, the comprehensive energy system will have high reliable and secure communication capabilities, comprehensive situational awareness capabilities, big data processing and computing capabilities, and comprehensive energy distributed collaborative control capabilities such as electricity, heat, and gas.
[0003] With the continuous advancement of comprehensive energy construction, a large number of terminal devices of different energies will be connected to the system. Edge computing can enable devices to process, analyze, and store data closer to the location where data is generated, thereby achieving fast and near real-time analysis and response. Distributed control gradually replaces centralized control due to its flexibility and high reliability. In a distributed information energy coupling network, various output devices generate different types of massive data. Meanwhile, in the data calculation process of controlling the collected data at each intelligent terminal, continuous uploading and downloading of calculation results and reference quantities between the local and the cloud are required. In the process of continuous iterative calculation and information interaction in the information network, the system is vulnerable to malicious attacks, which may lead to important information leakage and cause serious losses. In this case, it is particularly important to build a method for comprehensive energy systems based on edge computing that can effectively protect data in the process of system information interaction. SUMMARY
[0004] An intelligent terminal for a comprehensive energy system based on edge computing and privacy protection and a control method thereof.
[0005] An intelligent terminal for a comprehensive energy system, comprising:
[0006] A data acquisition module is configured to acquire data of different underlying energy devices in the integrated energy system in real time, and provide support for subsequent data processing, collaborative calculation, encryption and storage.
[0007] A data preprocessing module is configured to preprocess the data acquired by the data acquisition module in real time, including filling in missing data, cleaning repeated data and deleting or replacing unreasonable data.
[0008] A data encryption and decryption module is configured to encrypt and decrypt each data in the integrated energy system processed by the data preprocessing module.
[0009] A data communication module is configured to transmit and receive encrypted data between the intelligent terminal and the integrated energy system and between each intelligent terminal.
[0010] A data storage module is configured to store real-time operation conditions of different underlying energy devices monitored by the intelligent terminal, intelligent terminal communication network topology, historical output values of each device, public keys required for encryption of each intelligent terminal and system optimization targets.
[0011] A collaborative calculation module is configured to iteratively calculate data acquired by the local intelligent terminal and data received from other neighbor intelligent terminals, and the calculation includes two parts: one is to calculate real-time output conditions of each device in the process of restoring the power network frequency, the heat network pipeline temperature and the gas network pipeline flow of the information-energy coupling network to the respective set reference values by using the control algorithm designed in the application, and the other is to calculate the data difference between the output conditions of each device in the process of stable operation and the control algorithm in each iteration calculation process in the process of restoring the power network frequency, the heat network pipeline temperature and the gas network pipeline flow of the information-energy coupling network to the respective set reference values. The intelligent terminal with a built-in processor can analyze and process the data and send them to the edge energy management system for storage and analysis, and the device without a processor only sends the acquired data to the edge energy management system for storage and analysis.
[0012] A multi-terminal collaboration module is configured to establish a data transmission link with a neighbor intelligent terminal, form a collaborative communication network, and transmit and receive data.
[0013] An edge information interaction module is configured to interact operation information, public keys and control strategies between each intelligent terminal and the cloud platform.
[0014] An interface display module is configured to display real-time operation conditions of different underlying energy devices monitored by the intelligent terminal, intelligent terminal communication network topology, historical operation conditions of each device and public keys required for encryption of each intelligent terminal in real time.
[0015] The application further discloses a cloud-edge-end mutual collaboration system based on the above-mentioned intelligent terminal, and the system comprises:
[0016] The network layer includes a cloud platform, which is used to accept the real-time running state of the integrated energy system uploaded by the edge layer, and simultaneously issue scheduling instructions of the system and required parameters and total ciphertext for encryption according to the data difference between the outputs of various devices;
[0017] The edge layer includes an edge energy management system, which is used to interact with the cloud platform upward, transceive scheduling instructions of the cloud-edge-end mutual collaboration system and the running state of the integrated energy system, and interact with various intelligent terminals downward to collect the running information of the intelligent terminals while issuing the system control strategy. The intelligent terminal data storage module processes the data from the edge energy management system and returns the key data required by the application program in near real time, or only sends the relevant data part to the cloud platform. The data from numerous intelligent terminals is integrated into the cloud platform for more extensive processing and analysis;
[0018] The perception layer includes intelligent terminals, which are used to interact with the edge energy management system upward, transceive the integrated energy system control strategy and running information, and simultaneously send the ciphertext after data encryption in the iterative calculation process of the cloud-edge-end mutual collaboration system, and interact with devices downward to issue the control strategy of the integrated energy system while collecting the data of different underlying energy devices such as heat, electricity and gas in the integrated energy system in real time;
[0019] The device layer includes different underlying energy devices such as heat, electricity and gas in the integrated energy system, which are used to provide data support for the system, and simultaneously adjust the running state of the devices according to the control strategy issued by the intelligent terminal;
[0020] The cloud includes the network layer and the edge layer, the edge includes the perception layer, and the end includes the device layer, and the three cooperate to form the cloud-edge-end mutual collaboration system.
[0021] The application also provides a privacy protection intelligent terminal control method for an integrated energy system based on edge computing, which includes the following steps:
[0022] Step 1: The intelligent terminal uses a data acquisition module to acquire energy device output data: In the system running process, the underlying device data to be collected includes the device output data related to the generation, consumption and storage of electric energy, the device output data related to heat generation and heat energy storage, the device output data related to gas consumption and storage, and the cogeneration device output data;
[0023] Step 2: The intelligent terminal uses the data preprocessing module to preprocess the real-time acquisition data obtained by the data acquisition module, including three basic steps of data cleaning, data reduction, and data transformation: first, the output data of each device collected is filled with dummy variables to fill in the default values in the data stream and delete outliers in a group of data based on the MAD method, then irrelevant attributes are deleted using Lasso regularization and principal component analysis to reduce data volume and ensure minimal information loss, the data is reduced to a smaller dimension while ensuring the integrity of the data information, and finally the Z-Score standardization method, equal frequency method, and sparse processing method are used in sequence to process the required data, and finally the standardized, discretized, and sparse standard electric, thermal, and gas data required for subsequent calculation are obtained;
[0024] Step 3: The intelligent terminal uses the TCP communication strategy to determine the online status of neighbor terminals through the data communication module and multi-terminal collaboration module, and simultaneously determines the online status of the devices connected in the comprehensive energy system monitoring area of each intelligent terminal, and generates a communication topology matrix A;
[0025] Step 4: The intelligent terminal stores the real-time output data of each energy device of the standard comprehensive energy system obtained in step 2 and the corresponding link status in the intelligent terminal communication network topology matrix A in the intelligent terminal data storage module and the edge energy management system through the data storage module;
[0026] Step 5: The intelligent terminal generates random public key (p, g) and private key (η, μ) using the Paillier cryptographic system through the data encryption and decryption module, and then transmits the public key (p, g) to the cloud platform through the edge information interaction module while saving the private key (η, μ) itself;
[0027] Step 6: The intelligent terminal performs distributed collaborative computing through the collaborative computing module to maintain the frequency of the entire comprehensive energy system power network, the pipeline pressure of the thermal and gas networks at the reference value, and simultaneously establishes a thermal-electric coupling and gas-electric coupling model;
[0028] Step 7: The intelligent terminal performs over-limit judgment based on the data obtained in step 2 through the collaborative computing module and multi-terminal collaboration module, and when the frequency of the power system in the monitoring area of one intelligent terminal is over-limited, it starts consistent calculation based on the information of neighbor nodes, otherwise the intelligent terminal only runs acquisition, monitoring, and display functions without further calculation;
[0029] Step 8: The cloud platform randomly generates three sets of parameters and Two sets of parameters satisfy The reference values a i , b i of the three different networks are encrypted using the public key (p, g), c i After encryption, the encrypted result is sent to each intelligent terminal With E(δ i k c i );;
[0030] Step 9: The intelligent terminal decrypts the reference value through the data encryption and decryption module, and simultaneously performs consistency calculation on the power grid frequency, the heat network pipeline pressure and the gas network pipeline pressure of the electricity-heat-gas, respectively, to obtain and send to the cloud platform. The cloud platform integrates the ciphertext and decrypts it to obtain the coupled system and the operation state of electricity, heat and gas, solves the adjustment amount of heat and gas according to the coupling model of step 6, and obtains the result by subtracting the reference value from the system deviation value, and encrypts the result to obtain and send to each intelligent terminal; the intelligent terminal decrypts the obtained data, and performs the next iteration calculation according to the consistency calculation algorithm proposed in step 7, and uploads the obtained result to the cloud platform after encryption. The cloud platform judges whether the deviation value is within the specified range, if not, the process steps 7 to 9 are repeated until the system returns to stable operation, at this time the intelligent terminal only performs the functions of collection, monitoring and display;
[0031] Step 10: The intelligent terminal displays the real-time operation of the energy equipment monitored by the intelligent terminal, the communication network topology of the intelligent terminal, the online state of the intelligent terminal and the connected devices, the historical operation of each device and the like through the interface display module and the liquid crystal screen.
[0032] Compared with the prior art, the advantages of the present application are as follows:
[0033] The prior art adopts the Lagrange multiplier method for comprehensive control of the integrated energy system, ignores the calculation amount problem when the data amount is large and the real-time operation control problem of each energy node; in addition, the existing integrated energy system privacy protection tends to eliminate the interference of incorrect data on the integrated energy system on the physical side, and ignores the information attack problem that may occur on the communication side in the data collection and iteration process. The present application comprehensively considers the above problems, constructs a cloud-edge-end mutual collaboration system, and constructs an encrypted communication network based on privacy protection by using each module of the intelligent terminal.
[0034] The consistency calculation method proposed in the application is combined with the encryption algorithm in the control process of the integrated energy system. The consistency calculation method proposed in the application has the fixed-time convergence characteristic through the improved fixed-time control strategy, the convergence speed is accelerated, and the upper limit of the convergence time is only related to the controller parameters, which is more practical, improves the power quality of the integrated energy system, and ensures the stable operation of each bottom equipment of the integrated energy system. The encryption and decryption process is integrated in the cloud-edge-end collaborative system, so that the calculation and transmission of data in the cloud-edge-end collaborative system communication link are encrypted ciphertexts rather than frequency, voltage and other data, and the loss of core data caused by malicious attacks of attackers is avoided. Finally, the system can safely complete the consistency calculation and the data interaction operation of uploading the calculation result to the cloud platform and issuing the reference value and adjustment amount from the cloud platform.
[0035] The application avoids the system from suffering from malicious attacks from the communication side, avoids serious loss caused by important information leakage, and further realizes real-time operation optimization control of various energies, ensures the continuous, efficient and stable operation of the integrated energy system, and improves the stability and safety of the operation of the integrated energy system. BRIEF DESCRIPTION OF DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0037] Figure 1 It is a structure block diagram of an intelligent terminal for an integrated energy system based on edge computing privacy protection of the application;
[0038] Figure 2 It is a structure diagram of a "cloud-edge-end mutual cooperation" system based on an intelligent terminal of the application;
[0039] Figure 3 It is a flow chart of an intelligent terminal control method for an integrated energy system based on edge computing privacy protection of the application. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical scheme and advantages of the embodiments of the present application more clear, the technical scheme in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0041] As Figure 1 Fig. 1 shows a structure block diagram of an intelligent terminal for an integrated energy system based on edge computing privacy protection according to the present application, as shown in the figure, the intelligent terminal comprises:
[0042] a data acquisition module, configured to acquire data of different underlying energy devices such as heat, electricity and gas in the integrated energy system in real time, and provide support for subsequent data processing, collaborative calculation, encryption and storage;
[0043] a data preprocessing module, configured to preprocess the real-time acquisition data obtained by the data acquisition module, including filling in missing data, cleaning repeated data and deleting or replacing unreasonable data;
[0044] a data encryption and decryption module, configured to encrypt and decrypt each item of data in the integrated energy system obtained by the data preprocessing module;
[0045] a data communication module, configured to transmit and receive encrypted data between the intelligent terminal and the integrated energy system and between each intelligent terminal;
[0046] a data storage module, configured to store real-time operation conditions of different underlying energy devices monitored by the intelligent terminal, intelligent terminal communication network topology, historical output values of each device, public keys required for encryption of each intelligent terminal and system optimization targets;
[0047] a collaborative calculation module, configured to perform iterative calculation according to the data collected by the local intelligent terminal and the data received from other neighbor intelligent terminals, and the calculation includes two parts: one is to calculate the real-time output of each device in the process of restoring the power network frequency, the heat network pipeline temperature and the gas network pipeline flow of the information energy coupling network to the respective set reference values by using the control algorithm designed in the present application, and the other is to calculate the data difference value between the output of each device in the process of restoring the power network frequency, the heat network pipeline temperature and the gas network pipeline flow of the information energy coupling network to the respective set reference values and the output of each device in the process of each iterative calculation of the control algorithm. The intelligent terminal with a built-in processor can analyze and process the data and send them to the edge energy management system for storage and analysis, and the device without a processor only sends the collected data to the edge energy management system for storage and analysis;
[0048] a multi-terminal collaboration module, configured to establish a data transmission link with a neighbor intelligent terminal, form a collaborative communication network, and transmit and receive data;
[0049] an edge information interaction module, configured to perform information interaction of operation information and control strategies between each intelligent terminal and a cloud platform;
[0050] An interface display module is configured to display in real time the real-time operation of different underlying energy equipment monitored by the intelligent terminal, the intelligent terminal communication network topology, the historical operation of each device, and the public key required for encryption of each intelligent terminal.
[0051] As shown in Figure 2 Fig. 1 shows a cloud-edge-end mutual cooperation system based on the above intelligent terminal, which comprises:
[0052] A network layer comprising a cloud platform is configured to accept the real-time operation state of the integrated energy system uploaded by the edge layer, and simultaneously issue the scheduling instruction of the cloud-edge-end mutual cooperation system, the required parameters for encryption, and the total ciphertext according to the data difference between the outputs of each device;
[0053] An edge layer comprising an edge energy management system is configured to interact with the cloud platform upward, receive and send the scheduling instruction of the cloud-edge-end mutual cooperation system and the operation state of the integrated energy system, and interact with each intelligent terminal downward to collect the operation information of each intelligent terminal while issuing the system control strategy. The local edge server processes the data from the edge computing device and returns the key data required by the application program in near real time, or only sends the relevant data part to the cloud. The data from a large number of intelligent terminals is integrated into the cloud for more extensive processing and analysis;
[0054] A perception layer comprising an intelligent terminal is configured to interact with the edge energy management system upward, receive and send the integrated energy system control strategy and operation information, and simultaneously send the ciphertext after data encryption in the iterative calculation process of the cloud-edge-end mutual cooperation system, and interact with the device downward to issue the control strategy of the integrated energy system while collecting the data of different underlying energy equipment such as electricity, heat, and gas in the integrated energy system in real time;
[0055] A device layer comprising different underlying energy equipment such as electricity, heat, and gas in the integrated energy system is configured to provide data support for the system, and simultaneously adjust the operation state of the equipment according to the control strategy issued by the intelligent terminal;
[0056] The cloud comprises the above network layer and edge layer, the edge comprises the above perception layer, and the end comprises the above device layer, which are mutually cooperative to form the cloud-edge-end mutual cooperation system.
[0057] In this embodiment, the power generation, heat production, and gas production equipment are built by MATLAB / Simulink, the electric heat and gas loads are composed of real objects, and there are four sub-networks, including 371 energy nodes, of which 56 are source nodes, 35 are energy storage nodes, and 280 are load nodes. Each sub-network includes a gas turbine.
[0058] The specific flowchart of the intelligent terminal control method for an integrated energy system based on edge computing privacy protection according to the present application is shown in Figure 3As shown, comprising the following steps:
[0059] Step 1: The intelligent terminal uses the data acquisition module to collect the output data of the energy equipment: In the process of system operation, the bottom equipment data to be collected includes the output data of the equipment related to the generation, consumption and storage of electric energy, the output data of the equipment related to the generation of heat and the storage of heat energy, the output data of the equipment related to the consumption and storage of gas, and the output data of the combined heat and power equipment;
[0060] Step 2: The intelligent terminal uses the data preprocessing module to preprocess the real-time collection data obtained by the data acquisition module, including three basic steps of data cleaning, data reduction and data transformation: first, the output data of each equipment collected is filled with a dummy variable to fill in the default value in the data stream and delete outliers in a group of data based on the MAD method, then the Lasso regularization and principal component analysis are used to delete irrelevant attributes to reduce the data amount and ensure that the information loss is minimized, the data is reduced to a smaller dimension, and the integrity of the data information is ensured as much as possible, and finally the Z-Score standardization method, the equal frequency method and the sparse processing method are sequentially used to process the required data, and finally the standardized, discretized and sparse standard electric, heat and gas data required for subsequent calculation are obtained;
[0061] Step 3: The intelligent terminal uses the TCP communication strategy to judge the online state of the neighbor terminal through the data communication module and the multi-terminal cooperation module, and simultaneously judges the online state of the equipment connected in the comprehensive energy system monitoring area, and generates a communication topology matrix A; wherein the communication matrix includes:
[0062] Wherein A e A h A g respectively represent the communication topology matrix of all the equipment related to the three parts of the comprehensive energy system, i.e. electricity, heat and gas, which together constitute the communication topology matrix A of the system, wherein the contents contained in each communication topology matrix are as follows:
[0063]
[0064] Wherein, A respectively represent the communication topology matrix of the combined heat and power equipment and the combined heat and gas equipment, A A represent the communication topology matrix of all the equipment related to the generation of heat energy in the comprehensive energy system, represent the communication topology matrix of all the equipment related to the generation of gas energy in the comprehensive energy system.
[0065] Step 4: The intelligent terminal stores the real-time output data of each energy device of the standard integrated energy system obtained in steps 2 and 3 and the corresponding link state in the intelligent terminal communication network topology matrix A in the intelligent terminal data storage module and the edge energy management system through the data storage module;
[0066] Step 5: The intelligent terminal generates random public key (p, g) and private key (η, μ) by using the Paillier encryption system through the data encryption and decryption module, and then transmits the public key (p, g) to the cloud platform through the edge information interaction module while saving the private key (η, μ) by itself; wherein the encryption and decryption process includes:
[0067] Step 5.1: Generate public key and private key. First, select two random large prime numbers p and q, which need to satisfy gcd(pq, (p-1)(q-1)) = 1, wherein gcd(·) is the greatest common divisor function, then calculate n = pq and λ = lcm(p-1, q-1), wherein lcm(·) is the least common multiple function. In select a random number g, and ensure
[0068] μ = (L(g λ mod n 2 )) -1 mod n
[0069] wherein represents the set of all integers including n 2 . Define the function L as
[0070]
[0071] At this time, the public key (n, g) and the private key (λ, μ) of the encryption algorithm are obtained.
[0072] Step 5.2: Encryption. For the data ω z to be encrypted, convert it into plaintext m by m = 10ωz, wherein τ represents the decimal places to be retained by the data to be encrypted, and convert the decimal into an integer by the above method. Select a random number wherein represents the set of all integers including n, and the ciphertext is obtained as
[0073] c = g m r n mod n 2
[0074] Step 5.3: Decryption. The ciphertext can be decrypted as
[0075]
[0076] wherein, represent the result of decryption, represent the real form. After getting the plaintext, calculate it to get the data ω before encryption z .
[0077]
[0078] wherein, in the above encryption and decryption process satisfies the additive homomorphism and multiplicative homomorphism:
[0079] D(E(m1)·E(m2))=m1+m2
[0080] D(E(m1) k )=km1
[0081] In the formula, D(·) represents the decryption process, E(·) represents the encryption process, m1 and m2 represent two different plaintexts, and k represents the constant used in the encryption process.
[0082] Step 6: The intelligent terminal performs distributed collaborative calculation through the collaborative calculation module, so that the frequency of the entire integrated energy system power network, the pipeline pressure of the heat and gas network is maintained at the reference value, and the heat-electricity coupling and gas-electricity coupling models are established; wherein the coupling model includes:
[0083] Step 6.1: Heat-electricity coupling model
[0084] In the integrated energy system, the gas turbine can realize the mutual conversion of power and heat networks, and the heat supply pipeline is an intermediate device for the heat source to deliver heat energy to the user. In this process, the power generation of the gas turbine and the heat supply amount in the pipeline can be represented by the following relationship
[0085] P eh =η h (l)·L h ·l
[0086] In the formula, P eh represents the electric power of the electric-thermal coupling part of the gas turbine, η h (l) represents the thermal efficiency of the gas turbine, l represents the fuel supply amount of the gas turbine, and L h represents the calorific value of natural gas. During the delivery of hot water through the heat supply pipeline, not only the flow and pressure of the water force part should be considered, but also the temperature loss in the pipeline should be considered. Model analysis is carried out respectively. The water is regarded as a one-dimensional incompressible fluid, and the change of water pressure and flow in the pipeline can be represented as
[0087]
[0088] In the formula, p h represents the pressure of water in the pipeline, and M hrepresents the cross-sectional area of the pipe, p h represents the density of water in the pipe, v h represents the resistance coefficient between water and the pipe, x represents the radial distance of water along the pipe, g represents the acceleration of gravity, and 0 represents the angle between the pipe and the horizontal plane, represents the calculation in an isentropic process. At the same time, the rate of change of the heat of hot water in the pipe is equal to the difference between the input heat and the output heat of the pipe per unit time, and the output heat is the heat input by the user and the heat dissipation of the pipe. According to the law of thermodynamics, the thermodynamic modeling of the pipe can be expressed as
[0089]
[0090] In the formula, c g represents the heat capacity of hot water in the pipe, c s represents the specific heat capacity of the medium, K g is the heat transfer coefficient of the heat pipe, L g represents the length of the heat pipe, T g represents the outlet temperature of the heat pipe, T s represents the temperature of the liquid in the heat network pipe.
[0091] Step 6.2: Gas-electricity coupling model
[0092] In the integrated energy system, the gas turbine can realize the mutual conversion of natural gas and electricity. During operation, the power generation and gas supply of the gas turbine can be represented by the following relationship
[0093] P eg = η g (h)·L g ·h
[0094] In the formula, P eg represents the electric power of the gas-electricity coupling part of the gas turbine, η g (h) represents the thermal efficiency of the gas turbine, h represents the fuel supply of the gas turbine, and L g represents the calorific value of natural gas. The output electric power of the gas turbine acts on the electric gas (P2G) device, and the relationship between the consumed electric power and the gas production of the P2G device is
[0095]
[0096] In the formula, P P2G represents the electric power consumed by the P2G device, f P2G represents the flow rate of the gas produced by the P2G device, L g represents the calorific value of natural gas, Represent the P2G device conversion efficiency. P2G device using electricity to electrolysis of water to hydrogen by catalytic reaction eventually get methane, through the gas pipeline to the gas storage device or compressor methane gas delivery. In the gas in the pipeline transmission, along the path of the gas flow pipe cross-sectional area constant, while the temperature constant in the process of advancing. At this time, the gas transmission process of pipe pressure isothermal dynamic equation can be expressed as
[0097]
[0098] In the formula, ρ g Represent the gas density, M g Represent the pipe flow, x represents the radial distance of the gas along the pipe, t represents time, G represents the cross-sectional area of the pipe, θ represents the angle between the pipe and the horizontal plane, ν g Represent the resistance coefficient between the gas and the pipe, p g Represent the gas network pipe pressure, Z represents the gas compression factor, g represents the acceleration of gravity, R represents the gas constant, T represents the gas temperature
[0099] Step 7: the intelligent terminal through the collaborative computing module and multi-terminal collaborative module, the intelligent terminal according to the data obtained in step 2 to make the limit judgment, when one of the intelligent terminal monitoring area power system frequency over limit, start according to the information of the neighbor node to make consistency calculation, otherwise the intelligent terminal only runs the collection, monitoring and display function, no longer calculate; The consistency algorithm is:
[0100]
[0101] In the formula, The consistency algorithm proposed in step 7 is simplified, κ is a real number satisfying κ ∈ (-2, -1), x i Represent the grid frequency of the local node of the i-th intelligent terminal monitoring area, the heat network pipe pressure, the gas network pipe pressure, x j Represent the grid frequency of the neighbor node, the heat network pipe pressure, the gas network pipe pressure, x ref Represent the reference value of the grid frequency, the heat network and the gas network generated by the cloud platform, α ≥ 1, tanh(·) represents the hyperbolic tangent function.
[0102] Step 8: the cloud platform randomly generates three groups of parameters And The three groups of parameters satisfy Use the public key (p, g) to encrypt the reference values a i , b i , c i Of the three different networks, and send the encrypted results to each intelligent terminal And
[0103] Step 9: The smart terminal decrypts the reference value through the data encryption / decryption module, and simultaneously performs consistency calculations for the power grid frequency, heating network pipeline pressure, and gas network pipeline pressure for electricity, heat, and gas respectively. The results of the first calculation are then encrypted to obtain the final value. and The data is sent to the cloud platform. The cloud platform integrates and decrypts the encrypted data, obtaining the operating status of the coupled system and its electrical, thermal, and gas components. Based on the coupling model from step 6, the adjustment amounts for thermal and gas components are calculated. The difference between the system deviation and the reference value is then encrypted to obtain the final result. and The data is sent to various smart terminals. The smart terminals decrypt the received data and perform iterative calculations according to the consistency calculation algorithm proposed in step 7. After calculation, the results are encrypted and uploaded to the cloud platform. The cloud platform determines whether the deviation value is within the specified range. If not, steps 7 to 9 are repeated until the system returns to stable operation. At this point, the smart terminals only perform data collection, monitoring, and display functions, and no longer perform calculations. The specific calculation steps include:
[0104] Step 9.1 The smart terminal data decrypts the reference value through the encryption / decryption module. Based on the consistency algorithm proposed in Step 7, the power grid frequency, heating network pipeline pressure, and gas network pipeline pressure are calculated separately for electricity, heat, and gas. The first calculation result is then encrypted to obtain the final result. and Send to the cloud platform. These represent the initial calculation results for the heating network frequency, heating network pipeline pressure, and gas network pipeline pressure, respectively.
[0105] Step 9.2: Based on the additive homomorphism of the encryption algorithm, the cloud platform multiplies the power network results and decrypts them to obtain the frequency deviation of the power network in the k-th calculation process corresponding to the i-th smart terminal.
[0106]
[0107] The adjustment amount for the integrated energy system at the (k+1)th iteration is obtained by subtracting it from the system reference frequency. Using the coupling model from step 6 according to The output power P corresponding to the electrothermal coupling and electrical coupling of the gas turbine is obtained. eh With P eg The adjustment amounts of heat and gas are obtained by solving the problem. The adjustment amount of the integrated energy system is obtained by encrypting it. and And send it to the corresponding smart terminal.
[0108] Step 9.3 The smart terminal data is decrypted by the encryption and decryption module, and the next iteration calculation is performed according to the consistency calculation algorithm proposed in step 7. The obtained result is uploaded to the cloud platform in step 9.1.
[0109] The cloud platform determines whether the deviation value is within the specified range. If not, the process steps 6 to 9.3 are repeated until the system resumes stable operation. At this time, the smart terminal only performs the functions of collection, monitoring and display.
[0110] Step 10: The smart terminal displays the real-time operation of the energy equipment monitored by the smart terminal, the communication network topology of the smart terminal, the online status of the smart terminal and its connected devices, and the historical operation of each device, etc. through the interface display module using the liquid crystal screen.
[0111] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An intelligent terminal for an integrated energy system based on edge computing privacy protection, characterized in that, Comprise: Data acquisition module for real-time acquisition of data of different underlying energy devices in the integrated energy system, providing support for subsequent data processing, collaborative computing, encryption and storage; Data preprocessing module for preprocessing data collected by the data acquisition module in real time; Data encryption and decryption module for encrypting and decrypting each item of data in the integrated energy system processed by the data preprocessing module; Data communication module for encrypted data transmission between the intelligent terminal and the integrated energy system and between each intelligent terminal; Data storage module for storing real-time operation of different underlying energy devices monitored by the intelligent terminal, intelligent terminal communication network topology, historical output values of each device, public key required for encryption of each intelligent terminal, and system optimization target; Collaborative computing module for iterative calculation based on data collected by the local intelligent terminal and data received from other neighbor intelligent terminals. Intelligent terminals with built-in processors can analyze and process the data and send them to the edge energy management system for storage and analysis. Devices without processors only send the collected data to the edge energy management system for storage and analysis; Multi-terminal collaboration module for establishing data transmission link with neighbor intelligent terminals, forming collaborative communication network, and transmitting and receiving data; Edge information interaction module for information interaction between each intelligent terminal and the cloud platform for operation information, public key and control strategy; Interface display module for real-time display of real-time operation of energy devices monitored by the intelligent terminal, intelligent terminal communication network topology, historical operation of each device and public key required for encryption of each intelligent terminal; The intelligent terminal generates a random public key and a private key by using a Paillier encryption system through a data encryption and decryption module , transmits the public key to the cloud platform through an edge information interaction module , and saves the private key by itself ; Specifically, the data encryption step includes: Generating public and private keys: first select two random large prime numbers and , need to satisfy , where is the greatest common divisor function, then calculate and , where is the least common multiple function, in , select a random number , and ensure wherein denotes the set of all integers including the function is defined as At this time, the public key of the encryption algorithm is obtained , and the private key ; Encryption: for data that needs to be encrypted , using convert to plaintext , where indicates the number of decimal places to be encrypted data, by the above method to convert the decimal to an integer, select a random number , where represent all integers, including , the ciphertext is ; Decryption: ciphertext is decrypted into In the formula, represents the result of decryption, represents the real form, and after the plaintext is obtained, the data before encryption is obtained by calculation , Wherein, the above encryption and decryption process satisfies the additive homomorphism and multiplicative semi-homomorphism: wherein represents a decryption process, represents an encryption process, and represent two different plaintexts, denotes a constant used in the encryption process. 2.The integrated energy system edge computing privacy protection oriented intelligent terminal according to claim 1, wherein, The data preprocessing module includes filling missing data, data cleaning of repeated data and deleting or replacing unreasonable data, filling the output data of each device collected with dummy variables, filling the default value in the data stream and deleting outliers in a group of data based on the MAD method, then deleting irrelevant attributes using Lasso regularization and principal component analysis to reduce data volume and ensure minimal information loss, reducing data to a smaller dimension while ensuring data information integrity, using Z-Score standardization method, equal frequency method and sparse processing method to process the required data, and finally obtaining the standard electric, heat and gas data required for subsequent calculation. 3.The integrated energy system edge computing privacy protection oriented intelligent terminal according to claim 1, wherein, The intelligent terminal uses the TCP communication strategy to determine the online status of the neighbor terminal through the data communication module and the multi-terminal collaboration module, and each intelligent terminal determines the online status of the connected devices in the integrated energy system monitoring area and generates a communication topology matrix.
4. A system of an edge computing privacy protection intelligent terminal based on an integrated energy system according to any one of claims 1-3, characterized in that, Form a cloud-edge-end mutual collaboration system, which comprises: Network layer including cloud platform for accepting real-time operation status of integrated energy system uploaded by edge layer, and issuing scheduling instructions, encryption required parameters and total ciphertext of system according to data difference between each device output; Edge layer, including edge energy management system, interacts with cloud platform upward, transmits and receives scheduling instructions of cloud-edge-end mutual cooperation system and operation state of integrated energy system, interacts with each intelligent terminal downward, collects operation information of each intelligent terminal while issuing system control strategy; Intelligent terminal data storage module processes data from edge energy management system and returns key data required by application program in near real time or only sends relevant data part to cloud platform, integrates data from numerous intelligent terminals into cloud platform for more extensive processing and analysis; Sensing layer, including intelligent terminal, interacts with edge energy management system upward, transmits and receives integrated energy system control strategy and operation information, while sending encrypted ciphertext in data iteration calculation process of cloud-edge-end mutual cooperation system, interacts with equipment downward, issues control strategy of integrated energy system while collecting data of different bottom layer energy equipment in integrated energy system in real time; Device layer, including bottom layer energy equipment in integrated energy system, is used to provide data support for the system, while adjusting operation state of the equipment in real time according to control strategy issued by intelligent terminal; Cloud, including network layer and edge layer, edge, including sensing layer, end, including device layer, three of which cooperate to form cloud-edge-end mutual cooperation system. 5.A control method of an edge-computing privacy-protected intelligent terminal for an integrated energy system based on the system of claim 4, characterized in that, Comprising the following steps: Step 1: Intelligent terminal uses data acquisition module to acquire energy equipment output data: during system operation, bottom layer equipment data to be collected includes equipment output data related to electric energy generation, consumption and storage, equipment output data related to heat generation and heat energy storage, equipment output data related to gas consumption and storage and heat and power cogeneration equipment output data; Step 2: Intelligent terminal uses data preprocessing module to preprocess real-time acquisition data obtained by data acquisition module, including three basic steps of data cleaning, data reduction and data transformation: finally, standardized, discretized and sparse standard electric, heat and gas data required for subsequent calculation are obtained; Step 3: The intelligent terminal judges the online state of the neighbor terminal by using the TCP communication strategy through the data communication module and the multi-terminal cooperation module, and meanwhile each intelligent terminal judges the online state of the accessed equipment in the monitoring area of the comprehensive energy system and generates a communication topology matrix ; Step 4: The intelligent terminal integrates the real-time output data of each energy device of the standard data comprehensive energy system obtained in steps 2 and 3 with the intelligent terminal communication network topology matrix through the data storage module The corresponding link state is stored in the intelligent terminal data storage module and the edge energy management system; Step 5: The intelligent terminal generates a random public key and private key by using the Paillier encryption system through the data encryption and decryption module , and then transmits the public key to the cloud platform through the edge information interaction module , while saving the private key by itself . ; Step 6: Intelligent terminal performs distributed collaborative calculation through collaborative calculation module, so that frequency of entire integrated energy system electric power network, pipeline pressure of heat and gas network are maintained at reference value, while heat-electric coupling and gas-electric coupling models are established; Step 7: Intelligent terminal performs out-of-limit judgment according to data obtained in step 2 through collaborative calculation module and multi-terminal collaboration module, when frequency of electric power system in monitoring area of one intelligent terminal is out of limit, consistency calculation is started according to information of neighbor nodes, otherwise, intelligent terminal only runs acquisition, monitoring and display functions without calculation; Step 8: Cloud platform uses public key After encryption, send the encrypted result to each intelligent terminal; Step 9: The smart terminal decrypts the reference value through the data encryption and decryption module, and simultaneously performs consistency calculation on the power grid frequency, heat network pipeline pressure, and gas network pipeline pressure for electricity-heat-gas, respectively. The first calculation result is encrypted and sent to the cloud platform. The cloud platform decrypts the ciphertext after integration. The coupled system and the operation state of electricity, heat, and gas are obtained after decryption. The adjustment amount of heat and gas is obtained according to the coupled model in step 6. The system deviation is subtracted from the reference value, and the obtained result is encrypted and sent to each smart terminal. The smart terminal decrypts the obtained data, performs the next iteration calculation according to the consistency calculation algorithm in step 7, and uploads the obtained result to the cloud platform after encryption. The cloud platform judges whether the deviation value is within the specified range. If not, the process of steps 7 to 9 is repeated until the system returns to stable operation. At this time, the smart terminal only performs acquisition, monitoring, and display functions.
6. The control method according to claim 5, characterized by The communication topology matrix in step 3 is: wherein , In the formula, , , respectively represent the communication topology matrix of all the devices related to electricity, heat and gas in the integrated energy system, which together constitute the communication topology matrix of the system , wherein the contents contained in each communication topology matrix are as follows: , , , wherein, represents the communication topology matrix of all devices related to electricity generation in the integrated energy system, , respectively represent the communication topology matrix of the combined heat and power devices and the combined heat and gas devices, represents the communication topology matrix of all devices related to heat generation in the integrated energy system, represents the communication topology matrix of all devices related to gas generation in the integrated energy system.
7. The control method according to claim 5, characterized by The heat-electricity coupling model and the gas-electricity coupling model established in step 6 are as follows: Step 6.1: Heat-electricity coupling model In the integrated energy system, the gas turbine realizes the mutual conversion of power and heat networks. The heat supply pipeline is an intermediate device for delivering heat energy from the heat source to the user. In this process, the power generation of the gas turbine and the heat supply amount in the pipeline are represented by the following relationship wherein the electric power representative of the electric-thermal coupling section of the gas turbine, the thermal efficiency representative of the gas turbine, the fuel supply representative of the gas turbine, the natural gas calorific value, not only the flow and pressure of the hydraulic part should be considered during the delivery of hot water through the heating pipeline, but also the temperature loss in the pipeline should be considered, and the water is regarded as a one-dimensional incompressible fluid, the pressure and flow changes of the water in the pipeline are represented as wherein, represents the pressure of water in the pipe, represents the cross-sectional area of the pipe, represents the density of water in the pipe, represents the drag coefficient between water and the pipe, represents the radial distance of water along the pipe, represents the gravitational acceleration, represents the angle between the pipe and the horizontal plane, represents that the calculation is carried out in an isentropic process; at the same time, the heat change rate of hot water in the pipe is equal to the difference between the input heat and the output heat of the pipe per unit time, the output heat is the heat input to the user and the heat dissipation of the pipe, and the thermodynamic modeling of the pipe is represented according to the law of thermodynamics wherein, represents the hot water heat capacity in the pipe, represents the specific heat capacity of the medium, is the heat transfer coefficient of the heat pipe, represents the length of the heat pipe, represents the outlet temperature of the heat pipe, represents the liquid temperature in the heat pipe. Step 6.2: Gas-electricity coupling model In the integrated energy system, the gas turbine realizes the mutual conversion of natural gas and electricity. In the operation process, the power generation and the gas supply amount are represented by the following relationship wherein represents the electric power of the gas turbine gas-to-electricity coupling section, represents the thermal efficiency of the gas turbine, represents the fuel supply of the gas turbine, represents the natural gas heating value; the gas turbine output electric power acts on the electric gas production plant P2G, whose consumption of electric energy and gas production are related by wherein, represents the electrical power consumed by the P2G plant, represents the flow rate of the gas produced by the P2G plant, represents the natural gas heating value, represents the P2G plant conversion efficiency, the P2G plant uses electrical energy to electrolyze water to obtain hydrogen, and then obtains methane through a catalytic reaction, and the methane and other gases are transported through a gas pipeline to a gas storage device or a compressor, in the process of gas transmission in the pipeline, the cross-sectional area of the pipeline along the path of the gas flow is constant, and the temperature is constant during the advance, at this time, the isothermal dynamic equation of the pipeline pressure in the process of gas transmission is represented as wherein represents the gas density, represents the pipe flow, represents the radial distance covered by the gas along the pipe, represents time, represents the cross-sectional area of the pipe, represents the angle of the pipe to the horizontal, represents the drag coefficient between the gas and the pipe, represents the gas network pipe pressure, represents the gas compressibility factor, represents the gravitational acceleration, represents the gas constant, represents the gas temperature.
8. The control method according to claim 7, characterized by The consistency algorithm proposed in step 7 is as follows: wherein is a simplified form of the consensus algorithm, to meet a real number, represents the grid frequency, the heat grid pipe pressure, the gas grid pipe pressure of the nth intelligent terminal monitoring area local node, represents the grid frequency, the heat grid pipe pressure, the gas grid pipe pressure of the neighbor node, represents the reference value of the grid frequency, the heat grid pipe pressure, the gas grid pipe pressure generated by the cloud platform, , represents the hyperbolic tangent function.
9. The control method according to claim 8, characterized by, The step 8 specifically comprises the following steps: the cloud platform randomly generates three sets of parameters , With , the three sets of parameters respectively satisfy , , The public key is used to encrypt the reference values of the three different networks , , After encryption, the encrypted results are sent to each intelligent terminal , With ; The step 9 specifically includes the following steps: Step 9.1 The reference value is decrypted by the encryption and decryption module of the smart terminal data, and the power grid frequency, the heat network pipeline pressure, and the gas network pipeline pressure are calculated according to the consistency algorithm proposed in step 7. The first calculation result is encrypted to obtain , and sent to the cloud platform, wherein , , represent the first calculation results of the heat network frequency, the heat network pipeline pressure, and the gas network pipeline pressure, respectively. Step 9.2 The cloud platform decrypts the power network result after multiplying it according to the additive homomorphism of the encryption algorithm to obtain the frequency deviation of the power network calculation process corresponding to the first smart terminal at this time Step 9.3 The cloud platform sends the frequency deviation to the first Subtracting the system reference frequency, the adjustment amount of the integrated energy system in the first iteration is obtained Subtracting the system reference frequency, the adjustment amount of the integrated energy system in the first iteration is obtained , the power corresponding to the output of the electric-thermal coupling and the electrical coupling of the gas turbine obtained by the coupling model of step 6 Subtracting the system reference frequency, the adjustment amount of the integrated energy system in the first iteration is obtained Subtracting the system reference frequency, the adjustment amount of the integrated energy system in the first iteration is obtained Subtracting the system reference frequency, the adjustment amount of the integrated energy system in the first iteration is obtained , , the adjustment amount of the integrated energy system is encrypted to obtain , , the adjustment amount of the integrated energy system is encrypted to obtain , and is sent to the corresponding intelligent terminal Step 9.3: The smart terminal data is decrypted through the encryption and decryption module, and the next iteration calculation is performed according to the consistency calculation algorithm in step 7. The obtained result is uploaded to the cloud platform in step 9.1 after calculation. The cloud platform judges whether the deviation value is within the specified range. If not, the process of steps 6 to 9.3 is repeated until the system returns to stable operation until the integrated energy system returns to stable operation. At this time, the smart terminal only performs acquisition, monitoring, and display functions. In this process, the smart terminal displays the real-time operation of the energy equipment monitored by the smart terminal, the communication network topology of the smart terminal, the online status of the smart terminal and its connected devices, and the historical operation of each device through the interface display module using the liquid crystal screen.
Citation Information
Patent Citations
Intelligent terminal for integrated energy system based on edge computing and control method of intelligent terminal
CN113037837A
Federal learning-based power data safe and efficient sharing method
CN114510741A