1 Introduction

In an AC power grid, the imbalance between generation and demand and the increased penetration of renewable energy resources (RESs) that are inherently intermittent possess a significant threat to system stability. Power system stability can be defined as the ability of the system to regain the state of equilibrium after being subjected to a disturbance. When system frequency gets altered, the governor adjusts its action given its droop characteristics, aiming to restore the equilibrium state. If, for instance, the supply and demands are not balanced due to a substantial loss of a generating unit, a sudden change in demands, and fluctuations in renewables, the frequency may rapidly change [1,2,3,4]. Frequency response services are provided to maintain the frequency within the allowable range limits \([\pm 0.1 \mathrm{Hz}]\) [5]. A sudden drop in frequency is usually contained by primary response actions that should be responsive within (1 s–20 s) [2]. However, bringing back system frequency to its typical operating point requires secondary frequency responsive actions that may take (30 s–30 min). If the previous actions were taken and yet the frequency keeps declining, further interventions (i.e., load shedding) should be performed to prevent the system from collapsing. Naturally, all large generating units (i.e., \(100\,\mathrm{ MW}\) capacity) are required to provide mandatory frequency response services [2]. Partially loaded generators may be deployed to provide the required capacity to balance the sudden offset in generation-load balance.

Recently, there have been growing interests in the deployment of controllable demands to provide the required frequency response services. The existing assists of flexible demands can be used to reduce the needs for a primary response from the generators that are partially loaded, thereby the operating costs and \({\mathrm{CO}}_{2}\) emissions are reduced. Such measures would also incentivize the consumers to participate in providing frequency responsive services by bidding their available controllable capacities in a deregulated electricity market. A quick survey carried out in the Scopus database [6] revealed that a total of 287 documents had been uploaded in the engine to address the utilization of demand response (DR) in frequency regulation applications. The majority were published in 2018, indicating the research trend in that field. On the other hand, energy storage systems (ESSs) may facilitate renewables' integration by adjusting their energy behavior [7]. ESSs can be classified based on their functions and storage forms, as indicated in [8,9,10]. There are broad devices utilized in high power applications such as flywheels (FESS), supercapacitors, and specially configured batteries in terms of functions. In contrast, large-scale batteries, compressed air energy storage, and flow batteries are commonly operated in energy management applications [3, 11,12,13]. Although the ESSs cost has been rapidly decaying (Thanks to the electric vehicles), they remain expensive, and their deployment needs to be carefully studied. For instance, a 20 MW/10 MWh Flywheel storage may cost approximately $100 m to $110 m [14]. Controllable demands or aggregated demand response (DR) may act as a virtual energy storage systems. Intelligent management of DR's power and energy consumption may result in functions similar to those provided by typical energy storage devices. In addition, the smart utilization of the existing assets will provide the required ancillary services with much lesser cost. For instance, aggregated refrigerators with a total capacity of [\(20\,\mathrm{ MW}\)] would cost \(\mathrm{\$}15\mathrm{m}\) compared to the FESS, which costs \(\mathrm{\$}100\mathrm{m}\) to \(\mathrm{\$}110\mathrm{m}\) of the same capacity [14]. DR has the potential to reduce the ESS market share by 50% in 2030 [12]. However, the utilization of DR introduces uncertainty in response, and simultaneous disconnection or connection to the loads may lead to frequency drop/rise, causing further instability issues. Such behavior will be considered in the proposed control scheme.

The rest of the paper is structured as follows: Sect. 2 presents an extensive literature review on the relevant publications that have been reported so far. The mathematical models are presented in Sect. 3. The results and discussions are delivered in Sect. 4. The concluding remarks and future work are summarized in Sect. 5. The derived state-space models are provided in the “Appendix.”

2 Related Work

