Regional energy activity simulation method and device, terminal equipment and storage medium

By acquiring the topology and operating parameters of a regional energy system and combining this with a quantum random number generator to generate perturbation data, the problem of poor simulation results in existing technologies has been solved, and higher-precision regional energy system simulation has been achieved.

CN120874385APending Publication Date: 2025-10-31SICHUAN ENERGY INTERNET RES INST TSINGHUA UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511082815.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-04
Publication Date
2025-10-31

AI Technical Summary

Technical Problem

In the planning stage of new energy projects, especially in application scenarios such as distribution network planning, regional energy system design, and low-carbon transformation of industrial parks, existing technologies have the problem of poor simulation effects.

Method used

A regional energy activity simulation method is adopted. By acquiring the regional topology and energy operation parameters of the region to be simulated, and combining them with a quantum random number generator to generate perturbation data, and integrating basic activity data, the uncertainty factors in regional energy activities are simulated, thereby improving the simulation effect.

Benefits of technology

It improves the accuracy and realism of regional energy system simulation, better reflects actual operating conditions, and enhances the randomness and credibility of the simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120874385A_ABST
    Figure CN120874385A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a regional energy activity simulation method and device, terminal equipment and a storage medium, and relates to the technical field of computers. Obtaining a regional topological structure and energy operation parameters of the to-be-simulated region; according to the regional topological structure, the energy operation parameters and a preset quantum random number generator, performing analog simulation on regional energy activities of the to-be-simulated region to obtain simulation data corresponding to the regional energy activities; wherein the simulation data is fusion data of basic activity data corresponding to the regional energy activity and disturbance data, and the disturbance data is generated by a quantum random number generator and used for representing uncertain factors in the regional energy activity. In this way, the fused data can better fit the actual situation, and therefore the simulation effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more specifically, to a method, apparatus, terminal equipment, and storage medium for simulating regional energy activities. Background Technology

[0003] In the planning stage of new energy projects, especially in application scenarios such as distribution network planning, regional energy system design, and low-carbon transformation of industrial parks, it is often necessary to generate high-precision simulations of the operation of regional energy systems. However, in this process, there is often a problem of poor simulation results. Summary of the Invention

[0004] In view of this, the purpose of this application is to provide a method, apparatus, terminal equipment and storage medium for simulating regional energy activities, so as to improve the simulation effect of regional energy systems.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows: Firstly, this application provides a method for simulating regional energy activities, the method comprising: Obtain the regional topology and energy operation parameters of the area to be simulated; The regional energy activities of the region to be simulated are performed based on the regional topology, the energy operation parameters, and a preset quantum random number generator to obtain simulation data corresponding to the regional energy activities. The simulation data is a fusion of basic activity data and disturbance data corresponding to the regional energy activities. The disturbance data is generated by the quantum random number generator and is used to characterize the uncertainty factors in the regional energy activities.

[0006] In an optional implementation, the regional energy activities include basic energy activities, interactive activities, and failure events; The process of simulating the regional energy activities of the region to be simulated based on the regional topology, the energy operating parameters, and a preset quantum random number generator to obtain simulation data corresponding to the regional energy activities includes: The basic energy activities are simulated based on the regional topology, the energy operation parameters, and a preset quantum random number generator to obtain simulation data corresponding to the basic energy activities. The interactive activity is simulated based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, and the quantum random number generator to obtain the simulation data corresponding to the interactive activity. Based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, the simulation data corresponding to the interactive activities, and the quantum random number generator, the fault event is simulated to obtain the simulation data corresponding to the fault event.

[0007] In an optional implementation, the basic energy activities include load activities and natural resource activities; The step of simulating the basic energy activities based on the regional topology, the energy operating parameters, and a preset quantum random number generator to obtain simulation data corresponding to the basic energy activities includes: Based on the regional topology and the energy operation parameters, basic load data corresponding to the load activity is generated, and load disturbance data corresponding to the load activity is generated based on the quantum random number generator. The basic load data and the load disturbance data are superimposed and fused to obtain load simulation data corresponding to the load activity. Based on the regional topology and the energy operation parameters, basic natural data corresponding to the natural resource activities are generated, and natural disturbance data corresponding to the natural resource activities are generated based on the quantum random number generator. The basic natural data and the natural disturbance data are superimposed and fused to obtain natural resource simulation data corresponding to the natural resource activities.

[0008] In an optional implementation, the interactive activities include vehicle-to-grid interactive activities and virtual power plant interactive activities; The step of simulating the interactive activity based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, and the quantum random number generator to obtain the simulation data corresponding to the interactive activity includes: Based on the regional topology, the energy operation parameters, and the simulation data corresponding to the basic energy activities, basic vehicle-network interaction data corresponding to the vehicle-network interaction activities is generated. Based on the quantum random number generator, vehicle-network disturbance data corresponding to the vehicle-network interaction activities is generated. The basic vehicle-network interaction data and the vehicle-network disturbance data are superimposed and fused to obtain vehicle-network interaction simulation data corresponding to the vehicle-network interaction activities. Based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, and the vehicle-to-grid interaction simulation data, basic power plant interaction data corresponding to the virtual power plant interaction activities is generated. Power plant disturbance data corresponding to the virtual power plant interaction activities is generated based on the quantum random number generator. The basic power plant interaction data and the power plant disturbance data are superimposed and fused to obtain the virtual power plant interaction simulation data corresponding to the virtual power plant interaction activities.

