System and Method for Modelling and Forecasting Electricity Demand

SA522432696B1Active Publication Date: 2024-01-14SAUDI ARABIAN OIL CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA522432696
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-05-23
Publication Date
2024-01-14
Estimated Expiration
2040-12-15

AI Technical Summary

Technical Problem

Existing electricity demand forecasting models struggle to accurately predict load demands while providing clarity on the causes of demand, often relying on neural networks that lack explanatory power and fail to identify significant factors influencing electricity consumption.

Method used

A method and system that models electricity demand as a function of temperature, humidity, and time, iteratively optimizing residual variations until a predetermined threshold is reached, incorporating weather-related and non-weather-related factors to create a parametric model that identifies primary causes and residual demand, using machine learning techniques to forecast demand accurately.

Benefits of technology

Provides an accurate electricity demand forecast with clarity on the impact of various factors, enabling precise adjustments in power generation and distribution networks to meet demand effectively.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

A technological solution for controlling generation or distribution of electric power in a power generation and distribution network. The solution includes modeling and forecasting electricity demand in the power generation and distribution network, which includes a plurality of nodes each having cooling appliances, heating appliances, or both cooling and heating appliances. The solution includes, among other things, building a per-capita parametric model of an electric demand curve for a geographic region, modeling residual intraday variations in electric demand, determining an average residual variation in demand, iteratively optimizing the residual intraday variations in demand and the average residual variation in demand, and determining electricity demand per-capita for the geographic region. Fig 1.
Need to check novelty before this filing date? Find Prior Art

Description