The high penetration of renewable energy sources (RESs) such as solar PV or wind energy systems, which are increasingly replacing conventional power generators, leads to a reduction in the system's total inertia. Such reduction exposes the frequency of the system to unwanted variations. Therefore, virtual synchronous machines (VSMs) were proposed in [15,16,17,18,19,20] to mimic the inertial behavior of conventional synchronous generators. A synchronous virtual machine that mimics the inertial behavior of conventional generators to provide frequency regulation services was proposed in [15]. The characteristics of the weak grid were addressed through the modeling of VSM. The performance of the grid was investigated for different levels of injections using batteries and ultracapacitors. A virtual inertia-based load modulation strategy was developed in [16] to offset the frequency deviation caused by the uncertainties of renewable energy resources. Different scenarios were considered to examine the proposed studies. A benchmark of an IEEE 39 bus was used to validate the proposed scheme. The authors of [19] proposed a conventional power system model appended with individually–collaboratively DR and virtual inertial-model for the purpose of frequency regulation and control. The proposed energy protocol allows power operators to combine/ choose all/among those services to provide the action needed if the frequency deviation occurs. On the other hand, the authors of [20] proposed a coordinated control strategy for an islanded microgrid based on primary frequency signaling. The presented study aims to coordinate the ESS and RES, given the source limitations based on the droop method and virtual impedance.

In a deregulated electricity market, consumers are encouraged to participate in power grid ancillary services to improve system resiliency. Moreover, data centers (DC) usually exploit load elasticity to help to maintain the load-generation balance. However, the responsive time of data centers is relatively slow, limiting the ability to provide real-time support. To mitigate such an issue, the authors of [21] proposed a coupled DC-battery to provide fast frequency regulating capabilities. The coordination succeeded in reducing the battery size needed compared to a stand-alone system, while the authors of [22] presented a study that assesses the financial performance of a BESS to provide market-based frequency regulation services. The potential impact on profitability was also highlighted and evaluated. Naturally, the replacement of bulky conventional generators by renewables results in an inertial mass reduction, which jeopardizes grid stability. Therefore, the authors of [3] proposed a coordinated control scheme to effectively operate a hybrid system composed of ultra-capacitor and batteries for ancillary services purposes in the electricity market.

Ancillary services can be provided by smart control strategies to the existing assets in the network, such as dispersed energy storage systems [23,24,25,26,27]. For instance, the authors of [23] proposed a virtual energy storage system (VESS) that consisted of controllable demands and flywheel storage system (FSS) to provide power system ancillary services. Feasibility studies were carried out to validate the benefits of deploying such protocols over conventional measures. A hybrid ultra-capacitor and battery storage systems were proposed in [24] to provide extensive scale regulation services. The proposed scheme aims to mitigate the excessive utilization of the battery if deployed to provide such ancillary services and increase regulation services' profitability. Moreover, the authors of [25] used a vanadium-redox flow battery-based energy device model to provide multi-ancillary services focusing on peak-shaving application and frequency support. A cooperative dynamic energy level balancing based on consensus control among distributed energy storage devices offering frequency regulation capabilities in a droop-controlled microgrid was investigated in [26]. A combined heat and power microgrid based on heat pumps and energy storage system coordinated control strategy was presented in [27] to smooth tie-line power fluctuations.

Frequency regulation services can also be provided by proper adjustments to the power consumption of the controllable devices [28,29,30,31,32,33,34,35,36,37]. For example, the authors of [28] proposed a control algorithm for dynamically controlled refrigerators to provide primary frequency control services in Great Britain. Similarly, the authors of [29] investigated the ability of dynamically controlled loads to maintain grid frequency within a particular range post a sudden loss of generation. The proposed study indicates a significant delay in frequency fall and less reliance on rapidly deployable backup generators. The authors of [30] used aggregated controlled bitumen tanks to provide sufficient reserve capacity for frequency support applications. The model was found reliable and faster in response compared to a frequency-sensitive generating units. In addition, the authors [31] investigated the potential range of average power that can be offered by electric water heaters if adequately controlled for power balancing applications. The control strategy was achieved by adjusting the setpoint temperature and the drawn water. A methodology to support grid frequency and voltage profile by using a controllable load consisting of an electric water heater and electric vehicles was presented in [32]. The availability of domestic refrigerators and industrial bitumen tank load to provide frequency response services was investigated in [33]. Recently, a coordinated control strategy of Inverter-based air-conditioning (IAC) and fixed air-conditioning is proposed in a grid that is dominated by renewable energy sources to provide primary frequency regulation [38]. In the primary frequency response, the regulating capacity is provided by adjusting the setpoints of the air-conditioning units. Moreover, a recovery method is also proposed to restore the initial operating states of the IAC after regulation. The proposed study is concluded by verifying its effectiveness on a six-machine two-area system and an isolated microgrid.

