By 2050, a staggering 70% of the world's population is predicted to live and work in cities. A recent assessment from the World Bank suggested that two-thirds of global energy consumption can be attributed to cities, leading to 71% of global direct energy-related greenhouse gas emissions. Smart cities can include sustainable and resilient infrastructures, where buildings are a major constituent. Building energy consumption contributes to more than 70% of electricity usage, which can profoundly impact power grid operations. It would be beneficial to improve efficiency of the building energy consumption while simultaneously generating power more efficiently.
For a more complete understanding of the embodiments and the advantages thereof, reference is now made to the following description, in conjunction with the accompanying figures briefly described as follows:
The drawings illustrate only example embodiments and are therefore not to be considered limiting of the scope described herein, as other equally effective embodiments are within the scope and spirit of this disclosure. The elements and features shown in the drawings are not necessarily drawn to scale, emphasis instead being placed upon clearly illustrating the principles of the embodiments. Additionally, certain dimensions may be exaggerated to help visually convey certain principles. In the drawings, similar reference numerals between figures designate like or corresponding, but not necessarily the same, elements.
In the following paragraphs, the embodiments are described in further detail by way of example with reference to the attached drawings. In the description, well known components, methods, and/or processing techniques are omitted or briefly described so as not to obscure the embodiments. As used herein, the “present disclosure” refers to any one of the embodiments described herein and any equivalents. Furthermore, reference to various feature(s) of the “present disclosure” is not to suggest that all embodiments must include the referenced feature(s).
Among embodiments, some aspects of the present disclosure are implemented by a computer program executed by one or more processors, as described and illustrated. As would be apparent to one having ordinary skill in the art, the present disclosure may be implemented, at least in part, by computer-readable instructions in various forms, and the present disclosure is not intended to be limiting to a particular set or sequence of instructions executed by the processor.
The embodiments described herein are not limited in application to the details set forth in the following description or illustrated in the drawings. The embodiments in the present disclosure are capable of other embodiments and of being practiced or carried out in various ways. Also, the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. The use of “including,” “comprising,” or “having” and variations thereof herein is meant to encompass the items listed thereafter, additional items, and equivalents thereof. The terms “connected” and “coupled” are used broadly and encompass both direct and indirect connections and couplings. In addition, the terms “connected” and “coupled” are not limited to electrical, physical, or mechanical connections or couplings. As used herein the terms “machine,” “computer,” “server,” and “work station” are not limited to a device with a single processor, but may encompass multiple devices (e.g., computers) linked in a system, devices with multiple processors, special purpose devices, devices with various peripherals and input and output devices, software acting as a computer or server, and combinations of the above.
Turning now to the drawings, exemplary embodiments are described in detail. Disclosed are various embodiments of a mathematical framework for Buildings-to-Grid (BtG) integration in smart cities. In some embodiments, the framework can include explicitly couple power grid and building's control actions and operational decisions. The explicit coupling can be utilized by buildings and power grids operators to simultaneously optimize the performance of both. High-level dynamics of building clusters and building-integrated power networks with algebraic equations are presented—both operating at different time-scales. A model predictive control (MPC)-based algorithm is discussed herein that formulates the BtG integration and accounts for the time-scale discrepancy. The formulation captures the dynamic and algebraic power flow constraints of power networks. The formulation is shown to have numerous advantages. A high-fidelity discretization for the formulation can be used. The findings discussed herein demonstrate building energy savings and significant frequency regulation, while these findings carry over in network simulations with nonlinear power flows and mismatch in load and weather predictions.
Cities can be equipped with optimized building designs that have the auspicious potential to play a pivotal role in reducing global energy consumption while maintaining stable electric-grid operations. As buildings are physically connected to the electric power grid, an understanding of the coupling of buildings can be used to develop the framework for buildings-to-grid integration.
Buildings-to-Grid (BtG) integration can include a breadth of computational and experimental aspects. An experimental high-level architecture can enable smart buildings with a focus on heating, ventilating, and air conditioning (HVAC) systems and grid integration. An optimization application can be executed in a computing device to provide an optimization framework. The optimization framework can be a bi-level. The bi-level optimization framework can be used for commercial buildings among other building types and can be integrated with a distribution grid. Detailed dynamic models for buildings with multiple zones (upper level) and an operational model for the distribution grid with voltage/current balance equations (lower level) can be included. Nonetheless, a transient model of the power grid, capturing frequency deviation may be missing.
The regulation service provision by smart buildings can be investigated. Price signals can be exchanged between grid and building operators to alter building energy consumption. BtG integration can result in the grid-aware building of HVAC controls that can provide frequency regulation or other ancillary services to the grid, largely without sacrificing the occupants' comfort. The load-shifting capability of buildings can also be utilized. An account of the grid dynamics and power flows has not previously been explored.
HVAC controls and building dynamics as linearized dynamical systems can be modeled. The modeling particulars can depend on the size of the building cluster. As the number of buildings involved in the analysis increases, the dynamic models tend to become simpler—for computational purposes. A typical thermal resistance and capacitance circuit model can be used to represent heat transfer and thermodynamic properties of the building envelope, and can be used in building control studies. Various control routines can be developed for building controls. Commercial buildings can use PID controllers for HVAC systems. However, model predictive control (MPC) can be used with respect to PID controllers. Building HVAC-MPC can be looked at in view of stochastic/deterministic, linear/nonlinear, centralized/decentralized, explicit/implicit architectures. Significant energy savings can be shown given different system dynamics, forecast and parametric uncertainty, and computational limitations.
None of current systems include a high-level mathematical framework that buildings and power grids operators can simultaneously utilize to optimize their performance. A framework is discussed herein that can couple power grid and building control actions and operational decisions. Creating a framework can include challenges. For example, building control systems are not typically connected to each other, nor are they integrated with the grid. Consequently, a unified optimal energy control strategy—even if it is decentralized—can require a framework that facilitates this integration, in addition to the willingness of building operators to contribute to this framework. Additionally, grid and building dynamics and control actions can operate at two different time-scales. While the grid controls and states are often in milliseconds and seconds, the building state dynamics and controls can be significantly slower, often in minutes. Coupling the two dynamic systems together entails addressing this time-scale discrepancy. Existence of algebraic equations in grid dynamics, resulting in differential algebraic equations (DAE), coupled with the different time-scales, can complicate the modeling and analysis of BtG integration. In fact, these algebraic equations can depict the interdependence between grid and building dynamics. A mathematical framework can be used that addresses the aforementioned challenges.
One objective can be to generate high-level local control actions/signals for buildings and power generators such that the overall performance can be optimized in terms of stability, energy savings, and/or other socio-economic metrics. The inclusion of the dynamics of various distributed energy resources (DER) and other building control routines can be facilitated.
The patterns of energy usage in buildings can be impacted by local climate, heat and mass transfer of building envelope, daily operation, and occupancy behaviors in buildings. Detailed energy models can be developed based on physics and statistics to simulate the mass and heat transfer in buildings. For a large-scale application such as BtG integration, it may be unrealistic to consider every thermal zone of each building thousands of buildings will generate millions of zones. This can produce a highly intractable BtG integration problem. Hence, at a BtG integration level, the amount of cooling energy needed, which is optimized to minimize the total operation cost from buildings to the grid, will be allocated to each building; we define this quantity as P(l)HVAC for building l. Then, at the local level of building l, the decision variables of air-side system (i.e., set-points for air-handling units, damper opening for terminal systems) and water side system (flows for pumps, chiller temperature set-points) can be optimized to maintain preferred zone temperature, while not exceeding the cooling load limits set by P(l)HVAC The cooling load can be solved for as a high-level problem and then feed with the set points to the lower level problems. The high-level building problem can use a thermal resistance and capacitance (RC) network model to represent heat transfer and thermodynamics of building envelope. The RC network model assumes a steady-state heat transfer through building envelope. Considering building envelope has time constant of hours, this model can be used for a high-level BtG integration analysis. A model 100 with three resistances 103, 106, and 109, and two capacitances 112 and 115 (3R-2C) is shown in
where Rwin, R2, and R1 are physical parameters of building envelope; C is a lumped thermal capacity of all walls and roof; Czone is the thermal capacity of the zone; {dot over (Q)}sol(t) is the total absorbed solar radiation on the external wall; {dot over (Q)}int(t) is the total internal heat gains from space heat sources such as desktop, people, and lights; Tamb(t); Tzone(t), and Twall(t) are the outside ambient, wall, and zone/space temperatures, respectively. The cooling load can be calculated as {dot over (Q)}HVAC(t)=μHVACPHVAC(t); where PHVAC is the actual power consumed by HVAC systems, and μHVAC is a constant indicating the performance of an HVAC system. One objective can be to minimize a cost function of PHVAC(t) while maintaining occupants' comfort. The dynamics of building l can be rewritten as follows:
{dot over (x)}
b
(l)(t)=Ab(l)xb(l)(t)+Bu
where xb(l)=[Twall Tzone]lT is the state of building l; ub(l)=[PHVAC]l is the control input variable; wb(l)=[Tamb {dot over (Q)}sol {dot over (Q)}int]lT is a random uncontrollable input. Various methods have been developed to provide an estimate of wb(l), denoted by ŵb(l), for each building. Clusters of buildings can be considered with each cluster being connected to a power grid node. The impact of buildings' contribution to frequency regulation and overall energy consumption costs can be determined by analyzing the dynamics of building clusters.
{dot over (x)}
b(t)=Abxb(t)+Bu
where nb is the total number of buildings in the network; xb∈2n
The dynamics of building integrated power network can be presented and the variables involved in the BtG integration framework can be defined. In addition, the connection of the BtG integration model with the optimal power flow (OPF) is discussed herein.
DAE Dynamics of a Power Network with Building Loads.
Let B={1, . . . , n} and ={1, . . . , ng}
B={1, . . . , n} and ={1, . . . , ng} denote the sets of buses and generators in a power network. Also, let Nk be the neighborhood set of adjacent nodes connected to the kth bus. Generators are indexed by m∈. The mechanical input power to the mth generator is denoted by Pm. Define generator-to-node and building-to-node incidence matrices Γ∈n×n
The transients of the kth bus in a power network can be modeled by the swing equation which relates the rotor angle with the angular velocity and angular acceleration {umlaut over (δ)}. Define Mk and Dk as the inertia and damping coefficients of the generator located kth bus; if the kth bus does not have a generator, then Mk=Dk=0. The swing equation for the kth bus (∀k∈B) can be written as:
M
k{umlaut over (δ)}k+Dk{umlaut over (ϵ)}k=γk,mPm−PL
The load at bus k, PLK(t), can be written as follows: PLK(t)=Dk′{dot over (δ)}k(t)+PBL
In (4), Pm(t) for generator bus m can be written as Pm(t)=
E
g
{dot over (x)}
g(t)=Agxg(t)+Φ(δ(t))+Au
where xg(t)=[(δ1 . . . δn ω1 . . . ωn]T=[δT(t)ωT(t)]T is the state of the grid; Φ(δ(t)) is the vectorized nonlinear power flow equations in (4); ub(t)=[PHVAC(1) . . . PHVAC(n
Higher Order Grid Models—Although the second order dynamics of the power network can be presented in (5), a higher order representation is possible. However, since one focus is on the BtG integration, a more advanced power network model can be substituted with a simpler one for conciseness and computational tractability.
Recall that ug(t)=ūb+Δug(t), where ūg is the vector containing the set points for the generators, and Δug(t) is the real-time deviation from these set points that automatically drives the power grid to stability after load deviations or disturbances. In some embodiments, the set points are computed every 5-15 minutes through solving economic dispatch or OPF routines. A linearized OPF (LOPF) problem can be written as:
where J(ūg) is a convex cost function that represents the generators' cost curves; ub and ŵmisc are vectors of building HVAC and (forecasted) miscellaneous loads; ŵBL is the vector of (forecasted) base loads; vector Γūg−Π(ub+ŵmisc)−ŵBL represents the nodal power injections; 1n∈n is a vector of all ones; Fmax∈n
Therefore, the dynamics of the buildings-integrated power network can be formulated. In (5), the presence of ub(t) exemplifies the control potential that buildings have on power system operation and control, and hence the integration advocated in this paper. In this section, we investigate the discrepancies in time-scales between the building (2) and power network dynamics (5) and discuss a formulation of the joint optimal control problem that addresses the time-scale discrepancies, while seamlessly incorporating objectives and constraints from the power grid and building clusters.
The formulated dynamics discussed herein can operate in two different time-scales. While grid regulation problems and mechanical input power variations are often in seconds, the building dynamics and controls can be much slower. For example, temperatures in buildings change slowly in comparison with frequencies and voltages in power networks. To overcome this limitation, one can assume local optimal control laws for buildings are computed at different time-steps than local optimal control laws for generators. This approach reflects the physical realities for these systems, and this consideration can be imposed via constraints in the optimal control problem, whose construction can be an objective. Since buildings possess slower dynamic behavior, the controls of buildings can be fixed for the faster time-scale of the power network.
Another challenge facing BtG integration is the presence of algebraic equations in (5) emerging from power flows of load nodes. Here, a simple, yet high-fidelity discretization routine for two dynamical systems with different time-scales and dynamic algebraic constraints are presented. First, an assumption can be made that sampling times for the power grid [cf. (5)] and building [cf. (2)] dynamics are respectively hg and hb; note that hb>>hg. The discretization utilize herein can be based on Gear's method—a backward differentiation routine—for DAE (descriptor) systems. This singular descriptor system discretization can be written as follows:
where Āg=(Eg−hgβ0Ag)−1, B0=hgβ0Āg, β0=(Σi=1s1/i)−1, and αi=(−1)i+1β0Σj=isj−1(ij); kg is the time-step for the grid dynamics. This method includes a set of s initial conditions. Similarly, the discrete form of (2) can be written as follows:
where kb is time-step for buildings' dynamic operation. Gear's discretization amounts to a backward Euler-like implicit method. The principal merit of implicit methods is that they are typically more stable for solving systems with a larger step size h, while still performing well for systems with faster time-constants. A simple simulation can show that Gear's method returns accurate state-solution for the building and grid dynamics
Convergence of Gear's Method—The states of the discretized descriptor system in (7) and (8) converge to the actual ones in finite time-steps, even if the s-initial conditions are arbitrarily chosen.
Joint Optimal Control Problem: BtG-GMPC—The joint optimal control problem, Building-to-Grid Gear MPC (BtG-GMPC), is formulated as in (9). The variables, cost function, and constraints of BtG-GMPC are as follows:
which adds the LOPF costs to the average of the building and grid control costs: J(ūg) is the LOPF cost function (6a) and cb(t+kbhb) is a time-varying vector representing the cost of electricity at time t+kbhb. Q∈2n×2n and R∈n
Constraints (9b)-(9d) depict the dynamics of the building-integrated power grid, as well as lower and upper bounds on the states and inouts of the grid states and controls. Note that xb(t+kbhb)=fg(xg, ug, ub, ŵg|t,s)ĀbΣi=1s αiEg×xg (t+hg(kg−i))+B0(Au
Constrains (9e)-(9g) represent the building cluster dynamics and the bounds on the states and inputs of the individual buildings, while constraint (9h) imposes the constraints of the LOPF as discussed in the previous section.
The final constraint (9i) represents the idea of the time-scales integration, as illustrated in
Algorithm 1 illustrates a routine that implements BtG-GMPC's rolling horizon window along with the integration of the LOPF problem. The proposed algorithm solution mimics the idea depicted in
Problem (9) is a quadratic program. This optimization routine is tractable. In some embodiments, the optimization routine can be solved by SeDuMi, MOSEK, MATLAB's QuadProg, or other solvers. BtG-GMPC optimization can be applied online as predictions for the uncontrollable inputs might not be available for times greater than the prediction horizon Tp. Fast online MPC algorithms for quadratic programs can be used, and can be immediately applied to the formulation.
With reference to
According to a first example scenario (Scenario I), the grid control problem receives a schedule of the building HVAC and miscellaneous loads, where the HVAC loads are independently computed via bang-bang control. Bang-bang control is the simplest type and most common type of HVAC control where the controller follows a strict temperature set point (e.g., 22.22 degrees C.). The HVAC control system is switched on (or off) as soon as the zone temperature exceeds (or is below) the dead band which is generally + or −0.5 C. The resulting HVAC power consumptions and corresponding zone temperatures for the 300 buildings are shown in
According to a second example scenario (Scenario II), the MPC problems can be solved for buildings and the power grid separately. First, the building optimal controls can be computed via the same MPC formulated in (9), while eliminating the power grid constraints and variables. The MPC solution for the building's HVAC loads can then be fed into a grid-only MPC. This scenario is useful in the sense that grid operators can model the building's load via a classical building MPC model. The optimal HVAC loads for 300 buildings are depicted in
According to a third example scenario (Scenario III—BtG-GMPC), the proposed algorithm and the corresponding optimization problem (9) can be simulated. The BtG-GMPC results show significant improvement in grid's frequency deviations and the overall costs as shown in
Simulations on Nonlinear DAEs with Forecast Uncertainty: In the previous simulations,
With respect to BtG-GMPC assumes the knowledge of various parameters such as building RC constants and generators' cost curves. The following can be considered: (a) a system operator or a large utility can solve BtG-GMPC; (b) commercial building operators contributing to this routine can provide modeling parameters for their buildings; and (c) the global signals computed can be communicated to the now-contributing operators of individual buildings and generators. The added value of this coupling is two-fold. First, the theoretical impact of expanding the feasible space of two separate problems ensures that coupled problem's solution will be superior to the decoupled one. Second, the coupling translates into tangible impact for buildings and the grid.
A building-to-grid integration dynamic model with optimal power management formulations and different time-scales is disclosed herein. The system considers realistic, high-level building models and frequency-focused grid dynamics, in addition to algebraic equations modeling the nodes without generation. Gear's method is also used as a high fidelity DAE discretization routine that is leveraged to model BtG integration. The impact of BtG-GMPC on reducing overall energy costs and minimizing frequency deviations can be demonstrated.
With reference to
Beginning with box 1103, the process 1100 can include predicting future consumption for one or more building. The optimization application can predict a future consumption for the one or more buildings. A future consumption can be predicted for each building based on a respective history of usage for each of the buildings. In some embodiments, the respective history of usage can be used in combination with a history of usage for all of the buildings. The history of usage can include local climates for each building, mass and heat transfer for each building, daily operator of each building, and occupancy behavior for each building.
At box 1106, the process 1100 can include determining a power flow for one or more generators. As an example the optimization application can determine a power flow for the generators based on the predictions of future consumption for the buildings. The power flow can be set to ensure enough energy is available to provide power for the buildings without exceeding the thermal limits of the network.
At box 1109, the process 1100 can include determining an input vector for the buildings.
can be the control input vector for the buildings. The optimization application can determine the input vector, which is defined in (2) as ub∈n
Turning to
The processor 1210 comprises a general purpose arithmetic processor or Application Specific Integrated Circuit (“ASIC”). The RAM and ROM 1220 and 1230 comprise a random access or read only memory device that stores computer-readable instructions to be executed by the processor 1210. The memory device 1230 stores computer-readable instructions thereon that, when executed by the processor 1210, direct the processor 1210 to execute various aspects of the present disclosure described herein. When the processor 1210 comprises an ASIC, the processes described herein may be executed by the ASIC according to an embedded circuitry design of the ASIC, by firmware of the ASIC, or both an embedded circuitry design and firmware of the ASIC. As a non-limiting example group, the memory device 1230 comprises one or more of an optical disc, a magnetic disc, a semiconductor memory (i.e., a semiconductor, floating gate, or similar flash based memory), a magnetic tape memory, a removable memory, combinations thereof, or any other known memory means for storing computer-readable instructions. The network interface 1250 comprises hardware interfaces to communicate over data networks. The I/O interface 1260 comprises device input and output interfaces such as keyboard, pointing device, display, communication, and other interfaces. The bus 1202 electrically and communicatively couples the processor 1210, the RAM 1220, the ROM 1230, the memory device 1240, the network interface 1250, and the I/O interface 1260, so that data and instructions may be communicated among them.
In operation, the processor 1210 is configured to retrieve computer-readable instructions stored on the memory device 1240, the RAM 1220, the ROM 1230, or another storage means, and copy the computer-readable instructions to the RAM 1220 or the ROM 1230 for execution, for example. The processor 1210 is further configured to execute the computer-readable instructions to implement various aspects and features of the present disclosure. For example, the processor 1210 may be adapted and configured to execute the processes described above. Also, the memory device 1240 may store the data stored in a database.
A phrase, such as “at least one of X, Y, or Z,” unless specifically stated otherwise, is to be understood with the context as used in general to present that an item, term, etc., can be either X, Y, or Z, or any combination thereof (e.g., X, Y, and/or Z). Similarly, “at least one of X, Y, and Z,” unless specifically stated otherwise, is to be understood to present that an item, term, etc., can be either X, Y, and Z, or any combination thereof (e.g., X, Y, and/or Z). Thus, as used herein, such phrases are not generally intended to, and should not, imply that certain embodiments require at least one of either X, Y, or Z to be present, but not, for example, one X and one Y. Further, such phrases should not imply that certain embodiments require each of at least one of X, at least one of Y, and at least one of Z to be present.
Although embodiments have been described herein in detail, the descriptions are by way of example. The features of the embodiments described herein are representative and, in alternative embodiments, certain features and elements may be added or omitted. Additionally, modifications to aspects of the embodiments described herein may be made by those skilled in the art without departing from the spirit and scope of the present disclosure defined in the following claims, the scope of which are to be accorded the broadest interpretation so as to encompass modifications and equivalent structures.
This application claims the benefit of U.S. Provisional Application No. 62/516,830, filed Jun. 8, 2017, the entire contents of which is hereby incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62516830 | Jun 2017 | US |