Regulation and control method, device and equipment for micro-grid demand side, medium and product
By obtaining and utilizing the initial parameters in the microgrid and using the preset model for rolling regulation, the problem of shortened service life of temperature-controlled loads and poor system stability is solved, and the economic benefits and robustness of the microgrid are improved.
Patent Information
- Application Number
- CN202410629900.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-09-03
AI Technical Summary
In the existing technology, the problems of shortened service life of temperature-controlled loads in microgrids and poor system stability are mainly due to the neglect of the impact of device wear and strong volatility of new energy power generation equipment on microgrids.
By obtaining the initial parameters in the target microgrid, including outdoor temperature, indoor temperature, real-time output data of new energy generators and electrical component parameters, the preset model predictive control strategy is used to determine the temperature control load, energy storage system and external power grid. In response to power, rolling regulation is performed to reduce the impact of the service life of the temperature control load and suppress the fluctuation of new energy output.
It effectively reduces the impact of long-term participation in demand response of temperature-controlled loads on the service life, and improves the economic benefits and system robustness of the microgrid.
Smart Images

Figure CN118589536A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of microgrid demand side management, and in particular to a control method, device, electronic device, non-transitory computer-readable storage medium, and computer program product for a microgrid demand side. Background Art
[0002] In recent years, the field of microgrid (MG) has continued to develop, providing key solutions for solving energy challenges, improving power system resilience and promoting sustainable energy development. Microgrids have autonomous capabilities and can be connected to the grid or operated in an isolated manner. However, compared with large power grids, microgrids are smaller in scale, and the fluctuation of renewable energy output has a more significant impact on system stability. Therefore, demand-side management technology plays a vital role in the operation of microgrids.
[0003] The microgrid usually includes new energy power generation equipment and thermostatically controlled loads (TCLs). Since TCLs have the advantages of dispatchability, huge regulation potential and no additional deployment costs, they often participate in the demand-side response of the microgrid as the main controlled objects.
[0004] However, in the current existing technology, the microgrid demand side management solution involving temperature control loads (TCLs) has at least the problem of shortened service life of temperature control load related equipment and poor stability of the microgrid system. Summary of the invention
[0005] The present disclosure provides a control method, device, electronic device, non-transitory computer-readable storage medium and computer program product for the demand side of a microgrid, so as to solve the defects in the prior art.
[0006] The present disclosure provides a control method for a microgrid demand side, comprising: Acquire initial parameters associated with the temperature control load in the target microgrid; wherein the target microgrid is a microgrid to be subjected to demand-side regulation, and the microgrid includes a new energy generator set, a temperature control load, and an energy storage system; wherein the initial parameters include the current outdoor temperature associated with the temperature control load, the upper and lower limits of the indoor temperature associated with the temperature control load, the real-time output prediction data of the new energy generator set, the real-time electricity price, and the electrical component parameters, rated power, and performance coefficient associated with the temperature control load; Based on the initial parameters, a preset model predictive control strategy is used to determine the execution decision variables of the target microgrid within a preset time from the current moment; wherein the execution decision variables include the response power of the temperature control load, the response power of the energy storage system, and the response power of the external power grid connected to the target microgrid; By utilizing the execution decision variables, active control of the power consumption and / or power supply is performed on the temperature control load, the energy storage system and the external power grid within a preset time from the current moment.
[0007] The present disclosure also provides a control device for a microgrid demand side, comprising: A data acquisition module is configured to: acquire initial parameters associated with the temperature control load in the target microgrid; wherein the target microgrid is a microgrid to be subjected to demand-side regulation, and the microgrid includes a new energy generator set, a temperature control load, and an energy storage system; wherein the initial parameters include the current outdoor temperature associated with the temperature control load, the upper and lower limits of the indoor temperature associated with the temperature control load, the real-time output prediction data of the new energy generator set, the real-time electricity price, and the electrical component parameters, rated power, and performance coefficient associated with the temperature control load; The decision module is configured to: determine the execution decision variables of the target microgrid within a preset time from the current moment based on the initial parameters and using a preset model predictive control strategy; wherein the execution decision variables include the response power of the temperature control load, the response power of the energy storage system, and the response power of the external power grid connected to the target microgrid; The execution module is configured to: utilize the execution decision variables to actively control the power consumption and / or power supply of the temperature control load, the energy storage system and the external power grid within a preset time from the current moment.
[0008] The present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a control method for the demand side of a microgrid as described in any one of the above is implemented.
[0009] The present disclosure also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the control method for the demand side of a microgrid as described in any one of the above is implemented.
[0010] The present disclosure also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-described control methods for the demand side of a microgrid.
[0011] As described above, by using the regulation method for the demand side of a microgrid provided by an embodiment of the present disclosure and utilizing the preset model predictive control strategy, the target microgrid is subjected to rolling regulation based on the temperature-controlled load as the responding subject. This can reduce the impact of the long-term participation of the temperature-controlled load in demand response on the service life to a certain extent, and suppress the fluctuation of new energy output during the operation of the microgrid; thereby improving the economic benefits and system robustness of the microgrid. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the present disclosure or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 It is one of the flow charts of the control method for the demand side of a microgrid provided in the embodiment of the present disclosure; Figure 2 is a schematic diagram of the structure of the target microgrid provided in an embodiment of the present disclosure; Figure 3 is a waveform diagram of the working characteristic curve of the temperature control load provided in an embodiment of the present disclosure; Figure 4 is a waveform diagram of a switch switching cost function curve of the temperature control load provided in an embodiment of the present disclosure; Figure 5 is a waveform diagram of a satisfaction cost function curve of the end user of the temperature control load provided by an embodiment of the present disclosure; Figure 6 It is a flow chart of a control method for the demand side of a microgrid provided by an embodiment of the present disclosure; Figure 7 is a structural schematic diagram of a control device for a microgrid demand side provided by an embodiment of the present disclosure; Figure 8 It is a schematic diagram of the structure of an electronic device provided by the present disclosure. DETAILED DESCRIPTION
[0014] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions in the present disclosure will be clearly and completely described below in conjunction with the drawings in the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0015] Summary of the invention concept: After research, the inventors of the present disclosure found that the reasons for the problems in the prior art are: First, research often focuses on the flexibility and adjustability of TCLs, ignoring the problem of device wear caused by frequent adjustment of TCLs, and device wear will affect the service life of the user equipment of the temperature-controlled load participating in the response. Second, due to the strong volatility and intermittency of new energy power generation equipment, its access will have a huge impact on the stability and safety of the MG system. During the period when new energy output is sufficient, a large amount of new energy power generation will flow into the MG system, which will not only affect the stability of the MG system, but also the surplus energy flowing into the external power grid will put pressure on it.
[0016] In view of this, the inventors of the present disclosure consider "reducing the operating cost of the MG system and enhancing the robustness of the system operation" as the core goal of the scheme design. Then, a control scheme for the demand side of the microgrid as described in the following embodiment is proposed to ensure that the microgrid system has good operating economy and robustness under the condition of uncertainty in renewable energy generation.
[0017] Example: The control scheme for the demand side of a microgrid disclosed in the present invention is described below in conjunction with the accompanying drawings.
[0018] Figure 1 is a flow chart of a control method for the demand side of a microgrid provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices (for example, servers or cloud computing platforms), such as Figure 1 As shown, the control method for the demand side of the microgrid includes the following steps: S110. Acquire initial parameters associated with the temperature control load in the target microgrid.
[0019] The target microgrid is a microgrid for which demand-side regulation is to be performed, and the microgrid includes a new energy generator set, a temperature control load and an energy storage system.
[0020] The present disclosure does not limit the types of the new energy generator set, temperature control load and energy storage system. For example, the new energy generator set may include but is not limited to a photovoltaic generator set and a wind turbine generator set. The temperature control load may include but is not limited to a central air conditioner, a water heater, etc. The energy storage system may include but is not limited to a lithium iron phosphate energy storage power station.
[0021] The present disclosure does not limit the type of the target microgrid. For example, it can be a grid-connected microgrid. Figure 2 , the target microgrid may include wind power generators, solar (photovoltaic) generators, rigid loads, temperature control loads and energy storage systems. Figure 2The “grid” here refers to an external grid connected to the target microgrid, so that the target microgrid is formed into a grid-connected microgrid.
[0022] Among them, the initial parameters include the current outdoor temperature associated with the temperature control load, the upper and lower limits of the indoor temperature associated with the temperature control load, the real-time output prediction data of the new energy generator set, the real-time electricity price, and the electrical component parameters, rated power and performance coefficient associated with the temperature control load.
[0023] The present disclosure does not limit the method of "obtaining". For example, the current outdoor temperature associated with the temperature control load can be obtained by communicating with the weather forecast or receiving weather forecast information. The upper and lower limits of the indoor temperature associated with the temperature control load can be entered by a technician or retrieved from human medicine and physiology related data. The real-time electricity price can be obtained by connecting to the power company. The real-time output of the new energy generator set can be obtained by communicating with the relevant electric energy or power detection device in the microgrid. The electrical component parameters, rated power and performance coefficient associated with the temperature control load can be obtained by pre-entry by a technician.
[0024] S120. Based on the initial parameters, using a preset model predictive control strategy, determine the execution decision variables of the target microgrid within a preset time from the current moment.
[0025] The execution decision variables include the response power of the temperature control load, the response power of the energy storage system, and the response power of the external power grid connected to the target microgrid.
[0026] The present disclosure does not impose any restrictions on the preset time, which can be determined according to actual conditions or the execution cycle of the method of this embodiment (ie, the "first time window" to be mentioned below).
[0027] For example, under the premise that the first time window is 48 hours, the preset time can be, for example, 1 hour, 5 hours, 10 hours, etc.; in short, it does not exceed 48 hours.
[0028] Among them, preferably, the preset model predictive control strategy can be a multi-time scale two-layer model predictive control (MPC) feedback rolling optimization control strategy. It can be used to perform rolling prediction on the target microgrid based on the preset time to obtain execution decision variables. The specific details will be described below and will not be repeated here.
[0029] S130. Actively control the power consumption and / or power supply of the temperature control load, the energy storage system, and the external power grid within a preset time from the current moment by utilizing the execution decision variables.
[0030] As described above, by using the regulation method for the demand side of a microgrid provided by an embodiment of the present disclosure and utilizing the preset model predictive control strategy, the target microgrid is subjected to rolling regulation based on the temperature-controlled load as the responding subject. This can reduce the impact of the long-term participation of the temperature-controlled load in demand response on the service life to a certain extent, and suppress the fluctuation of new energy output during the operation of the microgrid; thereby improving the economic benefits and system robustness of the microgrid.
[0031] exist Figure 1 , Figure 2 Based on the embodiment, as an optional implementation mode, the preset model predictive control strategy includes a first-layer model predictive control strategy and a second-layer model predictive control strategy.
[0032] The first-layer model predictive control strategy is executed within a first time window starting from a current moment, and the first time window includes a plurality of continuous first time periods starting from the current moment.
[0033] It should be noted that the present disclosure does not limit the specific values of the “first time window, first time period”, which can be determined according to actual conditions.
[0034] As an optional example, when the current outdoor temperature associated with the temperature control load is obtained by receiving weather forecast information, the duration of the weather forecast period (for example, the next 48 hours) can be used as the duration of the first time window, that is, the first time window can be 48 hours. On this basis, the first time period can be, for example, 1 hour.
[0035] The second-layer model predictive control strategy is executed within a second time window starting from the current moment, and the second time window includes a plurality of consecutive second time periods starting from the current moment.
[0036] The duration of the second time window is equal to the duration of the first time period.
[0037] It should be noted that the present disclosure does not limit the specific values of the "second time window, second time period", which can be determined according to actual conditions, but it should be noted that the length of the second time period should be greater than or equal to the length of the natural operation cycle of the temperature control load.
[0038] Based on the above example, the second time window may also be 1 hour, and the second time period may be 10 minutes.
[0039] exist Figure 1 , Figure 2 Based on the embodiment, as an optional implementation mode, step S120 "determining the execution decision variables of the target microgrid within a preset time from the current moment by using a preset model predictive control strategy based on the initial parameters" may include the following steps: Step 1), based on the initial parameters, using the first-layer model predictive control strategy, determine the first-level decision variables of the target microgrid in the nth first time period from the current moment.
[0040] Among them, the first-level decision variables include the response power of the first-level external power grid and the response power of the first-level temperature control load; among them, n takes a value from 1 to N and is a positive integer, and N represents the number of the first time periods.
[0041] As an optional example, step 1) can be implemented as follows: Step 11) Determine the first-level temperature control cost of the temperature control load from the current moment to the Nth first time period by using the current outdoor temperature associated with the temperature control load, the upper and lower limits of the indoor temperature associated with the temperature control load, and the electrical component parameters, rated power and performance coefficient associated with the temperature control load.
[0042] The first-level temperature control load control cost can be determined using the following calculation formulas (1) to (7): (1) (2) (3) (4) (5) (6) (7) in, represents the first-level temperature control load control cost; The switch switching cost of the temperature control load is represented by Figure 4 shown); The satisfaction cost of the end user of the temperature control load is represented by Figure 5 shown); Indicates the switching temperature difference when the terminal switch of the temperature-controlled load is switched; Indicates the switching time difference of the terminal switch of the temperature control load; A start / stop state variable representing the terminal switch of the temperature control load; Indicates the maximum temperature; Indicates the indoor temperature of the room where the terminal associated with the temperature control load is located; Indicates the minimum temperature; represents the current outdoor temperature associated with the temperature control load; R represents the equivalent thermal resistance to the temperature control load; C represents the equivalent thermal capacity to the temperature control load; represents the coefficient of performance of the temperature control load; Indicates the rated power of the temperature control load.
[0043] It should be explained that the differential equation shown in the above calculation formula (6) is used to characterize the first-order thermodynamic model of the temperature control load. Selecting "first order" can simplify the complexity of the system. Assuming that the outdoor temperature is a constant during the operation of the temperature control load, the differential equation of calculation formula (6) can be further discretized into the form of an exponential function, as shown in calculation formula (8): (8) in, Indicates the first time period or the second time period; the meanings of other symbols can be referred to the aforementioned parts and will not be repeated here.
[0044] Optionally, assuming that the rated power of the temperature control load is 3.5kW, the equivalent thermal resistance is 3.6℃ / kW, the equivalent heat capacity is 0.18kW·h / ℃, and the performance coefficient is 3.2. Then the working characteristic curve of the temperature control load is as follows: Figure 3 shown.
[0045] It should also be noted that the temperature control load can be defined in the following manner as the charging / discharging power of the "target microgrid demand-side response object", and then used as the response power of the temperature control load.
[0046] Specifically, as another optional example, assuming that the user sets the temperature to 24°C, the outdoor temperature is 37°C, and the dead zone temperature is set to 4°C, the temperature adjustable range of the temperature control load is 22°C~26°C. As the indoor temperature changes within the range of 22°C~26°C, the switch state of the terminal of the fixed-frequency temperature control load (for example, air conditioning) switches between 0 and 1 to keep the indoor temperature stable. In a complete cycle, the average power during this period is defined as the baseline power , combined with formula (8), it can be seen that the baseline power of the temperature control load is 2.3729kW. When demand response is implemented, that is, there is an external control signal, the temperature control load will generate a new working cycle, and the average power in the new cycle is defined as the equivalent power The difference between the baseline power and the equivalent power is defined as the charge / discharge power, i.e. When the equivalent power is less than 2.3729kW, the temperature-controlled load is considered to be in a discharging state, and when the equivalent power is greater than 2.3729kW, the temperature-controlled load is considered to be in a charging state.
[0047] It should also be noted that the above step 11) example can be used to process a single temperature control load. In order to simplify the algorithm complexity, it can be assumed that the temperature control load group in the target microgrid has a first-level temperature control load control cost of the nth first time period from the current moment. The same, then the total cost of the first-level control of the temperature control load group can be ;in, Indicates the number of temperature-controlled loads in the temperature-controlled load group.
[0048] Step 12) Using the real-time output prediction data of the new energy generator set and the real-time electricity price, determine the cost of the first-level energy exchange between the target microgrid and the external grid from the current moment to the Nth first time period.
[0049] Optionally, the real-time output prediction data of the new energy generator set may be electricity amount, in units such as kilowatt-hour. The cost of the first-level energy exchange may be determined by multiplying the real-time output prediction data of the new energy generator set by the real-time electricity price.
[0050] Step 13) Determine the first-level total operating cost of the target microgrid from the current moment to the Nth first time period by using the first-level temperature control load control cost and the first-level energy exchange cost.
[0051] Optionally, the total operating cost of the first level is determined using the following calculation formula (9): (9) in, represents the first-level total operating cost of the target microgrid in the nth first time period from the current moment; represents the starting time of the nth said first time period; represents the duration of the nth said first time period; represents the first-level temperature control load control cost; Represents the cost of first-level energy exchange.
[0052] Step 14) Based on power balance constraints, grid safety operation constraints, upper and lower limits of adjustable power of temperature-controlled loads, and temperature adjustable range constraints allowed by terminal users of temperature-controlled loads, the first-level total operating cost is optimized and calculated to obtain the first-level decision variables.
[0053] Optionally, the constraints in step 14) can be expressed using the following calculation formulas (10) to (13): (10) (11) (12) (13) in, Represents the response power of the external power grid connected to the target microgrid; Represents the output power of the photovoltaic generator set in the target microgrid; Represents the output power of the wind turbine generator set in the target microgrid; represents the response power of the temperature control load in the target microgrid; represents the power consumed by the rigid loads in the target microgrid; represents the indoor temperature of the room where the terminal associated with the temperature control load is located; Indicates the lower limit of the response power of the external power grid connected to the target microgrid; Indicates the upper limit of the response power of the external power grid connected to the target microgrid; represents the lower limit of the response power of the temperature control load in the target microgrid; Indicates the upper limit of the response power of the temperature control load in the target microgrid; the lower limit of the temperature adjustment range allowed by the end user associated with the temperature control load; The upper limit of the temperature adjustment range allowed by the end user associated with the temperature control load.
[0054] By using the constraints shown in the above calculation formulas (10) to (13), the first-level total operating cost shown in the calculation formula (9) is optimized and solved to obtain the first-level decision variables.
[0055] As mentioned above, the first-level decision variables include the response power of the first-level external power grid. , the response power of the first level temperature control load .
[0056] Step 2), based on the first-level decision variables, using the second-level model predictive control strategy, determine the second-level decision variables of the target microgrid from the current moment to the Mth second time period as the execution decision variables.
[0057] Among them, the execution decision variables include the response power of the second-level external power grid, the response power of the second-level temperature control load, and the response power of the second-level energy storage system; m ranges from 1 to M and is a positive integer, and M represents the number of the second time period.
[0058] As an optional example, step 2) can be implemented as follows: Step 21), based on the first-level decision variables, determine the energy exchange penalty cost between the target microgrid and the external grid from the current moment to the Mth second time period, and the control penalty cost of the temperature control load from the current moment to the Mth second time period.
[0059] Among them, the energy exchange penalty cost The response power of the first-level external power grid in step 1) is used as a reference for determination; the specific steps may include: the square of the difference between the reference value of the response power of the first-level external power grid and the response power of the second-level external power grid, which can be specifically described by the following formula:
[0060] The control penalty cost The response power of the first-level temperature control load in step 1) is used as a reference for determination; the specific steps may include: the square of the difference between the reference value of the response power of the first-level temperature control load and the response power of the second-level temperature control load, which can be specifically described by the following formula:
[0061] Step 22), obtaining the levelized cost of the energy storage system from the current time to the Mth second time period .
[0062] Among them, obtaining or determining the "levelized cost of energy storage system The specific steps of the second-tier energy storage system may include: The levelized energy storage cost of the second-tier energy storage system is the full life cycle cost divided by the cumulative amount of electric energy or power transmitted, which can be described by the following formula:
[0063] in, represents the life cycle kilowatt-hour cost; represents the starting time of the mth second time period; represents the response power of the second-level energy storage system; Indicates the duration of the mth second time period.
[0064] Step 23), using the energy exchange penalty cost, control penalty cost and levelized cost, determine the second-level total operating cost of the target microgrid from the current moment to the Mth second time period.
[0065] Optionally, the second-level total operating cost is determined using the following calculation formula (14): (14) in, represents the second-level total operating cost of the target microgrid in the mth second time period from the current moment; represents the levelized cost of the energy storage system in the mth second time period from the current moment; represents the energy exchange penalty cost; represents the control penalty cost; represents the weight coefficient of the external power grid, and its value is 10; represents the weight coefficient of the temperature control load, and its value is 1; represents the starting time of the mth second time period; Indicates the duration of the mth second time period.
[0066] Step 24), based on the power balance constraint, the grid safe operation constraint, the upper and lower limit constraints of the adjustable power of the temperature-controlled load, the temperature adjustable range constraint allowed by the terminal user of the temperature-controlled load, and the state of charge constraint of the battery in the energy storage system, the second-level total operating cost is optimized and calculated to obtain the second-level decision variables.
[0067] Among them, in step 24), when optimizing the calculation of the second-level total operating cost using constraints, in addition to the constraints involved in the above step 14) as shown in calculation formulas (10) to (13), the state of charge constraints of the batteries in the energy storage system and the new power balance constraints are also used; thus, the second-level decision variables can be optimized and solved.
[0068] Optionally, the state of charge constraint of the battery in the energy storage system can be expressed using the following calculation formula:
[0069] Optionally, the new power balance constraint can be expressed using the following calculation formula:
[0070] in, Represents the response power of the energy storage system connected to the target microgrid.
[0071] The second-level decision variables include the response power of the second-level external power grid , the response power of the second level temperature control load , Second level energy storage system response power .
[0072] exist Figure 1 , Figure 2 Based on the embodiment, as an optional implementation method, refer to Figure 6, after actively controlling the power consumption and / or power supply of the temperature control load, the energy storage system and the external power grid by using the execution decision variables within a preset time from the current moment, the control method further includes: S610, obtaining the system state quantity of the target microgrid and the execution decision variable.
[0073] The system state quantity includes the indoor temperature of the room where the terminal associated with the temperature control load is located in the Mth second time period. .
[0074] The execution decision variables include the response power of the second-level external power grid , the response power of the second level temperature control load , Second level energy storage system response power .
[0075] S620: Based on the system state quantity and the execution decision variable, using the first-layer model predictive control strategy, update the first-level decision variables of the target microgrid in the n+1th first time period.
[0076] Here, the so-called updating is to use "the system state quantity and the execution decision variable" as new input, perform calculations based on the aforementioned implementation method of step 1), and obtain new first-level decision variables.
[0077] S630, iterative step 2) (i.e., the step of "determining the second-level decision variables of the target microgrid from the current moment to the Mth second time period based on the first-level decision variables and using the second-level model predictive control strategy") to the step of updating the first-level decision variables of the target microgrid in the n+1th first time period to determine the execution decision variables from the current moment to the Mth second time period until the preset iteration end condition is met.
[0078] The preset iteration end condition is that the accumulated sum of the durations of the first time periods is greater than or equal to the duration of the first time window.
[0079] As described above, by using the regulation method for the demand side of a microgrid provided by an embodiment of the present disclosure and utilizing the preset model predictive control strategy, the target microgrid is subjected to rolling regulation based on the temperature-controlled load as the responding subject. This can reduce the impact of the long-term participation of the temperature-controlled load in demand response on the service life to a certain extent, and suppress the fluctuation of new energy output during the operation of the microgrid; thereby improving the economic benefits and system robustness of the microgrid.
[0080] The control device for the demand side of a microgrid provided by the present disclosure is described below. The control device for the demand side of a microgrid described below and the control method for the demand side of a microgrid described above can refer to each other.
[0081] Figure 7 is a schematic diagram of a control device for a microgrid demand side provided by an exemplary embodiment of the present disclosure. Figure 7 As shown, the control device for the demand side of the microgrid includes: The data acquisition module 710 is configured to: acquire initial parameters associated with the temperature control load in the target microgrid; wherein the target microgrid is a microgrid to be subjected to demand-side regulation, and the microgrid includes a new energy generator set, a temperature control load and an energy storage system; wherein the initial parameters include the current indoor temperature and outdoor temperature associated with the temperature control load, the upper and lower limits of the indoor temperature associated with the temperature control load, the real-time output prediction data of the new energy generator set, the real-time electricity price, and the electrical component parameters, rated power and performance coefficient associated with the temperature control load; the decision module 720 is configured to: based on the initial parameters, using a preset model predictive control strategy, determine the execution decision variables of the target microgrid within a preset time from the current moment; wherein the execution decision variables include the response power of the temperature control load, the response power of the energy storage system, and the response power of the external power grid connected to the target microgrid; the execution module 730 is configured to: use the execution decision variables to perform active control of the power consumption and / or power supply of the temperature control load, the energy storage system and the external power grid within a preset time from the current moment.
[0082] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8As shown, the electronic device may include: a processor (processor) 810, a communication interface (Communications Interface) 820, a memory (memory) 830 and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 can call the logic instructions in the memory 830 to execute a control method for the demand side of the microgrid, the method comprising: obtaining initial parameters associated with the temperature control load in the target microgrid; wherein the target microgrid is a microgrid to be subjected to demand side control, and the microgrid comprises a new energy generator set, a temperature control load and an energy storage system; wherein the initial parameters include the outdoor temperature at the current moment associated with the temperature control load, the upper and lower limits of the indoor temperature associated with the temperature control load, the real-time output prediction data of the new energy generator set, the real-time electricity price, and the electrical component parameters, rated power and performance coefficient associated with the temperature control load; based on the initial parameters, using a preset model predictive control strategy, determining the execution decision variables of the target microgrid within a preset time from the current moment; wherein the execution decision variables include the response power of the temperature control load, the response power of the energy storage system and the response power of the external power grid connected to the target microgrid; using the execution decision variables, within the preset time from the current moment, actively control the power consumption and / or power supply of the temperature control load, the energy storage system and the external power grid.
[0083] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the 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, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0084] On the other hand, the present disclosure also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the control method for the demand side of a microgrid provided by the above-mentioned methods, and the method includes: obtaining initial parameters associated with the temperature control load in the target microgrid; wherein the target microgrid is a microgrid for which demand side control is to be performed, and the microgrid includes a new energy generator set, a temperature control load and an energy storage system; wherein the initial parameters include the current outdoor temperature associated with the temperature control load, the indoor temperature associated with the temperature control load upper and lower limits, real-time output prediction data of new energy generator sets, real-time electricity prices, and electrical component parameters, rated power and performance coefficients associated with the temperature control load; based on the initial parameters, using a preset model predictive control strategy, determine the execution decision variables of the target microgrid within a preset time from the current moment; wherein the execution decision variables include the response power of the temperature control load, the response power of the energy storage system and the response power of the external power grid connected to the target microgrid; using the execution decision variables, within a preset time from the current moment, actively control the power consumption and / or power supply of the temperature control load, the energy storage system and the external power grid.
[0085] On the other hand, the present disclosure also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the control method for the demand side of a microgrid provided by the above-mentioned methods, the method comprising: obtaining initial parameters associated with the temperature-controlled load in the target microgrid; wherein the target microgrid is a microgrid for which demand-side control is to be performed, and the microgrid comprises a new energy generator set, a temperature-controlled load, and an energy storage system; wherein the initial parameters comprise the current outdoor temperature associated with the temperature-controlled load, the upper and lower limits of the indoor temperature associated with the temperature-controlled load, the real-time Output prediction data, real-time electricity prices, and electrical component parameters, rated power and performance coefficient associated with the temperature-controlled load; based on the initial parameters, use a preset model predictive control strategy to determine the execution decision variables of the target microgrid within a preset time from the current moment; wherein the execution decision variables include the response power of the temperature-controlled load, the response power of the energy storage system and the response power of the external power grid connected to the target microgrid; use the execution decision variables to perform active control of the power consumption and / or supply power of the temperature-controlled load, the energy storage system and the external power grid within a preset time from the current moment.
[0086] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0087] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure 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 disclosure.
Claims
1. A control method for the demand side of a microgrid, include: Acquire initial parameters associated with the temperature control load in the target microgrid; wherein the target microgrid is a microgrid to be subjected to demand-side regulation, and the microgrid includes a new energy generator set, a temperature control load, and an energy storage system; wherein the initial parameters include the current outdoor temperature associated with the temperature control load, the upper and lower limits of the indoor temperature associated with the temperature control load, the real-time output prediction data of the new energy generator set, the real-time electricity price, and the electrical component parameters, rated power, and performance coefficient associated with the temperature control load; Based on the initial parameters, a preset model predictive control strategy is used to determine the execution decision variables of the target microgrid within a preset time from the current moment; wherein the execution decision variables include the response power of the temperature control load, the response power of the energy storage system, and the response power of the external power grid connected to the target microgrid; By utilizing the execution decision variables, active control of the power consumption and / or power supply is performed on the temperature control load, the energy storage system and the external power grid within a preset time from the current moment.
2. The control method according to claim 1, It is characterized in that The preset model predictive control strategy includes a first-layer model predictive control strategy and a second-layer model predictive control strategy; The first-layer model predictive control strategy is executed within a first time window from the current moment, and the first time window includes a plurality of consecutive first time periods from the current moment; The second-layer model predictive control strategy is executed within a second time window from the current moment, and the second time window includes a plurality of consecutive second time periods from the current moment; The duration of the second time window is equal to the duration of the first time period.
3. The control method according to claim 2, It is characterized in that Based on the initial parameters, a preset model predictive control strategy is used to determine the execution decision variables of the target microgrid within a preset time from the current moment, including: Step 1), based on the initial parameters, using the first-layer model predictive control strategy, determine the first-level decision variables of the target microgrid in the nth first time period from the current moment; Wherein, the first-level decision variables include the response power of the first-level external power grid and the response power of the first-level temperature control load; wherein n is 1 to N, N represents the number of the first time periods, and n and N are positive integers; Step 2), based on the first-level decision variables, using the second-level model predictive control strategy, determine the second-level decision variables of the target microgrid from the current moment to the Mth second time period as the execution decision variables; Among them, the execution decision variables include the response power of the second-level external power grid, the response power of the second-level temperature control load, and the response power of the second-level energy storage system; m takes a value from 1 to M, M represents the number of the second time period, and m and M are positive integers.
4. The control method according to claim 3, It is characterized in that After actively controlling the power consumption and / or power supply of the temperature control load, the energy storage system, and the external power grid by using the execution decision variables within a preset time from the current moment, the control method further includes: Acquire the system state quantity of the target microgrid and the execution decision variable; wherein the system state quantity includes the indoor temperature of the room where the terminal associated with the temperature control load is located during the Mth second time period; Based on the system state quantity and the execution decision variable, using the first-layer model predictive control strategy, updating the first-level decision variables of the target microgrid in the n+1th first time period; Iterate step 2) to the step of updating the first-level decision variables in the n+1th first time period of the target microgrid to determine the execution decision variables from the current moment to the Mth second time period until the preset iteration end condition is met; The preset iteration end condition is that the accumulated sum of the durations of the first time periods is greater than or equal to the duration of the first time window.
5. The control method according to claim 3, It is characterized in that Based on the initial parameters, using the first-layer model predictive control strategy, determining the first-level decision variables of the target microgrid in the nth first time period from the current moment, including: Step 11) using the current outdoor temperature associated with the temperature control load, the upper and lower limits of the indoor temperature associated with the temperature control load, and the parameters, rated power and performance coefficient of the electrical components associated with the temperature control load, to determine the first-level temperature control load control cost of the temperature control load from the current moment to the Nth first time period; Step 12) using the real-time output prediction data of the new energy generator set and the real-time electricity price, determining the cost of the first-level energy exchange between the target microgrid and the external power grid from the current moment to the Nth first time period; Step 13) using the first-level temperature control load control cost and the first-level energy exchange cost, determine the first-level total operating cost of the target microgrid from the current moment to the Nth first time period; Step 14) Based on power balance constraints, grid safety operation constraints, upper and lower limits of adjustable power of temperature-controlled loads, and temperature adjustable range constraints allowed by terminal users of temperature-controlled loads, the first-level total operating cost is optimized and calculated to obtain the first-level decision variables.
6. The control method according to claim 3, It is characterized in that Based on the first-level decision variables, using the second-level model predictive control strategy, determining the second-level decision variables of the target microgrid from the current moment to the Mth second time period as the execution decision variables, including: Step 21), based on the first-level decision variables, determine the energy exchange penalty cost between the target microgrid and the external grid from the current moment to the Mth second time period, and the control penalty cost of the temperature control load from the current moment to the Mth second time period; Step 22), obtaining the levelized cost of the energy storage system from the current moment to the Mth second time period; Step 23), using the energy exchange penalty cost, the control penalty cost and the levelized cost, determine the second-level total operating cost of the target microgrid from the current moment to the Mth second time period; Step 24), based on the power balance constraint, the grid safe operation constraint, the upper and lower limit constraints of the adjustable power of the temperature-controlled load, the temperature adjustable range constraint allowed by the terminal user of the temperature-controlled load, and the state of charge constraint of the battery in the energy storage system, the second-level total operating cost is optimized and calculated to obtain the second-level decision variables.
7. A control device for the demand side of a microgrid, include: A data acquisition module is configured to: acquire initial parameters associated with the temperature control load in the target microgrid; wherein the target microgrid is a microgrid to be subjected to demand-side regulation, and the microgrid includes a new energy generator set, a temperature control load, and an energy storage system; wherein the initial parameters include the current outdoor temperature associated with the temperature control load, the upper and lower limits of the indoor temperature associated with the temperature control load, the real-time output prediction data of the new energy generator set, the real-time electricity price, and the electrical component parameters, rated power, and performance coefficient associated with the temperature control load; The decision module is configured to: determine the execution decision variables of the target microgrid within a preset time from the current moment based on the initial parameters and using a preset model predictive control strategy; wherein the execution decision variables include the response power of the temperature control load, the response power of the energy storage system, and the response power of the external power grid connected to the target microgrid; The execution module is configured to: utilize the execution decision variables to actively control the power consumption and / or power supply of the temperature control load, the energy storage system and the external power grid within a preset time from the current moment.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the control method for the demand side of a microgrid is implemented as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the control method for the demand side of a microgrid is implemented as described in any one of claims 1 to 6.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the control method for the demand side of a microgrid is implemented as described in any one of claims 1 to 6.
