A method and system for simulating frequency response of temperature-controlled load

By embedding a temperature-controlled load frequency response simulation method with a two-stage startup strategy in the power grid simulation system, the problem of load response process simulation distortion in power grid simulation is solved, the power grid frequency recovery efficiency is improved, a verification environment is provided, and the impact of user misoperation is reduced.

CN112290529BActive Publication Date: 2025-09-16CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +3
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201910672617.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-24
Publication Date
2025-09-16
Estimated Expiration
2039-07-24

AI Technical Summary

Technical Problem

Existing power grid simulation technology cannot effectively simulate the load response process, especially the control strategy of temperature-controlled loads, resulting in distorted simulation of the load response process and a lack of verification methods and actual operating data.

Method used

A temperature-controlled load frequency response simulation method is adopted. By obtaining the system frequency of the electrical island where the temperature-controlled load is located in the power grid simulation system, the operating status of the temperature-controlled load equipment and the frequency controller is determined. A two-stage startup strategy is adopted and embedded in the power grid simulation system. The startup delay of the temperature-controlled load is set to filter frequency fluctuations, reduce user malfunctions, and simulate the impact of temperature-controlled load users' electricity consumption on the power grid.

Benefits of technology

It improves the frequency recovery efficiency of the power grid, provides a verification environment for temperature-controlled load regulation, reduces the impact of frequency response on user comfort, and provides data support for studying the impact of massive temperature-controlled loads participating in frequency response on the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112290529B_ABST
    Figure CN112290529B_ABST
Patent Text Reader

Abstract

The present invention relates to a method and system for simulating the frequency response of a temperature-controlled load, including: obtaining the system frequency of the electrical island where the temperature-controlled load resides in a power grid simulation system; and determining the operating status of the temperature-controlled load device and the temperature-controlled load frequency controller in the power grid simulation system based on the system frequency simulation of the electrical island where the temperature-controlled load resides. The technical solution proposed in this invention simulates the load power required by the power grid using a two-stage startup temperature-controlled load control strategy at different system frequencies, providing a verification environment for research and software development related to temperature-controlled load regulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power system automation, and in particular to a temperature-controlled load frequency response simulation method and system. Background Art

[0002] Temperature-controlled loads, including heat pumps, dryers, refrigerators, and air conditioners, comprise the largest portion of urban residential and commercial loads. Advances in load control technology and increasing user willingness to participate in power regulation are making these massive loads a crucial power regulation resource for future power grids. However, due to the lack of comprehensive load response policies and market mechanisms in China, research on control strategies for these loads and assessment of their impact on the power grid lacks verification methods and actual operational data.

[0003] Furthermore, existing power grid simulation technologies perform calculations based on static grid sections. However, load response is an uncertain process, and traditional power grid simulation cannot simulate this continuous process. Furthermore, load response is often affected by different load devices. Traditional power grid simulations lack device-level load models and can only simulate using equivalent models, resulting in distorted load response simulations.

[0004] At present, there is no relevant patent that can solve the above problems. Summary of the Invention

[0005] In view of the shortcomings of the existing technology, the purpose of the present invention is to propose a temperature-controlled load frequency response simulation method. This method simulates the use of a two-stage startup temperature-controlled load control strategy when a system failure causes the system frequency to drop, thereby reducing the load power required by the power grid and improving the power grid frequency recovery efficiency. At the same time, it can also provide a verification environment for research related to temperature-controlled load regulation and software development.

[0006] The purpose of the present invention is achieved by adopting the following technical solutions:

[0007] The present invention provides a method for simulating the frequency response of a temperature-controlled load, wherein the method comprises:

[0008] Obtain the system frequency of the electrical island where the temperature control load is located in the power grid simulation system;

[0009] The operating states of the temperature-controlled load equipment and the temperature-controlled load frequency controller in the power grid simulation system are determined according to the system frequency simulation of the electrical island where the temperature-controlled load is located in the power grid simulation system.

[0010] Preferably, the determining the operating status of the temperature-controlled load device and the temperature-controlled load frequency controller in the power grid simulation system according to the system frequency simulation of the electrical island where the temperature-controlled load is located in the power grid simulation system includes:

[0011] Step 1: Initialize the starting time t=1, the indoor temperature θ of the temperature control load equipment in the power grid simulation system in (t) = a, the power consumption P of the temperature control load equipment in the power grid simulation system ac (t) = P ac0 , the working state of the temperature control load equipment in the power grid simulation system S(t) = S0, the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system; the temperature control load temperature adjustment mode Mod = k in the power grid simulation system;

[0012] Step 2: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≤f st ; If so, update the power grid simulation system temperature control load frequency controller a startup state I1 (t) = 1, and proceed to step 6; otherwise, proceed to step 3;

[0013] Step 3: Determine whether the second-stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system at time t satisfies I2(t)=1; if so, proceed to step 4; otherwise, proceed to step 5;

[0014] Step 4: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≥f rvt ; If yes, proceed to step 5; otherwise, proceed to step 8;

[0015] Step 5: Update the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system;

[0016] Step 6: Update T on (t)=[T on (t-1)+△T]·I1(t), to determine the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) Whether T is satisfied on (t)≥T d If so, update the second-stage startup state I2(t)=1 of the temperature-controlled load frequency controller in the power grid simulation system, and proceed to step 7; otherwise, set the operating mode of the temperature-controlled load device in the power grid simulation system to the temperature adjustment mode, and proceed to step 8;

[0017] Step 7: If the temperature control mode identification value k of the temperature control load in the power grid simulation system satisfies k=1, the operating mode of the temperature control load device in the power grid simulation system is set to the temperature control mode, and step 8 is performed; otherwise, the operating mode of the temperature control load device in the power grid simulation system is set to the interruption mode, and step 8 is performed;

[0018] Step 8: Update the working state S(t) of the temperature control load device in the power grid simulation system according to the working mode of the temperature control load device in the power grid simulation system, and update the indoor temperature θ of the temperature control load device in the power grid simulation system according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t);