[0009] In an optional implementation, the step of simulating the fault event based on the regional topology, the energy operating parameters, the simulation data corresponding to the basic energy activities, the simulation data corresponding to the interactive activities, and the quantum random number generator to obtain the simulation data corresponding to the fault event includes: Based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, and the simulation data corresponding to the interactive activities, basic fault events are generated. Based on the quantum random number generator, perturbation data corresponding to the fault events is generated. Based on the perturbation data and the preset occurrence probability for the basic fault events, event simulation data corresponding to the fault events is generated.

[0010] Secondly, this application provides a regional energy activity simulation device, the device comprising: The acquisition module is used to acquire the regional topology and energy operation parameters of the area to be simulated. The simulation module is used to simulate the regional energy activities of the region to be simulated based on the regional topology, the energy operation parameters, and a preset quantum random number generator, and to obtain simulation data corresponding to the regional energy activities; wherein, the simulation data is fused data of basic activity data and perturbation data, and the perturbation data is used to characterize the uncertainty factors in the regional energy activities.

[0011] In an optional implementation, the regional energy activities include basic energy activities, interactive activities, and fault events. The simulation module is further configured to simulate the basic energy activities based on the regional topology, the energy operating parameters, and a preset quantum random number generator to obtain simulation data corresponding to the basic energy activities; simulate the interactive activities based on the regional topology, the energy operating parameters, the simulation data corresponding to the basic energy activities, and the quantum random number generator to obtain simulation data corresponding to the interactive activities; and simulate the fault events based on the regional topology, the energy operating parameters, the simulation data corresponding to the basic energy activities, the simulation data corresponding to the interactive activities, and the quantum random number generator to obtain simulation data corresponding to the fault events.

[0012] In an optional implementation, the basic energy activities include load activities and natural resource activities; the simulation module is further configured to generate basic load data corresponding to the load activities based on the regional topology and the energy operating parameters, and generate load disturbance data corresponding to the load activities based on the quantum random number generator, and superimpose and fuse the basic load data and the load disturbance data to obtain load simulation data corresponding to the load activities; generate basic natural data corresponding to the natural resource activities based on the regional topology and the energy operating parameters, and generate natural disturbance data corresponding to the natural resource activities based on the quantum random number generator, and superimpose and fuse the basic natural data and the natural disturbance data to obtain natural resource simulation data corresponding to the natural resource activities.

[0013] Thirdly, this application provides a terminal device including a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the method described in any of the foregoing embodiments.

[0014] Fourthly, this application provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any of the foregoing embodiments.

[0015] The regional energy activity simulation method, apparatus, terminal equipment, and storage medium provided in this application simulate the regional energy activities of the region to be simulated based on the regional topology, energy operation parameters, and a quantum random number generator, thereby obtaining simulation data corresponding to the regional energy activities. This simulation data is a fusion of basic activity data and disturbance data corresponding to the regional energy activities. Since the disturbance data is generated by the quantum random number generator, it has true random number characteristics, which can realistically simulate the uncertainty factors in regional energy activities, making the fused data more consistent with the actual situation, thereby improving the simulation effect.

[0016] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 A block diagram of a terminal device provided in an embodiment of this application is shown; Figure 2 This paper illustrates a flowchart of a regional energy activity simulation method provided in an embodiment of this application. Figure 3 This illustration shows another flowchart of the regional energy activity simulation method provided in an embodiment of this application; Figure 4 A functional block diagram of a regional energy activity simulation device provided in an embodiment of this application is shown.

[0019] Icons: 100 - Memory; 110 - Processor; 120 - Communication Module; 200 - Acquisition Module; 210 - Simulation Module. Detailed Implementation

[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can be arranged and designed in various different configurations.

[0021] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0022] It should be noted that relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

[0023] Figure 1 Please refer to the block diagram of the terminal device provided in the embodiments of this application. Figure 1The terminal device includes a memory 100, a processor 110, and a communication module 120. The memory 100, processor 110, and communication module 120 are electrically connected directly or indirectly to enable data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses or signal lines.

[0024] The memory 100 is used to store programs or data. The memory 100 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.

[0025] The processor 110 is used to read / write data or programs stored in memory and to perform corresponding functions.

[0026] The communication module is used to establish communication connections between the terminal device and other communication terminals via the network, and to send and receive data via the network.

[0027] It should be understood that, Figure 1 The structure shown is only a schematic diagram of the terminal device; the terminal device may also include components that are larger than those shown. Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown. Figure 1 The components shown can be implemented using hardware, software, or a combination thereof.

[0028] The following is based on the above. Figure 1 The terminal device in this application serves as the execution entity. The regional energy activity simulation method provided in this embodiment is illustrated with a flowchart. Specifically, Figure 2 For a flowchart illustrating the regional energy activity simulation method provided in this application embodiment, please refer to [link / reference]. Figure 2 The method includes: Step S20: Obtain the regional topology and energy operation parameters of the area to be simulated.

