Economic dispatching method of household energy management system and related device
Through deep reinforcement learning method modeling and agent training, the existing technology solves the problems of economic dispatch and neglect of user comfort that only consider a single type of load, and achieves economic operation and efficient optimization of multi-type load home energy systems.
Patent Information
- Application Number
- CN202410920223.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-06
AI Technical Summary
The existing technology usually only considers the economic dispatch of a single type of load, ignores the comfort of users during system operation, and has low solution efficiency.
Using the deep reinforcement learning method, by constructing a Markov decision process, the economic dispatch problem of the household energy system is modeled as a state set, an action set, a reward function and a state transition function. The DDPG algorithm is used to train the agent and optimize the multi-type load. Home energy systems that ensure user comfort and reduce running costs.
Under the condition of ensuring user comfort, the economical operation of the home energy system is achieved, the system operating cost is reduced, and the efficiency of solving optimization problems is improved.
Smart Images

Figure CN118611081A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of home energy management, and in particular to an economic dispatching method and related devices for a home energy management system. Background Art
[0002] Population growth and social development have led to a rapid increase in energy consumption, which has also brought many problems to society, such as global warming and energy crisis. Among all types of energy consumption, household energy consumption is an important component. In order to optimize the household energy structure, reduce energy consumption, and achieve the goal of energy conservation and emission reduction, energy conversion equipment such as rooftop photovoltaics, heat pumps, electric vehicles and batteries have been widely used. With the rapid growth of the number of distributed photovoltaics and electric vehicles, Home Energy System (HEMS) has become the most important way to achieve demand-side energy management in smart grids. HEMS can make reasonable demand response decisions based on real-time electricity prices, photovoltaic output, user preferences and equipment characteristics, and realize intelligent, economical and low-carbon scheduling of household equipment.
[0003] Most of the existing technical solutions first construct a home energy system architecture including energy supply equipment, energy conversion equipment and loads, and then complete the economic scheduling of the home energy system under the condition of considering system uncertainty to achieve the goal of minimizing system operating costs.
[0004] However, most existing technical solutions only consider the economic dispatch of a single type of load. But in actual operation, a home energy system usually contains multiple types of loads, such as dispatchable loads and non-dispatchable loads, each with its own characteristics. And when performing economic dispatch of a home energy management system, it is easy to ignore the user's comfort feeling, which is not reasonable. Furthermore, in order to deal with the randomness and uncertainty of photovoltaic output, the existing technology usually uses random programming and robust optimization methods to solve the operation optimization problem of the home energy management system. These methods usually have low solution efficiency and high complexity. Summary of the invention
[0005] The present application provides an economic dispatch method and related devices for a home energy management system, which are used to solve the problem that the prior art usually only considers the economic dispatch of a single type of load, ignores the user's comfort feeling during system operation, and has low solution efficiency.
[0006] In view of this, the first aspect of the present application provides an economic dispatch method for an energy management system, the method comprising:
[0007] Applicable to a home energy system consisting of a power supply side, a demand side, and a home energy management system; wherein the power supply side includes: a home photovoltaic power generation system, energy storage, electric vehicle batteries, and a power grid, and the demand side is composed of home electrical equipment with non-dispatchable loads, interruptible loads, and non-interruptible loads;
[0008] Methods include:
[0009] Set the control range of indoor temperature when economically dispatching temperature control load;
[0010] Based on the indoor temperature, a thermodynamic model of the temperature control load operation process is established to describe the temperature change process, thereby obtaining the economic dispatch problem of the household energy system;
[0011] The economic dispatch problem of the household energy system is modeled as a Markov decision process. The Markov decision process includes: a state set, an action set, a reward function, and a state transfer function, wherein the state set includes: photovoltaic output, various types of load demand information, energy storage status, electric vehicle battery status, and temperature control load status parameters; the action set includes: the dispatch instruction variables of the interruptible load and the non-interruptible load, the dispatch instruction variables of the temperature control load, the energy storage control variables, and the electric vehicle battery control variables;
[0012] The DDPG algorithm is used to train the intelligent agent, and the trained intelligent agent is used to solve the Markov decision process to complete the voltage control.
[0013] Optionally, the thermodynamic model is expressed as:
[0014] ;
[0015] ;
[0016] In the formula, is the outdoor temperature; C is the equivalent thermal capacitance; R is the equivalent thermal resistance; is the rated operating power of the temperature control load; is the operating state of the temperature control load in the entire control range, the temperature control load is on is 1, and the temperature control load is off is 0; and The start and end time of the temperature control load operation interval; Working time of temperature control load; is the indoor temperature, The running time interval.
[0017] Optionally, the reward function is set to:
[0018] ;
[0019] In the formula, and are economic cost and comfort index respectively, is the cost coefficient;
[0020] The state transfer function is used to describe the state of the agent from the current state after the action is executed. Transfer to next state process.
[0021] Optionally, the DDPG algorithm is used to train the agent, specifically including:
[0022] Set the total number of training rounds n and the number of exploration rounds m;
[0023] At the beginning of each round, the agent obtains the current state from the distribution network model , and select the corresponding action Feedback is given to the distribution network model, and after the distribution network model executes the action, the corresponding reward value is calculated according to the reward function , and transfer the value to the next state ,Will The experience pool is stored for the agent training, and this process is repeated until the training round ends, and the final agent is obtained.
[0024] Among them, action The selection process includes: if the current round number is less than the number of rounds in the exploration phase, then the action Randomly generated, if the current round number is greater than the number of rounds in the exploration phase, the action will be generated based on the agent's policy network.
[0025] The second aspect of the present application provides an economic dispatch system for a home energy management system, which is applied to a home energy system consisting of a power supply side, a demand side, and a home energy management system; wherein the power supply side includes: a home photovoltaic power generation system, energy storage, an electric vehicle battery, and a power grid, and the demand side is composed of a non-dispatched load, an interruptible load, and a home electrical device that is an non-interruptible load;
[0026] The system comprises:
[0027] A setting unit is used to set the control range of indoor temperature when economically dispatching the temperature control load;
[0028] The first construction unit is used to establish a thermodynamic model of the temperature control load operation process based on the indoor temperature to describe the temperature change process, thereby obtaining the economic scheduling problem of the household energy system;
[0029] A second construction unit is used to model the economic dispatch problem of the household energy system into a Markov decision process, wherein the Markov decision process includes: a state set, an action set, a reward function and a state transfer function, wherein the state set includes: photovoltaic output, various types of load demand information, energy storage state, electric vehicle battery state and temperature control load state parameters; the action set includes: the dispatch instruction variables of the interruptible load and the non-interruptible load, the dispatch instruction variables of the temperature control load, the energy storage control variables and the electric vehicle battery control variables;
[0030] The control unit is used to train an intelligent agent using a DDPG algorithm, and solve the Markov decision process through the trained intelligent agent, thereby completing the voltage control.
[0031] Optionally, the thermodynamic model is expressed as:
[0032] ;
[0033] ;
[0034] In the formula, is the outdoor temperature; C is the equivalent thermal capacitance; R is the equivalent thermal resistance; is the rated operating power of the temperature control load; is the operating state of the temperature control load in the entire control range, the temperature control load is on is 1, and the temperature control load is off is 0; and The start and end time of the temperature control load operation interval; Working time of temperature control load; is the indoor temperature, The running time interval.
[0035] Optionally, the reward function is set to:
[0036] ;
[0037] In the formula, and are economic cost and comfort index respectively, is the cost coefficient;
[0038] The state transfer function is used to describe the state of the agent from the current state after the action is executed. Transfer to next state process.
[0039] Optionally, the DDPG algorithm is used to train the agent, specifically including:
[0040] Set the total number of training rounds n and the number of exploration rounds m;
[0041] At the beginning of each round, the agent obtains the current state from the distribution network model , and select the corresponding action Feedback is given to the distribution network model, and after the distribution network model executes the action, the corresponding reward value is calculated according to the reward function , and transfer the value to the next state ,Will The experience pool is stored for the agent training, and this process is repeated until the training round ends, and the final agent is obtained.
[0042] Among them, action The selection process includes: if the current round number is less than the number of rounds in the exploration phase, then the action Randomly generated, if the current round number is greater than the number of rounds in the exploration phase, the action will be generated based on the agent's policy network.
[0043] A third aspect of the present application provides an economic scheduling device for a home energy management system, the device comprising a processor and a memory:
[0044] The memory is used to store program code and transmit the program code to the processor;
[0045] The processor is used to execute the steps of the economic scheduling method of the home energy management system as described in the first aspect according to the instructions in the program code.
[0046] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, and the program codes are used to execute the economic scheduling method of the home energy management system described in the first aspect above.
[0047] It can be seen from the above technical solutions that this application has the following advantages:
[0048] The present application provides an economic dispatch method for a home energy management system. First, a home energy management system containing multiple types of loads is designed, which can complete the economic operation of the system while ensuring the comfort of users. Then, the deep reinforcement learning method is used for the optimization operation problem of the home energy management system, and is committed to using the deep reinforcement learning method to achieve the optimization operation of the home energy system containing multiple types of loads, while ensuring the comfort of users, minimizing the system operation cost, and improving the efficiency of solving the optimization problem. This solves the problem that the prior art usually only considers the economic dispatch of a single type of load, ignores the user's comfort during the system operation, and has low solution efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1A schematic diagram of a flow chart of an economic dispatching method for a home energy management system provided in an embodiment of the present application;
[0050] Figure 2 This is a diagram of the family energy system architecture provided in an embodiment of the present application;
[0051] Figure 3 This is a schematic diagram of the structure of an economic system of a home energy management system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] See also Figure 1 An economic dispatch method for a home energy management system provided in an embodiment of the present application is applied to a home energy system consisting of a power supply side, a demand side, and a home energy management system; wherein the power supply side includes: a home photovoltaic power generation system, energy storage, an electric vehicle battery, and a power grid, and the demand side is composed of home electrical equipment with non-dispatchable loads, interruptible loads, and non-interruptible loads.
[0054] It should be noted that the household energy system Figure 2 As shown in the figure, the household energy system can be divided into the power supply side and the demand side. The work on the power supply side is mainly completed by the household photovoltaic power generation system, energy storage, and electric vehicle batteries. The grid energy supply serves as the backup function of the system to improve the power supply reliability of the system. The demand side is composed of various household appliances. Due to the differences in the energy consumption characteristics of each appliance, the electrical load can be divided into non-dispatchable load, interruptible load and non-interruptible load according to the energy consumption characteristics. As a rigid load, the non-dispatchable load has the highest security level and its energy demand needs to be met first. As a dispatchable load, the interruptible load and the non-interruptible load are economically dispatched according to the current system power generation situation and the real-time electricity price level to reduce the system operation cost. In addition, a home energy management system is configured in the system to efficiently complete the energy management of the system.
[0055] Methods include:
[0056] Step 101: Set the control range of indoor temperature when economically scheduling the temperature control load.
[0057] It should be noted that when scheduling temperature control loads represented by air conditioners, the user's comfort should also be considered while carrying out economic scheduling. The user's comfort is mainly determined by the indoor temperature. Therefore, when scheduling temperature control loads, the indoor temperature should be controlled within an appropriate range, that is:
[0058] (1)
[0059] in, Represents the indoor temperature; and They represent the upper and lower limits of indoor temperature when user comfort requirements are met.
[0060] Step 102: A thermodynamic model of the temperature control load operation process is established based on the indoor temperature to describe the temperature change process, thereby obtaining the economic scheduling problem of the household energy system.
[0061] It should be noted that due to the change in outdoor temperature, the rated working time of the air conditioner cannot be directly set. Therefore, this application attempts to establish a thermodynamic model of the air conditioner operation process to describe the temperature change process. The model can be expressed as:
[0062] (2)
[0063] (3)
[0064] Where: is the outdoor temperature; C is the equivalent thermal capacitance; R is the equivalent thermal resistance; is the rated operating power of the air conditioner; The operating status of the air conditioner in the entire working range, 1 for air conditioner on and 0 for air conditioner off; and Indicates the start and end time of the air conditioner operation interval; Working hours for air conditioner.
[0065] Step 103: Model the economic dispatch problem of the household energy system into a Markov decision process, which includes: a state set, an action set, a reward function, and a state transfer function, wherein the state set includes: photovoltaic output, various types of load demand information, energy storage status, electric vehicle battery status, and temperature control load status parameters; the action set includes: scheduling instruction variables for interruptible loads and non-interruptible loads, scheduling instruction variables for temperature control loads, energy storage control variables, and electric vehicle battery control variables.
[0066] It should be noted that in order to improve the energy management efficiency of the system, the economic dispatch problem of the household energy system constructed in the above steps is modeled as a Markov decision process (MDP) and solved using deep reinforcement learning methods. The Markov decision process is generally composed of a four-tuple<S,A,R,P> , where S represents the state set; A represents the action set; R represents the reward function; and P represents the state transfer function.
[0067] In this problem, the four tuples are modeled as:
[0068] S: The state input at each moment includes: photovoltaic output, various types of load demand information, energy storage status, electric vehicle battery status and air conditioning status parameters, which can be specifically expressed as:
[0069] (4)
[0070] A: The action output at each moment includes: the dispatching instruction variables of interruptible load and non-interruptible load, the dispatching instruction variables of temperature control load, the energy storage control variables and the electric vehicle battery control variables, which can be specifically expressed as:
[0071] (5)
[0072] R: The goal of this optimization problem is to minimize the system's operating cost while ensuring user comfort, so the reward function can be set as:
[0073] (6)
[0074] in, and Represent economic cost and comfort index respectively.
[0075] P: The state transition function is used to describe the state of the agent from the current state after the action is executed. Transfer to next state process.
[0076] Step 104: Use the DDPG algorithm to train the intelligent agent, and use the trained intelligent agent to solve the Markov decision process, thereby completing the voltage control.
[0077] It should be noted that after the voltage optimization control problem is modeled as an MDP, this application intends to use the deep deterministic policy gradient (DDPG) algorithm to train the agent to solve the MDP. The specific process is as follows:
[0078] First, set the total number of training rounds n and the number of exploration rounds m; at the beginning of each round, the agent obtains the current state from the environment, that is, the distribution network model , and select the corresponding action Feedback is given to the environment, and after the environment performs the action, it calculates the corresponding reward value according to the reward function , and transfer the value to the next state ,Will The experience pool is stored for the agent to train, and this process repeats until the training round ends.
[0079] For the selection of actions, if the current round number is less than the number of rounds in the exploration phase, the action is generated randomly; if the current round number is greater than the number of rounds in the exploration phase, the action will be generated based on the agent's strategy network.
[0080] As the number of training rounds increases, the agent becomes more experienced and will gradually choose the best action to maximize the reward value and eventually converge. The trained agent can be encapsulated and the neural network parameters can be saved. No additional training is required during the use phase. Only the real-time state needs to be input and the corresponding output can be obtained, thereby realizing rapid control of voltage.
[0081] The economic dispatch method of a home energy management system provided in the embodiment of the present application first designs a home energy management system containing multiple types of loads, which can complete the economic operation of the system under the condition of ensuring the comfort of users. Then, the deep reinforcement learning method is used for the optimization operation problem of the home energy management system, and is committed to using the deep reinforcement learning method to achieve the optimization operation of the home energy system containing multiple types of loads, while ensuring the comfort of users, minimizing the system operation cost, and improving the efficiency of solving the optimization problem. This solves the problem that the prior art usually only considers the economic dispatch of a single type of load, ignores the user's comfort feeling during the system operation, and has low solution efficiency.
[0082] The above is an economic dispatch method of a home energy management system provided in an embodiment of the present application, and the following is an economic dispatch system of a home energy management system provided in an embodiment of the present application.
[0083] See also Figure 3 , an economic dispatch system for a home energy management system provided in an embodiment of the present application is applied to a home energy system consisting of a power supply side, a demand side, and a home energy management system; wherein the power supply side includes: a home photovoltaic power generation system, energy storage, electric vehicle batteries, and a power grid, and the demand side is composed of home electrical equipment of non-dispatched loads, interruptible loads, and non-interruptible loads;
[0084] The system includes:
[0085] The setting unit 201 is used to set the control range of the indoor temperature when the temperature control load is economically scheduled.
[0086] The first building unit 202 is used to establish a thermodynamic model of the temperature control load operation process based on the indoor temperature to describe the temperature change process, thereby obtaining the economic scheduling problem of the home energy system.
[0087] The second construction unit 203 is used to model the economic dispatch problem of the household energy system into a Markov decision process, which includes: a state set, an action set, a reward function and a state transfer function, wherein the state set includes: photovoltaic output, various types of load demand information, energy storage status, electric vehicle battery status and temperature control load status parameters; the action set includes: scheduling instruction variables for interruptible loads and non-interruptible loads, scheduling instruction variables for temperature control loads, energy storage control variables and electric vehicle battery control variables.
[0088] The control unit 204 is used to train the intelligent agent using the DDPG algorithm, and solve the Markov decision process through the trained intelligent agent, thereby completing the voltage control.
[0089] Furthermore, an economic scheduling device for a home energy management system is provided in an embodiment of the present application, the device comprising a processor and a memory:
[0090] The memory is used to store program code and transmit the program code to the processor;
[0091] The processor is used to execute the steps of the economic scheduling method of the home energy management system as described in the above method embodiment according to the instructions in the program code.
[0092] Furthermore, a computer-readable storage medium is provided in an embodiment of the present application, and the computer-readable storage medium is used to store program code, and the program code is used to execute the method described in the above method embodiment.
[0093] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0094] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application 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 interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations 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.
[0095] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0096] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0097] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0098] In addition, each functional unit in each embodiment of the present application 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.
[0099] 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 computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially 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, and 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 application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program code.
[0100] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An economic dispatching method for a home energy management system, characterized in that: Applicable to a home energy system consisting of a power supply side, a demand side, and a home energy management system; wherein the power supply side includes: a home photovoltaic power generation system, energy storage, electric vehicle batteries, and a power grid, and the demand side is composed of home electrical equipment with non-dispatchable loads, interruptible loads, and non-interruptible loads; Methods include: Set the control range of indoor temperature when economically dispatching temperature control load; Based on the indoor temperature, a thermodynamic model of the temperature control load operation process is established to describe the temperature change process, thereby obtaining the economic dispatch problem of the household energy system; The economic dispatch problem of the household energy system is modeled as a Markov decision process, wherein the Markov decision process includes: a state set, an action set, a reward function, and a state transfer function, wherein the state set includes: photovoltaic output, various types of load demand information, energy storage state, electric vehicle battery state, and temperature control load state parameters; the action set includes: the dispatch instruction variables of the interruptible load and the non-interruptible load, the dispatch instruction variables of the temperature control load, the energy storage control variables, and the electric vehicle battery control variables; The DDPG algorithm is used to train the intelligent agent, and the trained intelligent agent is used to solve the Markov decision process to complete the voltage control.
2. The economic dispatch method of the home energy management system according to claim 1, characterized in that: The expression of the thermodynamic model is: In the formula, is the outdoor temperature; C is the equivalent thermal capacitance; R is the equivalent thermal resistance; is the rated operating power of the temperature control load; is the operating state of the temperature control load in the entire control range, the temperature control load is on is 1, and the temperature control load is off is 0; and The start and end time of the temperature control load operation interval; Working time of temperature control load; is the indoor temperature, The running time interval.
3. The economic dispatch method of the home energy management system according to claim 1, characterized in that: The reward function is set as: In the formula, and are economic cost and comfort index respectively, is the cost coefficient; The state transfer function is used to describe the state of the agent from the current state after the action is executed. Transfer to next state process.
4. The economic dispatch method of the home energy management system according to claim 3, characterized in that: The DDPG algorithm is used to train the agent, specifically including: Set the total number of training rounds n and the number of exploration rounds m; At the beginning of each round, the agent obtains the current state from the distribution network model , and select the corresponding action Feedback is given to the distribution network model, and after the distribution network model executes the action, the corresponding reward value is calculated according to the reward function , and transfer the value to the next state ,Will The experience pool is stored for the agent training, and this process is repeated until the training round ends, and the final agent is obtained. Among them, action The selection process includes: if the current round number is less than the number of rounds in the exploration phase, then the action Randomly generated, if the current round number is greater than the number of rounds in the exploration phase, the action will be generated based on the agent's policy network.
5. An economic dispatching system for a home energy management system, characterized in that: Applicable to a home energy system consisting of a power supply side, a demand side, and a home energy management system; wherein the power supply side includes: a home photovoltaic power generation system, energy storage, electric vehicle batteries, and a power grid, and the demand side is composed of home electrical equipment with non-dispatchable loads, interruptible loads, and non-interruptible loads; The system includes: A setting unit is used to set the control range of indoor temperature when economically dispatching the temperature control load; The first construction unit is used to establish a thermodynamic model of the temperature control load operation process based on the indoor temperature to describe the temperature change process, thereby obtaining the economic scheduling problem of the household energy system; A second construction unit is used to model the economic dispatch problem of the household energy system into a Markov decision process, wherein the Markov decision process includes: a state set, an action set, a reward function and a state transfer function, wherein the state set includes: photovoltaic output, various types of load demand information, energy storage state, electric vehicle battery state and temperature control load state parameters; the action set includes: the dispatch instruction variables of the interruptible load and the non-interruptible load, the dispatch instruction variables of the temperature control load, the energy storage control variables and the electric vehicle battery control variables; The control unit is used to train an intelligent agent using a DDPG algorithm, and solve the Markov decision process through the trained intelligent agent, thereby completing the voltage control.
6. The economic dispatch system of the home energy management system according to claim 5, characterized in that: The expression of the thermodynamic model is: In the formula, is the outdoor temperature; C is the equivalent thermal capacitance; R is the equivalent thermal resistance; is the rated operating power of the temperature control load; is the operating state of the temperature control load in the entire control range, the temperature control load is on is 1, and the temperature control load is off is 0; and The start and end time of the temperature control load operation interval; Working time of temperature control load; is the indoor temperature, The running time interval.
7. The economic dispatch system of the home energy management system according to claim 5, characterized in that: The reward function is set as: In the formula, and are economic cost and comfort index respectively, is the cost coefficient; The state transfer function is used to describe the state of the agent from the current state after the action is executed. Transfer to next state process.
8. The economic dispatch system of the home energy management system according to claim 7, characterized in that: The DDPG algorithm is used to train the agent, specifically including: Set the total number of training rounds n and the number of exploration rounds m; At the beginning of each round, the agent obtains the current state from the distribution network model , and select the corresponding action Feedback is given to the distribution network model, and after the distribution network model executes the action, the corresponding reward value is calculated according to the reward function , and transfer the value to the next state ,Will The experience pool is stored for the agent training, and this process is repeated until the training round ends, and the final agent is obtained. Among them, action The selection process includes: if the current round number is less than the number of rounds in the exploration phase, then the action Randomly generated, if the current round number is greater than the number of rounds in the exploration phase, the action will be generated based on the agent's policy network.
9. An economic dispatching device for a home energy management system, characterized in that: The device comprises a processor and a memory: The memory is used to store program codes and transmit the program codes to the processor; The processor is used to execute the economic scheduling method of the home energy management system according to any one of claims 1 to 4 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and the program codes are used to execute the economic scheduling method of the home energy management system according to any one of claims 1-4.
Citation Information
Cited By
Real-time scheduling method of high-proportion new energy power system and related equipment
CN120185084A
Family energy management method and system fused with motion mask deep reinforcement learning
CN121437205A
Home energy management method and system fusing action mask deep reinforcement learning
CN121437205B
