This invention relates to an electrical power system and a multi-timescale coordinated optimization scheduling method used therein. More particularly, this invention relates to an energy management system that uses the multi-timescale coordinated optimization scheduling method for commanding controllers of distributed energy resources in the electrical power system.
The following discussion of the background to the invention is intended to facilitate an understanding of the present invention only. It should be appreciated that the discussion is not an acknowledgement or admission that any of the material referred to was published, known or part of the common general knowledge of the person skilled in the art in any jurisdiction as at the priority date of the invention.
In recent years integration of distributed energy resources (DERs) into electrical power systems has been a growing trend, almost globally. Among DERs, renewable energy resources, such as solar and wind, have been recognized as an environmentally and economically beneficial solution for the future smart grids. This is so because they reduce carbon dioxide emissions that is often associated with conventional fossil-fuel-based generation. To alleviate the intermittent and stochastic generation of these renewable generators, battery energy storage systems (BESSs) have been widely deployed to improve the electrical power system's stability and reliability. Moreover, in recent years, incentive programs have unlocked revenue streams for the DERs by utilizing their flexibilities in participating in the different electricity markets such as in providing balancing and ancillary services.
To achieve reliability and resilience, and maximize economic benefits of the operation of the electrical power system, it is desirable to have an energy management system that enables the flexible integration of various DER models and also achieves the lowest operation cost for such integrated electrical power systems. However, coordination among multiple DERs, different requirements for market participation, and the challenges arising from renewable energy and load demand fluctuations complicate the goal of achieving a low operational cost across multiple time horizons from long-term (year, month, and week) to short-term (day, intra-day and hour) and in real-time.
The key challenges for such an energy management system includes multi-timescale optimization, cost efficiency and optimization, and uncertainties of generation and demand. With regard to multi-timescale optimization, one of the critical challenges in the electrical power system with integrated DERs is to design one unified system to address several needs: from long-term operation planning to provide advisory for the system operation and market participation hours/days ahead of time all the way up to minutes and seconds level of scheduling and dispatching control signals to controllers of the DERs. All these requirements cannot be easily addressed through a single optimizer with a single time interval over the scheduling horizon. The energy management system requires different levels/layers of optimization, each with its own specific time interval and scheduling horizon ranges. The coordination, information flow, and synergy among these multi-timescale engines with their individual computation time and other requirements, introduce new challenges for the optimization of energy management systems with integrated DERs. A simplified example of a system with multi-timescale engines has been published in the article “Co-optimizing Battery Storage for the Frequency Regulation and Energy Arbitrage Using Multi-Scale Dynamic Programming” by B. Chang, and W. B. Powell, in the engineering journal IEEE Trans. Smart Grid, vol. 9, no. 3, 2018.
Besides multi-timescale optimization, another goal of the electrical power system with integrated DERs is to achieve the lowest operation cost of the system, while meeting the overall system as well as individual DER's requirements and constraints. Specifically, each asset is associated with its unique operational costs and practical constraints. An optimal solution that achieves cost efficiency for the entire system is non-trivial. Detailed mathematical modelling of physical assets and problem formulation based on business needs and targets which necessitates the use of advanced optimization techniques is required.
Due to stochastic and intermittent power generation of renewable energy generators, variability in the availability of assets, uncertainties in load demands, etc., new challenges arise for the reliable and stable operation of the electrical power system. As an example, the mismatch between renewable energy generation and load demand may lead to demand outage (in the case of insufficient renewable energy) or result in energy wastage (in the opposite case of excessive renewable energy generation). Therefore, a solution derived solely from forecast data cannot capture the real-time renewable energy or load fluctuations.
Among existing algorithms used in the energy management system, they are either meant for simplified systems/models or are based on heuristic online algorithms, which rely solely on actual measurement data to set the real-time power dispatch. Specifically, heuristic online algorithms are based on priority/rule-based dispatch techniques, which can generally fulfil only certain objectives with selected modes based on pre-defined thresholds. As an example, the dispatch rule of DERs can be set based on specific functionalities of “minimization of electricity procurement cost”, “maximization of renewable energy generation”, etc. Accordingly, pre-defined priorities will be given to dispatch the DERs. For the case of “minimization of electricity procurement cost”, the order of DER would be renewable, BESS, and electric grid. In this rule-based algorithm, to realize the generation (electric supply) and load (electric demand), first the renewable energy generator is used to follow the load profile as much as possible, followed by the BESS and eventually the power grid. One important drawback of these pre-defined rule-based techniques is their incapability in achieving the optimal solution. For the objective of “minimization of electricity procurement cost”, if the price of grid electricity purchase is non-uniform over time, it is understood that the proposed heuristic algorithm which is rule-based and makes decision based on the actual measurement data cannot achieve the optimal solution as the BESS is not being charged/discharged by considering the future forecast and trend of electricity price. Even if achieving optimality can be proven, it may not hold if there is any change in the electrical power system, e.g., addition of a new DER model. Hence, these existing algorithms are not flexible to maintain their performance once there are changes in the electrical power system design, type/number of DERs, etc.
Another widely used online algorithm for the close to real-time energy management which tackles the uncertainties in the electrical power systems is dynamic programming. Dynamic programming requires prediction errors of renewable energy/load profiles to follow certain stochastic processes with known probability distributions (e.g., stationary or cyclostationary stochastic processes). However, the renewable energy generation and/or the load demand cannot be exactly modelled by stationary or cyclostationary processes. As a result, it may not be practically valid to model forecast errors as such processes with known probability distributions. Besides, due to the notorious “curse of dimensionality” problem, obtaining an optimal solution by dynamic programming, in general, has an exponentially growing complexity with the number of decision variables, especially as the number of decision variables becomes very large.
There is therefore a need for an energy management system for use in an electrical power system which addresses, at least in part, one or more of the forgoing problems.
According to an aspect of the present disclosure, there is provided a multi-timescale coordinated optimization scheduling method for an electrical power system that includes a number of distributed energy resources (DERs). The method includes performing long-timescale optimization scheduling for the electrical power system based at least on forecast data to obtain long-timescale operation planning data. The method further includes performing mid-timescale optimization scheduling for the electrical power system based on the long-timescale operation planning data and measured data of the DERs to obtain mid-timescale operation planning data. The method further includes performing at least close to real-time optimization scheduling for the electrical power system based on the mid-timescale operation planning data, the measured data of the DERs and grid signals of the electrical power system to obtain short-timescale power setpoints for the DERs.
In some embodiments of the method, the long-timescale optimization scheduling is performed via cloud computing; and the short-timescale optimization scheduling and at least close to real-time optimization scheduling are performed via edge computing.
In some embodiments of the method, the method further includes obtaining interpolated long-timescale operation planning data based on the long-timescale operation planning data. And performing mid-timescale optimization scheduling for the electrical power system based on the long-timescale operation planning data and measured data of the plurality of DERs to obtain mid-timescale operation planning data includes based on the interpolated long-timescale operation planning data, and the measured data of the plurality of DERs to obtain mid-timescale operation planning data.
In some embodiments of the method, the method further includes obtaining interpolated forecast data based on the forecast data; and obtaining blended forecast data based on the interpolated forecast data and the measured data of the plurality of DERs. In these embodiments, performing mid-timescale optimization scheduling for the electrical power system based on the long-timescale operation planning data and measured data of the plurality of DERs to obtain mid-timescale operation planning data includes performing mid-timescale optimization scheduling for the electrical power system based on the interpolated long-timescale operation planning data, the blended forecast data and the measured data of the plurality of DERs to obtain mid-timescale operation planning data.
In some embodiments of the method, obtaining interpolated forecast data and/or interpolated long-timescale operation planning data is performed asynchronously from the mid-timescale optimization scheduling.
In some embodiments of the method, performing mid-timescale optimization scheduling includes performing Model Predictive Control (MPC)-based mid-timescale optimization scheduling.
In some embodiments of the method, the method further includes performing mid-timescale optimization scheduling for the electrical power system based on the forecast data and the measured data of the plurality of DERs to obtain mid-timescale operation planning data if long-timescale operation planning data is not available.
In some embodiments of the method, the long-timescale operation planning data includes at least an hour-ahead planning data.
In some embodiments of the method, the mid-timescale operation planning data includes at least a minute-ahead operation planning data corresponding to the at least an hour-ahead planning data.
In some embodiments of the method, the forecast data comprises price, load and renewable energy generation forecast data.
According to another aspect of the present disclosure, there is provided an electrical power system. The electrical power system includes a number of distributed energy resources (DERs) and an energy management system. The energy management system includes a long-timescale scheduler, a mid-timescale scheduler and a real-time scheduler. The long-timescale scheduler is for long-timescale optimization scheduling of the electrical power system based on forecast data to obtain a day-ahead operation planning data. The mid-timescale scheduler is for mid-timescale optimization scheduling of the electrical power system based on the long-timescale operation planning data and measured data of the DERs to obtain mid-timescale operation planning data. The real-time scheduler is for at least close to real-time optimization scheduling of the electrical power system based on the mid-timescale operation planning data, the measured data of the DERs and grid signals of the electrical power system to obtain short-timescale power setpoints for the DERs.
In some embodiments of the system, the long-timescale optimization scheduling is performed via cloud computing; and the mid-timescale optimization scheduling and at least close to real-time optimization scheduling are performed via edge computing.
In some embodiments of the system, the system further includes a data interpolator for obtaining interpolated long-timescale operation planning data based on the long-timescale operation planning data and the forecast data. The mid-timescale scheduler includes a mid-timescale scheduler for mid-timescale optimization scheduling of the electrical power system based on the interpolated long-timescale operation planning data, and the measured data of the plurality of DERs to obtain the mid-timescale operation planning data.
In some embodiments of the system, the data interpolator further obtains interpolated forecast data based on the forecast data. And the mid-timescale scheduler includes a mid-timescale scheduler for mid-timescale optimization scheduling of the electrical power system based on the interpolated long-timescale operation planning data, the interpolated forecast data and the measured data of the plurality of DERs to obtain the mid-timescale operation planning data.
In some embodiments of the system, obtaining interpolated forecast data and/or interpolated long-timescale operation planning data is performed asynchronously from the mid-timescale optimization scheduling.
In some embodiments of the system, the mid-timescale optimization scheduling comprises performing Model Predictive Control (MPC)-based mid-timescale optimization scheduling.
In some embodiments of the system, the mid-timescale scheduler further performs mid-timescale optimization scheduling of the electrical power system based on the forecast data and the measured data of the plurality of DERs to obtain mid-timescale operation planning data if long-timescale operation planning data is not available.
In some embodiments of the system, the long-timescale operation planning data includes at least an hour-ahead planning data.
In some embodiments of the system, the mid-timescale operation planning data includes at least a minute-ahead operation planning data corresponding to the at least one hour-ahead planning data.
In some embodiments of the system, the forecast data comprises price, load and renewable energy generation forecast data.
Other aspects and advantages of the invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, illustrating by way of example the principles of the invention.
The invention will be better understood with reference to the drawings, in which:
Throughout this document, unless otherwise indicated to the contrary, the terms “comprising”, “consisting of”, “having” and the like, are to be construed as non-exhaustive, or in other words, as meaning “including, but not limited to.”
Furthermore, throughout the specification, unless the context requires otherwise, the word “include” or variations such as “includes” or “including” will be understood to imply the inclusion of a stated integer or group of integers but not the exclusion of any other integer or group of integers.
Throughout the description, it is to be appreciated that the term ‘processor’ and its plural form include microcontrollers, microprocessors, programmable integrated circuit chips such as application specific integrated circuit chip (ASIC), computer servers, electronic devices, and/or combination thereof capable of processing one or more input electronic signals to produce one or more output electronic signals. The controller includes one or more input modules and one or more output modules for processing of electronic signals.
Throughout the description, it is to be appreciated that the term ‘server’ and its plural form can include local, distributed servers, and combinations of both local and distributed servers.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as is commonly understood by a skilled person to which the subject matter herein belongs.
As shown in the drawings for purposes of illustration, the invention may be embodied in a multi-timescale coordinated optimization scheduling method for an electrical power system including a number of distributed energy resources (DERs) that is able to generate power setpoints for the DERs based on near real-time or real-time data. Referring to
Specifically,
The planning layer 6 processes forecast data of the input data 12 to generate long-timescale operation planning data that includes in one embodiment hours-ahead operation planning trajectories. The two downstream layers, namely the predictive scheduling layer 8 and the real-time optimized control layer 10 incorporate actual measurement data of the DERs 4 while respecting some of the hours-ahead operation planning data computed in the upstream planning layer 6. The two downstream layers 8, 10 re-optimize some of the operation planning data from the planning layer 6. The predictive scheduling layer 8 and the real-time optimized control layer 10 are executed more frequently than the planning layer 6 to take into account real-time changes in the DERs' measured data. Since these layers 8, 10 are executed more frequently, they can be of a shorter scheduling duration and have a reduced set of constraints compared to the planning layer 6, if need be. This is especially so for the real-time optimized control layer 10, which works typically in real-time, i.e., in a matter of seconds. A model predictive control (MPC) algorithm and a real-time predictor 14 are used in the predictive scheduling layer 8 to take advantage of both the forecast data and real-time measured data of the DERs 4. The energy management system 2 models the costs and constraints of each DER 4 using detailed mathematical modeling. Mathematical modeling will be described in more details later. With this detailed modeling, the components of the electrical power system are jointly optimized.
The energy management system 2 is next described in more detail with the aid of
The planning layer 6 runs on the cloud. In other embodiments, this planning layer 6 may also run on edge devices. As known to those skilled in the art, clouds are places where data can be stored or applications can run. They are software-defined environments created by datacenters or server farms. Cloud computing is an act of running workloads in a cloud. Edges are also places where data are collected. They are physical environments made up of computing hardware outside a datacenter. Edge computing is also an act of running workloads but on edge devices instead of the cloud. Edge computing involves collecting and processing data at the edge. Edge computing is separate from clouds in terms of time sensitivity and data volume. The rate at which a decision needs to be made doesn't allow for the lag that would normally take place as data is collected by an edge device, transferred to a central cloud without modification, and then processed at the cloud before a decision is sent back to the edge device for execution. Edge devices can however contribute to a cloud, if the storage and computing capabilities provided by those edge devices at the endpoints of a network are abstracted, pooled, and shared across a network-essentially becoming part of a larger cloud infrastructure.
When run on the cloud, this long-timescale scheduler 16 may be conveniently referred to as a cloud optimization (CO) engine 16 which is formulated as a mixed integer programming (MIP) optimization problem and optimally derives operation planning by solving the energy scheduling problem over hours to days scheduling time horizon based on future forecast data, such as but not limited to, load, price, and renewable energy generation prediction, etc. To cater to errors in the forecasted load, price, and renewable energy generation prediction, a finite number of stochastic scenarios are used to represent the potential uncertain cases. Each scenario is associated with a probability distribution of its occurrence. The CO engine 16 can then utilize the stochastic scenarios to capture the uncertainty of the data and the potential forecast errors in the optimization. In addition, the planning layer 6 can be configured to run on edge devices.
The predictive scheduling layer 8 and the real-time optimized control layer 10 run on the edge. There is an optimization engine 18, 20 in each of these two layers 8, 10. The predictive scheduling layer 8 includes a mid-timescale scheduler 18, referred to hereinafter as a model predictive control (MPC) engine 18. The real-time optimized control layer 10 includes a real-time scheduler 20, referred to hereinafter as a real-time predictive control (RPC) engine 20. The MPC engine 18 and the RPC engine 20 provide high resolution, i.e., minutes to seconds, optimal control strategies for the DERs 4. These engines 18, 20 leverage more accurate forecast data in minutes resolution together with actual measurement data and comply with operation planning results derived from the upstream CO engine 16. These engines 18, 20 derive more accurate operation targets for controllers of the DERs 4 and can also follow energy and regulation signals of the electrical power system in seconds resolution. These energy and regulation signals include, but are not limited to, grid operation signal which is in fact power setpoints from a system operator and frequency regulation signal. The RPC engine 20 is preferably a light-weight optimization engine solving a linear programming (LP) optimization problem, which computes accurate binding operation targets for the downstream controllable DERs 4. The output of the RPC engine 20 are short-timescale power setpoints for the DERs 4 that are controllable.
The operation of the three optimization engines 16, 18, 20, namely the CO engine 16, the MPC engine 18, and the RPC engine 20 is described in more detail next.
The predictive scheduling layer 8 includes the data interpolator 21. This data interpolator 21 is triggered as soon as there is new forecast data 12 from the cloud or new operation planning data 22 from the CO engine 16. The data interpolator 21 interpolates low-resolution day-ahead operation planning data 22 from the CO engine 16 and the forecast data 12 into a high-resolution interpolated long-timescale operation planning data 24 and interpolated forecast data 26, respectively based on any suitable curve fitting method known to those skilled in the art.
The real-time predictor 14 shown in
The MPC engine 18 utilizes parameterized system modeling to mathematically model the components of the electrical power system. It formulates a specific business target as an optimization problem, and outputs an optimal solution in the form of mid-timescale operation planning data 32 using an optimization solver 30 (
In this embodiment, the MPC engine 18 relies on receiving data from the CO engine 16 to operate in a dependent mode. Specifically, a more comprehensive optimization problem is first solved by the CO engine 16 to optimally derive some operational setpoints in the long-timescale operation planning data 22 including, but not limited to, the operational modes of the DERs 4 such as BESSs, regulation power capacities, etc. These operational setpoints are then communicated to the MPC engine 18 in the edge. And the MPC engine 18 needs to respect the operational setpoints received from the CO engine 16.
Alternatively, the MPC engine 18 may work independently of the CO engine 16 in an independent mode. As it is no longer able to rely on the CO engine 16 to perform more comprehensive optimization as described above, the MPC engine 18 will have to include more comprehensive modeling and decision variables in its optimization so that it can continue its operation even when no data is received from the CO engine 16 in the cloud. When it comes time for the MPC engine 18 to run, the MPC engine 18 will operate in either the dependent mode or independent mode depending on whether data, i.e., setpoints in the long-timescale operation planning data 22 is available from the CO engine 16 as shown in
The optimization engine further includes a processor 42 and the solver 30. The optimal output of each engine 16, 18, 20 is obtained using the solver 30. Any open-source solver or commercially available solver that is capable of solving the formulated mathematical problem in a desired time may be used.
During use, the CO engine 16 may run once every half an hour to obtain the long-timescale operation planning data 22 for the next 24 hours. As an example, the CO engine 16 may run for example at 12:07:00. A minute later, at 12:08:00, forecast data and some of the operation planning results of the CO engine 16 are sent from the cloud to the edge. Thirty seconds later, at 12:08:30, the forecast data and the CO engine results 22 received from the cloud are interpolated by the data interpolator 21 and then stored in the database 27 at the edge. At 12:29:00, DERs measurements are feedback from the DERs 4 to the MPC engine 18 and the RPC engine 20. Actual measurement data of renewable energy resources, and load are blended with forecast data by the real-time predictor 14. The MPC engine 18, which runs asynchronously from the data interpolator 21 and the real-time predictor 14 may run once every minute. For example, at time 12:29:15, the MPC engine 18 may have received all the required data and starts to execute. By 12:29:50, the results 32 of the MPC engine 18 is ready. The results 32 from the MPC engine 18 are stored in the database 27 for use in the RPC engine 20. The RPC engine 20, which runs for example once every four seconds, retrieves the MPC results 32 from the database. For the example described above, the RPC engine 20 may run at a time 12:29:56. The RPC engine 20 receives actual measurement data of the load and the renewable energy resources, processes these data to generate power setpoints 3 and sends the power setpoints 3 to the controllers of the DERs 4 at, for example, 12:29:57 which is mere seconds from when the RPC engine 20 starts execution. The controllers of the DERs 4 may receive the power setpoints 3 at a time 12:29:59. The power setpoints 3 may be control signals for the controllers at a time of 12:30:00. In a matter of mere seconds, the RPC engine 20 is able to use the latest data to generate the most current and optimal power setpoints 3 for the controller of the DERs 4.
The mathematical formulation of the optimization engines 16, 18, 20 according to an embodiment is next described in detail. First, all the mathematical notations are defined with a time notation of t. As the three optimization engines 16, 18, 20 are related to each other, several mathematical notations are used in more than one engine 16, 18, 20. Hence, to avoid confusion, for the detailed model of each engine 16, 18, 20, a different time index is used. Specifically, the time index for the MPC engine 18 is denoted by t, the time index for the CO engine 16 is denoted by ty, where the subscript u represents the upper-level CO engine 16 in relation to the MPC engine 18, and finally the time index for the RPC engine 20 is denoted by ty, representing the lower-level RPC engine in relation 20 to the MPC engine 18.
Data types of all parameters and variables used may be classified into four categories with “C” denoting “Continuous” data, “B” denoting “Binary” data, “I” denoting “Integer” data, and “D” denoting “Datetime” data. The parameters and the variables are denoted by symbols with superscripts and subscripts wherein the superscripts indicate asset and time indices, and the subscripts include the asset type and the parameter/variable category.
For the purposes of illustrating mathematical modelling, only DERs 4 including battery energy storage system (BESS), curtailable photovoltaic (CPV), controllable load (CL), and gas turbine (GT) are considered. In other embodiments, one or more of these DERs 4 and other DERs 4 not specifically mentioned herein may also be considered as is known to those skilled in the art. For grid service, the BESS is considered as the only DER providing frequency regulation service, while all the four DERs can follow a given energy setpoint from the grid. The MPC engine 18 has two operation modes as previously described; “Mode I” in which the MPC engine 18 operates independently without receiving any results from the CO engine 16, and “Mode II” in which the MPC engine 18 operates by relying on output results from CO engine 16. The parameters and variables that are specific to each operation mode of the MPC engine 18 will be described later.
A list of sets used in the mathematical modelling is shown in Table 1 below:
A list of indices used in the mathematical modelling is shown in Table 2 below:
A list of system parameters used in the mathematical modelling is shown in Table 3 below:
A list of upstream grid (UG) parameters used in the mathematical modelling is shown in Table 4 below:
A list of upstream grid (UG) variables used in the mathematical modelling is shown in Table 5 below:
A list of BESS parameters used in the mathematical modelling is shown in Table 6 below:
A list of BESS variables used in the mathematical modelling is shown in Table 7 below:
A list of curtailable photovoltaics (CPV) parameters used in the mathematical modelling is shown in Table 8 below:
A list of curtailable photovoltaics (CPV) variables used in the mathematical modelling is shown in Table 9 below:
A list of curtailable load (CL) parameters used in the mathematical modelling is shown in Table 10 below:
A list of curtailable load (CL) variables used in the mathematical modelling is shown in Table 11 below:
A list of gas turbine (GT) parameters used in the mathematical modelling is shown in Table 12 below:
A list of gas turbine (GT) variables used in the mathematical modelling is shown in Table 13 below:
The mathematical model and problem formulation of the CO engine 16 is next described. In the embodiment, the objective in the CO engine 16 is to minimize the total cost of the electrical power system, subject to constraints. The objective function for the problem formulation may be given by:
where the costs are listed in Table 14 below:
Each cost component along with system constraints in the CO engine 16 are further elaborated as follows:
The system constraints may, for example, include keeping the supply and the demand balanced all the time. The power balance constraint for the CO engine 16 may then be given by:
The power import from and the power export to the electric power grid incurs cost and generates revenue respectively for the electrical power system. The electrical energy procurement cost/revenue in the CO engine 16 may be defined as:
Uncontracted capacity cost occurs when the peak load exceeds a given contracted capacity limit. PUG,unctr≥0 denotes the deviation of the peak load from the contracted capacity limit and may be defined below as constraints. The uncontracted capacity cost for the CO engine 16 may be given by:
The import power from and export power to the grid may be within given minimum and maximum limits as follows:
The peak load is computed based on the market rules and regulation. For example, it may be derived by taking the maximum of the total load value (sum of the magnitude of true load, the BESS charging power and the regulation power capacity), as follows:
The uncontracted capacity charge occurs once the peak load exceeds the given contracted capacity limit. Derivation of uncontracted load capacity from the uncontracted capacity limit may be given by:
For each of the BESS in the set of BESSs, i.e., ∀i∈ES:
And the revenue of frequency regulation for the BESS may be given by:
With regard to the operational mode constraints, the BESS may be modeled to be used for either energy scheduling or frequency regulation service applications, as follows:
It is to be noted that ξES,Ei,t
Charging/discharging power constraints may also ensure that the BESS meets the practical given power limits and also realizes the mode of operation.
The net power output of the BESS may be given by:
The BESS power capacity to be bid in a frequency regulation market may be optimized. The BESS provides symmetric power for both under and over frequency conditions. The BESS is thus subjected to the following constraints:
The BESS has a finite capacity and cannot be discharged more than a given energy level. The following constraints ensure that the state of the charge (SOC) of the BESS remains within the practical energy limits:
Prior to running the CO engine 16, the actual SOC value may be measured. The initial energy at the BESS at the beginning of scheduling may be given by
The BESS may be required to reach a given SOC level by the end of the CO engine's scheduling, as
The CPV can curtail power, if required. Once uCPVi,t
The curtailment cost associated with the CPV may be given by:
The power generated by the CPV may be within given minimum and maximum levels, specified by curtailment coefficients and CPV inverter limits as follows:
The curtailed power by the CPV may then be derived as:
The curtailable load (CL) may be a general model for the load. The model allows for load power curtailment. Once uCLi,t
There is a curtailment cost associated with the curtailed power by the CL that may be defined as follows:
The constraints for the CL may be mathematically modelled as follows:
The curtailed load power by CL may then be derived as follows:
The gas turbine's (GT's) operating cost may be mathematically modeled as a convex piecewise linear function, as a summation across the CO engine's scheduling horizon:
The operating cost in each interval t, QGT,Gi,t
The cost associated with the GT's startup may be given by:
The GT's power may be within given minimum and maximum power limits, as follows:
The GT cannot increase or decrease its power instantly. There are ramp up and down limits for its power change, defined through the following constraints:
Once a GT is turned on, it must remain on for a minimum duration of time. First, a binary decision variable for the continuous “on” operation of GT may be defined as follows:
The limit on minimum “on” activation time duration may then be given by:
Similarly, once the GT is off, it must remain off for a minimum duration of time. First, a binary decision variable for the continuous “off” operation of GT may be defined as follows:
The limit on minimum “off” activation time duration may then be given by:
The mathematical model and problem formulation of the MPC engine 18 is next described. As described above, the MPC engine 18 supports two operational modes, Mode I and Mode II. In Mode I, the MPC engine 18 operates independently from the CO engine 16 in the cloud and is thus more robust against failures, such as failure of the CO engine 16 in the cloud, loss of communication between the cloud and the edge, etc. Hence, the MPC engine 18 in this mode needs to consider all the DERs modeling along with their costs and constraints to solve a comprehensive optimization problem.
However, in Mode Il the MPC engine 18 relies on receiving data from the CO engine 16 in cloud to operate. Specifically, a more comprehensive optimization problem is solved in the CO engine 16 and some results including operational modes of the BESSs, regulation power capacities of BESS, etc., are communicated to the MPC engine 18 in edge. Consequently, the MPC engine 18 operating in Mode Il needs to comply with setpoints received from the CO engine 16. Under Mode II operation, there are additional cost functions compared to Mode I operation, including cost of deviation from the CO engine's charging/discharging power references. However, unlike Mode I, regulation revenue does not appear among cost functions in Mode II, since the values are respected from the CO engine 16.
The objective function for the problem formulation under Mode I operation may be given by:
The objective function for the problem formulation under Mode II operation may be given by:
where the costs are listed in Table 15 below:
Each component is further elaborated as follows:
The power balance constraint for the MPC engine 18 may be given by:
The electrical energy procurement cost/revenue for the MPC engine 18 is defined as:
The uncontracted capacity cost for the MPC engine 18 may be given by:
The import power from and the export power to the grid may be within given minimum and maximum limits as follows:
The peak load is computed based on the market rules and regulation. For example, it may be derived by taking the maximum of total load value (sum of the magnitude of true load, the BESS charging power and the regulation power capacity), as follows:
Derivation of peak load from the uncontracted capacity limit is given by:
For each of the BESS in the set of BESSs, i.e., ∀i∈ES:
The cycling aging cost for the BESS may be given by:
And the revenue of frequency regulation for the BESS may be given by (only in Mode I):
Deviation from charging and discharging power references sent from the CO engine 16 is as follows (only in Mode II):
The cost function QES,devi is non-linear. To linearize the problem, we replace the above cost with the following cost function, with additional constraints added to the constraints section below (only in Mode II):
Operational mode constraints (only in Mode I): The BESS is modeled to be used for either energy scheduling or frequency regulation service applications, as follows:
It is to be noted that ξES,Ei,t=1 indicates that the BESS is providing energy scheduling only while ξES,Ei,t=1 indicates that it provides frequency regulation service only for the system.
Charging/discharging power constraints ensure that the BESS meets the practical given power limits and also realizes the mode of operation.
The net power output of the BESS is given by:
The BESS power capacity to be bid in a frequency regulation market can be optimized. BESS provides symmetric power for both under and over frequency conditions. The BESS are thus subjected to the following constraints (only in Mode I):
Additional constraints for linearization of the cost function QES,devi (only in Mode II):
The BESS has a finite capacity and cannot be discharged more than a given energy level. The following constraints ensure that the state of the charge (SOC) of the BESS remains within the practical energy limits:
The MPC engine 18 in Mode I:
The MPC engine 18 in Mode II:
Prior to running the CO engine 16, the actual SOC value should be measured. The initial energy at BESS at the beginning of scheduling is given by
In Mode II, the CPV curtailment on/off status is already decided by the CO engine 16; thus, uCPVi,t is a given value and not a decision variable.
For each of the CPV in the set of CPVs, i.e., for ∀i ∈CPV:
A small penalty is imposed for curtailed power, thus reducing unnecessary curtailment of CPV in the MPC engine 18.
The power generated by CPV may be within given minimum and maximum levels, specified by curtailment coefficients as well as CPV inverter limits as follows:
The curtailed power by CPV may then be derived as:
In Mode Il of the MPC engine 18, the CL curtailment on/off status is already decided by the CO engine 16; thus, uCLi,t is a given value and not a decision variable.
For each of the CL in the set of CLs, i.e., ∀i ∈CL:
There is a curtailment cost associated with the curtailed power by load, defined as:
The power generated by CL may be within given minimum and maximum levels, specified with minimum and maximum curtailment coefficient:
The curtailed load power by the CL may then be derived as:
It is to be noted that uGTi,t is not a decision variable in Mode II of the MPC engine 18. To determine uGTi,t, both results from the CO engine 16 as well as actual measured data from GT will be used.
The GT's operating cost may be mathematically modeled as a convex piecewise linear function, as a summation across the MPC engine's scheduling horizon:
The operating cost in each interval t, QGT,Gi,t, is modeled as a convex piece-wise linear function with parameter segment sets of PGT,Gi and CGT,Gi. With the index set LGT,Gi denoting the segment sets of the piecewise linear function and l denote the segment index, the operating cost may be formulated using a set of linear inequalities as follows:
There is also a cost associated with GT's startup (only in Mode I of the MPC engine 18), given as follows:
Cost of deviation from power references provided by the CO engine 16 (only in Mode Il of the MPC engine 18)
The cost function QCT,refi is nonlinear. To linearize the problem, we replace the above cost with the following cost function (only in Mode II of the MPC engine 18). Additional constraints are added as will be described later.
The GT's power may be within given minimum and maximum power limits, as follows:
The GT cannot increase or decrease its power instantly. There are ramp up and down limits for its power change, defined through the following constraints:
Additional constraints for linearization of the cost function QCT,refi (only in Mode II of the MPC engine 18):
The remaining constraints for GT are related to on and off duration of GT, which are all applicable in Mode I of the MPC engine 18 only.
Once GT is turned on, it must remain on for a minimum duration of time. First, a binary decision variable for the continuous on operation of GT is defined as follows:
The limit on minimum activation time duration is then given by:
Similarly, once the GT is off, it must remain off for a minimum duration of time. First, a binary decision variable for the continuous off operation of GT is defined as follows:
The limit on minimum “off” activation time duration is then given by:
The mathematical model and problem formulation of the RPC engine 20 according to one embodiment is next described. As previously described, the RPC engine 20 is located in the edge and is able to respond to real-time energy and regulation signals in seconds and therefore able to provide real-time or almost real-time operation planning data, i.e., power setpoints, for the controllers of the DERs 4. This is due to the fact that RPC is formulated as a LP optimization problem, which results in a much faster optimal solution computation compared to the mixed integer linear programming (MILP) optimization problems in the CO engine 16 and the MPC engine 18.
The RPC engine 20 minimizes deviations of the two control signals: 1) grid operation signal and 2) frequency regulation signal. To follow grid operation signal, all the DERs (BESS, CPV, GT, and CL) are considered to be able to contribute. To follow frequency regulation signal, only BESS is considered to be able to follow the received signal from the grid.
The objective function for the problem formulation in the RPC engine 20 may be given by:
where the costs are listed in the Table 16 below:
Each cost component is further elaborated as follows:
The power balance constraint for the RPC engine 20 may then be given by:
Total regulation power capacity of the system is provided by all the BESSs, as follows:
The electrical energy procurement cost/revenue in the RPC engine 20 may be defined as:
The RPC engine 20 tries to follow grid signals as closely as possible. To do so, deviations from grid signals are penalized. Two grid signals are considered: grid operation signal and frequency regulation signal.
Grid operation signal indicates grid power setpoint orders to adjust the “net” power of the system, where λopert
Frequency regulation signal refers to a high pass remote automatic generation control (AGC) signal, which is a measure of the imbalance between the supply and the demand in the grid. The BESS is considered as the only DER that can charge/discharge to respond to the frequency regulation signal. The normalized frequency regulation signal λRegt
The frequency regulation signal is sent to the system every few seconds (depending on the market). Regulation market then tracks the response of the electrical power system and evaluates the performance at the end of each service hour. Systems with poor performance may become ineligible to participate in the frequency regulation market in the future. As a result, the BESSs in the RPC engine 20 should follow the frequency regulation signal as closely as possible. With the total regulation power capacity of Rtott
The cost of not following the frequency regulation signal is given by:
As a result, the total deviation cost comprises the above two costs:
The cost function QDev is non-linear. To linearize the problem, the above cost is replaced with the following cost function, with additional constraints added to the constraints which will be described later:
The import power from and export power to the grid may be within given minimum and maximum limits as follows:
Additional constraints for linearization of the cost function QDev:
For each BESS in the set of BESSs, i.e., ∀i∈ES:
The cost of deviation from charging/discharging power references sent from the MPC engine 18 is given by:
The cost function QES,Devi is non-linear. To linearize the problem, the above cost is replaced with the following cost function, with additional constraints that will be described below:
Penalty cost penalizes unnecessary charging and discharging power of the BESS in RPC. It penalizes simultaneous charge and discharge in each BESS, simultaneous charging/discharging among different BESSs in the same mode. The BESS penalty cost is given as below:
Additional constraints for linearization of cost function QES,Devi are given by:
Limit on charging and discharging power should not only consider the physical system charging/discharging rates, but the regulation power capacity and power limits imposed by the MPC engine 18 needs to be considered as well. New charging/discharging limits reflecting SOC limitations are given by:
Given the above charging/discharging limits, the charging and discharging power related to “energy” should meet the following constraints:
BESSs with enabled frequency regulation (ξES,Ei,t=1) can respond to meet the frequency regulation signal, based on their regulation power capacities and the computed charging/discharging rates reflecting SOC limitations in the MPC engine 18, as follows:
Given the above charging/discharging limits, the charging and discharging power related to “frequency regulation” should meet the following constraints:
The net discharging power is then the superposition of discharging power for frequency regulation and energy scheduling purposes, given as follows:
The net charging power is then the superposition of charging power for frequency regulation and energy scheduling purposes, given as follows:
The net charging and discharging power is then given by:
Depending on the curtailment status of the CPV (uCPVi,t
For each of the CPV in the set of CPVs, i.e., ∀i ∈CPV:
The CPV should not be curtailed unless it is required to maintain the system constraints. Hence, a small penalty is imposed for curtailed power.
The power generated by CPV should always be within given minimum and maximum levels, specified with curtailment coefficients as well as CPV inverter:
The curtailed power by CPV may then be derived as:
Depending on the curtailment status of CL (uCLi,t
For each CL in the set of CLs, i.e., ∀i ∈CL:
There is a curtailment cost associated with the curtailed power by load, defined as:
The power generated by the CL should always be within given minimum and maximum levels, specified with minimum and maximum curtailment coefficient:
The curtailed load power by CL may then be derived as:
It is to be noted that uGTi,t is not a decision variable in the RPC engine 20. To determine uGTi,t, both results from the MPC engine 18 as well as actual measured data from GT will be used.
The GT's operating cost is modeled as a convex piecewise linear function, as a summation across the RPC engine's scheduling horizon:
The operating cost in each interval t, QGT,Gi,t
The cost of deviation from power references provided by the MPC engine 18 (only in Mode II)
The cost function QGT,refi is nonlinear. To linearize the problem, we replace the above cost with the following cost function, with additional constraints added to the constraints which will be described later:
The GT's power should always be within given minimum and maximum power limits, as follows:
The GT cannot increase or decrease its power instantly. There are ramp up and down limits for its power change, defined through the following constraints:
Additional constraints for linearization of cost function QGT,refi:
As previously described, the CO engine 16 in the cloud solves a comprehensive optimization problem and the following optimal values are transferred to the edge to be used in MPC engine 18 for the mathematical models described above:
Specifically, the data transfer from the CO engine 16 in cloud to the MPC engine 18 in in the edge, ∀i∈ES, ∀i ∈CPV, ∀i ∈CL, ∀i ∈GT, is given in Table 17 below:
Specifically, the data transfer from the MPC engine 18 to the RPC engine 20, ∀i∈ES, ∀i ∈CPV, ∀i ∈CL, ∀i ∈GT, is given in Table 18 below:
In other words, the mid-timescale operation planning data 32 includes data that are already determined by the CO engine 16 or the MPC engine 18 and are fixed in values when the RPC engine 20 receives them. These data are passed to the RPC engine 20 as parameters and are labeled in Table 18, while the other data not labeled can be re-optimized again in RPC engine. Examples of the data treated as fixed parameters in RPC engine 20 include one or more of the binary type data shown in Table 18. It is possible that these data that are fixed in values may also alternatively or additionally include one or more continuous type data shown in Table 18. Those skilled in the art will also readily appreciate that similar data for other types of DERs may also be included. Generally, these data that are fixed in values are those that do not change frequently, i.e., in the next couple of seconds. In this manner, the problem in the RPC engine 20 can be formulated as a LP optimization problem, the solution of which can be obtained in a much shorter time compared to the time required for solving the mixed integer linear programming (MILP) optimization problems in the CO engine 16 and the MPC engine 18.
PES,soc,mini,t and PES,soc,maxi,t in Table 18 are charging and discharging power rates complying with SOC limitations, respectively, which are calculated in the MPC engine 18 and are imposed on the RPC engine 20:
The CO and MPC engines 16, 18 execute energy scheduling in days/hours/minutes. However, the electrical power system additionally needs to balance the real-time generation and demand in second/milli-second resolution through DERs' controllers. For example, BMS can practically help to realize this balance. In addition, the RPC engine 20 utilizes the BESSs to follow the grid control signals in seconds. Consequently, the SOC levels of the BESSs may be changed by both the RPC engine 20 and the BMS (not shown). In order for the CO and MPC engines 16, 18 to output feasible solutions for energy scheduling, SOC updates from the BMS need to be feedbacked to both the CO and MPC engines 16, 18 prior to their triggering and scheduling for the future time slots by setting SOCESi,start=SOCES,actuali,t.
The data transferred from the BMS to the CO and MPC engines 16, 18, ∀i∈ES, is shown in Table 19 below:
As mentioned previously, the CO and MPC engines 16, 18 are executed with different time frequencies. For example, the CO engine 16 may be called once every 30 minutes while the MPC engine 18 may be scheduled to run once every 1 minute. The BESS SOC will be measured and stored in the database frequently (e.g., every 10 seconds) and the CO and MPC engines 16, 18 will read it prior to their execution.
Furthermore, both CO and MPC engines 16, 18 require actual operating power of the GTs pit in order to comply with ramp-up and ramp-down constraints. The time of the latest activation status change TGT,switchi,t is also required by the CO engine 16 and MPC engine 18 (operating in Mode I) for applying activation on/off duration constraints. These data should be provided to the CO and MPC engines 16, 18 prior to each execution.
Once PGT,actuali,t is received, it will be taken as the GT initial power in the CO and MPC engines 16, 18. Based on this actual power measurement, the on/off status of GT can be revealed (e.g., positive value indicates the GT is on, zero value indicates the GT is off). Besides, GT's actual on/off status together with TGT,switchi,t will be used to determine the initial on/off duration of the GTs. These initializations are shown as follow:
As mentioned earlier, the CO and MPC engines 16, 18 are executed with different time frequencies and the actual state data will be measured and stored in the database frequently (e.g., every 10 seconds) and the CO and MPC engines 16, 18 will read it whenever needed, prior to their execution.
The data transferred from the GT controllers (not shown) to the CO and MPC engines 16, 18, ∀i ∈GT is shown in Table 20 below:
As previously described, the real-time predictor (RTP) 14 runs on the edge to generate the blended forecast data 28 such as solar generation and load, based on 1) forecast data provided from the cloud and 2) actual measured data of solar generation and load. After the forecast data from the cloud is interpolated by the data interpolator 21, the actual measured value is blended into the interpolated forecast data 26 in the RTP 14. The inputs to the RTP include the following:
The output of the RTP 14 is stored in the database 27 as timeseries data to be used by the MPC and RPC engines 18, 20. The blending function in the RTP 14 blends the real-time measured value with the interpolated forecast data 26 in order to generate more realistic forecast values. The input interpolated forecast data 26 should have the same time resolution and time window as required by the MPC and RPC engines 18, 20.
A blending coefficient in the blending function of the RTP 14 decides the weights of the measured value and the interpolated forecast value 26 in the final output of the blending function. In a linear decay blending method, the blending coefficient (weight for real-time measurement) linearly decreases with time. Thus, a timepoint closer to current time point will have a higher weight for the real-time measured value compared with the timepoints further away from the current time point.
A blending rate with linear decay may be derived as
where tstartt and tendt are the start and end time of time slot t, respectively.
The blended output may then be given by:
where yt is the predicted data based on actual measured data and xt is the forecast data.
Advantageously, the energy management system 2 with its RPC engine 20 is able to respond to real-time energy and regulation signals in seconds, as the integer decision variables, e.g., GT activation status (uGTi,t), BESS operational modes (ξES,Ei,t, SES,Ri,t) have already been optimized and determined by the CO engine 16 or the MPC engine 18 and the optimization problem in the RPC engine 20 becomes a linear programming problem; therefore, it is able to provide real-time or almost real-time operation planning data, i.e., power setpoints 3, for the controllers of the DERs 4. The optimization engines 16, 18, 20 of the energy management system 2 also take into consideration uncertainties in the renewable energy generation, load demand, and price forecasts, when making decisions.
Although the present invention is described as implemented in the above-described embodiments, it is not to be construed to be limited as such. It is to be appreciated that modifications and improvements may be made without departing from the scope of the present invention.
For example, although long-timescale is described as day-ahead, long-timescale can also be shorter or longer than a day. For example, long-timescale can also be as short as an hour-ahead or as long as days or even weeks ahead. And accordingly, mid-timescale may be minutes-ahead or a day or more ahead when the long-timescale is an hour-ahead or days-ahead as long as it is shorter in duration than the long-timescale.
As another example, the data interpolator 21 can be based on several interpolation techniques, such as linear interpolation or polynomial interpolation, amongst others.
As another example, the RTP 14 can be based on several blending techniques, such as flat or linear decay blending methods, amongst others.
As another example, the RTP 14 can be made optional. Without the RTP 14, the energy management system 2 can still operate with the required data for the MPC engine 18 and the RPC engine 20 coming from the data interpolator 12 and the DERs 4 measured data. There may be some potential performance degradation in terms of cost minimization.
Other types of DERs can be modeled and be then supported by the proposed framework. The considered DERs are for the purpose of exposition only.
It should be further appreciated by the person skilled in the art that one or more of the above modifications or improvements, not being mutually exclusive, may be further combined to form yet further embodiments of the present invention.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/SG2022/050107 | 3/2/2022 | WO |