[0029] It should be understood that, in this embodiment, the "regional topology and energy operation parameters of the area to be simulated" are the initial input data in the simulation of regional energy activities, which constitute the basic information support for the entire simulation process.

[0030] Optionally, a regional energy system is constructed in the region to be simulated. The regional topology refers to the topology corresponding to the regional energy system, and the energy operating parameters refer to the operating parameters of the regional energy system.

[0031] Optionally, the regional topology may specifically include structured information such as the physical connections of key equipment in the regional energy system, node configurations, and line layouts. Essentially, it is a digital model of the spatial organization of the regional energy network. For example, in a distribution network planning scenario, this topology typically encompasses core topological elements such as feeder structures, transformer locations, load node distributions, energy access points, and power flow directions. This information directly determines the energy flow paths and constraints during the simulation process.

[0032] Optionally, energy operation parameters refer to relevant data used to describe the operating status of a regional energy system within a specific time frame, including but not limited to historical operation data, forecast data, and boundary condition parameters. These parameters are typically derived from actual monitoring data, statistical model predictions, or input conditions related to the simulation objective.

[0033] For example, energy operation parameters may include historical curves of regional load, predicted values ​​of renewable energy output, operating capacity limitations of power equipment, and load growth trends. In addition, they may include external influencing factors that may be involved in the simulation process, such as temperature, light intensity, wind speed, and electricity pricing mechanisms. These parameters are used to construct the boundary conditions of the simulation model, ensuring that the simulation results reflect the dynamic changes in the real operating environment.

[0034] In one possible implementation, the regional topology can be input in graphical or structured data form, such as GIS map data, topological connectivity matrices, node-edge relationship tables, etc., to accurately represent the physical connectivity of the energy system in the simulation model.

[0035] Understandably, regional topology and energy operation parameters not only reflect the static structural characteristics of a regional energy system, but also cover its dynamic operating conditions, providing a basis for subsequent perturbation data fusion based on quantum random number generators.

[0036] In practical applications, the regional topology and energy operation parameters must also meet the simulation process's requirements for data integrity and consistency. For example, in new energy project planning, input data may include load growth forecasts for the next three years, the grid connection capacity of distributed photovoltaic and wind power, and the configuration of energy storage systems. In the scenario of zero-carbon park construction, input data may also cover the spatiotemporal distribution characteristics of energy consumption within the park and the statistical patterns of electric vehicle charging and discharging behavior. Therefore, it is also necessary to preprocess the regional topology and energy operation parameters, including data cleaning, standardization, and parametric modeling, to ensure that the data has high accuracy and computability.

[0037] Step S21: Simulate the regional energy activities of the region to be simulated based on the regional topology, energy operation parameters, and a preset quantum random number generator to obtain simulation data corresponding to the regional energy activities.

[0038] The simulation data is a fusion of basic activity data and disturbance data corresponding to regional energy activities. The disturbance data is generated by a quantum random number generator and is used to characterize the uncertainty factors in regional energy activities.

[0039] In this embodiment, the simulation data corresponding to regional energy activities refers to the data set generated during the simulation of regional energy activities, which reflects the operating status of the energy system in the region. This data set is composed of the fusion of basic activity data and disturbance data.

[0040] Optionally, the basic activity data refers to the basic simulation results of energy activities generated by traditional simulation algorithms based on the topology and operating parameters of the regional energy system. These data represent the theoretical output of the regional energy system under typical operating conditions without external random disturbances. To make the simulation results more closely resemble reality, disturbance data needs to be integrated into the basic activity data to simulate uncertainties in regional energy activities.

[0041] In one possible implementation, perturbation data can be generated by random number generation algorithms. However, these algorithms generally generate pseudo-random numbers. Although such perturbation data can introduce a certain degree of randomness, since it is essentially a deterministic sequence based on the initial seed value, there may be a certain correlation between different perturbation data, causing the simulation results to deviate from the actual operating conditions.

[0042] Based on this, embodiments of this application can use a quantum random number generator to generate perturbation data and superimpose it on the basic activity data to form simulation data that better reflects the uncertainties of actual operation.

[0043] In this embodiment, a quantum random number generator can be introduced and mounted on the terminal device. The quantum random number generator refers to any one or a combination of hardware devices, application programming interfaces (APIs), platform as a service (PaaS), or software as a service (SaaS) that have quantum random number generation capabilities.

[0044] During the above steps, the terminal device first generates basic activity data based on the regional topology and energy operation parameters. This data originates from the output of a traditional simulation model, and its generation method is consistent with conventional energy system simulation methods in existing technologies. Subsequently, a quantum random number generator is invoked to generate perturbation data with true randomness.

[0045] It should be noted that since the perturbation data consists of random values ​​generated by a quantum random number generator, its essence is truly random numbers generated based on quantum physical processes. The generation of such random numbers does not depend on initial conditions or deterministic algorithms, but rather on unpredictable quantum phenomena, such as the polarization state of photons or the tunneling effect of electrons. Based on this, the perturbation data possesses the characteristics of unpredictability, aperiodicity, and independence from initial conditions, enabling a more realistic simulation of uncertainties in regional energy activities, such as load fluctuations, changes in light intensity, and wind speed fluctuations.