A decentralized controllable protocols were proposed in [34, 39, 40]. In [34], the authors proposed a two-layer control algorithm for thermostatically controllable loads to effectively participate in fast frequency regulation services due to the scarcity of AGCs in a microgrid that is highly penetrated by RESs. Also, a relatively recent study proposed in [38] presents a novel thermo-electrical dynamic that is based on reproducing the dynamical models of air conditioners ACs and ground source heat pumps GSHPs, along with an existing model of electric water heaters EWHs to improve a decentralized demand response strategy for direct load control (DLC) for providing primary frequency regulation in hybrid isolated microgrids. Different cases are analyzed to demonstrate the effectiveness of the proposed control scheme. Furthermore, Reference [40] proposed aggregated electric vehicles to provide a centralized supplementary frequency regulation through a mediator between the demands and the power system control center considering the charging requirements. A decentralized controller was also proposed to adjust load power consumption in proportion to grid frequency.

The state-of-the-art in demand response (DR) applications in the modern power system have been reviewed by [37, 41,42,43]. The role of demand-side response in frequency regulation applications was investigated in [41]. The authors highlighted the centralized and decentralized control strategies that are adopted to mitigate the generation-load mismatch in the power grid. The authors concluded the article by indicating the future direction in demand-side control applications. The authors of [42] have presented an architecture testbed for providing demand response (telemetric monitoring and actuation of loads) for frequency support applications. The authors of [43] have extended the previous work by reviewing the potential challenges and new control schemes of frequency control in the modern power system. For instance, in [37], the authors have investigated the participation of demand response control loops for different load variations. The authors have utilized linear matrix inequalities to coordinate between the DR and secondary control loop to minimize the frequency deviation due to communication delays.

However, instead of using numerous electrical appliances to provide the required ancillary services, few large load centers such as local malls are used, thereby minimizing the response time and the control loops. This paper proposes a novel control scheme that uses the thermal space heaters of distinctive large centers in providing the primary frequency regulation services by adjusting their power consumption. A lead-lag controller with its optimized parameters using real coded genetic algorithm (RCGA) is incorporated into the system to enhance the overall response. The paper also proposes a very efficient control scheme that considers consumers' comfort and heaters' inherent characteristics to limit switching cycles and indoor temperatures. Highlighting the impact of inertia reduction on the behavior of the frequency concludes the proposed study.

3 Problem Definition

3.1 Power System Model

Consider the power system model shown in Fig. 1 for the proposed study. The details of the simplified power system model can be found in the “Appendix” [44].

Fig. 1
figure 1

Simplified power system model

3.2 Generator Model

A small perturbation is applied on the swing equation of a synchronous machine given by (1) yields:

$$\frac{2H}{{\omega_{{\text{S}}} }}\frac{{{\text{d}}^{2} \Delta \delta }}{{{\text{d}}t^{2} }} = \Delta P_{{\text{m}}} - \Delta P_{{\text{e}}}$$
(1)
$$\frac{{{\text{d}}\Delta \left( {\frac{\omega }{{\omega_{{\text{s}}} }}} \right)}}{{{\text{d}}t}} = \frac{1}{2H}\left( {\Delta P_{{\text{m}}} - \Delta P_{{\text{e}}} } \right)$$
(2)

With speed expressed in per unit, Eq. (2) becomes as follows:

$$\frac{{{\text{d}}\Delta \omega }}{{{\text{d}}t}} = \frac{1}{2H}\left( {\Delta P_{{\text{m}}} - \Delta P_{{\text{e}}} } \right)$$
(3)

Taking the Laplace transform leads to:

$$\Delta {\Omega }\left( {\text{s}} \right) = \frac{1}{2Hs}\left[ { \Delta P_{{\text{m}}} \left( s \right) - \Delta P_{{\text{e}}} \left( s \right)} \right]$$
(4)

3.3 Load Model

The load in the power system may consist of insensitive and sensitive components. Heating and lighting loads are considered non-sensitive loads, while motors are frequency-dependent loads. The speed-load characteristics of a composite load may be approximated as follows:

$$\Delta {P}_{\mathrm{e}}\left(s\right)=\Delta {P}_{\mathrm{L}}\left(s\right)+D \Delta \omega \left(\mathrm{s}\right)$$
(5)

The term \(D\Delta \omega\) indicates the frequency-dependent load where \(\Delta {P}_{\mathrm{L}}\) refers to the non-sensitive loads. \(D\) is expressed as the percentage change in load over the deviation of frequency.

3.4 Prime Mover Model

