Carbon emission determination method and device and nonvolatile storage medium
By acquiring and analyzing the power data transmitted by edge gateways, predicting the carbon emissions of building units, the problems of insufficient carbon emission prediction accuracy and poor dynamics in building systems are solved, and more accurate and flexible carbon emission management is achieved.
Patent Information
- Application Number
- CN202411116346.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-14
AI Technical Summary
Building systems cannot support building units in terms of the accuracy of energy consumption and carbon emission forecasts and the timeliness of carbon reduction regulation. The prediction accuracy of carbon emissions is insufficient and the dynamics are poor.
By obtaining the power data transmitted by the edge gateway, the historical power sequence of the target area is determined, and based on the power data and carbon emission factor prediction model, the carbon emission factors and electricity situation at multiple future moments are predicted, the carbon emission results are calculated, and the carbon emissions are achieved is achieved based on the power data and carbon emission factor prediction model. accurate prediction and dynamic adjustment.
It improves the prediction accuracy and dynamics of carbon emissions, and supports building units to participate more effectively in low-carbon development in diversified market transactions.
Smart Images

Figure CN118940007A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy, and in particular to a method and device for determining carbon emissions and a non-volatile storage medium. Background Art
[0002] At present, the building system cannot support the building units' participation in diversified market transactions and low-carbon development in terms of the accuracy of energy consumption and carbon emission forecasts and the timeliness of carbon reduction regulation. The prediction accuracy of carbon emissions is insufficient and the dynamics is poor.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a method, device and non-volatile storage medium for determining carbon emissions, so as to at least solve the technical problems of insufficient carbon emissions prediction accuracy and poor dynamics in the related art.
[0005] According to one aspect of an embodiment of the present invention, a method for determining carbon emissions is provided, including: obtaining power data in a target area transmitted from an edge gateway, wherein the power data characterizes power generation and power consumption in the target area; determining a historical power sequence of the target area based on the power data, wherein the power sequence is the power situation of the target area at multiple historical moments; predicting the power situation of the target area at multiple future moments based on the historical power sequence; determining the carbon emission factors corresponding to each of the multiple future moments based on the power data and a carbon emission factor prediction model; determining the carbon emission results based on the power situation at multiple future moments and the carbon emission factors corresponding to each of the multiple future moments; and transmitting the carbon emission results to the edge gateway.
[0006] Optionally, the power data is obtained by encapsulating initial power data collected by the edge gateway.
[0007] Optionally, based on the power data, a historical power sequence of the target area is determined, including: based on the power data, respectively determining the power generation and power usage conditions corresponding to the multiple power generation types corresponding to each other at multiple moments; and sorting the power generation and power usage conditions corresponding to the multiple power generation types corresponding to each other at multiple historical moments to obtain a power sequence.
[0008] Optionally, based on electricity data and a carbon emission factor prediction model, the carbon emission factors corresponding to each of the multiple future moments are determined, including: predicting the proportion of new energy power generation based on electricity data; determining the carbon emission factors corresponding to each of the multiple future moments according to the proportion of new energy power generation and a carbon emission factor prediction model.
[0009] Optionally, the carbon emission results are determined based on the electricity conditions at multiple future moments and the carbon emission factors corresponding to each of the multiple future moments, including: setting an objective function, wherein the objective function is a function with the goal of minimizing carbon emissions; determining predicted carbon emissions based on the electricity sequence and the carbon emission factors corresponding to each of the multiple moments; and determining the carbon emission results based on the objective function and the predicted carbon emissions.
[0010] Optionally, the variables in the objective function include the operating cost and the electricity purchasing cost of the power grid in the target area.
[0011] According to another aspect of an embodiment of the present invention, a carbon emission determination device is also provided, including: an acquisition module, used to acquire power data in a target area transmitted from an edge gateway, wherein the power data characterizes power generation and power consumption in the target area; a first determination module, used to determine a historical power sequence of the target area based on the power data, wherein the power sequence is the power situation of the target area at multiple historical moments; a prediction module, used to predict the power situation of the target area at multiple future moments based on the historical power sequence; a second determination module, used to determine the carbon emission factors corresponding to each of the multiple future moments based on the power data and a carbon emission factor prediction model; a third determination module, used to determine the carbon emission results based on the power situation at multiple future moments and the carbon emission factors corresponding to each of the multiple future moments; an upload module, used to transmit the carbon emission results to the edge gateway.
[0012] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, the non-volatile storage medium including a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any one of the above-mentioned carbon emission determination methods.
[0013] According to another aspect of an embodiment of the present invention, a computer device is provided. The computer device includes a processor, and the processor is used to run a program. When the program is run, any one of the above-mentioned carbon emission determination methods is executed.
[0014] According to yet another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, any one of the above-mentioned carbon emission determination methods is implemented.
[0015] In an embodiment of the present invention, a method for determining carbon emissions is adopted, by acquiring power data in a target area transmitted from an edge gateway, wherein the power data characterizes power generation and power consumption in the target area; determining a historical power sequence of the target area based on the power data, wherein the power sequence is the power situation of the target area at multiple historical moments; predicting the power situation of the target area at multiple future moments based on the historical power sequence; determining the carbon emission factors corresponding to each of the multiple future moments based on the power data and a carbon emission factor prediction model; determining carbon emission results based on the power situation at multiple future moments and the carbon emission factors corresponding to each of the multiple future moments; and transmitting the carbon emission results to the edge gateway, thereby achieving the purpose of using the edge gateway in combination with the cloud to predict carbon emissions, thereby realizing the technical effect of improving the accuracy of carbon emission prediction, and further solving the technical problems of insufficient carbon emission prediction accuracy and poor dynamics in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0017] Figure 1 A hardware structure block diagram of a computer terminal for implementing a method for determining carbon emissions is shown;
[0018] Figure 2 is a flow chart of a method for determining carbon emissions according to an embodiment of the present invention;
[0019] Figure 3 is a data flow structure diagram of a method for determining carbon emissions according to an optional embodiment of the present invention;
[0020] Figure 4 4 is a structural block diagram of a device for determining carbon emissions according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] According to an embodiment of the present invention, a method embodiment of a method for determining carbon emissions is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0024] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal for implementing a method for determining carbon emissions is shown. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0025] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0026] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the carbon emission determination method in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the carbon emission determination method of the above-mentioned application is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0027] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .
[0028] At present, the building system cannot support the building units' participation in diversified market transactions and low-carbon development in terms of the accuracy of energy consumption and carbon emission forecasts and the timeliness of carbon reduction regulation. The prediction accuracy of carbon emissions is insufficient and the dynamics is poor. Figure 2 is a flow chart of a method for determining carbon emissions according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:
[0029] Step S202: acquiring power data in the target area transmitted from the edge gateway, wherein the power data represents power generation and power consumption in the target area.
[0030] In this step, as the proportion of building electrification is further improved, building energy consumption is mainly based on electricity consumption, and the data of the energy system during the operation of the building is taken as the object. The energy use system of the building unit can be divided, and the current and voltage information can be collected using a precise metering collector. The active power and electricity are calculated in the edge gateway, and the power data including the power load curve of many days in history, the use time period and the new energy generation data, the energy storage charging and discharging data, etc. are collected. New energy power generation includes wind power generation, photovoltaic power generation, etc. The power data can also be processed at the edge gateway, for example, the collected power data of each energy unit is subjected to data collection and preprocessing, feature extraction and screening, data fault diagnosis, missing value filling and error value modification, etc. The collection and preprocessing of the power system operation data, for example, after collecting the power consumption of the building energy unit in multiple periods for n times, the n Z-dimensional column vectors that can be obtained by feature extraction are stored in the form of a matrix, and then the feature extraction and selection technology is used to extract the distinguishing and representative features from the original data. Perform data fault diagnosis and data optimization. Based on the extracted features, pattern recognition and other methods are used for fault diagnosis, building energy curves are calculated, missing values and erroneous values are reasonably predicted and filled, and optimized data is obtained. These data can be uploaded to the cloud for subsequent carbon emissions prediction.
[0031] Step S204, determining a historical power sequence of the target area according to the power data, wherein the power sequence is the power situation of the target area at multiple historical moments.
[0032] In this step, the historical power sequence of the target area can be obtained based on the power data. The power sequence can be determined by obtaining the power of multiple historical periods based on the power data uploaded by the edge gateway. For example, the power sequence of historical p periods can be obtained. in is the power sequence corresponding to the kth time period, in It can represent the wind power output, photovoltaic output, energy storage discharge, charging and the i-th terminal load power in that period respectively.
[0033] Step S206, predicting the power status of the target area at multiple future moments based on the historical power sequence.
[0034] In this step, methods such as time series regression analysis and LSTM neural network model can be used to predict the power consumption. For example, by inputting the historical power consumption sequence into the LSTM neural network model, the power consumption status at multiple future moments can be output.
[0035] Step S208, based on the power data and the carbon emission factor prediction model, determine the carbon emission factors corresponding to each of the multiple future moments.
[0036] In this step, the carbon emission factor can be determined based on the power data and the carbon emission factor prediction model. The carbon emission factor prediction model is: in, represents the predicted dynamic carbon emission factor at time t, γ Indicates the proportion of energy storage electricity consumed that is charged by renewable energy; Indicates the carbon emission factor of purchased electricity from the power grid in the current time period. The carbon emission factor can be determined based on this model. Among them, the proportion of new energy charging can be obtained based on power data. New energy charging is a charging method that does not generate carbon emissions. The larger the determined carbon emission factor, the greater the carbon emission under the same amount of electricity.
[0037] Step S210, determining the carbon emission result according to the power conditions at multiple future moments and the carbon emission factors corresponding to the multiple future moments.
[0038] In this step, the carbon emissions can be obtained by multiplying the electricity at multiple future moments with the carbon emission factors at the corresponding future moments. For example, according to the formula, To determine carbon emissions. Based on the carbon emissions forecast, a dynamic carbon load characteristic diagram of the building can be generated. The cloud planning module obtains price and cost data including operation and maintenance costs, time-of-use electricity prices, real-time carbon prices and other data, and combines the load's carbon reduction potential to form the optimal low-carbon operation plan for the building energy system with the goal of minimizing carbon emissions and minimizing costs. The planning module uses planning algorithms, improved particle swarm algorithms, improved artificial fish swarm algorithms and other methods to generate the optimal overall operation plan based on the built-in program. After predicting carbon emissions, a corresponding adjustment plan can be generated based on the predicted carbon emissions. For example, by adjusting electricity prices and other behaviors, users can try to use electricity when carbon emissions are lower.
[0039] Step S212, transmitting the carbon emission results to the edge gateway.
[0040] In this step, the carbon emission results are transmitted to the edge gateway, so that the adjustment plan corresponding to the relevant carbon emissions can be delegated to the corresponding server, and then corresponding measures can be taken. By setting up an edge gateway, when the network link is unobstructed, by uploading real-time updated operation data, as well as the acquired operation and maintenance costs, time-of-use electricity prices, real-time carbon prices and other data, the cloud rolling update plan model is downloaded to the edge gateway, and the edge gateway calculates and generates the controlled energy-consuming terminal operation plan based on the real-time data; in the event of a network connection interruption, the real-time data will be cached at the edge gateway. The edge gateway controls according to the plan downloaded before the breakpoint, and after the network is restored, the cached data is enabled to resume the breakpoint and calibrate and update with the cloud. The combination of the cloud and the edge gateway can achieve the effect of improving the accuracy and dynamics of carbon emission prediction.
[0041] Through the above steps, the purpose of using the edge gateway in combination with the cloud to predict carbon emissions is achieved, thereby achieving the technical effect of improving the accuracy of carbon emissions prediction, and further solving the technical problems of insufficient carbon emissions prediction accuracy and poor dynamics in related technologies.
[0042] As an optional embodiment, the power data is obtained by encapsulating the initial power data collected by the edge gateway.
[0043] Optionally, building energy consumption is mainly based on electricity consumption, and the data of energy systems during building operation are taken as the object. The energy use system of the building unit is divided, and the current and voltage information is collected using a precise metering collector. The active power and electricity are calculated in the gateway, and the electricity load curve, usage time period, and new energy generation data, energy storage charging and discharging data, etc. are collected, including historical multiple days. The electricity data p(t) can be obtained by integrating the power over time, and the collected electricity usage data of each energy unit is optimized and analyzed, including data collection and preprocessing, feature extraction and screening, data fault diagnosis, missing value filling and error value modification, etc. The optimized data is formed into time series data and uploaded to the cloud data storage module, including: the collection and preprocessing of the power system operation data, after collecting the electricity consumption of the building energy unit in multiple periods for n times, the n Z-dimensional column vectors that can be obtained by feature extraction are stored in the form of a matrix; the feature extraction and selection technology is used to extract the distinguishing and representative features from the original data. Perform data fault diagnosis and data optimization. Based on the extracted features, pattern recognition and other methods are used for fault diagnosis, building energy consumption curves are calculated, missing values and error values are reasonably predicted and filled, and optimized data is obtained; the edge gateway encapsulates the optimized meter data and provides it for cloud subscription. When the edge gateway receives the subscription signal sent by the cloud system, it uploads the encapsulated data to the data storage module of the cloud system group for unified extraction and scheduling.
[0044] As an optional embodiment, a historical electricity quantity sequence of a target area is determined based on electricity data, including: determining the power generation conditions and electricity usage conditions corresponding to multiple power generation types at multiple moments respectively based on the electricity data; and sorting the power generation conditions and electricity usage conditions corresponding to multiple power generation types at multiple historical moments to obtain an electricity quantity sequence.
[0045] Optionally, the power generation and power consumption can be determined based on the power data, where the power generation can include wind power generation, photovoltaic power generation, etc., and the power consumption can include the power consumption of the load. The power generation and power consumption can be sorted according to the order of historical moments to obtain a power sequence. For example, obtain the power sequence of historical p time periods in is the electricity sequence of the kth period, in They respectively represent the wind power output, photovoltaic output, energy storage discharge, charging and the i-th terminal load power in that period.
[0046] As an optional embodiment, based on electricity data and a carbon emission factor prediction model, the carbon emission factors corresponding to multiple future moments are determined, including: based on the electricity data, predicting the proportion of new energy power generation; according to the proportion of new energy power generation and the carbon emission factor prediction model, determining the carbon emission factors corresponding to multiple future moments.
[0047] Optionally, the proportion of renewable energy power generation can be predicted based on power data. Wind power generation and photovoltaic power generation are renewable energy power generation and do not generate carbon emissions, but thermal power generation will generate carbon emissions. Therefore, the proportion of renewable energy power generation can be predicted based on the circuit data of the historical period, and then the corresponding carbon emission factor can be determined at the future time. The carbon emission factor prediction model can be in, represents the predicted dynamic carbon emission factor at time t, γ Indicates the proportion of energy storage electricity consumed that is charged by renewable energy; Represents the carbon emission factor of electricity purchased from the power grid in the current period.
[0048] As an optional embodiment, the carbon emission results are determined according to the electricity conditions at multiple future moments and the carbon emission factors corresponding to each of the multiple future moments, including: setting an objective function, wherein the objective function is a function with the goal of minimizing carbon emissions; determining the predicted carbon emissions according to the electricity sequence and the carbon emission factors corresponding to each of the multiple moments; and determining the carbon emission results according to the objective function and the predicted carbon emissions.
[0049] As an optional embodiment, the variables in the objective function include the operating cost and the electricity purchasing cost of the power grid in the target area.
[0050] Optionally, you can first obtain price and cost data including operation and maintenance costs, time-of-use electricity prices, real-time carbon prices, etc., and then combine the load's carbon reduction potential to form an optimal low-carbon operation plan for the building energy system with the goal of minimizing carbon emissions and minimizing costs. The planning module uses planning algorithms, improved particle swarm algorithms, improved artificial fish swarm algorithms, etc. according to the built-in program to generate the optimal overall operation plan and decompose the plan to each gateway. Among them, the planning model for k edge gateways connected to the cloud is The objective function of this method model is as follows: minC T =C E +C o +C bf +C c, where C E =∑ t (p t ·E buy,t ), C O =p O ·S, C bf =∑ t p bf (ΔE a,t ), C c =(∑ t CO2 t -R)×p r,t , p r,t = Among them, C T ,C E ,C O ,C bf ,C c They represent the total operating cost, external power purchase cost, system operation and maintenance cost, demand response compensation and carbon trading cost, respectively. t , p o , p bf (ΔE a ), p c,buy 、p c,sell are the time-of-use electricity price at time t, the maintenance cost per unit area of the building, the compensation price of a single response contract, and the buying and selling prices of carbon emission quotas; E buy,t , S, R are the purchased electricity, building area, and available carbon emission quota at time t respectively; constraints can also be set: P in (t) = P out (t), Among them, P a,t , P b,t , P c,t , P d,t They represent the transferable load, interruptible load, curtailable load, rigid load and adjusted total energy consumption power in period t respectively.
[0051] Figure 3 is a data flow structure diagram of a method for determining carbon emissions according to an optional embodiment of the present invention. Figure 3As shown, data flow ①: the interactive data flow between the cloud system and each device in the building energy system, through the edge gateway, using the public network, the Internet and other communication methods to communicate, and collect dynamic operation data at the edge. The edge gateway executes control signal control to control the operation of each energy-consuming and energy storage device. Data flow ②: The edge gateway encapsulates the pre-processed data and transmits the data to the cloud storage module through the serial port for the application layer to call. Data flow ③: The prediction and analysis module obtains the edge data of the data layer to form prediction data, and the prediction data provides support for the planning module to form a precise carbon reduction plan method model. Data flow ④: The formed operation plan model is decomposed and downloaded to each edge gateway, and the edge gateway calculates and generates a control plan based on real-time operation data.
[0052] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0053] Through the description of the above implementation methods, those skilled in the art can clearly understand that the carbon emission determination method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0054] According to an embodiment of the present invention, a carbon emission determination device for implementing the above carbon emission determination method is also provided. Figure 4 is a structural block diagram of a device for determining carbon emissions according to an embodiment of the present invention. Figure 4 As shown, the carbon emission determination device includes: an acquisition module 402, a first determination module 404, a prediction module 406, a second determination module 408, a third determination module 410 and an upload module 412. The carbon emission determination device is described below.
[0055] The acquisition module 402 is used to acquire power data in the target area transmitted from the edge gateway, wherein the power data represents power generation and power consumption in the target area.
[0056] The first determination module 404 is used to determine a historical power sequence of the target area according to the power data, wherein the power sequence is the power status of the target area at multiple historical moments.
[0057] The prediction module 406 is used to predict the power status of the target area at multiple future moments based on the historical power sequence.
[0058] The second determination module 408 is used to determine the carbon emission factors corresponding to each of multiple future moments based on the power data and the carbon emission factor prediction model.
[0059] The third determination module 410 is used to determine the carbon emission result according to the power conditions at multiple future moments and the carbon emission factors corresponding to the multiple future moments.
[0060] The upload module 412 is used to transmit the carbon emission results to the edge gateway.
[0061] It should be noted that the acquisition module 402, the first determination module 404, the prediction module 406, the second determination module 408, the third determination module 410 and the upload module 412 correspond to steps S202 to S212 in the embodiment, and the examples and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiment. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in the embodiment.
[0062] An embodiment of the present invention may provide a computer device. Optionally, in this embodiment, the computer device may be located in at least one network device among multiple network devices of a computer network. The computer device includes a memory and a processor.
[0063] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the carbon emission determination method and device in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the above-mentioned carbon emission determination method is realized. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0064] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: obtain the power data in the target area transmitted from the edge gateway, wherein the power data characterizes the power generation and power consumption in the target area; determine the historical power sequence of the target area based on the power data, wherein the power sequence is the power situation of the target area at multiple historical moments; predict the power situation of the target area at multiple future moments based on the historical power sequence; determine the carbon emission factors corresponding to each of the multiple future moments based on the power data and the carbon emission factor prediction model; determine the carbon emission results based on the power situation at multiple future moments and the carbon emission factors corresponding to each of the multiple future moments; and transmit the carbon emission results to the edge gateway.
[0065] Optionally, the processor may also execute the program code of the following steps: the power data is obtained by encapsulating the initial power data collected by the edge gateway.
[0066] Optionally, the processor may also execute program code for the following steps: determining a historical electricity quantity sequence of the target area based on the electricity data, including: determining the power generation and electricity usage conditions corresponding to the multiple power generation types at multiple moments respectively based on the electricity data; sorting the power generation and electricity usage conditions corresponding to the multiple power generation types at multiple historical moments to obtain an electricity quantity sequence.
[0067] Optionally, the processor may also execute the program code of the following steps: determining the carbon emission factors corresponding to each of the multiple future moments based on the electricity data and the carbon emission factor prediction model, including: predicting the proportion of power generation from renewable energy based on the electricity data; determining the carbon emission factors corresponding to each of the multiple future moments based on the proportion of power generation from renewable energy and the carbon emission factor prediction model.
[0068] Optionally, the processor may also execute program code for the following steps: determining carbon emission results based on power conditions at multiple future moments and carbon emission factors corresponding to each of the multiple future moments, including: setting an objective function, wherein the objective function is a function that aims to minimize carbon emissions; determining predicted carbon emissions based on the power sequence and the carbon emission factors corresponding to each of the multiple moments; and determining carbon emission results based on the objective function and the predicted carbon emissions.
[0069] Optionally, the processor may also execute program codes of the following steps: the variables in the objective function include the operating cost and the electricity purchase cost of the power grid in the target area.
[0070] By adopting an embodiment of the present invention, a method for determining carbon emissions is provided, by acquiring power data in a target area transmitted from an edge gateway, wherein the power data characterizes power generation and power consumption in the target area; determining a historical power sequence of the target area based on the power data, wherein the power sequence is the power situation of the target area at multiple historical moments; predicting the power situation of the target area at multiple future moments based on the historical power sequence; determining the carbon emission factors corresponding to each of the multiple future moments based on the power data and a carbon emission factor prediction model; determining the carbon emission results based on the power situation at multiple future moments and the carbon emission factors corresponding to each of the multiple future moments; and transmitting the carbon emission results to the edge gateway, thereby achieving the purpose of using the edge gateway in combination with the cloud to predict carbon emissions, thereby realizing the technical effect of improving the accuracy of carbon emission prediction, and further solving the technical problems of insufficient carbon emission prediction accuracy and poor dynamics in related technologies.
[0071] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a non-volatile storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0072] The embodiment of the present invention further provides a non-volatile storage medium. Optionally, in this embodiment, the non-volatile storage medium can be used to store the program code executed by the carbon emission determination method provided in the above embodiment.
[0073] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0074] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: obtaining power data in the target area transmitted from the edge gateway, wherein the power data characterizes power generation and power consumption in the target area; determining a historical power sequence of the target area based on the power data, wherein the power sequence is the power situation of the target area at multiple historical moments; predicting the power situation of the target area at multiple future moments based on the historical power sequence; determining the carbon emission factors corresponding to each of the multiple future moments based on the power data and the carbon emission factor prediction model; determining the carbon emission results based on the power situation at multiple future moments and the carbon emission factors corresponding to each of the multiple future moments; and transmitting the carbon emission results to the edge gateway.
[0075] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: the power data is obtained by packaging the initial power data collected by the edge gateway.
[0076] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: determining a historical electricity sequence of the target area based on the electricity data, including: determining, based on the electricity data, the power generation conditions and electricity usage conditions corresponding to the multiple power generation types corresponding to each other at multiple moments; sorting the power generation conditions and electricity usage conditions corresponding to the multiple power generation types corresponding to each other at multiple historical moments to obtain an electricity sequence.
[0077] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: determining the carbon emission factors corresponding to each of multiple future moments based on power data and a carbon emission factor prediction model, including: predicting the proportion of new energy power generation based on power data; determining the carbon emission factors corresponding to each of multiple future moments based on the proportion of new energy power generation and the carbon emission factor prediction model.
[0078] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: determining carbon emission results based on power conditions at multiple future moments and carbon emission factors corresponding to each of the multiple future moments, including: setting an objective function, wherein the objective function is a function with the goal of minimizing carbon emissions; determining predicted carbon emissions based on the power sequence and the carbon emission factors corresponding to each of the multiple moments; determining the carbon emission results based on the objective function and the predicted carbon emissions.
[0079] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: the variables in the objective function include the operating cost and the electricity purchase cost of the power grid in the target area.
[0080] An embodiment of the present invention further provides a computer program product, including a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, the following can be achieved:
[0081] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0082] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0083] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0084] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0085] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0086] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0087] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for determining carbon emissions, characterized in that: include: Acquire power data in a target area transmitted from an edge gateway, wherein the power data represents power generation and power consumption in the target area; Determine a historical power sequence of the target area according to the power data, wherein the power sequence is the power situation of the target area at multiple historical moments; According to the historical power sequence, predict the power status of the target area at multiple future moments; Determining the carbon emission factors corresponding to each of the multiple future moments based on the power data and the carbon emission factor prediction model; Determining a carbon emission result according to the power conditions at the multiple future moments and the carbon emission factors corresponding to the multiple future moments; The carbon emission result is transmitted to the edge gateway.
2. The method according to claim 1, characterized in that: The power data is obtained by encapsulating the initial power data collected by the edge gateway.
3. The method according to claim 1, characterized in that The determining, according to the power data, a historical power sequence of the target area includes: According to the power data, respectively determine power generation conditions and power usage conditions corresponding to a plurality of power generation types corresponding to each other at a plurality of times; The power generation conditions and power consumption conditions corresponding to the multiple power generation types corresponding to the multiple historical moments are sorted to obtain the power quantity sequence.
4. The method according to claim 1, characterized in that: The determining, based on the power data and the carbon emission factor prediction model, the carbon emission factors corresponding to each of the multiple future moments includes: Based on the power data, predict the proportion of renewable energy power generation; The carbon emission factors corresponding to each of the multiple future moments are determined according to the proportion of the new energy power generation and the carbon emission factor prediction model.
5. The method according to claim 1, characterized in that: The determining the carbon emission result according to the power conditions at the multiple future moments and the carbon emission factors corresponding to the multiple future moments respectively includes: Setting an objective function, wherein the objective function is a function with the goal of minimizing carbon emissions; Determining predicted carbon emissions according to the power conditions at the multiple future moments and the carbon emission factors corresponding to the multiple future moments; The carbon emission result is determined according to the objective function and the predicted carbon emission.
6. The method according to claim 5, characterized in that The variables in the objective function include the operating cost and the electricity purchasing cost of the power grid in the target area.
7. A device for determining carbon emissions, characterized in that: include: An acquisition module, used to acquire power data in a target area transmitted from an edge gateway, wherein the power data represents power generation and power consumption in the target area; A first determination module is used to determine a historical power sequence of the target area according to the power data, wherein the power sequence is the power situation of the target area at multiple historical moments; A prediction module, used to predict the power situation of the target area at multiple future moments according to the historical power sequence; A second determination module is used to determine the carbon emission factors corresponding to each of the multiple future moments based on the power data and the carbon emission factor prediction model; A third determination module is used to determine the carbon emission result according to the power conditions at the multiple future moments and the carbon emission factors corresponding to the multiple future moments; The uploading module is used to transmit the carbon emission result to the edge gateway.
8. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the carbon emission determination method according to any one of claims 1 to 6.
9. A computer device, characterized in that: include: Memory and processor, The memory stores a computer program; The processor is used to execute the computer program stored in the memory, and when the computer program is run, the processor executes the carbon emission determination method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the carbon emission determination method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Carbon emission prediction method and device, equipment and storage medium
CN114781272A
Control system with adaptive carbon emissions optimization
US20230020417A1
Cited By
Electric energy metering method, device, equipment, medium and program product
CN119595967A
Electric energy metering method, apparatus, device, medium, and program product
CN119595967B