[0046] Optionally, the terminal equipment can fuse basic activity data and disturbance data through mathematical operations to obtain simulation data, such as through linear superposition, multiplicative disturbances, or time-series disturbances. Understandably, the final fused simulation data can more accurately reflect the complexity and uncertainty faced by the regional energy system in actual operation.

[0047] The regional energy activity simulation method provided in this application simulates regional energy activities in the region to be simulated based on the regional topology, energy operation parameters, and a quantum random number generator. This simulation data is a fusion of basic activity data and disturbance data corresponding to the regional energy activities. Since the disturbance data is generated by the quantum random number generator, it has true randomness characteristics. It can realistically simulate the uncertainty factors in regional energy activities, improve the randomness quality of the simulation, and make the fused data more consistent with the actual situation, thereby improving the simulation effect.

[0048] In one possible implementation, regional energy activities could encompass several major forms of activity involved in the operation of the energy system, including basic energy activities, interactive activities, and failure events.

[0049] The following provides a possible approach to simulating regional energy activities in the region to be simulated based on the regional topology, energy operation parameters, and a preset quantum random number generator, in order to obtain simulation data corresponding to the regional energy activities.

[0050] Specifically, in Figure 2 On this basis, Figure 3 For another flowchart illustrating the regional energy activity simulation method provided in this application embodiment, please refer to [link / reference]. Figure 3 The above step S21 also includes the following steps: Step S21-1: Simulate basic energy activities based on the regional topology, energy operation parameters, and a preset quantum random number generator to obtain simulation data corresponding to the basic energy activities.

[0051] Optionally, the basic energy activities refer to the fundamental operational behaviors in a regional energy system that are directly related to energy production and consumption.

[0052] During the execution of the above steps, the simulation of basic energy activities relies on input conditions such as physical connectivity information, energy equipment parameters, and historical or predicted operating data provided by the regional topology and energy operating parameters. Furthermore, it requires perturbation data provided by a quantum random number generator to simulate uncertainties in basic energy activities, resulting in a simulation output with an uncertainty characterization.

[0053] Step S21-2: Simulate the interactive activities based on the regional topology, energy operation parameters, simulation data corresponding to basic energy activities, and a quantum random number generator to obtain simulation data corresponding to the interactive activities.

[0054] Optionally, the interactive activity refers to interactive behavior that occurs within the energy system or between it and other systems.

[0055] Since interactive activities are dynamic behaviors built upon basic energy activities, their occurrence, development, and changes are directly influenced by the state of these basic energy activities. Therefore, simulating interactive activities requires not only relying on the regional topology and energy operation parameters but also incorporating data generated from the simulation of basic energy activities as input conditions. Simultaneously, the terminal device also incorporates perturbation data generated by a quantum random number generator to simulate uncertainties in the interactive behavior, such as the uncertainty of user behavior and the randomness of charging time.

[0056] Step S21-3: Based on the regional topology, energy operation parameters, simulation data corresponding to basic energy activities, simulation data corresponding to interactive activities, and quantum random number generator, simulate the fault event to obtain the simulation data corresponding to the fault event.

[0057] Optionally, a fault event refers to an unexpected interruption or abnormal situation that may occur during the operation of the system, such as equipment failure, extreme weather, or temporary construction.

[0058] It should be noted that failure events in regional energy systems, such as node failures, extreme weather, and temporary construction, do not occur only under static topology structures but also randomly within a dynamic energy activity context. Therefore, when simulating failure events, it is necessary to incorporate simulation data corresponding to basic energy activities and interactive activities to ensure the simulation possesses the necessary prerequisites for realism and interpretability.

[0059] Specifically, the terminal device can generate basic fault events on the simulation timeline based on the regional topology, energy operating parameters, and simulation results of the aforementioned two types of activities. Then, it superimposes perturbation data generated by a quantum random number generator to simulate the fault events. Understandably, this perturbation data can simulate the uncertainty of fault event occurrence.

[0060] The regional energy activity simulation method provided in this application unfolds three types of simulation tasks—basic energy activities, interactive activities, and fault events—in a logical sequence, forming a well-structured simulation process with clear data flow. The simulation process for each type of activity can be supported by the output data of preceding activities, combined with perturbation data provided by a quantum random number generator, to achieve comprehensive modeling of uncertainties in the regional energy system. This phased, progressive simulation mechanism not only conforms to the objective laws of regional energy system operation but also ensures the systematic and coherent nature of the simulation process.

[0061] The simulation process for basic energy activities, interactive activities, and failure events will be introduced next.

[0062] In this embodiment, basic energy activities, as the core component of regional energy activities, directly determine the operating background and initial state of the entire regional energy system through their simulation process.