[0019] Step 9: Determine whether the simulation end flag is 1, that is, St = 1. If so, output the indoor temperature θ of the temperature control load device in the power grid simulation system at the current moment. in (t), power consumption P of temperature control load equipment in power grid simulation system ac (t), the working state S(t) of the temperature control load equipment in the power grid simulation system, and the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t), the first stage startup state I1(t) of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system; otherwise, set t=t+1 and return to step 2;

[0020] Wherein, I1(t)∈{0,1}, I1(t)=1 means the first stage of the temperature control load frequency controller in the power grid simulation system starts, and I1(t=0 means the first stage of the temperature control load frequency controller in the power grid simulation system does not start; I2(t)∈{0,1}, I2(t=1 means the second stage of the temperature control load frequency controller in the power grid simulation system starts, and I2(t=0 means the second stage of the temperature control load frequency controller in the power grid simulation system does not start; S(t)∈{0,1}, S(t=1 means the temperature control load device starts in the power grid simulation system, and S(t=0 means the temperature control load device does not start in the power grid simulation system; k∈{0,1}; f st is the frequency response starting threshold of the temperature control load frequency response controller in the power grid simulation system; T d f is the second stage start delay threshold of the temperature control load frequency controller in the power grid simulation system; rvtis the response recovery frequency of the temperature-controlled load frequency response controller in the power grid simulation system; the simulation end flag St can be set by the user through the interface button, or it can be determined by the total number of simulation moments N. When the end flag is determined by the total number of simulation moments N, if t>N, the end flag position St=1; otherwise, the end flag position St=0; a is the indoor temperature of the temperature-controlled load device in the power grid simulation system at the initial moment; P ac0 is the temperature control load power in the power grid simulation system at the initial moment; S0 is the temperature control load state in the power grid simulation system at the initial moment.

[0021] Furthermore, in step 8, the working state S(t) of the temperature-controlled load device in the power grid simulation system is updated according to the working mode of the temperature-controlled load device in the power grid simulation system according to the following process:

[0022] If the working mode of the temperature-controlled load device in the power grid simulation system is the temperature adjustment mode, the working state S(t) of the temperature-controlled load device in the power grid simulation system is determined according to the following formula:

[0023]

[0024] Where θ in (t-1) is the indoor temperature of the temperature-controlled load equipment in the power grid simulation system at time t-1; θ set is the temperature adjustment value of the temperature control load frequency controller in the power grid simulation system; θ dead is the temperature control dead zone set by the temperature control load frequency controller in the power grid simulation system; S(t-1) is the working state of the temperature control load device in the power grid simulation system at time t-1;

[0025] If the working mode of the temperature control load device in the power grid simulation system is the interruption mode, the working state S(t) of the temperature control load device in the power grid simulation system is determined according to the following formula:

[0026]

[0027] Where I2(t) is the second-stage startup state of the temperature-controlled load frequency controller in the power grid simulation system at time t.

[0028] Furthermore, in step 8, the indoor temperature θ of the temperature control load device in the power grid simulation system is updated according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t), including:

[0029] Update the indoor temperature θ(t) of the temperature-controlled load equipment in the power grid simulation system according to the following formula:

[0030]

[0031] Where θ in (t-1) is the indoor temperature of the temperature-controlled load device in the power grid simulation system at time t-1; △T is the indoor temperature difference between the time t-1 and the time t; R is the thermal resistance of the temperature-controlled load in the power grid simulation system; C is the thermal capacity of the temperature-controlled load in the power grid simulation system; θ out (t-1) is the outdoor temperature of the temperature control load equipment in the power grid simulation system at time t-1; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system.

[0032] Update the power consumption P of the temperature control load equipment in the power grid simulation system according to the following formula: ac (t):

[0033]

[0034] Where η is the cooling efficiency of the temperature control load in the power grid simulation system; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system.

[0035] Furthermore, the temperature adjustment value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: set :

[0036]

[0037] Where θ targ is the temperature control target value of the temperature control load frequency controller in the power grid simulation system; θ setmax Set the upper temperature limit for the temperature control load frequency controller in the power grid simulation system; θ setmin Set the lower temperature limit for the temperature control load frequency controller in the power grid simulation system;

[0038] The temperature control target value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: targ :

[0039]

[0040] Where θ set,0 The initial temperature value is set by the user in the power grid simulation system; △f(t) is the deviation between the system frequency and the power frequency of the electrical island where the temperature-controlled load is located in the power grid simulation system; S(t) is the working status of the temperature-controlled load equipment in the power grid simulation system at time t.

[0041] The present invention provides a temperature control load frequency response simulation system, the improvement of which lies in that the system comprises:

[0042] Acquisition module: used to obtain the system frequency of the electrical island where the temperature control load is located in the power grid simulation system;

[0043] The determination module is used to determine the operating status of the temperature-controlled load device and the temperature-controlled load frequency controller in the power grid simulation system according to the system frequency simulation of the electrical island where the temperature-controlled load is located in the power grid simulation system.

[0044] Preferably, the determining module is used to:

[0045] Step 1: Initialize the starting time t=1, the indoor temperature θ of the temperature control load equipment in the power grid simulation system in (t) = a, the power consumption P of the temperature control load equipment in the power grid simulation system ac (t) = P ac0 , the working state of the temperature control load equipment in the power grid simulation system S(t) = S0, the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system; the temperature control load temperature adjustment mode Mod = k in the power grid simulation system;

[0046] Step 2: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≤f st ; If so, update the power grid simulation system temperature control load frequency controller a startup state I1 (t) = 1, and proceed to step 6; otherwise, proceed to step 3;

[0047] Step 3: Determine whether the second-stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system at time t satisfies I2(t)=1; if so, proceed to step 4; otherwise, proceed to step 5;

[0048] Step 4: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≥f rvt ; If yes, proceed to step 5; otherwise, proceed to step 8;

[0049] Step 5: Update the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system;

[0050] Step 6: Update T on (t)=[T on (t-1)+△T]·I1(t), to determine the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) Whether T is satisfied on (t)≥T d If so, update the second-stage startup state I2(t)=1 of the temperature-controlled load frequency controller in the power grid simulation system, and proceed to step 7; otherwise, set the operating mode of the temperature-controlled load device in the power grid simulation system to the temperature adjustment mode, and proceed to step 8;

[0051] Step 7: If the temperature control mode identification value k of the temperature control load in the power grid simulation system satisfies k=1, the operating mode of the temperature control load device in the power grid simulation system is set to the temperature control mode, and step 8 is performed; otherwise, the operating mode of the temperature control load device in the power grid simulation system is set to the interruption mode, and step 8 is performed;

[0052] Step 8: Update the working state S(t) of the temperature control load device in the power grid simulation system according to the working mode of the temperature control load device in the power grid simulation system, and update the indoor temperature θ of the temperature control load device in the power grid simulation system according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t);

[0053] Step 9: Determine whether the simulation end flag is 1, that is, St = 1. If so, output the indoor temperature θ of the temperature control load device in the power grid simulation system at the current moment. in (t), power consumption P of temperature control load equipment in power grid simulation system ac (t), the working state S(t) of the temperature control load equipment in the power grid simulation system, and the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t), the first stage startup state I1(t) of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system; otherwise, set t=t+1 and return to step 2;

[0054] Wherein, I1(t)∈{0,1}, I1(t)=1 means the first stage of the temperature control load frequency controller in the power grid simulation system starts, and I1(t=0 means the first stage of the temperature control load frequency controller in the power grid simulation system does not start; I2(t)∈{0,1}, I2(t=1 means the second stage of the temperature control load frequency controller in the power grid simulation system starts, and I2(t=0 means the second stage of the temperature control load frequency controller in the power grid simulation system does not start; S(t)∈{0,1}, S(t=1 means the temperature control load device starts in the power grid simulation system, and S(t=0 means the temperature control load device does not start in the power grid simulation system; k∈{0,1}; f st is the frequency response starting threshold of the temperature control load frequency response controller in the power grid simulation system; T d f is the second stage start delay threshold of the temperature control load frequency controller in the power grid simulation system; rvt is the response recovery frequency of the temperature-controlled load frequency response controller in the power grid simulation system; the simulation end flag St can be set by the user through the interface button, or it can be determined by the total number of simulation moments N. When the end flag is determined by the total number of simulation moments N, if t>N, the end flag position St=1; otherwise, the end flag position St=0; a is the indoor temperature of the temperature-controlled load device in the power grid simulation system at the initial moment; P ac0 is the temperature control load power in the power grid simulation system at the initial moment; S0 is the temperature control load state in the power grid simulation system at the initial moment.

[0055] Furthermore, in step 8, the working state S(t) of the temperature-controlled load device in the power grid simulation system is updated according to the working mode of the temperature-controlled load device in the power grid simulation system according to the following process:

[0056] If the working mode of the temperature-controlled load device in the power grid simulation system is the temperature adjustment mode, the working state S(t) of the temperature-controlled load device in the power grid simulation system is determined according to the following formula:

[0057]

[0058] Where θ in (t-1) is the indoor temperature of the temperature-controlled load equipment in the power grid simulation system at time t-1; θ set is the temperature adjustment value of the temperature control load frequency controller in the power grid simulation system; θ dead is the temperature control dead zone set by the temperature control load frequency controller in the power grid simulation system; S(t-1) is the working state of the temperature control load device in the power grid simulation system at time t-1;

[0059] If the working mode of the temperature control load device in the power grid simulation system is the interruption mode, the working state S(t) of the temperature control load device in the power grid simulation system is determined according to the following formula:

[0060]

[0061] Where I2(t) is the second-stage startup state of the temperature-controlled load frequency controller in the power grid simulation system at time t.

[0062] Furthermore, in step 8, the indoor temperature θ of the temperature control load device in the power grid simulation system is updated according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t), including:

[0063] Update the indoor temperature θ(t) of the temperature-controlled load equipment in the power grid simulation system according to the following formula:

[0064]

[0065] Where θ in (t-1) is the indoor temperature of the temperature-controlled load device in the power grid simulation system at time t-1; △T is the indoor temperature difference between the time t-1 and the time t; R is the thermal resistance of the temperature-controlled load in the power grid simulation system; C is the thermal capacity of the temperature-controlled load in the power grid simulation system; θ out (t-1) is the outdoor temperature of the temperature control load equipment in the power grid simulation system at time t-1; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system.

[0066] Update the power consumption P of the temperature control load equipment in the power grid simulation system according to the following formula: ac (t):

[0067]

[0068] Where η is the cooling efficiency of the temperature control load in the power grid simulation system; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system.

[0069] Furthermore, the temperature adjustment value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: set :

[0070]

[0071] Where θ targ is the temperature control target value of the temperature control load frequency controller in the power grid simulation system; θ setmaxSet the upper temperature limit for the temperature control load frequency controller in the power grid simulation system; θ setmin Set the lower temperature limit for the temperature control load frequency controller in the power grid simulation system;

[0072] The temperature control target value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: targ :

[0073]

[0074] Where θ set,0 The initial temperature value is set by the user in the power grid simulation system; △f(t) is the deviation between the system frequency and the power frequency of the electrical island where the temperature-controlled load is located in the power grid simulation system; S(t) is the working status of the temperature-controlled load equipment in the power grid simulation system at time t.

[0075] Compared with the closest prior art, the present invention has the following beneficial effects:

[0076] The technical solution provided by the present invention obtains the system frequency of the electrical island where the temperature-controlled load is located in the power grid simulation system; determines the operating status of the temperature-controlled load equipment and the temperature-controlled load frequency controller in the power grid simulation system based on the system frequency simulation of the electrical island where the temperature-controlled load is located in the power grid simulation system; the technical solution provided by the present invention embeds the temperature-controlled load control model of the two-stage start-up strategy into the power grid simulation system, on the one hand, by setting the temperature-controlled load start-up delay, the frequency fluctuations within the set value of the temperature-controlled load start-up delay are filtered during the simulation process to avoid user malfunctions and reduce the impact of frequency response on user comfort; on the other hand, the power grid simulation platform is used to simulate the electricity consumption of temperature-controlled load users, and the power consumption is superimposed on the active power value of the load node to which each temperature-controlled load user is connected, thereby providing data support for studying the impact of massive temperature-controlled loads participating in frequency response on the power grid. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 It is a flow chart of a method for simulating the frequency response of a temperature-controlled load;

[0078] Figure 2 It is a structural diagram of a temperature control load frequency response simulation system. DETAILED DESCRIPTION

[0079] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0080] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0081] This paper develops a temperature-controlled load frequency control module based on a two-stage startup strategy on a power grid simulation platform. This platform encompasses multiple functional modules, including power flow calculation, power frequency calculation, and secondary device simulation, and can be used to provide a continuous power grid simulation environment. The platform provides the two-stage startup strategy-based temperature-controlled load frequency control module with a power grid model and electrical island frequency, and receives the temperature-controlled load power simulated by the two-stage startup strategy-based temperature-controlled load frequency control module.

[0082] The present invention provides a method for simulating the frequency response of a temperature-controlled load. Figure 1 As shown, the method includes:

[0083] Step 101. Obtain the system frequency of the electrical island where the temperature-controlled load is located in the power grid simulation system; that is, the power grid frequency corresponding to the load in actual application;

[0084] Step 102: Determine the operating status of the temperature-controlled load device and the temperature-controlled load frequency controller in the power grid simulation system based on the system frequency simulation of the electrical island where the temperature-controlled load is located in the power grid simulation system.

[0085] The temperature control load includes: air conditioner compressor, heating wire, floor heating wire, etc.

[0086] Specifically, step 102 includes:

[0087] Step 1: Initialize the starting time t=1, the indoor temperature θ of the temperature control load equipment in the power grid simulation system in (t) = a, the power consumption P of the temperature control load equipment in the power grid simulation system ac (t) = P ac0 , the working state of the temperature control load equipment in the power grid simulation system S(t) = S0, the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system; the temperature control load temperature adjustment mode Mod = k in the power grid simulation system;

[0088] When starting a temperature-controlled load simulation, set the simulation parameters on the load simulation interface, including simulation mode, curve tracking mode, simulation duration, single-step duration, time resolution, start time, and end time. If you do not set any parameters, the simulation will be run according to the default values ​​set in the case.

[0089] Select a simulation case and start the simulation. A simulation case is a text file that records simulation parameters, temperature control load model parameters (parameters that are inherently constant for the air conditioning load), temperature control load operating parameters (parameters that vary with the external environment), temperature control mode parameters (determines whether the temperature is set to set or not), and sampling point definition data.

[0090] Step 2: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≤f st ; If so, update the power grid simulation system temperature control load frequency controller a startup state I1 (t) = 1, and proceed to step 6; otherwise, proceed to step 3;

[0091] Step 3: Determine whether the second-stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system at time t satisfies I2(t)=1; if so, proceed to step 4; otherwise, proceed to step 5;

[0092] Step 4: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≥f rvt ; If yes, proceed to step 5; otherwise, proceed to step 8;

[0093] Step 5: Update the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system;

[0094] Step 6: Update T on (t)=[T on (t-1)+△T]·I1(t), to determine the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) Whether T is satisfied on (t)≥T d If so, update the second-stage startup state I2(t)=1 of the temperature-controlled load frequency controller in the power grid simulation system, and proceed to step 7; otherwise, set the operating mode of the temperature-controlled load device in the power grid simulation system to the temperature adjustment mode, and proceed to step 8;

[0095] The delay condition is determined based on actual grid fault analysis. It typically needs to be longer than the power system's primary frequency modulation time, typically 1 to 10 seconds, and shorter than the fault duration. Since the fault duration is not fixed, an earlier response facilitates grid fault recovery, so a setting of 10 seconds is recommended.

[0096] Step 7: If the temperature control mode identification value k of the temperature control load in the power grid simulation system satisfies k=1, the operating mode of the temperature control load device in the power grid simulation system is set to the temperature control mode, and step 8 is performed; otherwise, the operating mode of the temperature control load device in the power grid simulation system is set to the interruption mode, and step 8 is performed;

[0097] Step 8: Update the working state S(t) of the temperature control load device in the power grid simulation system according to the working mode of the temperature control load device in the power grid simulation system, and update the indoor temperature θ of the temperature control load device in the power grid simulation system according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t);

[0098] Step 9: Determine whether the simulation end flag is 1, that is, St = 1. If so, output the indoor temperature θ of the temperature control load device in the power grid simulation system at the current moment. in (t), power consumption P of temperature control load equipment in power grid simulation system ac (t), the working state S(t) of the temperature control load equipment in the power grid simulation system, and the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t), the first stage startup state I1(t) of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system; otherwise, set t=t+1 and return to step 2;