<h2 style=";text-align:left;direction:ltr">Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present disclosure relates to a system, method, and computer program for modeling and forecasting electricity demand, including modeling and forecasting one or more of the causes of regional electricity demand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Electricity demand forecasting can be extremely important for the electric power industry. Accurate load forecasting can be elusive, and accurate load forecasting can be nearly impossible with existing modeling methods.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> There is an unmet need to develop a sound electricity demand model that can accurately predict electricity load demands, while simultaneously providing clarity on the significance and impact of the cause of electricity demand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to a non-exhaustive embodiment of the disclosure, a method is provided for modeling and forecasting electricity demand in a power generation and distribution network comprising a plurality of nodes each comprising cooling devices, heating devices, or both cooling and heating devices. The method comprises: creating a per capita parametric model of the electricity demand curve as a function of temperature and time for a geographic area in the power generation and distribution network; modeling the residual intraday variations in electricity demand with respect to daily temperature variations from a mean daily temperature; determining the mean residual variation in demand with respect to a time period during the day; iteratively optimizing the residual intraday variations in demand and the mean residual variation in demand by updating variables in the parametric model until the residual error is less than a predetermined threshold value; and determining the per capita electricity demand for the geographic area.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The method may include determining the residual error based on at least one of: a cooling demand function COOL(T,Tavg); a heating demand function HEAT(T,Tavg); a diurnal temperature variation function ITV(T,Tavg); a humidity function HUM(H,Havg,Tavg); a discharge demand function VAC(T,H,Havg); and a calendar impact function CALt, where T is the population-weighted temperature, Tavg is the daily mean temperature, H is the population-weighted humidity, and Havg is the daily mean humidity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The method may include developing a model of the effects of humidity on the electrical demand curve.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The method may include developing a model of the effects of temperature on the electrical demand curve.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The method may include determining the average residual change in demand over a lunar calendar year and a solar calendar year.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The method may include: identifying a distinguishable influence on the remaining intraday changes in demand; creating a set of demand models; and prioritizing the set of demand models based on the amount of contribution to the remaining demand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the method, creating a set of demand models may include parametrically modeling the distinguishable effect of the residual intraday changes in demand to create at least one of the set of demand models.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The method may include applying a seasonal variation function to the remaining intraday changes in demand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The method may include transmitting the electricity demand per capita for the geographic area to a communication device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The method may include estimating the evolution of one or more variables in the parametric model over time.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the method, the estimation of the evolution of one or more variables in the parametric model may involve sliding a window of constant period length in order to optimize the value of the variable of interest while keeping the remaining variables constant.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The method may include applying the specific per capita electricity demand for the geographic area to modify one or more electricity transmission variables at the power plant to adjust the electrical power distributed in the power generation and distribution network.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The method may include supplying the adjusted electrical power to a node in the geographic area.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> According to another embodiment of the disclosure, a system is provided for creating and forecasting an electricity demand model in a power generation and distribution network comprising a plurality of nodes comprising cooling or heating devices. The system includes an electricity demand modeler designed to create a parametric model of the per capita electricity demand curve as a function of temperature and time for a geographic area in the power generation and distribution network, the model's residual intraday variations in demand relative to the intraday variations in temperature from the average daily temperature, determining the average residual demand variation relative to a time period during the day, and iteratively optimizing the residual intraday variations in demand and the average residual demand variation by updating variables in the parametric model until the residual error is below a predetermined threshold value. The system further includes an electricity demand forecaster that transmits the per capita electricity demand model for the geographic area to a communication device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the system, the electricity demand modeler can be configured to determine the residual error based on at least one of: the cooling demand function COOL(T,Tavg); the heating demand function HEAT(T,Tavg); the intraday temperature variation function ITV(T,Tavg); the humidity function HUM(H,Havg,Tavg); the discharge demand function VAC(T,H,Havg); and the calendar impact function CALt, where T is the population-weighted temperature, Tavg is the average daily temperature, H is the population-weighted humidity, and Havg is the average daily humidity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the system, the electricity demand modeler can be configured to model the effects of humidity on the electricity demand curve.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the system, the electricity demand modeler can be configured to model the effects of temperature on the electricity demand curve.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the system, the electricity demand modeler can be configured to determine the average residual demand change over a lunar calendar year and a solar calendar year.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the system, the electricity demand modeler can be configured to: identify a distinguishable impact on intraday variations in remaining demand; create a set of demand models; and prioritize the set of demand models based on the amount of contribution to remaining demand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the system, the electricity demand modeler can be configured to create a set of demand models by parametrically modeling the distinguishable effect of the residual intraday variations in demand to create at least one of the set of demand models.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the system, the electricity demand modeler can be configured to apply a seasonal variation function to the remaining intraday variations in demand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to another embodiment of the disclosure, a non-transitory computer-readable storage medium is provided, storing instructions for modeling and forecasting electricity demand to cause the modeling and forecasting of electricity demand per capita for a region in a power generation and distribution network comprising a plurality of nodes comprising cooling or heating devices. The program instructions comprise the following steps: creating a per capita parametric model of the electricity demand curve as a function of temperature and time for the geographic region in the power generation and distribution network; modeling the residual intraday variations in demand relative to the intraday variations in temperature from the average daily temperature; determining the average residual variation in demand relative to the time period within the day; iteratively optimizing the residual intraday variations in demand and the average residual variation in demand by updating variables in the parametric model until the residual error is below a predetermined threshold value; and determining the per capita electricity demand for the geographic region.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">On a non-transitory computer-readable storage medium, the program instructions may include the additional step of determining the residual error based on at least one of: a cooling demand function COOL(T,Tavg); a heating demand function HEAT(T,Tavg); an intraday temperature variation function ITV(T,Tavg); a humidity function HUM(H,Havg,Tavg); a vacuum demand function VAC(T,H,Havg); and a calendar impact function CALt, where T is the population-weighted temperature, Tavg is the average daily temperature, H is the population-weighted humidity, and Havg is the average daily humidity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In non-transitory computer-readable storage, the program instructions may include a step for modeling the effects of temperature or humidity on the electrical demand curve.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In non-transitory computer-readable storage, the program instructions may include the step of applying the specified per capita electricity demand for the geographic area to modify one or more electricity transmission variables at the power plant to adjust the electrical energy distributed in the power generation and distribution network.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In a non-transitory computer-readable storage medium, a program instruction may include the step of supplying electrical power to a node in the geographic region.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to the non-exclusive technical solution provided in the disclosure, a system, method, and / or computer program is provided for controlling the generation or distribution of electric power in a power generation and distribution network. The technical solution includes establishing and forecasting the electricity demand model in a power generation and distribution network, comprising a plurality of nodes, and controlling the generation or distribution of electric power in one or more regions in the power generation and distribution network. The technical solution includes: establishing a per capita parametric model of the electric power curve as a function of temperature and time for a geographic region in the power generation and distribution network; establishing a model of the residual intraday variations in electric demand relative to the intraday variations in temperature from the average daily temperature; determining the average residual variation in demand relative to a time period during the day; iteratively optimizing the residual intraday variations in demand and the average residual variation in demand by updating variables in the parametric model until the residual error is below a predetermined threshold value; and determining the per capita electricity demand for the geographic region.<h2 style=";text-align:left;direction:ltr">The technical solution may include applying the specified per capita electricity demand for a geographic area to modify one or more electricity dispatch variables at a power plant to adjust the electrical power distributed in the power generation and distribution network. The technical solution may include supplying the adjusted electrical power to a node in the geographic area.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Additional features, characteristics, and embodiments of the disclosure may be apparent or illustrated by reviewing the detailed description and drawings. Furthermore, it should be understood that the foregoing summary of the disclosure, the following detailed description, and the following drawings provide non-exhaustive examples intended to provide further explanation without limiting the scope of the disclosure as claimed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The accompanying drawings, which are included to provide a further understanding of the disclosure, are incorporated into and form part of this complete description. They illustrate models of the disclosure and, together with the detailed description, explain the principles of the disclosure. No attempt has been made to show structural details of the disclosure in more detail than may be necessary for a basic understanding of the disclosure and the various ways in which it may be practiced.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 shows a block diagram of an example of an Electricity Demand Modeling and Forecasting (EDMF) system created according to the principles of the disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 shows a block diagram of the modeling and forecasting module that can be included in the EDMF system in Figure 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 3a-3c illustrate one of the models of the electricity demand and forecasting process that can be implemented by the EDMF system in Figure 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 shows a diagram illustrating examples of cooling and heating demand functions according to the principles of disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 shows a graph showing the breakdown of total electricity demand per capita, according to the principles of disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 shows examples of mean error plots (model demand residuals), according to the detection principles.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 7 shows other examples of mean error plots (model demand residuals), according to the detection principles.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 shows a graph showing another breakdown of total electricity demand per capita, according to the principles of disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9 shows examples of actual versus estimated weekly electricity demand plots before and after adding the calendar effect correction, according to the disclosure principles.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10 shows an example of a plot of electricity demand versus relative temperature, according to the principles of detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 11 shows an example of a plot of electricity demand per degree Celsius versus relative temperature during summer in a geographic area, according to the detection principles.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 12 shows another example of a plot of electricity demand versus relative temperature, according to the principles of detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 13 shows an example of a plot of electricity demand per degree Celsius versus relative temperature during winter in a geographical area, according to the detection principles.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 14 shows an example of a plot of electricity demand per degree Celsius versus relative temperature, with small seasonal deviations from the mean temperature, according to the detection principles.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 15 shows an example of a plot of electricity demand per degree Celsius versus relative temperature, with large seasonal deviations from the mean temperature, according to the detection principles.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 16 shows an example of the film function curve required for cooling, according to the principles of detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 17 shows an example of the film function curve required for heating, according to the principles of detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 18 shows an example of a cooling saturation film function curve, according to the principles of detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 19 shows an example of a heating saturation film function curve, according to the principles of detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 20 shows an example of an integrated cooling film function curve, according to the principles of disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 21 shows an example of an integrated heating film function curve, according to the principles of detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 22 illustrates an example of a combined day-to-day membrane function plot of the percentage change of combined cooling and heating demand with respect to temperature, according to the detection principles.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 23 illustrates an example of a humidity demand modeled based on a humidity function, according to the principles of detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 24 shows an example of a dump request modeled based on the dump request function, according to the heuristics.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 25a and Figure 25b illustrate an example of a table that can be determined based on the lunar calendar correction function, according to the principles of detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 26a and Figure 26b illustrate an example of a table that can be determined based on the solar calendar correction function, according to the principles of detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The current disclosure is also explained in the following detailed description.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The disclosure, its various features, and its useful details are further illustrated with reference to the non-exhaustive embodiments and examples described or illustrated in the accompanying drawings and detailed in the following description. It should be noted that the features illustrated in the drawings are not necessarily drawn to scale, and features of one embodiment may be interchanged with others, as those skilled in the art will recognize, even if not expressly stated. Descriptions of well-known components and processing techniques may be omitted so as not to unnecessarily obscure embodiments of the disclosure. The examples are intended only to facilitate understanding of the ways in which the disclosure may be practiced and to enable those skilled in the art to practice embodiments of the disclosure. Accordingly, the examples and embodiments should not be construed as limiting the scope of the disclosure. Furthermore, it is noted that similar reference figures represent similar parts in the several views of the drawings.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Accurate electricity demand forecasting can be elusive, and accurate load forecasting can be nearly impossible with current state-of-the-art modeling methods. Existing electricity demand forecasting models tend to use neural networks fed input data for all forecasted causes. While these modeling methods can accurately predict electricity demand, they have limited explanatory power. Neural networks inherently provide no clarity on the parametric modeling implemented for each of the electricity demand causes for a given area.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> There is an urgent and unmet need for an electricity demand modeling and forecasting solution that can provide an accurate electricity demand model that can accurately predict the electricity load as a function of one or more causes, while simultaneously providing clarity on the significance and impact of each cause on the overall electricity demand model for each area. The present disclosure provides such an electricity demand modeling and forecasting solution, which comprises a modeling and forecasting system, a method, and a computer program.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to one non-exclusive embodiment of the disclosure, given temperature, humidity, and daily electricity demand data for a given geographic area, the disclosed electricity demand modeling and forecasting solution may be applied to understand and model the impact of weather-related and non-weather-related causes on electricity demand for that area. The modeling and forecasting solution may comprise modeling high-level attributes of electricity demand, which may be due to base load as well as any heating or cooling requirements, and then modeling any residual demand. The solution may further comprise identifying the primary cause of the residual and creating a parametric or non-parametric model of the effect of that cause on electricity demand. This residual demand modeling process may be repeated iteratively until all primary causes are identified and any residual demand is small or negligible, or until no patterns or attributes are found in any residual demand for further causes to be identified, where any residual residuals may be assumed to be due to noise or natural statistical variations.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In addition to the heating and cooling effects, the solution can take into account other weather-related factors, including, for example, intra-day temperature variations, intra-day humidity variations, intra-day wind speed direction variations, intra-day cloud cover variations, inter-day temperature variations, inter-day humidity variations, inter-day wind speed direction variations, intra-day cloud cover variations, or any other weather-related conditions that could affect electricity demand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The solution can take into account non-weather-related factors such as, for example, population size, energy costs, economic activity, and human behavior patterns, which can depend, for example, on the time of day, day of the week or month, month of the year, holidays, religious holidays, or any other special event.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A non-exhaustive version of the modeling and forecasting solution could include creating a forecasting model that incorporates calibration based on hourly and per capita frequency, and covers historical data over long time periods such as one, two, five, ten, or more years. The solution could provide an accurate quantitative estimate of the impact of factors such as weather, energy costs, economic activity, human behavior, and population on aggregate electricity demand over a given period. The solution could provide clarity on the factors that could influence the growth (or contraction) of local electricity demand. The solution could also model the expected effects on electricity demand due to factors such as political decisions, environmental conditions, or other changes that could affect the causes of electricity demand in a geographic area. By tracking changes in observed electricity demand, the solution could measure how the variables in the model might change, as well as the causes that might change over time.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 1 illustrates a block diagram of an Electricity Demand Modeling and Forecasting (EDMF) system, according to the disclosure principles. The EDMF system 1 includes a set of data sources 10, a preprocessing unit 20, and a modeling and forecasting unit 30. The data sources 10 may include, for example, a satellite 2, a database 4, a service unit 6, or a sensor 8. The preprocessing unit 20 may convert the received data 10a to 10d, as well as other data (such as, for example, population, calendar, weather, electricity demand, or other relevant data) from its original form, format, or protocol into an form, format, or protocol used in the modeling and forecasting unit 30. The EDMF system 1 may be connected to the power generation and distribution (PGD) grid 40. The data sources 10 may be located in the GPD grid 40, or may be located outside the GPD grid 40, as can be seen in Figure 1.<h2 style=";text-align:left;direction:ltr">The EDMF 1 system can receive weather data 10a, electricity demand data 10b, economic data 10c, or end-user data 10d from data sources 10 and generate an electricity demand model for a portion of the PGD40 grid or for the entire grid. The generated demand model can accurately describe and forecast electricity demand in the PGD40 grid over an extended period of time, ranging from seconds to ten (10) years or more in the future.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Satellite 2 may, for example, include a weather satellite, weather balloon, aircraft, or any other communication device that can provide real-time data relating to weather conditions for a geographic area.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Database 4 may contain historical data for one or more geographic regions. Database 4 may be located in EDMF 1. Database 4 may contain a set of related databases.<h2 style=";text-align:left;direction:ltr">The database 4 may include a set of searchable data fields, for example, a geographic location (e.g., Global Positioning System (GPS) coordinates), data, time, weather conditions (e.g., temperature, pressure, humidity, wind speed, wind direction, visibility, solar radiation intensity), economic conditions (e.g., employment statistics, market conditions, GDP value, currency exchange rates), energy costs (e.g., cost per kilowatt-hour (kWh), cost per liter), demographics (e.g., population statistics broken down by age, sex, nationality, education level, occupation, marital status), events that affect human behavior (e.g., holidays, vacation events, academic events, government events, calendar events, or any other events that can affect human behavior).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Service unit 6 may, for example, include an educational institution's server, a government service unit, an electric company or utility service unit, a commercial service unit, an industrial organization's server, a commercial organization's server, a regional government agency's server, or any other computing device that can provide weather data, electricity usage data, electricity demand data, economic data, population data, calendar data, and data related to any other causes of electricity demand for the geographic area. Service unit 6 may host a website accessible by EDMF system 1, or Service unit 6 may stream data to EDMF system 1 to continuously (or periodically) provide the latest data to EDMF system 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Sensor 8 may include any of a variety of sensors placed within the geographic area of ​​the PGD 40 network. Sensor 8 may include a communication device. Sensor 8 may include a sensor (not shown) that can measure weather conditions such as, for example, temperature, pressure, humidity, precipitation, moonlight intensity, solar radiation intensity, wind speed, and wind direction. Sensor 8 may include a sensor that can measure voltage, current, resistance, power factor, and electricity usage at each node in the PGD 40 network supplied by Sensor 8. Sensor 8 may include, for example, a smart meter.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Although it is clearly stated as separate from the PGD 40 network, the EDMF 1 system can be placed in the PGD 40 network. The EDMF 1 system can be integrated into the PGD 40 network.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The EDMF system 1 may receive weather data 10a from any data source 10, which includes, for example, the satellite 2, the database 4, the service module 6, or the sensor 8. The received weather data 10a may include real-time weather data for one or more geographic regions. The received weather data 10a may include historical data. The received weather data 10a may include computer weather forecast model data, including model data received from numerical weather prediction (NWP) models, the Canadian model, the European Centre for Medium-Range Weather Forecasting (ECMWF) model, the NCEP model, the RAP model, the SREF model, or any other model data received from data sources, such as, for example, local weather services, the National Oceanic and Atmospheric Administration (NOAA), or AccuWeather.com.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A PGD 40 network can include a power generation unit network (not shown) and power transmission and distribution networks (not shown). A PDG 40 network can include a communication network (not shown), or it can be connected to a communication network (not shown). In a PGD 40 network, power generation units can generate electricity that can be transmitted by power transmission and distribution networks to a set of end-user nodes within a geographic area. The geographic area can be as small as a building (such as, for example, an apartment building, a commercial building, an industrial building or plant, a government building, a school building, a hospital building, a server farm, a data center, or any structure that can receive electricity) or as large as a country or continent.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In a non-exhaustive example, the power transmission and distribution networks (not shown) in the PGD 40 grid may include substations, step-up transformers, long-distance power transmission lines, step-down transformers, power distribution lines, and any other components that facilitate the transmission of electricity from power producers to end users within the geographic area. The PGD 40 grid may include one or more local power transmission or distribution networks that can be connected for reliability and commercial purposes, which can be formed into larger, more reliable networks to enhance the coordination and planning of electricity supply to meet real-time and forecasted electricity demand for the geographic area.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The EDMF system 1 may receive electricity demand data 10b from the PGD 40 network. The electricity demand data 10b may include real-time electricity usage data from one or more power generation units (not shown) in the PGD 40 network. The real-time electricity usage data may be received from a set of sensors 8, which may include smart meters distributed at end-user nodes throughout the PGD 40 network. For example, each end-user node (e.g., residential, commercial, educational, healthcare, government, transportation, agricultural, or manufacturing) may include a sensor 8 (e.g., a smart meter) that measures and monitors the entire inward flow of electricity to the associated node, as well as the entire outward flow of electricity from the node in the case where the end-user node includes an electricity generator such as, for example, a solar inverter, a wind turbine, or a hydro turbine.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The communication network (not shown) can include a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a personal area network (PAN), a restricted area network, a corporate area network, a global area network (GAN), a broadband area network (BAN), a cellular network, or the Internet, any of which can be configured to transmit data over a wireless or wired communication medium. The communication network (not shown) can run any of a variety of protocols including, for example, TCP / IP, IRC, or HTTP. The communication network (not shown) can facilitate communication within the PGD network 40, as well as communication between nodes in the PGD network 40 and nodes located outside the PGD network 40. The EDMF system 1 can communicate with data sources 10 via the communication network (not shown).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The EDMF System 1 may receive economic data 10c from the database 4 or service unit 6, which may be maintained by an entity such as, for example, a local government agency, an educational institution, an industrial organization, a commercial organization, an information supplier, or any other entity that can provide economic data relevant to the geographic area for which model preparation and forecasting by the EDMF System 1 is desired.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Similarly, the EDMF 1 system can receive 10D end-user data for a geographic area from any number of data sources, such as, for example, a government agency, an industrial organization, an educational institution, or the end users themselves. 10D end-user data can include demographic data for the population (for example, population statistics broken down by age, gender, nationality, education level, occupation, marital status) and data on events that influence human behavior (for example, holidays, vacation events, academic events, governmental events, calendar events, or any other events that can influence human behavior).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The EDMF 1 system can create an electricity demand model for the PGD 40 grid, which can accurately and comprehensively forecast electricity demand for the geographic area within the PGD 40 grid. The EDMF 1 system can incorporate historical analysis, strategic planning, and decision-making. The EDMF 1 system can quantify the influence of factors such as weather, energy costs, population, economic conditions, government policies, tax policies, user behavior, and any other factors that can affect electricity demand in the geographic area, and provide clarity on the causes and their quantitative impact on electricity demand in the geographic area. The EDMF 1 system can generate electricity demand forecasts at a granular level, such as hourly electricity consumption broken down by weather, energy costs, economic events, and human behavioral components of electricity demand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The electricity demand model generated by the EDMF 1 system can be used to forecast future electricity demand in the PGD 40 network. The generated electricity demand model can be transmitted to the communication device 45 in the PGD 40 network or evaluated by the communication device 45, so that corrective action can be taken to address the predicted electricity demand in the area. The communication device 45 can be located, for example, at a power generation unit or a substation in the PGD 40 network. The communication device 45 can be configured to monitor electricity usage in a part of the PGD 40 network or the entire network and control the electricity supply to nodes in the PGD 40 network. The communication device 45 can be configured to monitor and control the electricity transmission parameters of the distributed electricity in the PGD 40 network. The communication device 45 can be configured to switch on or bring additional generators on line when demand increases, or to shut down off-grid generators when demand decreases.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 2 illustrates a block diagram of a modeling and forecasting unit (MAF) 30 constructed in accordance with the principles disclosed. The MAF 30 may include a preprocessing unit 20 (shown in Figure 1). The MAF 30 may include a graphics processing unit (GPU) 110, a read-only memory (ROM) 120, a random-access memory (RAM) 130, a disk drive (DD) 140, a network interface 150, an input-output (I / O) interface 160, audio and video drivers 170, an electricity demand modeler 180, and an electricity demand forecaster 190, each of which may be connected to the backbone network B. Components in the MAF 30 may be connected to the backbone network B via one or more communication links. The MAF 30 can be included in one or more service units (not shown), which can be located inside or outside the PGD 40 network (shown in Figure 1).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The GPU 110 can be any of several commercially available processing units. Small, dual-core processors and other multi-processing unit architectures can be used as the GPU 110. The GPU 110 can also be a central processing unit (CPU).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The MAF unit 30 may include a computer-readable medium that can hold executable or interpretable computer code (or instructions) that, when executed by the GPU 110, the electricity demand modeler 180, or the electricity demand forecaster 190, causes the steps, operations, and methods described in this disclosure, including the operation 200 (illustrated in Figures 3A to 3C). The computer-readable medium may be included in the ROM 120, the RAM 130, the DD 140, or an external computer-readable medium connected to the MAF unit 30 via the network interface 150 and / or the I / O interface 160. The computer-readable medium may include sections of computer code that, when executed by the GPU 110, the electricity demand modeler 180, or the electricity demand forecaster 190, cause the operation 200 (illustrated in Figures 3A-C) to be executed, and all other steps of the operation described or illustrated in this disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The basic input / output system (BIOS) may be stored in non-volatile memory in the MAF 30, such as, for example, ROM 120. The ROM 120 may include ROM, erasable programmable read-only memory (EPROM), or electrically erasable programmable read-only memory (EEPROM). The BIOS may contain basic programs that assist in transferring information between computing resources within the EDMF 30, for example during startup.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The RAM 130 may include high-speed RAM such as static RAM for temporary data storage, a parallel random access machine, or any random access storage. The RAM 130 may include non-volatile RAM (NVRAM), solid-state drive (SSD) storage, or packet protection (BB) circuit storage.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The disk drive (DD) 140 may include a hard disk, such as, for example, an enhanced electronic integrated drive (EIDE) disk, a serial advanced ATA (SATA) disk, or any other high-capacity fast hard disk that may be available and is suitable for the application of the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The DD 140 can include an optical drive that can read from / write to a CD-ROM (not shown), or read from or write to other high-capacity optical media such as a digital video disc (DVD). The DD 140 can be configured for external use in a suitable chassis (not shown). The DD 140 can be connected to a backbone network via a hard disk drive (HDD) interface (not shown) and an optical drive interface (not shown), respectively. The hard disk drive interface (not shown) can include a universal serial bus (USB) (not shown) or an IEEE 1394 interface (not shown) for external applications.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The DD 140 and associated computer-readable media can provide non-volatile storage of data, data structures, or computer-executable instructions. The DD 140 can accommodate storage of any data in a suitable digital form. The DD 140 can include one or more applications that are used to implement aspects of the architecture described in this disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A variety of program modules may be stored in the DD 140, ROM 120, or RAM 130, including an operating system (not shown), one or more application programs (not shown), application program interfaces (APIs) (not shown), program modules (not shown), or program data (not shown). Any (or all) of the operating system, application programs, APIs, program modules, or program data may be temporarily stored in the RAM 130 as executable segments of computer code.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The network interface 150 can be connected to the PGD network 40 (illustrated in Figure 1), the data sources 10 (illustrated in Figure 1), or a communications network (not shown). The network interface 150 can include a wired or wireless communications network interface (not shown) or a modem (not shown). When connected in a local area network (LAN), the MAF 30 can be connected to the LAN via the wired or wireless communications network interface; when connected in a wide area network (WAN), the MAF 30 can be connected to the WAN via a modem. The modem (not shown) can be internal or external and wired or wireless. The modem can be connected to the backbone network B via, for example, a serial port interface (not shown).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The I / O interface 160 may receive commands and data from, for example, an operator via a user interface device (not shown), such as, for example, a keyboard (not shown), a mouse (not shown), a pointer (not shown), a loudspeaker (not shown), a speaker (not shown), or a display (not shown). The commands and data received may be forwarded to the GPU 110, the electricity demand modeler 180, or the electricity demand forecaster 190 from the I / O interface 160 as instruction and data signals via the underlying network B.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The audio and video drivers 170 may include a graphics driver (not shown), a video adapter (not shown), a video card (not shown), a sound card (not shown), or any other device necessary to render an image signal on a display device or an audio signal on an audio reproduction device (e.g., a speaker). The audio and video drivers 170 may include interactive voice response (IVR) technology.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The network interface 150 may include a synthetic data analyzer (not shown) or the synthetic data analysis process may be performed by the GPU 110. Data received from the network interface 150 may be transmitted to the GPU 110, the electricity demand modeler 180 or the electricity demand forecaster 190. The network interface 150 may facilitate communication between the electricity demand modeler 180 or the electricity demand forecaster 190 and computing resources placed outside the EDMF unit 30, such as, for example, computing resources placed in the PGD network 40 (illustrated in Figure 1). The network interface 150 can handle a variety of communication formats, protocols, or data packets, including conversion from one or more communication formats, protocols, or data packets used by the data sources 10 (illustrated in Figure 1) to communication formats, protocols, or data packets used by the EDMF module 30.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The electricity demand modeler 180 may include a computing device or be embedded in a computing device as a module. The electricity demand modeler 180 may include a machine learning model such as, for example, an artificial neural network (ANN), a convolutional neural network (CNN), a recurrent neural network (RNN), a distributed neural machine (NTM), a differential neural computer (DNC), a support vector machine (SVM), or a deep learning neural network (DLNN). The electricity demand modeler 180 may analyze data received from various data sources 10 (illustrated in Figure 1), such as, for example, weather data 10a, electricity demand data 10b, economic data 10c, and end-user data 10d, and create a model that accurately describes the electricity demand for a geographic area.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The electricity demand forecaster 190 may include a computing device or be embedded in a computing device as a module. The electricity demand forecaster 190 may be integrated with an electricity demand modeler 180. The electricity demand forecaster 190 may include a machine learning model such as, for example, an ANN, CNN, RNN, NTM, DNC, SVM, or DLNN. The electricity demand forecaster 190 may, for example, reference an electricity demand model created by the electricity demand modeler 180 for the geographic area in the PGD network 40 (illustrated in Figure 1) and output an electricity demand forecast for any future date or time for the area. The electricity demand forecaster 190 may include a reporting module (not illustrated) that can receive a date, a date and time range, or a time range and generate an electricity demand report for the period. The electricity demand forecaster 190 may initiate the report by sending, for example, the communication device 45 in the PGD network 40 (illustrated in Figure 1).<h2 style=";text-align:left;direction:ltr">The report may be generated and sent to the communication device 45 for display using the graphical user interface (not shown) in the communication device 45. The report may be generated and displayed on the display device (not shown) in the EDMF system 1 (shown in Figure 1) via, for example, the audio / video drivers 170 or the I / O interface 160. Figures 4-26B illustrate examples of charts or data tables that may be generated and presented by the electricity demand forecaster 190.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figures 3A to 3C illustrate one embodiment of the electricity demand forecasting process 200 that can be performed by, for example, the MAF module 30. However, before describing the process 200, a brief description follows regarding the selections that can be made by the MAF module 30, or more specifically the electricity demand modeler 180 (illustrated in Figure 2) that can be included in the modeling and forecasting module 30. The electricity demand modeler 180 can forecast the per capita electricity demand E for the geographical area in the PGD network 40 (illustrated in Figure 1), which can be transmitted, for example, to the communication device 45 to modify the electricity transmission variables for the distributed electrical energy in the PGD network 40, including modifying one or more setpoints in the automatic production control (AGC) system (not shown) at one or more power plants (not shown), resulting in Thus, to adjust the power output to the end users in the PDG 40 network.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to a non-exhaustive embodiment, the MAF module 30 may be configured to analyze the received weather data 10a, electricity demand data 10b, economic data 10c, and end-user data 10d (illustrated in Figure 1) and prepare a per capita electricity demand model e for the geographical area in the PGD network 40 (illustrated in Figure 1). The input data (e.g., weather, population, and demand data) may be cleaned and interpolated (e.g., applying spatio-temporal interpolation techniques) before being analyzed by the MAF module 30. The MAF module 30 may prepare a model for each variable that could affect the per capita electricity demand e, which can be determined according to the following equation (1):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">where BASE(t) is the maximum base load electricity demand as a function of time t; erw is the weather-specific growth rate as a function of time t (hourly); COOL(T,Tavg) is the cooling demand; HEAT(T,Tavg) is the heating demand; ITV(T,Tavg) is the correction for intraday temperature variation; HUM(H,Havg,Tavg) is the "feel-like" correction for humidity; VAC(T,H,Havg) is the holiday "severe weather" correction; CALt is the weekly, lunar, and solar calendar correction; T is the population-weighted temperature; Tavg is the average daily temperature; H is the population-weighted humidity; Havg is the average daily humidity; and t is time (e.g., hourly).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">If, as is often the case, weather and population data are available for subregions of the region in question (for example, for countries within a given country), they can be combined to produce population-weighted temperature and humidity data for the entire region. Using population-weighted temperature and humidity data can lead to a more accurate model of electricity demand than using data from a single weather station or simple logical averages of weather data, since electricity consumption is typically concentrated in population centers. Population-weighted temperature and humidity data can also be used to develop future weather and population forecasts (the range of possible methodologies is not limited here) that can be used as inputs for future electricity demand forecasts.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Data sources can often have quite variable coverage of the area in question—for example, there are only about 50 weather stations recorded in the NOAA data source for all of Saudi Arabia, which doesn't provide particularly even coverage of the region—and there can be large numbers of data gaps that vary in length from one to two hours, to periods of weeks or months. There are standard methods that can be used to deal with these issues, as those familiar with the technology will understand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When developing a national electricity demand model, weather data may be received from a relatively small number (e.g., 40) of weather stations spread across the country. Electricity is likely to be consumed primarily in population centers (e.g., large cities / industrial areas), and therefore the weather in these population centers may be given greater weight (e.g., proportional to their population) as input to the model. It is often the case that populated areas do not have a weather station directly associated with them, and therefore a method is needed to estimate the weather at these locations. One way to do this is to use data from the nearest weather station (e.g., by the shortest route) as a proxy, or one can use more sophisticated methods that combine data from several nearby stations to arrive at an improved estimate.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The maximum base load demand (BASE(t)) can be the demand that always exists in the area, regardless of changes in weather conditions. In other words, the maximum base load demand (BASE(t)) is independent of the weather. The maximum base load demand (BASE(t)) can be determined based on the following equation (2):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (2)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> where Db is the base load electricity demand and erb is the base load growth rate (hourly) as a function of time t (hours).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The cooling demand COOL(T,Tavg) can represent, for example, the cooling demand of a cooling device (e.g., air conditioning (AC)) and the degradation of the cooling efficiency, which can be determined based on the following equation (3):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (3)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Where Dc is the primary cooling electrical load; mc is the linear cooling efficiency degradation coefficient; Troom is the effective room temperature; qc is the quadratic cooling efficiency degradation coefficient; ac is the cooling absorption coefficient; and Tc is the average cooling temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The heating demand HEAT(T,Tavg) can represent the demand of a heating device (e.g., a heating boiler, a heat pump, an electric radiator, an electric stove) and the degradation of its heating efficiency. The heating demand can be determined based on the following equation (4):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (4)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> where Dh is the primary heating load; mh is the linear heating efficiency degradation coefficient; ah is the heating absorption coefficient; and Th is the average heating temperature. Note that a quadratic heating efficiency degradation coefficient can also be added. This may not be particularly necessary in warm countries such as Saudi Arabia, where heating appliances tend to be portable and of the simple "on-off" type, but it can be appropriate in colder countries such as Scotland or Canada, where buildings often have central, temperature-controlled heating.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 4 shows a plot illustrating examples of cooling and heating demand functions determined using Equations (3) and (4). As shown in the plot, the cooling demand COOL(T,Tavg) is determined to be zero or near zero (0) for temperatures below about 17°C, after which it increases to about 1 kWh. On the other hand, the heating demand HEAT(T,Tavg) is determined to be about 0.5 kWh at -10°C, decreasing according to the curve in Figure 4 to about 0 Wh when the temperature exceeds 25°C.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 5 shows a plot illustrating an example of a breakdown of total electricity demand per capita, including an example of each modeled (or high-level) component attribute, versus temperature for the modeled cooling demand function. As illustrated, the high-level attributes that are modeled can include actual data (“data”), estimated electricity demand E (“estimate”), growth rate (“err”), BASE(t) (“base”), COOL(T,Tavg) (“cooling”), HEAT(T,Tavg) (“heating”), ITV(T,Tavg) (“intraday temperature variations”), and CALt (“weekly behavior”). The modeled cooling demand function (excluding heating at the moment), along with the base load, can produce the estimated electricity demand shown in Figure 5. The diagram shows an overall estimate as well as a breakdown of this estimate where the cooling and base load functions are turned on. Additional terms such as heating, intraday temperature variations, and weekly behavior are assumed to be turned off for simplicity, but are considered turned on in the discussions below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 6 shows a pair of plots of examples of the mean error (residual of model demand) in terms of estimated per capita electricity consumption in watt-hours (Wh). The top plot is an example of the mean error (residual of modeled demand) plotted against the hour of the day. The bottom plot is an example of the mean error (residual of modeled demand) plotted against the hour of the week.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 plots a pair of examples of the average error (model demand residuals) in terms of the estimated electricity consumption per capita (watt-hours) over a weekday before and after the weekend shift (i.e., with a Sunday start to the week). As can be seen in the plots, where the geographic area shifted to Friday and Saturday from Thursday and Friday (assuming a Sunday start to the week), the demand residuals can be observed to be behaviorally dependent. To address the overestimations, a calendar effect function (CALt) can be defined that takes into account the correction for human behavior. The calendar effect function (CALt) can be defined based on the following equations (5) and (5.1) to (5.3):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">CALt = CALw + CALl + CALs (5)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> CALw = f(T,tw) (5.1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> CALl = f(tl) (5.2)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> CALs = f(ts) (5.3)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> where CALw is the weekly correction function, CALl is the lunar calendar correction function, tw is the solar calendar correction function, tl is the hour of the week, tl is the hour of the lunar calendar year, and ts is the hour of the solar calendar year. This correction method can provide an average over the estimated demand residuals in a given time period. For example, in a weekly correction function, the average error for a given hour of the week and a given temperature can be determined within a reasonable range.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The average residual changes over the lunar and solar year can be determined, and the results can be related to known holiday periods (e.g., spring break, summer holidays, Christmas holidays, or Eid holidays), religious events (e.g., Hajj, Ramadan, Easter), and special events (e.g., national days, World Cup finals, Miss World pageant, or Olympic Games) to derive parametric models of their respective effects.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 shows a plot of an example of a breakdown of total electricity demand per capita, including an example of each modeled component, versus temperature for the baseline, cooling, AC degradation, and weekly demand functions. Similar to the plot in Figure 5, modeled components can include actual data, estimated electricity demand, growth rate, baseline, cooling, heating, diurnal temperature variations, and weekly behavior.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 9 shows a pair of examples of actual versus estimated weekly electricity demand (watt-hours) before and after adding the calendar correction (CALt). The top chart shows a plot of actual versus estimated weekly demand, without the calendar correction (CALt), against the hour of the week for a week beginning after 56.075 and ending before 56.255 for the calendar year. Note that in this example, hour zero could correspond to midnight on January 1, 2010. The bottom chart shows a plot of actual versus estimated weekly demand, with the calendar correction (CALt), against the hour of the week for the same week.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The correction term for the intraday temperature variation ITV(T,Tavg) can be considered to separate the behavior-dependent periodicity from the weather-dependent periodicity. There can be an interaction between ITV(T,Tavg) and the weekly calendar terms CALt, and there can be periodic intraday variations due to both temperature fluctuations and the behavior of humans commuting, for example, between home and work. The intraday variations can be determined based on the following equation (6):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">ITV(T,Tavg) = (S'min + (S'max – S'min)tanh2(a'(T – Tavg )))(T – Tavg)(Ecs(T)(1 – Ec(Tavg)) + RchEhs(T)(1 – Eh(Tavg))) (6)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> where Rch is the ratio of heating demand to cooling demand, S' is the seasonal sensitivity (e.g., the sensitivity of the human body) to diurnal temperature variation, Ecs is the cooling envelope function (which represents the system's (e.g., the human's) ability to react to diurnal temperature variations related to cooling), Ehs is the heating envelope function (which represents the system's (e.g., the human's) ability to react to diurnal temperature variations related to heating), a' is the seasonal sensitivity coefficient of variation, Ec is the cooling coefficient, and Eh is the heating coefficient.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The seasonal sensitivity to temperature change during the day can be determined based on the first half of Equation (6), specifically Equation (7) as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (S'min + (S'max – S'min)tanh2(a'(T – Tavg )))(T – Tavg) (7)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The ability of the system to reach this temperature change, due to its sensitivity, can be determined by the second half of equation (6), specifically the following equation (8):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (Ecs(T)(1 – Ec(Tavg)) + RchEhs(T)(1 – Eh(Tavg))) (8)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Taking a deeper look at the relationship expressed in Equation (7), after setting up the basic electricity load model, including the cooling and heating components, the remaining demand can be determined as a function of temperature change.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10 shows an example plot of electricity demand (watt-hours) versus relative temperature (°C), along with an example of diurnal temperature variations as defined by Equation (10), where S'max is greater than S'min. The plot shows an example of diurnal temperature variation ITV(T,Tavg) (without the envelope) versus T – Tavg during the summer in a geographic region. To determine the functional form of the plot in Figure 10, the slope of diurnal temperature variations can be plotted against relative temperature, such as, for example, during the summer in a geographic region.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 11 shows an example plot of electricity demand per degree Celsius (°C) versus relative temperature during the summer in a geographical region. The plot includes an example of the slope of the daily temperature variation ITV versus T – Tavg during the summer in a geographical region. The seasonal sensitivity variation coefficient a' relates to the spread of the slope in the curve, as shown in Figure 11. The smaller the value of a', the wider the slope. As can be seen in Figure 11, the curve, which is plotted based on a determination using Equation (10), has a minimum seasonal sensitivity value S'min of 2 in this example (S'min = 2) and a maximum seasonal sensitivity value S'max (S'max = 7).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 12 shows an example plot of electricity demand (watt-hours) versus relative temperature (°C), and an example of diurnal temperature variations as determined by Equation (10), where S'max is less than S'min. The plot includes an example of diurnal temperature variation ITV(T,Tavg) versus T – Tavg during the winter in the geographic region. To determine the functional form of the plot in Figure 12, the slope of diurnal temperature variations can be plotted against relative temperature, such as, for example, during the winter in the geographic region.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 13 shows an example plot of electricity demand per degree Celsius (°C) versus relative temperature during winter in a geographical region. The plot includes an example of the slope of the daily temperature variation ITV versus T – Tavg during winter in a geographical region. The seasonal sensitivity coefficient a' relates to the spread of the slope in the curve, as shown in Figure 11. The larger the value of a', the narrower the slope. As can be seen in Figure 13, the curve, which is plotted based on a determination using Equation (7), has a minimum seasonal sensitivity value S'min of 6 in this example (S'min = 6) and a maximum seasonal sensitivity value S'max (S'max = 3).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The minimum and maximum of the seasonal sensitivity functions S'min, S'max, and the seasonal sensitivity coefficient of variation function a' can be determined based on the following equations (9.1) to (9.3):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (9.1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (9.2)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (9.3)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">where Wmin is the minimum diurnal temperature sensitivity in winter, Wmax is the maximum diurnal temperature sensitivity in winter, Smin is the minimum diurnal temperature sensitivity in summer, Smax is the maximum diurnal temperature sensitivity in summer, Tspring is the effective spring temperature, a1win is the diurnal sensitivity variation coefficient in winter, a1sum is the diurnal sensitivity variation coefficient in summer, and a0 is the seasonal sensitivity variation coefficient. The parameter a0 can specify how slowly (if a0 is small) or how quickly (if a0 is large) the S'min(Tavg) and S'max(Tavg) curves interpolate from their initial and final values ​​as the season changes from winter to summer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figures 14 and 15 show examples of winter-to-summer Wmax – Smin and Wmin – Smax interpolations using Equations (9.1) and (9.2), respectively. As can be seen in the plots for this example, the latter interpolation based on Equation (9.2) (shown in Figure 15, going from Wmin = 3 to Smax = 7) changes much more rapidly, with larger seasonal deviations from the mean temperature, than the former interpolation based on Equation (9.1) (shown in Figure 14, going from Wmax = 6 to Smin = 5), which has smaller seasonal deviations from the mean temperature for the geographic region.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The winter and summer diurnal sensitivity changes function a'(Tavg) can be interpolated from a1win to a1sum in the same way that S'min(Tavg) and S'max(Tavg) are interpolated from their initial values ​​to their final values ​​when the season changes from winter to summer, shown in Figures 14 and 15.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The ability of the system Ecs(T) to reach a temperature change, due to its sensitivity, can be determined based on the combination of equations relating to cooling (9.4) and (9.5) and equations relating to heating (9.6) and (9.7):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (9.4)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">(9.5)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> _(9.6)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (9.7)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> where acs is the cooling start absorption coefficient, Tcs is the cooling start temperature, ac is the cooling saturation coefficient, Tc is the cooling saturation temperature, ahs is the heating start absorption coefficient, Ths is the heating start temperature, ah is the heating saturation coefficient, and Th is the heating saturation temperature. Equations (9.4) and (9.6) can describe the cooling and heating needs of a system (e.g., a human), respectively, and Equations (9.5) and (9.7) can describe the cooling and heating capacity of a system, respectively.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 16 and 17 show examples of the cooling saturation envelope function curve Ecs(T) and the heating saturation envelope function curve Ehs(T), respectively; Figures 18 and 19 show examples of the cooling saturation envelope function curve Ec(Tavg) and the heating saturation envelope function curve Eh(Tavg), respectively.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As seen in Figure 16, the system's cooling demand, as represented by the Ecs(T) curve, can increase from a percentage of cooling demand saturation of about 0% at 0°C to about 100% at about 30°C. In other words, as the ambient temperature increases from 0°C to 50°C, the system's cooling demand also increases.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> On the other hand, as seen in Figure 17, the system's heating demand, as represented by the Ehs(T) curve, can decrease from a percentage of heating demand saturation of about 100% at 0°C to about 0% at about 35°C. In other words, as the ambient temperature increases from 0°C to 50°C, the system's heating demand decreases.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The cooling saturation envelope function curve (1 – Ec(Tavg)), which represents the cooling capacity of the system, shows that Equation (9.5) can contribute significantly only during hot days, as seen in Figure 18. In the example shown in Figure 18, the largest demand changes occur in the range from about 20°C to about 37°C.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The heating envelope function curve (1 – Eh(Tavg)), which represents the heating capacity of the system, shows that Equation (9.7) can contribute significantly only during cold days (e.g., T < 10 °C), as seen in Figure 19. In the example shown in Figure 19, the temperature starts at 0 °C because, in this example, the geographical area is placed in a hot climate. In this example, the largest demand changes occur in the range from about 0 °C to about 20 °C. The cooling functions Ecs(T) and (1 – Ec(Tavg)) can be combined together (e.g., separately for each season) to define a joint cooling envelope function Ecs(T)(1 – Ec(Tavg)), which can be determined as in Equations (9.4) and (9.5).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 20 shows an example of a combined cooling envelope function curve (Ecs(T)(1 – Ec(Tavg))), which shows the percentage change in cooling demand as a function of temperature. As shown in this example, the cooling demand change can be large for temperatures in the range between about 15 °C and about 45 °C. The heating functions Ehs(T) and (1 – Eh(Tavg)) can be combined together (e.g., separately for each season) to determine the combined heating envelope function Ehs(T)(1 – Eh(Tavg)), which can be determined as in Equations (9.6) and (9.7).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> By combining both the joint cooling envelope function (Ecs(T)(1 – Ec(Tavg))) and the joint heating envelope function (Ehs(T)(1 – Eh(Tavg))), the joint diurnal envelope function can be determined (e.g., Eq. (8)), as in Eqs. (9.4) to (9.7).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 22 shows an example of a combined diurnal envelope function plot (Ecs(T)(1 – Ec(Tavg)) + RchEhs(T)(1 – Eh(Tavg))) for the percentage variation of the combined cooling and heating demand with respect to temperature. This example has a small heating-to-cooling ratio value Rch because the geographic area is located in a hot climate. As the example in Figure 22 shows, systems can have a higher reactivity at moderate temperatures because, for example, it is unlikely that all ACs will be operating at full capacity. Conversely, at extremely high temperatures, ACs are likely to be saturated because they are often set too high and cannot be cooled further. Similarly, for extremely cold temperatures, heaters are likely to be saturated because they are often set too high and cannot be heated further.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Humidity can have a significant impact on electricity demand. The effect of humidity can be factored into electricity demand estimation. The "feel-like" correction for humidity, HUM(H,Havg,Tavg), can be determined based on Equation (10):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (10)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">where SH is the maximum humidity correction, aH is the temperature sensitivity of the humidity correction, TH is the temperature to induce the humidity correction, pH is the temperature humidity correction curve factor, bH is the humidity sensitivity of the humidity correction, HH is the humidity to induce the humidity correction, and qH is the humidity humidity correction curve factor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 23 shows an example of a humidity demand modeled based on the humidity function HUM(H,Havg,Tavg), which shows the demand (watt-hours) with respect to temperature (°C). In this example, the relative humidity, H, is held constant. In the example shown in the plot, the five distinct curves illustrate examples of changes in the humidity function with respect to relative humidity (e.g., 100%, 50%, 0%, -50%, -100%). Although the curves have similar shapes, the slope of the curves decreases as the relative humidity decreases, with the 100% relative humidity curve having the greatest slope and the -100% relative humidity curve having the least slope. As can be seen in the plot, the effect of humidity is only significant at higher temperatures, such as above 26°C.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The dumping effect can have a significant impact on electricity demand. When a geographic area experiences extremely high or low temperatures, people tend to temporarily relocate to avoid these extreme temperatures. For example, people may temporarily move to a colder region (e.g., a colder part of the country or world) to avoid extremely high temperatures or humidity levels. In the USA, for example, people tend to migrate during the winter from New York State to the warmer climate of Florida, and reverse migration during the summer. The dumping effect can be factored into electricity demand estimation by, for example, the electricity demand modeler 180 (shown in Figure 2), by factoring the dumping demand function VAC(T, H, Havg), which can be determined based on Equation (11):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (11)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Where V is the discharge demand (extremely hot / cold weather), av is the temperature sensitivity of the discharge correction, TV0 is the discharge correction inductance temperature, pV is the discharge correction temperature curve factor, bv is the humidity sensitivity of the discharge correction, HV0 is the humidity of the discharge correction inductance, and qV is the humidity curve factor of the discharge correction.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 24 shows an example of a modeled discharge demand based on the discharge demand function VAC(T,H,Havg), with demand (watt-hours) shown relative to temperature (°C). In the example plotted, the geographic area is located in a hot climate. As can be seen in the plot, the modeled discharge demand decreases during extreme weather conditions such as high temperatures and high humidity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The impact of the calendar can have a significant impact on electricity demand. For example, in certain geographic regions, the lunar calendar (e.g., the Hijri or Islamic calendar) is used in conjunction with the Gregorian calendar to mark regional events (e.g., Ramadan, Hajj, holiday celebrations, and school holidays). Incorporating the lunar calendar correction (CAL) can impact the demand of specific geographic regions when certain events, such as Ramadan or Hajj, occur.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figures 25a and 25b illustrate an example of a table that could be determined, for example, by the electricity demand modeler 180 (shown in Figure 2), based on the lunar calendar correction CALl, Equation (5.2). The table shows major calendar events in columns and days in rows. Several observations can be made based on the table. For example, there is a significant increase in electricity demand during Ramadan and the months before and shortly after the Hajj, as a result of the large influx of population into the region. A significant drop in demand during the two Eid holidays (Shawwal and Dhu al-Hijjah) can also be observed in the table, as a portion of the local population leaves for the holidays.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Solar calendar events can also have a significant impact on electricity demand. Calculated solar correction (CALS) can be factored into a demand model to more accurately model demand for a geographic area. Solar calendar events (such as New Year's, Easter, spring break, summer, Thanksgiving, or Christmas) can impact the demand of specific geographic areas. Including CALs in the demand model can factor into the demand model.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 26a and 26b illustrate an example of a table that could be determined, for example, by an electricity demand modeler 180 (shown in Figure 2), based on the solar calendar correction CALs, Equation (5.3). The table shows the months in columns and the days in rows. In this specific example, the geographic area is less affected by the solar calendar than the lunar calendar.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following Table 1 is a list of the constant values ​​that are included in the examples shown in Figures 4-26b.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Table 1:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (Values ​​of constants in examples)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">constant value constant value<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> rw 0.03 rb 0.04<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Dc 1997.90 Dh 526.40<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Tc 43.54 Wmax 20.36<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ac 0.10 Smin 4.70<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> mc 0.02 Wmin 2.10<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> qc 0.01 Smax 7.02<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Troom 22.0 a0 0.42<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> a1win 0.29 Tspring 23.84<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> a1sum 0.14 SH 0.14<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ahs 0.11 aH 0.00<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ah 0.99 TH -15.60<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Ths 49.24 PH 2.72<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Th 50.00 bH 1.00<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Rch 1.88 HH -0.30<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> acs 0.22 qH 0.02<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ac 0.04 V 0.01<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Tcs -94.19 av 0.00<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Tc -16.07 TV0 60.00<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Dh 0.00 pv 10.00<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Th -30.00 bv 1.00<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ah 1.00 HV0 1.00<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> mh 0.00 qv 0.05<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 1 and 3A to 3C, a description of the non-exhaustive model of the electricity demand and forecasting process 200 is now provided. Initially, the process 200 may begin with the model preparation and forecasting module 30 receiving data from the data source 10 (step 203). The received data may include weather data 10A, electricity demand data 10B, economic data 10C, end-user data 10D, population data, calendar data, and other relevant data. The data may need to be cleaned and preprocessed to correct outliers and fill any gaps, for example, by supplementing the cleaned input data (e.g., weather, population, and demand data). If, as is often the case, weather and population data are available for subregions of the region in question (e.g., for states within a given country), they may be combined to produce population-weighted weather data for the full region.<h2 style=";text-align:left;direction:ltr">Using population-weighted weather data can lead to a more accurate model of electricity demand than using data from a single weather station or a simple logical average of weather data, since electricity consumption is typically concentrated in population centers. Weather and population data can also be used to develop future weather and population forecasts (the range of possible methodologies is not limited here) that can be used as inputs for future electricity demand forecasts. The process can initially start with weather as the primary source and periodically (e.g., hourly) obtain temperature, humidity, and electricity usage data for the geographic area during each day. The population and demographic characteristics of the population can also be obtained for the area.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Based on the received data, the Modeling and Forecasting Module 30 can construct a basic parametric model for each individual for the high-level attributes of the demand curve as a function of temperature and time (Step 206). The population model can be constructed for the region or measured separately. Using the received data, the Modeling and Forecasting Module 30 can construct an electricity demand model for the geographic area that can provide an accurate forecast of future electricity demand in the region, while providing clarity for each cause of the electricity demand model.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The basic parametric model can include contributions from the base electricity load at a parametric growth rate Dberbt. The Growth and Forecasting Module 30 can capture the base load demand BASE(t) (Equation (2), i.e., BASE(t) = Dberbt) for a geographic area, which can include the demand that always exists for the area, regardless of changes in the weather. This part of the model is weather-independent.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The Modeling and Forecasting Module 30 may apply correction terms to the S-curve(s) to illustrate the efficiency of appliances (not shown) at nodes in the PGD 40 network at extreme temperatures (Step 209). The model may improve heating and cooling demand (Step 212) by including contributions from the sum of independent heating and cooling conditions, which may be modeled as S-curves with respect to temperature decrease and increase, respectively, with specific magnitudes typically dependent on the regional climate and the penetration of heating or cooling appliances in the PGD 40 network.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Electricity demand due to cooling appliances (e.g., air conditioning (AC) units) can be determined based on the cooling demand function COOL(T,Tavg), which captures AC cooling demand and the degradation of cooling efficiency, as shown in Equation (3). Electricity demand due to heating appliances (e.g., boilers, heat pumps, electric radiators, stoves) can be determined based on the heating demand function HEAT(T,Tavg), which captures heating demand and the degradation of heating efficiency, as shown in Equation (4). Figure 4 shows an example of s-curves for cooling and heating demand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The residual intraday variations in electricity demand, for example, in terms of intraday variations in temperature, can be modeled using the Model Preparation and Forecasting module 30 from the daily mean (Step 215). This can initially be modeled as a parametric function ITV(T,Tavg) for the relative temperature. The parametric function ITV(T,Tavg) can then be allowed to vary with temperature according to the season (Step 218), and the residual average electricity demand can be determined with respect to temperature (Step 221), as in Equations (6) and (9.1) to (9.7).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The diurnal temperature and seasonal demand variables can be optimized iteratively (Step 224). This step can be performed by repeating the processes in Steps 209 to 221 until the residual error approaches, for example, zero. A threshold value for the residual error can be predetermined and used as a reference value. The threshold value for the residual error can be set to a value close to zero, such as 0.01, 0.001, 0.0001, or less. After each optimization iteration (Step 224), a determination can be made whether the change in the residual error is less than the predetermined threshold value (Step 227). If the change in the residual error is not less than the threshold value (No in Step 227), another optimization iteration is performed (Step 224); otherwise, all variables are optimized (Yes in Step 227, then Step 230).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After optimizing all variables (Step 230), a determination can be made as to whether the change in residual error is less than a predetermined threshold value (Step 233). If it is determined that the change in residual error is not less than the threshold value (No in Step 233), the process can return to Step 212 and repeat Steps 212 through 233. If it is determined that the change in residual error is less than the threshold value (Yes in Step 233), the Modeling and Forecasting Module 30 can progress to modeling the effects of humidity on electricity demand as a function of temperature and diurnal changes in humidity (Step 236). The effect of humidity on electricity demand for a geographical area can be captured based on the humidity function HUM(H, Havg, Tavg), as in Equation (10). As illustrated above, Figure 23 shows an example of a humidity demand modeled based on the humidity function HUM(H,Havg,Tavg), which plots the demand (watt-hours) relative to temperature (°C).<h2 style=";text-align:left;direction:ltr">As can be seen in Equation (10), the effects on electricity demand can be modeled, including taking into account any changes in humidity during the day.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The Modeling and Forecasting module 30 can update the parametric model and / or create a new parametric model for each individual for the high-level attributes of the demand curve as a function of temperature and time (Step 239). The updated and / or new parametric model can include contributions from the base load electricity demand BASE(t) (Equation (2), i.e., BASE(t) = Dberbt) for the geographic area.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The model can be updated with any corrections due to temperature or humidity extremes that could lead to humans temporarily moving physically to another location (Step 242). In this regard, the emptying demand function VAC(T,H,Havg) can capture these corrections, as in Equation (11). After setting up the model for corrections due to temperature and humidity extremes, for example, based on the emptying demand function VAC(T,H,Havg) (Step 242), the extreme temperature and humidity variables can be optimized (Step 245). The emptying demand function VAC(T,H,Havg) can capture the emptying effect that can be observed during extremely high or extremely low temperature and humidity seasons, due to people temporarily moving to more suitable (cooler or warmer) areas to avoid extreme temperature / humidity conditions. As explained above, Figure 24 shows an example of the discharge demand function VAC(T,H,Havg) as the temperature ranges from 0°C to 51°C for a warm climate.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To account for calendar effects, the model setup and forecasting function 30 can correlate the selected values ​​with known calendar events to determine the parameter values ​​for each event (Step 248) and determine the average residual demand changes over the lunar and solar year (Step 251), taking into account known calendar events, such as holiday periods (e.g., spring break, summer vacations, Christmas holidays, Eid al-Adha, etc.), religious events (e.g., Hajj, Ramadan, Easter), and special events (e.g., national holidays, FIFA World Cup finals, Miss World competition, etc.). To address potential overestimations, for example, in behaviorally dependent residual changes, the calendar effect function CALt can be applied iteratively to refine the calendar effect and account for human behavior correction, as in Equations (5) and (5.1) to (5.3) (Step 252).<h2 style=";text-align:left;direction:ltr">After each iteration (Step 252), a determination can be made whether the change in residual error is less than a predetermined threshold value (Step 254) and repeated iterative optimization can be performed (No in Step 254, then Step 252) until the change in residual error is determined to be less than the predetermined threshold value (Yes in Step 254).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> If the change in residual error is determined to be less than the threshold value (Yes in Step 254), all variables can be optimized (Step 257). After all variables are optimized (Step 257), a determination can be made as to whether the change in residual error is less than the previously determined threshold value (Step 260). If the change in residual error is determined to be not less than the threshold value (No in Step 260), the process can return to Step 212 and repeat Steps 212 through 260. If the change in residual error is determined to be less than the threshold value (Yes in Step 260), the Modeling and Forecasting Module 30 can proceed to determine whether additional distinguishable effects exist in the residual demand (Step 263).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">If it is determined that additional distinguishable effects are present in the remaining demand (Yes in Step 263), these distinguishable effects can be parametrically modeled in the remaining demand, and the models are prioritized according to their contribution to the remaining demand (Step 266). However, if it is determined that there are no additional distinguishable effects in the remaining demand (No in Step 263), the process can go back to the beginning and repeat Steps 203 through 266.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After parametrically modeling and prioritizing the additional distinguishable effects (Step 266), the variables can be optimized for the remaining order (Step 269), and then all variables can be optimized (Step 272). After all variables have been optimized (Step 272), a determination can be made as to whether the change in the residual error is less than the threshold value (Step 275). If it is determined that the change in the residual error is less than the threshold value (Yes in Step 275), the process can return to the beginning and repeat Steps 203 through 270; otherwise, the process returns to Step 212 and repeats Steps 212 through 270 (No in Step 275). During Step 200, the variables can be optimized iteratively by repeating the applicable steps of the process, as those skilled in the technique will understand.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After establishing an optimal set of variables over a given sampling period (for example, the six years from 2010 to 2016), the same method can be used to estimate the evolution of one or more model variables over time. This method is applied to a sliding window of a specified time length (for example, two years) to optimize the values ​​of the variables of interest that are allowed to vary while holding the remaining variables constant. By sliding this window (for example, two years) (for example, month by month) over a range of dates (for example, from 2005 to 2019), the evolution over time (for example, monthly) of the selected variables of interest that have been allowed to vary can be inferred. For example, if the variable rb is allowed to vary in this way, the time evolution of its value can provide an excellent proxy for a region's economic growth over time. The time evolution of the optimal values ​​of other variables can be similarly useful.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The electricity demand model generated by process 200 can be used to forecast future electricity demand in the PGD network 40 (illustrated in Figure 1). The generated demand model can be accessed by, for example, the electricity demand forecaster 190 (illustrated in Figure 2) and transmitted to the communication device 45 in the PGD network 40 or accessed by the communication device 45 through communication with the electricity demand forecaster 190, in order to take corrective actions to address the forecasted demands. The corrective action can include, for example, adjusting one or more variables or components in the PDG network 40, such as, for example, in a power generation unit (not illustrated), a substation, the electricity grid, or smart meters in an end-user contract. For example, one or more generators may be added or placed on line to accommodate a predicted increase in demand, or shut down or taken off line where demand is predicted to decrease.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The model has two unique properties: (1) it produces remarkably accurate forecasts of electricity demand, and (2) the model variables are meaningful and their evolution can also be very important in a business context. The accuracy of the model makes it possible to estimate with some accuracy the time evolution of these variables.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This can be done, for example, by starting with a reliable initial set of model variables that have been optimized over a relatively long period of time (for example, over the six years from 2010 to 2016), then re-optimizing the variable(s) in question over a shorter period, for example, over a time window of just one or two years, and moving that window month by month through the period in question (for example, month by month from 2005 to 2019), while holding other variables constant. The optimized value of the variable over the time period January 2005 to January 2007, for example, will provide a good estimate of that variable for January 2006, and so on monthly through January 2017 to January 2019, for example, the value of that variable for January 2018. The present disclosure can be used to estimate, for example, growth in the economy over time—which can be difficult to reliably measure using other data. This is a further patent protection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The singular form as used in this Disclosure means “one or more” unless otherwise expressly stated.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The term "core network" as used in this disclosure means a transmission medium that connects one or more computing resources to provide a path that carries data signals and instruction signals between the one or more computing resources. The core chain may include a carrier or a network. The core chain may include a TCP / IP Ethernet. The core chain may include a distributed core chain, an integrated core chain, a parallel core chain, or a serial core chain. The core chain may include any of several types of carrier structures that may also connect a memory bus (with or without a memory controller), a peripheral bus, and a local bus using any of a variety of commercially available bus structures.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The term "communication device," as used in this disclosure, means any device, built-in program, or software capable of transmitting or receiving data packets, instruction signals, data signals, or radio frequency signals over a communications link. A communication device may include a computer or a server. A communication device may be portable or stationary.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The term "communication link," as used in this disclosure, means a wired or wireless medium that transmits data or information between at least two points. The wired or wireless medium may include, for example, a metallic conductive link, a radio frequency (RF) communication link, an infrared (IR) communication link, or an optical communication link. The RF communication link may include, for example, WiFi, WiMAX, IEEE 802.11, DECT, cellular standards 0G, 1G, 2G, 3G, 4G, or 5G, or Bluetooth. The communication link may include, for example, RS-232, RS-422, RS-485, or any other suitable serial interface.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The terms "computer" or "computing device," as used in this disclosure, mean any machine, device, circuit, component, or module, or any system of machines, devices, circuits, components, or modules capable of processing data in accordance with one or more instructions, such as, but not limited to, a processing unit, microprocessor, graphics processing unit, central processing unit, general purpose computer, supercomputer, personal computer, laptop computer, calculator-style computer, notebook computer, desktop computer, workstation computer, server unit, server farm, computing cloud, or an array of processing units, microprocessors, central processing units, general purpose computers, supercomputers, personal computers, laptop computers, calculator-style computers, notebook computers, desktop computers, workstation computers, or server units. The computing device may include an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">“Computer Resource,” as used in this Disclosure, means any computing device, communications device, computer program, computer application, application program interface, or other software, built-in software, or device that can receive, send, or process an instruction, command, or data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The term "computer-readable medium," as used in this disclosure, means any storage medium that contributes data (e.g., instructions) that can be read by a computer. Such a medium can take many forms, including non-volatile and volatile media. Non-volatile media may include, for example, optical or magnetic disks and continuous memory. Volatile media may include dynamic random-access memory (DRAM). Common forms of computer-readable media include, for example, floppy disks, hard disks, magnetic tape, any other magnetic medium, CD-ROM, DVD, any other optical medium, punched cards, paper tape, any other physical medium with patterns of holes, RAM, PROM, EPROM, FLASH-EEPROM, any other memory chip or cartridge, carrier wave, or any other computer-readable medium. The computer-readable medium may include a "cloud" that includes the distribution of files across multiple (e.g., thousands) memory caches on multiple (e.g., thousands) computers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Various forms of computer-readable media can be involved in carrying instruction sequences to a computer. For example, instruction sequences can be (i) transmitted from RAM to the processing unit, (ii) carried on a wireless transmission medium, or (iii) formatted according to a variety of formats, standards, or protocols, including, for example, WiFi, WiMAX, IEEE 802.11, DECT, cellular standards 0G, 1G, 2G, 3G, 4G, or 5G, or Bluetooth.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The term "database," as used in this disclosure, means any combination of software or hardware, including at least one application or at least one computer. A database may include a constructed collection of records or data organized according to a database model, such as, for example, but not limited to, at least one of the relational model, the hierarchical model, or the network model. A database may include a database management system (DBMS) application as known in the art. The at least one application may include, for example, an application program that can accept connections for service requests from clients by sending responses back to the clients. The database may be configured to run at least one application, often under heavy workloads, unattended, for extended periods of time with minimal human guidance.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The terms “includes,” “includes,” and their variations, as used in this Disclosure, mean “including but not limited to,” unless expressly stated otherwise.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The term "node," as used in this disclosure, means a physical or virtual location in the geographic area that can receive electricity or electrical power.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The term "server," as used in this disclosure, means any combination of software or hardware, including at least one application or at least one computer, for performing services to connected clients as part of a client-server architecture, a server-server architecture, or a client-client architecture. The server may include a mainframe, a server cloud, or a server farm. The at least one server application may include, but is not limited to, for example, application software that can accept connections for service requests from clients by sending responses back to the clients. The server may be configured to run the at least one application, often under heavy workloads, unattended, for extended periods of time with minimal human direction. The server may include a plurality of configured computers, with the at least one application divided among the computers based on workload. For example, under light load, the at least one application may run on a single computer. However, under heavy load, multiple computers may be required to run the at least one application.<h2 style=";text-align:left;direction:ltr">The server, or any of its computers, can also be used as a workstation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Devices communicating with each other need not be in constant communication with each other unless explicitly specified otherwise. In addition, devices communicating with each other may communicate directly or indirectly through one or more intermediaries.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Although process steps, method steps, or algorithms may be stated in either serial or parallel order, these processes, methods, and algorithms may be configured to operate in alternative orders. In other words, any sequence or order of steps that can be stated in serial order does not necessarily imply that the steps may be performed in that order; some steps may be performed simultaneously. Similarly, if the sequence or order of steps is stated in parallel (or simultaneous) order, those steps may be performed in serial order. The steps of the processes, methods, or algorithms described in this complete description may be performed in any practical order. In certain non-exclusive embodiments, one or more process steps, method steps, or algorithms may be omitted or skipped.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Where one device or tool is illustrated, it will be readily apparent that one more device or tool can be used in place of the other. Similarly, where more than one device or tool is illustrated, it will be readily apparent that one more device or tool can be used in place of more than one device or tool. The function or attributes of the device may instead be embodied by one or more other devices that are not explicitly illustrated as having those functions or attributes.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> While the disclosure is described in terms of exemplary embodiments, those skilled in the art will recognize that the disclosure may be implemented with modifications in the substance and scope of the appended claims. These examples are illustrative only and are not intended to be an exhaustive list of all possible designs, embodiments, implementations, or modifications of the disclosure.