[0063] Optionally, the basic energy activities refer to two types of fundamental activities directly related to energy consumption and energy supply during the operation of a regional energy system, specifically including load activities and natural resource activities. Load activities can be used to describe the dynamic changes in various energy consumption behaviors within the region, while natural resource activities are used to describe the spatiotemporal distribution characteristics of renewable energy resources (such as solar irradiance and wind speed) within the region. In this embodiment, the terminal device can generate basic load data corresponding to load activities based on the regional topology and energy operation parameters, and generate load disturbance data corresponding to load activities based on a quantum random number generator. The basic load data and load disturbance data are then superimposed and fused to obtain load simulation data corresponding to the load activities. Similarly, the device can generate basic natural data corresponding to natural resource activities based on the regional topology and energy operation parameters, and generate natural disturbance data corresponding to natural resource activities based on a quantum random number generator. The basic natural data and natural disturbance data are then superimposed and fused to obtain natural resource simulation data corresponding to natural resource activities.

[0064] During the execution of the above steps, the terminal equipment can generate basic load data corresponding to load activities based on the regional topology and energy operation parameters.

[0065] Specifically, the generation of basic load data can employ traditional load forecasting algorithms, whose inputs include, but are not limited to, the distribution network structure of the regional energy system, historical load data, and forecast information for future development. If the area to be simulated is an existing area, it can be fitted based on historical data; if the area to be simulated is a newly planned area, it can be simulated by using total load forecasting combined with data from similar industrial parks.

[0066] Building upon this, the terminal device can further invoke a pre-set quantum random number generator to generate load disturbance data. This disturbance data is used to simulate uncertainties in load activities, such as micro-changes in user behavior fluctuations and sudden power demand. Subsequently, the basic load data and the load disturbance data are superimposed and fused to obtain load simulation data corresponding to the load activities.

[0067] Furthermore, when generating simulation data corresponding to natural resource activities, basic natural data is first generated based on regional topology and energy operation parameters. This basic natural data is primarily generated using mature meteorological forecasting algorithms, covering time-series forecasts of renewable energy resources such as photovoltaics and wind power. These forecasts are typically obtained through modeling based on historical meteorological data and regional geographical features.

[0068] In simulations at fine time granularity (e.g., minute-level) or micro-regional scales, a certain amount of random perturbation data can be introduced using a quantum random number generator to more realistically reflect short-term fluctuations in natural variables such as light intensity and wind speed. This perturbation data is then overlaid and fused with the basic natural data to obtain more realistic natural resource simulation data. In this embodiment, the load simulation data and natural resource simulation data can serve as simulation results for basic energy activities, providing a data foundation for the simulation of interactive activities and fault events.

[0069] In this embodiment, the interactive activity refers to the dynamic interaction process related to energy consumption behavior during the operation of the regional energy system, specifically including vehicle-to-grid interaction activities and virtual power plant interaction activities. Both types of activities involve real-time response mechanisms between energy supply and demand, and the generation of their simulation data depends on the simulation output results of basic energy activities. At the same time, perturbation data generated by a quantum random number generator is introduced to enhance the uncertainty and realism of the simulation.

[0070] Optionally, the interactive activities include vehicle-to-everything (V2X) interactive activities and virtual power plant interactive activities; In this embodiment, basic vehicle-to-grid interaction data corresponding to vehicle-to-grid interaction activities are generated based on the regional topology, energy operation parameters, and simulation data corresponding to basic energy activities. Vehicle-to-grid disturbance data corresponding to vehicle-to-grid interaction activities are generated based on a quantum random number generator. The basic vehicle-to-grid interaction data and vehicle-to-grid disturbance data are superimposed and fused to obtain vehicle-to-grid interaction simulation data corresponding to vehicle-to-grid interaction activities. Based on the regional topology, energy operation parameters, simulation data corresponding to basic energy activities, and vehicle-to-grid interaction simulation data, basic power plant interaction data corresponding to virtual power plant interaction activities is generated. Power plant disturbance data corresponding to virtual power plant interaction activities is generated based on a quantum random number generator. The basic power plant interaction data and power plant disturbance data are superimposed and fused to obtain virtual power plant interaction simulation data corresponding to virtual power plant interaction activities.

[0071] During the execution of the above steps, for vehicle-to-grid interaction activities, the terminal device can first generate basic vehicle-to-grid interaction data corresponding to the vehicle-to-grid interaction activities based on the regional topology, energy operation parameters, and simulation data corresponding to basic energy activities.

[0072] Specifically, the generation of basic vehicle-to-grid interaction data relies on machine learning algorithms or pre-built correlation models, which can simulate the number of active electric vehicles in the region and their interaction with the power grid based on the input data.

[0073] Building upon this, the terminal device can further utilize a pre-defined quantum random number generator to generate vehicle-to-grid disturbance data. This disturbance data is used to simulate uncertainties in the vehicle-to-grid interaction process, such as changes in user behavior and the randomness of charging behavior. Subsequently, the basic vehicle-to-grid interaction data and the vehicle-to-grid disturbance data are superimposed and fused to obtain vehicle-to-grid interaction simulation data corresponding to the vehicle-to-grid interaction activity.

[0074] It should be noted that, considering that the basic vehicle-to-network interaction data generated by machine learning algorithms may contain some pseudo-randomness, in order to ensure the data quality of the vehicle-to-network interaction simulation data, the basic vehicle-to-network interaction data can be smoothed first, and then the basic vehicle-to-network interaction data and the vehicle-to-network disturbance data can be superimposed and fused.