[0099] The database end flag is a binary variable in the database that can be input through the simulation interface and used by simulation users to end the simulation.

[0100] Wherein, I1(t)∈{0,1}, I1(t)=1 means the first stage of the temperature control load frequency controller in the power grid simulation system starts, and I1(t=0 means the first stage of the temperature control load frequency controller in the power grid simulation system does not start; I2(t)∈{0,1}, I2(t=1 means the second stage of the temperature control load frequency controller in the power grid simulation system starts, and I2(t=0 means the second stage of the temperature control load frequency controller in the power grid simulation system does not start; S(t)∈{0,1}, S(t=1 means the temperature control load device starts in the power grid simulation system, and S(t=0 means the temperature control load device does not start in the power grid simulation system; k∈{0,1}; f stis the frequency response starting threshold of the temperature control load frequency response controller in the power grid simulation system; T d f is the second stage start delay threshold of the temperature control load frequency controller in the power grid simulation system; rvt is the response recovery frequency of the temperature control load frequency response controller in the power grid simulation system; the simulation end flag St can be set by the user through the interface button, or it can be determined by the total number of simulation moments N. When the end flag is determined by the total number of simulation moments N, if t>N, the end flag position St=1; otherwise, the end flag position St=0; △T is the simulation step length, calculated in seconds; a is the indoor temperature of the temperature control load equipment in the power grid simulation system at the initial moment; P ac0 is the temperature control load power in the power grid simulation system at the initial moment; S0 is the temperature control load state in the power grid simulation system at the initial moment.

[0101] Furthermore, in step 8, the working state S(t) of the temperature-controlled load device in the power grid simulation system is updated according to the working mode of the temperature-controlled load device in the power grid simulation system according to the following process:

[0102] If the working mode of the temperature-controlled load device in the power grid simulation system is the temperature adjustment mode, the working state S(t) of the temperature-controlled load device in the power grid simulation system is determined according to the following formula:

[0103]

[0104] Where θ in (t-1) is the indoor temperature of the temperature-controlled load equipment in the power grid simulation system at time t-1; θ set is the temperature adjustment value of the temperature control load frequency controller in the power grid simulation system; θ dead is the temperature control dead zone set by the temperature control load frequency controller in the power grid simulation system; S(t-1) is the working state of the temperature control load device in the power grid simulation system at time t-1;

[0105] If the working mode of the temperature control load device in the power grid simulation system is the interruption mode, the working state S(t) of the temperature control load device in the power grid simulation system is determined according to the following formula:

[0106]

[0107] Where I2(t) is the second-stage startup state of the temperature-controlled load frequency controller in the power grid simulation system at time t.

[0108] Furthermore, in step 8, the indoor temperature θ of the temperature control load device in the power grid simulation system is updated according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation systemac (t), including:

[0109] Update the indoor temperature θ(t) of the temperature-controlled load equipment in the power grid simulation system according to the following formula:

[0110]

[0111] Where θ in (t-1) is the indoor temperature of the temperature-controlled load device in the power grid simulation system at time t-1; △T is the indoor temperature difference between the time t-1 and the time t; R is the thermal resistance of the temperature-controlled load in the power grid simulation system; C is the thermal capacity of the temperature-controlled load in the power grid simulation system; θ out (t-1) is the outdoor temperature of the temperature control load equipment in the power grid simulation system at time t-1; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system.

[0112] Update the power consumption P of the temperature control load equipment in the power grid simulation system according to the following formula: ac (t):

[0113]

[0114] Where η is the cooling efficiency of the temperature control load in the power grid simulation system; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system.

[0115] Furthermore, the temperature adjustment value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: set :

[0116]

[0117] Where θ targ is the temperature control target value of the temperature control load frequency controller in the power grid simulation system; θ setmax Set the upper temperature limit for the temperature control load frequency controller in the power grid simulation system; θ setmin Set the lower temperature limit for the temperature control load frequency controller in the power grid simulation system;

[0118] The temperature control target value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: targ :

[0119]

[0120] Where θ set,0The initial temperature value is set by the user in the power grid simulation system; △f(t) is the deviation between the system frequency and the power frequency of the electrical island where the temperature-controlled load is located in the power grid simulation system; S(t) is the working status of the temperature-controlled load equipment in the power grid simulation system at time t.

[0121] The present invention provides a temperature control load frequency response simulation system, such as Figure 2 As shown, the system includes:

[0122] Acquisition module: used to obtain the system frequency of the electrical island where the temperature control load is located in the power grid simulation system;

[0123] The determination module is used to determine the operating status of the temperature-controlled load device and the temperature-controlled load frequency controller in the power grid simulation system according to the system frequency simulation of the electrical island where the temperature-controlled load is located in the power grid simulation system.

[0124] Specifically, the determining module is used to:

[0125] Step 1: Initialize the starting time t=1, the indoor temperature θ of the temperature control load equipment in the power grid simulation system in (t) = a, the power consumption P of the temperature control load equipment in the power grid simulation system ac (t) = P ac0 , the working state of the temperature control load equipment in the power grid simulation system S(t) = S0, the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system; the temperature control load temperature adjustment mode Mod = k in the power grid simulation system;

[0126] Step 2: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≤f st ; If so, update the power grid simulation system temperature control load frequency controller a startup state I1 (t) = 1, and proceed to step 6; otherwise, proceed to step 3;

[0127] Step 3: Determine whether the second-stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system at time t satisfies I2(t)=1; if so, proceed to step 4; otherwise, proceed to step 5;

[0128] Step 4: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≥f rvt ; If yes, proceed to step 5; otherwise, proceed to step 8;

[0129] Step 5: Update the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system;

[0130] Step 6: Update T on (t)=[T on (t-1)+△T]·I1(t), to determine the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) Whether T is satisfied on (t)≥T d If so, update the second-stage startup state I2(t)=1 of the temperature-controlled load frequency controller in the power grid simulation system, and proceed to step 7; otherwise, set the operating mode of the temperature-controlled load device in the power grid simulation system to the temperature adjustment mode, and proceed to step 8;

[0131] Step 7: If the temperature control mode identification value k of the temperature control load in the power grid simulation system satisfies k=1, the operating mode of the temperature control load device in the power grid simulation system is set to the temperature control mode, and step 8 is performed; otherwise, the operating mode of the temperature control load device in the power grid simulation system is set to the interruption mode, and step 8 is performed;

[0132] Step 8: Update the working state S(t) of the temperature control load device in the power grid simulation system according to the working mode of the temperature control load device in the power grid simulation system, and update the indoor temperature θ of the temperature control load device in the power grid simulation system according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t);

[0133] Step 9: Determine whether the simulation end flag is 1, that is, St = 1. If so, output the indoor temperature θ of the temperature control load device in the power grid simulation system at the current moment. in (t), power consumption P of temperature control load equipment in power grid simulation system ac (t), the working state S(t) of the temperature control load equipment in the power grid simulation system, and the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t), the first stage startup state I1(t) of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system; otherwise, set t=t+1 and return to step 2;

[0134] Wherein, I1(t)∈{0,1}, I1(t)=1 means the first stage of the temperature control load frequency controller in the power grid simulation system starts, and I1(t=0 means the first stage of the temperature control load frequency controller in the power grid simulation system does not start; I2(t)∈{0,1}, I2(t=1 means the second stage of the temperature control load frequency controller in the power grid simulation system starts, and I2(t=0 means the second stage of the temperature control load frequency controller in the power grid simulation system does not start; S(t)∈{0,1}, S(t=1 means the temperature control load device starts in the power grid simulation system, and S(t=0 means the temperature control load device does not start in the power grid simulation system; k∈{0,1}; f st is the frequency response starting threshold of the temperature control load frequency response controller in the power grid simulation system; T d f is the second stage start delay threshold of the temperature control load frequency controller in the power grid simulation system; rvt is the response recovery frequency of the temperature-controlled load frequency response controller in the power grid simulation system; the simulation end flag St can be set by the user through the interface button, or it can be determined by the total number of simulation moments N. When the end flag is determined by the total number of simulation moments N, if t>N, the end flag position St=1; otherwise, the end flag position St=0; a is the indoor temperature of the temperature-controlled load device in the power grid simulation system at the initial moment; P ac0 is the temperature control load power in the power grid simulation system at the initial moment; S0 is the temperature control load state in the power grid simulation system at the initial moment.

[0135] Specifically, in step 8, the working state S(t) of the temperature-controlled load device in the power grid simulation system is updated according to the working mode of the temperature-controlled load device in the power grid simulation system according to the following process:

[0136] If the working mode of the temperature-controlled load device in the power grid simulation system is the temperature adjustment mode, the working state S(t) of the temperature-controlled load device in the power grid simulation system is determined according to the following formula:

[0137]

[0138] Where θ in (t-1) is the indoor temperature of the temperature-controlled load equipment in the power grid simulation system at time t-1; θ set is the temperature adjustment value of the temperature control load frequency controller in the power grid simulation system; θ dead is the temperature control dead zone set by the temperature control load frequency controller in the power grid simulation system; S(t-1) is the working state of the temperature control load device in the power grid simulation system at time t-1;

[0139] If the working mode of the temperature control load device in the power grid simulation system is the interruption mode, the working state S(t) of the temperature control load device in the power grid simulation system is determined according to the following formula:

[0140]

[0141] Where I2(t) is the second-stage startup state of the temperature-controlled load frequency controller in the power grid simulation system at time t.

[0142] Specifically, in step 8, the indoor temperature θ of the temperature control load device in the power grid simulation system is updated according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t), including:

[0143] Update the indoor temperature θ(t) of the temperature-controlled load equipment in the power grid simulation system according to the following formula:

[0144]

[0145] Where θ in (t-1) is the indoor temperature of the temperature-controlled load device in the power grid simulation system at time t-1; △T is the indoor temperature difference between the time t-1 and the time t; R is the thermal resistance of the temperature-controlled load in the power grid simulation system; C is the thermal capacity of the temperature-controlled load in the power grid simulation system; θ out (t-1) is the outdoor temperature of the temperature control load equipment in the power grid simulation system at time t-1; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system.

[0146] Update the power consumption P of the temperature control load equipment in the power grid simulation system according to the following formula: ac (t):

[0147]

[0148] Where η is the cooling efficiency of the temperature control load in the power grid simulation system; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system.

[0149] Specifically, the temperature adjustment value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: set :

[0150]

[0151] Where θ targ is the temperature control target value of the temperature control load frequency controller in the power grid simulation system; θ setmaxSet the upper temperature limit for the temperature control load frequency controller in the power grid simulation system; θ setmin Set the lower temperature limit for the temperature control load frequency controller in the power grid simulation system;

[0152] The temperature control target value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: targ :

[0153]

[0154] Where θ set,0 The initial temperature value is set by the user in the power grid simulation system; △f(t) is the deviation between the system frequency and the power frequency of the electrical island where the temperature-controlled load is located in the power grid simulation system; S(t) is the working status of the temperature-controlled load equipment in the power grid simulation system at time t.

[0155] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0156] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0157] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0158] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0159] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered by the scope of protection of the claims of the present invention.

Claims

1. A method for simulating the frequency response of a temperature-controlled load, characterized in that: The method comprises: Obtain the system frequency of the electrical island where the temperature control load is located in the power grid simulation system; Determine the operating status of the temperature-controlled load device and the temperature-controlled load frequency controller in the power grid simulation system according to the system frequency simulation of the electrical island where the temperature-controlled load is located in the power grid simulation system; The determining the operating status of the temperature-controlled load device and the temperature-controlled load frequency controller in the power grid simulation system according to the system frequency simulation of the electrical island where the temperature-controlled load is located in the power grid simulation system includes: Step 1: Initialize the starting time t=1, the indoor temperature θ of the temperature control load equipment in the power grid simulation system in (t) = a, the power consumption P of the temperature control load equipment in the power grid simulation system ac (t) = P ac0 , the working state of the temperature control load equipment in the power grid simulation system S(t) = S0, the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system; the temperature control load temperature adjustment mode Mod = k in the power grid simulation system; Step 2: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≤f st ; If so, update the power grid simulation system temperature control load frequency controller a startup state I1 (t) = 1, and proceed to step 6; otherwise, proceed to step 3; Step 3: Determine whether the second-stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system at time t satisfies I2(t)=1; if so, proceed to step 4; otherwise, proceed to step 5; Step 4: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≥f rvt ; If yes, proceed to step 5; otherwise, proceed to step 8; Step 5: Update the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system; Step 6: Update T on (t)=[T on (t-1)+ΔT]·I1(t), to determine the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) Whether T is satisfied on (t)≥T d If so, update the second-stage startup state I2(t)=1 of the temperature-controlled load frequency controller in the power grid simulation system, and proceed to step 7; otherwise, set the operating mode of the temperature-controlled load device in the power grid simulation system to the temperature adjustment mode, and proceed to step 8; Step 7: If the temperature control mode identification value k of the temperature control load in the power grid simulation system satisfies k=1, the operating mode of the temperature control load device in the power grid simulation system is set to the temperature control mode, and step 8 is performed; otherwise, the operating mode of the temperature control load device in the power grid simulation system is set to the interruption mode, and step 8 is performed; Step 8: Update the working state S(t) of the temperature control load device in the power grid simulation system according to the working mode of the temperature control load device in the power grid simulation system, and update the indoor temperature θ of the temperature control load device in the power grid simulation system according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t); Step 9: Determine whether the simulation end flag is 1, that is, St = 1. If so, output the indoor temperature θ of the temperature control load device in the power grid simulation system at the current moment. in (t), power consumption P of temperature control load equipment in power grid simulation system ac (t), the working state S(t) of the temperature control load equipment in the power grid simulation system, and the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t), the first stage startup state I1(t) of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system; otherwise, set t=t+1 and return to step 2; Wherein, I1(t)∈{0,1}, I1(t)=1 means the first stage of the temperature control load frequency controller in the power grid simulation system starts, and I1(t=0 means the first stage of the temperature control load frequency controller in the power grid simulation system does not start; I2(t)∈{0,1}, I2(t=1 means the second stage of the temperature control load frequency controller in the power grid simulation system starts, and I2(t=0 means the second stage of the temperature control load frequency controller in the power grid simulation system does not start; S(t)∈{0,1}, S(t=1 means the temperature control load device starts in the power grid simulation system, and S(t=0 means the temperature control load device does not start in the power grid simulation system; k∈{0,1}; f st is the frequency response starting threshold of the temperature control load frequency response controller in the power grid simulation system; T d f is the second stage start delay threshold of the temperature control load frequency controller in the power grid simulation system; rvt is the response recovery frequency of the temperature-controlled load frequency response controller in the power grid simulation system; the simulation end flag St can be set by the user through the interface button, or it can be determined by the total number of simulation moments N. When the end flag is determined by the total number of simulation moments N, if t>N, the end flag position St=1; otherwise, the end flag position St=0; a is the indoor temperature of the temperature-controlled load device in the power grid simulation system at the initial moment; P ac0 is the temperature control load power in the power grid simulation system at the initial moment; S0 is the temperature control load state in the power grid simulation system at the initial moment.

2. The method according to claim 1, wherein In step 8, the working state S(t) of the temperature-controlled load device in the power grid simulation system is updated according to the working mode of the temperature-controlled load device in the power grid simulation system according to the following process: If the working mode of the temperature-controlled load device in the power grid simulation system is the temperature adjustment mode, the working state S(t) of the temperature-controlled load device in the power grid simulation system is determined according to the following formula: Where θ in (t-1) is the indoor temperature of the temperature-controlled load equipment in the power grid simulation system at time t-1; θ set is the temperature adjustment value of the temperature control load frequency controller in the power grid simulation system; θ dead is the temperature control dead zone set by the temperature control load frequency controller in the power grid simulation system; S(t-1) is the working state of the temperature control load device in the power grid simulation system at time t-1; If the working mode of the temperature control load device in the power grid simulation system is the interruption mode, the working state S(t) of the temperature control load device in the power grid simulation system is determined according to the following formula: Where I2(t) is the second-stage startup state of the temperature-controlled load frequency controller in the power grid simulation system at time t.

3. The method according to claim 1, wherein In step 8, the indoor temperature θ of the temperature control load device in the power grid simulation system is updated according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t), including: Update the indoor temperature θ(t) of the temperature-controlled load equipment in the power grid simulation system according to the following formula: Where θ in (t-1) is the indoor temperature of the temperature-controlled load device in the power grid simulation system at time t-1; ΔT is the indoor temperature difference between time t-1 and time t; R is the thermal resistance of the temperature-controlled load in the power grid simulation system; C is the thermal capacity of the temperature-controlled load in the power grid simulation system; θ out (t-1) is the outdoor temperature of the temperature control load equipment in the power grid simulation system at time t-1; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system; Update the power consumption P of the temperature control load equipment in the power grid simulation system according to the following formula: ac (t): Where η is the cooling efficiency of the temperature control load in the power grid simulation system; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system.

4. The method according to claim 2, wherein The temperature adjustment value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: set : Where θ targ It is the temperature adjustment target value of the temperature control load frequency controller in the power grid simulation system; θ setmax Set the upper temperature limit for the temperature control load frequency controller in the power grid simulation system; θ setmin Set the lower temperature limit for the temperature control load frequency controller in the power grid simulation system; The temperature control target value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: targ : Where θ set,0 The user sets the initial temperature value in the power grid simulation system; Δf(t) is the deviation between the system frequency and the power frequency of the electrical island where the temperature-controlled load is located in the power grid simulation system; S(t) is the working status of the temperature-controlled load equipment in the power grid simulation system at time t.

5. A temperature control load frequency response simulation system, characterized in that: The system comprises: Acquisition module: used to obtain the system frequency of the electrical island where the temperature control load is located in the power grid simulation system; A determination module, configured to determine the operating status of a temperature-controlled load device and a temperature-controlled load frequency controller in the power grid simulation system according to a system frequency simulation of the electrical island where the temperature-controlled load is located in the power grid simulation system; The determining module is configured to: Step 1: Initialize the starting time t=1, the indoor temperature θ of the temperature control load equipment in the power grid simulation system in (t) = a, the power consumption P of the temperature control load equipment in the power grid simulation system ac (t) = P ac0 , the working state of the temperature control load equipment in the power grid simulation system S(t) = S0, the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system; the temperature control load temperature adjustment mode Mod = k in the power grid simulation system; Step 2: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≤f st ; If so, update the power grid simulation system temperature control load frequency controller a startup state I1 (t) = 1, and proceed to step 6; otherwise, proceed to step 3; Step 3: Determine whether the second-stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system at time t satisfies I2(t)=1; if so, proceed to step 4; otherwise, proceed to step 5; Step 4: Determine whether the system frequency f(t) of the electrical island where the temperature control load is located in the power grid simulation system at time t satisfies f(t)≥f rvt ; If yes, proceed to step 5; otherwise, proceed to step 8; Step 5: Update the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) = 0, the first stage startup state I1(t) = 0 of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) = 0 of the temperature control load frequency controller in the power grid simulation system; Step 6: Update T on (t)=[T on (t-1)+ΔT]·I1(t), to determine the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t) Whether T is satisfied on (t)≥T d If so, update the second-stage startup state I2(t)=1 of the temperature-controlled load frequency controller in the power grid simulation system, and proceed to step 7; otherwise, set the operating mode of the temperature-controlled load device in the power grid simulation system to the temperature adjustment mode, and proceed to step 8; Step 7: If the temperature control mode identification value k of the temperature control load in the power grid simulation system satisfies k=1, the operating mode of the temperature control load device in the power grid simulation system is set to the temperature control mode, and step 8 is performed; otherwise, the operating mode of the temperature control load device in the power grid simulation system is set to the interruption mode, and step 8 is performed; Step 8: Update the working state S(t) of the temperature control load device in the power grid simulation system according to the working mode of the temperature control load device in the power grid simulation system, and update the indoor temperature θ of the temperature control load device in the power grid simulation system according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t); Step 9: Determine whether the simulation end flag is 1, that is, St = 1. If so, output the indoor temperature θ of the temperature control load device in the power grid simulation system at the current moment. in (t), power consumption P of temperature control load equipment in power grid simulation system ac (t), the working state S(t) of the temperature control load equipment in the power grid simulation system, and the cumulative startup time T of the temperature control load frequency controller in the power grid simulation system on (t), the first stage startup state I1(t) of the temperature control load frequency controller in the power grid simulation system and the second stage startup state I2(t) of the temperature control load frequency controller in the power grid simulation system; otherwise, set t=t+1 and return to step 2; Wherein, I1(t)∈{0,1}, I1(t)=1 means the first stage of the temperature control load frequency controller in the power grid simulation system starts, and I1(t=0 means the first stage of the temperature control load frequency controller in the power grid simulation system does not start; I2(t)∈{0,1}, I2(t=1 means the second stage of the temperature control load frequency controller in the power grid simulation system starts, and I2(t=0 means the second stage of the temperature control load frequency controller in the power grid simulation system does not start; S(t)∈{0,1}, S(t=1 means the temperature control load device starts in the power grid simulation system, and S(t=0 means the temperature control load device does not start in the power grid simulation system; k∈{0,1}; f st is the frequency response starting threshold of the temperature control load frequency response controller in the power grid simulation system; T d f is the second stage start delay threshold of the temperature control load frequency controller in the power grid simulation system; rvt is the response recovery frequency of the temperature-controlled load frequency response controller in the power grid simulation system; the simulation end flag St can be set by the user through the interface button, or it can be determined by the total number of simulation moments N. When the end flag is determined by the total number of simulation moments N, if t>N, the end flag position St=1; otherwise, the end flag position St=0; a is the indoor temperature of the temperature-controlled load device in the power grid simulation system at the initial moment; P ac0 is the temperature control load power in the power grid simulation system at the initial moment; S0 is the temperature control load state in the power grid simulation system at the initial moment.

6. The system according to claim 5, wherein: In step 8, the working state S(t) of the temperature-controlled load device in the power grid simulation system is updated according to the working mode of the temperature-controlled load device in the power grid simulation system according to the following process: If the working mode of the temperature-controlled load device in the power grid simulation system is the temperature adjustment mode, the working state S(t) of the temperature-controlled load device in the power grid simulation system is determined according to the following formula: Where θ in (t-1) is the indoor temperature of the temperature-controlled load equipment in the power grid simulation system at time t-1; θ set is the temperature adjustment value of the temperature control load frequency controller in the power grid simulation system; θ dead is the temperature control dead zone set by the temperature control load frequency controller in the power grid simulation system; S(t-1) is the working state of the temperature control load device in the power grid simulation system at time t-1; If the working mode of the temperature control load device in the power grid simulation system is the interruption mode, the working state S(t) of the temperature control load device in the power grid simulation system is determined according to the following formula: Where I2(t) is the second-stage startup state of the temperature-controlled load frequency controller in the power grid simulation system at time t.

7. The system according to claim 5, wherein: In step 8, the indoor temperature θ of the temperature control load device in the power grid simulation system is updated according to the working state S(t) of the temperature control load device in the power grid simulation system. in (t) and the power consumption P of the temperature control load equipment in the power grid simulation system ac (t), including: Update the indoor temperature θ(t) of the temperature-controlled load equipment in the power grid simulation system according to the following formula: Where θ in (t-1) is the indoor temperature of the temperature-controlled load device in the power grid simulation system at time t-1; ΔT is the indoor temperature difference between time t-1 and time t; R is the thermal resistance of the temperature-controlled load in the power grid simulation system; C is the thermal capacity of the temperature-controlled load in the power grid simulation system; θ out (t-1) is the outdoor temperature of the temperature control load equipment in the power grid simulation system at time t-1; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system; Update the power consumption P of the temperature control load equipment in the power grid simulation system according to the following formula: ac (t): Where η is the cooling efficiency of the temperature control load in the power grid simulation system; S(t) is the working state of the temperature control load equipment in the power grid simulation system at time t; P c is the cooling power of the temperature control load in the power grid simulation system.

8. The system according to claim 6, wherein: The temperature adjustment value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: set : Where θ targ It is the temperature adjustment target value of the temperature control load frequency controller in the power grid simulation system; θ setmax Set the upper temperature limit for the temperature control load frequency controller in the power grid simulation system; θ setmin Set the lower temperature limit for the temperature control load frequency controller in the power grid simulation system; The temperature control target value θ of the temperature control load frequency controller in the power grid simulation system is determined as follows: targ : Where θ set,0 The user sets the initial temperature value in the power grid simulation system; Δf(t) is the deviation between the system frequency and the power frequency of the electrical island where the temperature-controlled load is located in the power grid simulation system; S(t) is the working status of the temperature-controlled load equipment in the power grid simulation system at time t.

Citation Information

Patent Citations

  • Method for enabling temperature control load to participate in frequency regulation of power system

    CN108683195A