A prime mover whose energy is generated through the burning of gas, coal, and nuclear fuel can be approximated by (6). The model relates the change in steam valve position \(\Delta {P}_{\mathrm{V}}\left(s\right)\) to the changes in mechanical power output \(\Delta {P}_{\mathrm{m}}\left(s\right)\).

$${G}_{\mathrm{p}}\left(s\right)=\frac{\Delta {P}_{\mathrm{m}}\left(s\right)}{\Delta {P}_{\mathrm{V}}\left(s\right)}=\frac{1}{1+{s \tau }_{T}}$$
(6)

3.5 Governor Model

If the electrical load is suddenly increased, the generator's electrical power exceeds the mechanical power, which causes the machine to spin slower. The change in speed is sensed by the governor, which immediately acts to adjust the turbine input aiming to bring the speed to a new steady state operating point. The speed governor may act as a comparator whose output \(\Delta {P}_{\mathrm{g}}\) is the difference between the reference power \(\Delta {P}_{\mathrm{ref}}\) and the power \(\frac{1}{R}\Delta \omega\) resulted from the speed characteristic of the governor. i.e.,

$$\Delta {P}_{\mathrm{g}}\left(s\right)=\Delta {P}_{\mathrm{ref}}\left(s\right)-\frac{1}{R}\Delta\Omega \left(s\right)$$
(7)

where \(R\) is the slope of the governor speed characteristics (i.e., the change in speed over the change in power). The command \(\Delta {P}_{\mathrm{g}}\) is transformed via the hydraulic amplifier to the steam valve position \(\Delta {P}_{\mathrm{V}}\). Under the assumption of a linear relationship and considering a time constant \({\tau }_{\mathrm{g}}\).

$$\Delta {P}_{\mathrm{V}}\left(s\right)=\frac{1}{1+s {\tau }_{\mathrm{g}}}\Delta {P}_{\mathrm{g}}\left(s\right)$$
(8)

3.6 Space Heater of a Building

The thermal models given by (9) through (11) are used to describe the heat transfer processes in a building [45,46,47]. The following parameters were taken into consideration when building the dynamical models in the Simulink environment.

  • House geometry

  • Thermal properties

  • The thermal resistance of the house

  • Heater characteristics

  • Initial temperatures

Model components are:

  • Reference Temperature (Desired Setpoint)

  • A thermostat that considers the temperature variations

  • The heater has a constant airflow rate

  • The heat flow into the room, which is governed by (9):

    $$\frac{\mathrm{d}Q}{\mathrm{d}t}=\left({T}_{\mathrm{Heater}}-{T}_{\mathrm{Room}}\right)\times {M}_{\mathrm{dot}}\times C$$
    (9)

Where \({T}_{\mathrm{heater}}\) is the temperature of the hot air from the heater and \({T}_{\mathrm{Room}}\) refers to the room temperature. \(\frac{\mathrm{d}Q}{\mathrm{d}t}\) represents the heat flow from the heater into the room. \({M}_{\mathrm{dot}}\) is the air mass flow rate, and \(C\) indicates the heat capacity of the air. The house model constitutes room temperature variations, heat flow from the heater, and heat losses to the environment. The heat losses and the temperature rate of change are governed by:

$${\left(\frac{\mathrm{d}Q}{\mathrm{d}t}\right)}_{\mathrm{Losses}}=\frac{1}{Req}\times \left({T}_{\mathrm{Room}}-{T}_{\mathrm{out}}\right)$$
(10)
$$\frac{\mathrm{d}{T}_{\mathrm{Room}}}{\mathrm{d}t}=\frac{1}{{M}_{\mathrm{air}}\times C}\times \left(\frac{\mathrm{d}{Q}_{\mathrm{heater}}}{\mathrm{d}t}-\frac{\mathrm{d}{Q}_{\mathrm{Losses}}}{\mathrm{d}t}\right)$$
(11)

where \({M}_{\mathrm{air}}\) refers to the mass of air inside the house in \(\frac{\mathrm{kg}}{{\mathrm{m}}^{3}}\). \(Req\) represents the thermal resistance of a house in \(\frac{\mathrm{K}}{\mathrm{W}}\).

3.7 Lead-Lag Controller Design

A lead-lag controller whose transfer function is given by (12) is introduced into the system to effectively achieve a steady state error reduction and simultaneous reduction of overshoot and rise time of the system response. A Real Coded Genetic Algorithm (RCGA) was used to allocate the optimal parameters of the controller.