[0075] In addition, when generating simulation data corresponding to virtual power plant interactive activities, the terminal device can also first generate basic power plant interactive data based on the regional topology, energy operation parameters, simulation data corresponding to basic energy activities, and vehicle-to-grid interactive simulation data.

[0076] Specifically, the generation of basic power plant interaction data relies on a constructed correlation response model between virtual power plant activities and electricity prices. This model can reflect the response behavior of virtual power plants to energy dispatch under different electricity price conditions.

[0077] In this embodiment, although the virtual power plant technology is relatively mature and the model has strong predictive capabilities, in order to more realistically reflect the uncertainties in the actual operation process, it is necessary to further introduce a quantum random number generator to generate power plant disturbance data to simulate microscopic changes such as virtual power plant response delay and response capability fluctuations, thereby improving the realism of the simulation data. Subsequently, the basic power plant interaction data and the power plant disturbance data are superimposed and fused to obtain the virtual power plant interaction simulation data corresponding to the virtual power plant interaction activities.

[0078] Understandably, introducing a quantum random number generator into the simulation of interactive activities can effectively improve the uncertainty and realism of vehicle-to-grid and virtual power plant interaction simulations. This not only solves the data correlation problem that pseudo-random numbers may cause, but also provides a more reliable data foundation for the simulation of subsequent fault events, thereby improving the accuracy and practicality of the simulation of energy activities in the entire region.

[0079] In this embodiment, the fault event refers to an abnormal operating state or sudden event that may occur during the simulation of the regional energy system. These include, but are not limited to, node failures, extreme weather, temporary construction, and non-holiday activities that disrupt the operation of the energy system. These events are typically random and have a significant impact on the operational status and future development of the regional energy system. Therefore, it is necessary to model and simulate these events appropriately during the simulation process to improve the accuracy and reliability of the simulation results.

[0080] Specifically, the terminal device can generate basic fault events based on the regional topology, energy operation parameters, simulation data corresponding to basic energy activities, and simulation data corresponding to interactive activities. It can also generate disturbance data corresponding to the fault events based on a quantum random number generator, and generate event simulation data corresponding to the fault events based on the disturbance data and the preset occurrence probability of the basic fault events.

[0081] During the execution of the above steps, the terminal device can first generate basic fault events based on the regional topology, energy operation parameters, simulation data corresponding to basic energy activities, and simulation data corresponding to interactive activities.

[0082] The basic fault events here refer to the possible fault types and their basic characteristics constructed based on existing data and models without considering random disturbances. For example, in distribution network planning or new energy project planning, typical fault types such as feeder short circuits, transformer overloads, and photovoltaic module failures can be pre-defined based on historical operating data and equipment characteristics, and a corresponding list of basic fault events can be generated by combining the structural characteristics of the regional energy system.

[0083] Furthermore, to introduce uncertainty into the simulation, the basic fault events need to be combined with perturbation data to reflect the impact of random factors in the real environment. Based on this, the terminal device can call a preset quantum random number generator to generate perturbation data related to the fault events. The "perturbation data" here can specifically include random values ​​used to determine whether an event has occurred, the time of the event, the duration of the event, and other parameters.

[0084] In this embodiment, the preset occurrence probability refers to the probability that the basic fault event may occur. If the disturbance data indicates that the fault event may occur, event simulation data corresponding to the fault event can be generated to simulate the occurrence of the fault event.

[0085] In one possible implementation, when determining whether a fault event has occurred at the current time, the terminal device can compare the generated perturbation data with the preset probability of the event occurring at that time. If the perturbation data is less than or equal to the probability value, the event is determined to have occurred at that time, and event simulation data corresponding to the fault event can be generated at that time; otherwise, it is determined not to have occurred. For example, if the preset probability of an event occurring at a certain time is 0.2 (i.e., 20%), and the perturbation data generated by the quantum random number generator is 0.15, then the event is determined to have occurred at that time; if the generated perturbation data is 0.25, then the event has not occurred.

[0086] It should be noted that, in this embodiment, the terminal device can pre-set the possible time periods and corresponding probability distributions of different types of fault events on the simulation timeline. For example, extreme weather events may occur randomly throughout the simulation period, and their probability of occurrence varies in different seasons or months; while node faults may be more likely to occur during peak load periods. Therefore, when generating disturbance data, in addition to relying on the randomness provided by the quantum random number generator, it is also necessary to process it in conjunction with these preset occurrence probabilities to ensure that the final generated event simulation data conforms to the statistical laws of the actual operating scenario.

[0087] Specifically, if the simulation mode is an hourly simulation moving forward along the time axis, the system determines whether an event occurs at each time point based on a preset probability using a quantum random number generator, thereby generating simulation data corresponding to the fault event. If it is a simulation mode with a fixed time axis, the system can pre-generate a complete event script using the quantum random number generator, determining the occurrence time, type, and impact range of all possible events, and then handle them according to the event script. Therefore, regardless of the simulation mode used, the event generation process can be ensured to have higher randomness and independence, effectively improving the realism and predictive ability of regional energy activity simulation.

[0088] The regional energy activity simulation method provided in this application can achieve high-fidelity simulation of uncertain fault events in regional energy systems by introducing a quantum random number generator and combining the modeling of basic fault events with the generation of disturbance data. Therefore, it can effectively avoid the correlation problem between pseudo-random numbers, reduce systematic bias in the simulation process, and enhance the credibility and applicability of simulation results.