$$K\frac{1+{s T}_{1}}{1+{s T}_{2}}$$
(12)

where \(K\) and \({T}_{1},{T}_{2}\) are the gain and time constants of the controller, respectively.

3.8 Real Coded Genetic Algorithm

A real coded genetic algorithm (RCGA) with the parameters shown in Table 1 was developed to allocate the optimal parameters of the controller incorporated with the power system model. The derivation of the state space model and equivalent transfer functions utilized in this paper is provided in the “Appendix.”

Table 1 RCGA parameters

3.9 Proposed Control Scheme

The adjustable current demands are deployed to participate in primary frequency response instead of the generator. Unlike the proposed approaches in the literature that utilize a large number of appliances to achieve primary frequency support, four large loads (e.g., local malls) are considered to carry out the analysis. The mall temperature setpoints, comfort, and maximum switches per hour of the heaters are taken into account while designing the control algorithm.

If the space heaters switching cycles are assumed to be within the range of [1,2,3,4,5,6,7,8] per hour. The switching actions caused by the primary frequency response that lasts 30 s should not disturb space heaters' regular operation [29]. The US Department of Energy (DoE) report on smart grid applications provides typical latency values. For instance, the report estimated that the typical latency for demand response applications is in the range of [\(500\,\mathrm{ms}\,{\rm to}\,2\,\mathrm{ s}\)], which is faster than the conventional generators' action that takes [\(10\,\mathrm{ s}\)] to provide the same task [48, 49]. Also, today's latency is expected to be much lower than the reported values due to the tremendous communication infrastructure advancements.

A simplified layout that summarizes the workflow of the controller structure is shown in Fig. 2. The upper part presents the power system model. Generally, the synchronous generators meet the primary frequency requirements that are mechanically coupled to the turbine and the governor. The governor senses and measures the frequency deviation and generates the necessary control signal to the turbine. The turbine acts accordingly by increasing or decreasing the mechanical power to sustain the mismatch. Such a process can be viewed as a Proportional control loop. However, the above control loop is modified to accommodate the proposed control scheme.

Fig. 2
figure 2

Controller structure

On the other hand, the lower part shows the structure of the building's thermodynamics and the space heater. Typically, a thermostat compares the indoor temperature with the setpoints \({[T}_{\mathrm{Low}}, {T}_{\mathrm{High}}]\) and hence produces the triggering signal to the heater. If the indoor temperature is above \({T}_{\mathrm{High}}\), the heater is switched off, whereas if the indoor temperature falls below \({T}_{\mathrm{Low}}\), the heater is switched on. The controller is designed such that it receives four inputs. That is, the indoor temperature, grid frequency, heater status, and the maximum number of switches. Furthermore, the controller is required to consider the heater status since the ON heaters are allowed to be switched off if the frequency drops, and the OFF heaters are triggered if the grid frequency rises. The controller is allowed to operate as long as the indoor temperature is within the dead-band. Simultaneous switching is not permissible as such action may even lead to further instability issues. Different temperature setpoints are considered for the sake of demand diversity.

4 Results and Discussion

4.1 Power System Model in Simulink

The mathematical models described in the above sections (i.e., 0 through 1.5) are developed in the Simulink. A step-change in the load was applied to the system to observe the frequency deviation. The system response due to such an increase in the load is shown in Fig. 3. The steady state error was relatively high, and such behavior needs to be adjusted. The countermeasure to adjust the deviation of the frequency will be treated in the upcoming sections. The values of [\({T}_{\mathrm{g}}, {T}_{\mathrm{T}},H,D ,R]\) are [\(0.2\mathrm{ s}, 0.5\mathrm{ s}, 5\mathrm{ s}, 0.8\mathrm{ p}.\mathrm{u}., 0.05\mathrm{ p}.\mathrm{u}.\)], respectively [28, 29, 44].

Fig. 3
figure 3

System's frequency deviation due to a sudden increase in the demand

4.2 Power System Model

A sudden loss of generation/or a sudden increase in demand [\(0.2\,\mathrm{p}.\mathrm{u}.\)] was applied to the simplified power system model depicted in Fig. 1. Such disturbance resulted in approximately \(0.863\) \(\mathrm{Hz}\) deviation from the nominal frequency of \(60\) \(\mathrm{Hz}\). The response of the system needs to be damped to reduce the overshoot and rise time. Therefore, a lead-lag controller is integrated to enhance the response of the system.