[0089] To perform the corresponding steps in the above embodiments and various possible methods, an implementation of a regional energy activity simulation device is given below. Optionally, the regional energy activity simulation device can adopt the above-described... Figure 1 The device structure of the terminal device is shown. Further, please refer to... Figure 4 , Figure 4 This is a functional block diagram of a regional energy activity simulation device provided in this application embodiment. It should be noted that the basic principle and technical effects of the regional energy activity simulation device provided in this embodiment are the same as those in the above embodiments. For the sake of brevity, any parts not mentioned in this embodiment can be referred to the corresponding content in the above embodiments. The regional energy activity simulation device includes: an acquisition module 200 and a simulation module 210.

[0090] The acquisition module 200 is used to acquire the regional topology and energy operation parameters of the area to be simulated.

[0091] Understandably, the acquisition module 200 can also be used to perform the above step S20.

[0092] The simulation module 210 is used to simulate the regional energy activities of the region to be simulated based on the regional topology, energy operation parameters and a preset quantum random number generator, and to obtain simulation data corresponding to the regional energy activities. The simulation data is a fusion of basic activity data and disturbance data, and the disturbance data is used to characterize the uncertainty factors in the regional energy activities.

[0093] Understandably, the simulation module 210 can also be used to perform the above step S21.

[0094] Optionally, the regional energy activities include basic energy activities, interactive activities, and fault events; the simulation module 210 is further used to simulate basic energy activities based on the regional topology, energy operating parameters, and a preset quantum random number generator to obtain simulation data corresponding to the basic energy activities; to simulate interactive activities based on the regional topology, energy operating parameters, simulation data corresponding to basic energy activities, and a quantum random number generator to obtain simulation data corresponding to the interactive activities; and to simulate fault events based on the regional topology, energy operating parameters, simulation data corresponding to basic energy activities, simulation data corresponding to interactive activities, and a quantum random number generator to obtain simulation data corresponding to the fault events.

[0095] Understandably, the simulation module 210 can also be used to execute the above steps S21-1 to S21-3.

[0096] Optionally, basic energy activities include load activities and natural resource activities; the simulation module 210 is also used to generate basic load data corresponding to load activities based on the regional topology and energy operation parameters, and generate load disturbance data corresponding to load activities based on a quantum random number generator, and superimpose and fuse the basic load data and load disturbance data to obtain load simulation data corresponding to load activities; and to generate basic natural data corresponding to natural resource activities based on the regional topology and energy operation parameters, and generate natural disturbance data corresponding to natural resource activities based on a quantum random number generator, and superimpose and fuse the basic natural data and natural disturbance data to obtain natural resource simulation data corresponding to natural resource activities.

[0097] Optionally, the interactive activities include vehicle-to-grid (V2G) interactive activities and virtual power plant (VPG) interactive activities. The simulation module 210 is further configured to generate basic V2G interactive data corresponding to the V2G interactive activities based on the regional topology, energy operating parameters, and simulation data corresponding to basic energy activities; generate V2G disturbance data corresponding to the V2G interactive activities based on a quantum random number generator; and superimpose and fuse the basic V2G interactive data and the V2G disturbance data to obtain V2G interactive simulation data corresponding to the V2G interactive activities. It also generates basic V2G interactive data corresponding to the virtual power plant interactive activities based on the regional topology, energy operating parameters, simulation data corresponding to basic energy activities, and V2G interactive simulation data; generates V2G disturbance data corresponding to the virtual power plant interactive activities based on a quantum random number generator; and superimpose and fuse the basic V2G interactive data and the V2G disturbance data to obtain V2G interactive simulation data corresponding to the virtual power plant interactive activities.

[0098] Optionally, the simulation module 210 is also used to generate basic fault events based on the regional topology, energy operation parameters, simulation data corresponding to basic energy activities and simulation data corresponding to interactive activities, and to generate disturbance data corresponding to the fault events based on a quantum random number generator, and to generate event simulation data corresponding to the fault events based on the disturbance data and the preset occurrence probability for the basic fault events.

[0099] Optionally, the above modules can be stored in the form of software or firmware. Figure 1 The memory shown is either stored in or embedded in the operating system (OS) of the terminal device, and can be used by... Figure 1 The processor executes the commands. Meanwhile, the data and program code required to execute these modules can be stored in memory.

[0100] This application also provides a storage medium storing a computer program thereon, which, when executed by a processor, can implement the regional energy activity simulation method provided in this application.

[0101] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0102] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0103] If a function is implemented as a software module and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0104] The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for simulating regional energy activities, characterized in that, The method includes: Obtain the regional topology and energy operation parameters of the area to be simulated; The regional energy activities of the region to be simulated are performed based on the regional topology, the energy operation parameters, and a preset quantum random number generator to obtain simulation data corresponding to the regional energy activities. The simulation data is a fusion of basic activity data and disturbance data corresponding to the regional energy activities. The disturbance data is generated by the quantum random number generator and is used to characterize the uncertainty factors in the regional energy activities.

2. The method according to claim 1, characterized in that, The regional energy activities include basic energy activities, interactive activities, and failure events; The process of simulating the regional energy activities of the region to be simulated based on the regional topology, the energy operating parameters, and a preset quantum random number generator to obtain simulation data corresponding to the regional energy activities includes: The basic energy activities are simulated based on the regional topology, the energy operation parameters, and a preset quantum random number generator to obtain simulation data corresponding to the basic energy activities. The interactive activity is simulated based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, and the quantum random number generator to obtain the simulation data corresponding to the interactive activity. Based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, the simulation data corresponding to the interactive activities, and the quantum random number generator, the fault event is simulated to obtain the simulation data corresponding to the fault event.

3. The method according to claim 2, characterized in that, The basic energy activities include load activities and natural resource activities; The step of simulating the basic energy activities based on the regional topology, the energy operating parameters, and a preset quantum random number generator to obtain simulation data corresponding to the basic energy activities includes: Based on the regional topology and the energy operation parameters, basic load data corresponding to the load activity is generated, and load disturbance data corresponding to the load activity is generated based on the quantum random number generator. The basic load data and the load disturbance data are superimposed and fused to obtain load simulation data corresponding to the load activity. Based on the regional topology and the energy operation parameters, basic natural data corresponding to the natural resource activities are generated, and natural disturbance data corresponding to the natural resource activities are generated based on the quantum random number generator. The basic natural data and the natural disturbance data are superimposed and fused to obtain natural resource simulation data corresponding to the natural resource activities.

4. The method according to claim 2, characterized in that, The interactive activities include vehicle-to-everything (V2X) interactive activities and virtual power plant interactive activities; The step of simulating the interactive activity based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, and the quantum random number generator to obtain the simulation data corresponding to the interactive activity includes: Based on the regional topology, the energy operation parameters, and the simulation data corresponding to the basic energy activities, basic vehicle-network interaction data corresponding to the vehicle-network interaction activities is generated. Based on the quantum random number generator, vehicle-network disturbance data corresponding to the vehicle-network interaction activities is generated. The basic vehicle-network interaction data and the vehicle-network disturbance data are superimposed and fused to obtain vehicle-network interaction simulation data corresponding to the vehicle-network interaction activities. Based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, and the vehicle-to-grid interaction simulation data, basic power plant interaction data corresponding to the virtual power plant interaction activities is generated. Power plant disturbance data corresponding to the virtual power plant interaction activities is generated based on the quantum random number generator. The basic power plant interaction data and the power plant disturbance data are superimposed and fused to obtain the virtual power plant interaction simulation data corresponding to the virtual power plant interaction activities.

5. The method according to claim 2, characterized in that, The process of simulating the fault event based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, the simulation data corresponding to the interactive activities, and the quantum random number generator to obtain the simulation data corresponding to the fault event includes: Based on the regional topology, the energy operation parameters, the simulation data corresponding to the basic energy activities, and the simulation data corresponding to the interactive activities, basic fault events are generated. Based on the quantum random number generator, perturbation data corresponding to the fault events is generated. Based on the perturbation data and the preset occurrence probability for the basic fault events, event simulation data corresponding to the fault events is generated.

6. A regional energy activity simulation device, characterized in that, The device includes: The acquisition module is used to acquire the regional topology and energy operation parameters of the area to be simulated. The simulation module is used to simulate the regional energy activities of the region to be simulated based on the regional topology, the energy operation parameters, and a preset quantum random number generator, and to obtain simulation data corresponding to the regional energy activities; wherein, the simulation data is fused data of basic activity data and perturbation data, and the perturbation data is used to characterize the uncertainty factors in the regional energy activities.

7. The apparatus according to claim 6, characterized in that, The regional energy activities include basic energy activities, interactive activities, and fault events. The simulation module is further configured to simulate the basic energy activities based on the regional topology, the energy operating parameters, and a preset quantum random number generator to obtain simulation data corresponding to the basic energy activities; simulate the interactive activities based on the regional topology, the energy operating parameters, the simulation data corresponding to the basic energy activities, and the quantum random number generator to obtain simulation data corresponding to the interactive activities; and simulate the fault events based on the regional topology, the energy operating parameters, the simulation data corresponding to the basic energy activities, the simulation data corresponding to the interactive activities, and the quantum random number generator to obtain simulation data corresponding to the fault events.

8. The apparatus according to claim 7, characterized in that, The basic energy activities include load activities and natural resource activities. The simulation module is further configured to generate basic load data corresponding to the load activities based on the regional topology and the energy operating parameters, and generate load disturbance data corresponding to the load activities based on the quantum random number generator. The basic load data and the load disturbance data are then superimposed and fused to obtain load simulation data corresponding to the load activities. Additionally, the module is configured to generate basic natural data corresponding to the natural resource activities based on the regional topology and the energy operating parameters, and generate natural disturbance data corresponding to the natural resource activities based on the quantum random number generator. The basic natural data and the natural disturbance data are then superimposed and fused to obtain natural resource simulation data corresponding to the natural resource activities.

9. A terminal device, characterized in that, It includes a processor and a memory, the memory storing a computer program executable by the processor, the processor being able to execute the computer program to implement the method of any one of claims 1-5.

10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-5.