4.3 Space Heating Model of a Big Load Center

Figure 4 shows the temperature profile of the building and the ambient temperature. The indoor temperature was allowed to vary within a \([\mp\) 10 \(\mathrm{F}\)], while the ambient temperature varied sinusoidally. The setpoint was kept constant for the entire simulation period.

Fig. 4
figure 4

Temperature profiles of the building and ambient and setpoint

4.4 Proposed Control Approach

Figure 5 depicts the response of the system with multiple scenarios. Before the disturbance, the units were operating normally. However, once the disturbance was applied, the controller disconnected the units whose temperature setpoints were within their dead-band, starting by the lowest. The proposed control approach successfully reduced the frequency deviation when a sudden increase in the demand took place at [\(t=10\,\mathrm{ s}\)]. The system natural response and the controlled response are shown in the same figure. The proposed control scheme clearly shows an outstanding performance since it arrested the minimum frequency deviation (i.e., frequency nadir). Also, due to the suggested control scheme, the steady state frequency landed into a new narrower operating point (i.e., \(59.6\) \(\mathrm{Hz}\)) versus (\(59.4\,\mathrm{ Hz}\)).

Fig. 5
figure 5

System response with lead-lag controller and proposed control scheme

Table 2 addresses the time response characteristics of the conventional controller (i.e., Proportional controller) and the proposed control strategy. It is seen from table that the proposed controller succeeded in stabilizing the frequency into a better steady state value compared to the proportional controller. It is also seen that the proposed strategy achieved a significant reduction in the settling time. Furthermore, the percentage of overshoot indicates the superiorness of the proposed control layout over the conventional approach.

Table 2 Time response characteristics

The impact of inertia reduction is shown in Fig. 6. Clearly, the decrease in inertia constant due to the high penetration of smart and renewable resources deteriorates the system response if subjected to unforeseen disturbances. Although the proposed control scheme is not designed to mitigate the inertial reduction, the frequency nadir under the suggested control layout was reduced, suggesting a positive impact on the overall transient response. On the other hand, Fig. 7 shows the demand variation due to the sudden increase in load. As pointed out earlier, simultaneous connection and disconnection to the flexible loads are not permitted as such behavior may furtherly deteriorate the system's stability.

Fig. 6
figure 6

Impact of inertia reduction on the overall performance

Fig. 7
figure 7

Demand behavior during the instant of losing 0.2 p.u. of generation

Figure 8 compares the primary response of the conventional generator during the instant of losing [\(0.2\,\mathrm{ p}.\mathrm{u}.\)] generation/or a sudden increase in demand. In addition, the response depicted in Fig. 8 compares the amount of power required from the generator to provide the primary frequency service with/and without the proposed control approach. The amount of the supplied power from the synchronous generator after the disturbance was reduced due to the aggregated power supplied by the controllable loads, indicating that the space heaters successfully provided the system with its ancillary services requirements and reduced the reliance on conventional generators to arrest the frequency.

Fig. 8
figure 8

Generator response in primary frequency response timeframe

4.5 Real Coded Genetic Algorithm

A real coded genetic approach with the parameters shown in Table 1 is developed to maximize the damping coefficient \(\zeta\) to enhance the response of the system. A lead-lag controller was incorporated, its optimal parameters were obtained by the developed RCGA. Figure 9 shows the maximum damping coefficient attained during the simulation. The optimal parameters for the controller are listed in Table 3.

Fig. 9
figure 9

Damping trajectory by RCGA

Table 3 Optimal controller parameters

5 Conclusion

Dynamically controlled space heaters were successfully developed in the Simulink environment. An aggregated model that represents several large industrial loads was incorporated with a simplified power system model aiming to participate in ancillary services requirements. A real coded genetic algorithm to allocate the lead-lag controller parameters for enhancing the overall response was developed. Different setpoints were assumed to maintain load diversity and to examine the feasibility of the proposed control strategy. The proposed control scheme indicated that the dynamically controlled space heaters were able to provide fast primary frequency response without a significant impact on the regular operation of the heaters. The proposed approach succeeded in reducing the regulating capacity needed from the conventional generator during a sudden increase in demand/or sudden loss of generation. The presented study also highlighted the impact of inertia reduction on the transient response with/without demand-side participation. The existing assets can be extended to include dispersed energy storage systems in the distribution system to participate in ancillary services.