A method for calculating source-load uncertainty in heating system based on orthogonal polynomials
The uncertainty of the heating system is calculated by the orthogonal polynomial method, which solves the uncertainty problem caused by the fluctuation of renewable energy and heat load, and improves the energy utilization efficiency and system stability.
Patent Information
- Application Number
- CN202111657264.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-12-30
AI Technical Summary
The intermittency and fluctuation of renewable energy and heat load in the heating system lead to uncertainty and instability of the heating system, affecting the safety and energy efficiency of the system.
Using a method based on orthogonal polynomials, by calculating the origin moments of each order and selecting weight functions and orthogonal polynomial functions, the cumulative distribution function is expanded, and the probability theory and the Bayesian credible interval prediction method are combined to quantify the uncertainty of the heating system. Certainty, reducing heat waste and improving the consumption capacity of renewable energy.
It effectively reduces the heat waste of the heating system, improves the absorption capacity of renewable energy, and ensures the safe and stable operation and heating quality of the heating system.
Smart Images

Figure CN114219178B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of load forecasting and operation scheduling of integrated energy systems and regional heating systems, and specifically relates to a method for calculating source-load uncertainty of a heating system based on orthogonal polynomials. Background Art
[0002] Under the background of dual carbon, the heating field also urgently needs to build a clean, low-carbon, safe and efficient new heating system: on the heat source side, a high proportion of renewable energy access to the heating system is an important trend in the development of the heating system in the future, but the production process of renewable energy such as photovoltaic and wind power is affected by weather and environment, and has the characteristics of intermittent and volatility. Its randomness and uncertainty bring challenges to the safety and stability of the heating system; on the heat load side, affected by the behavior habits, social life, physiology and psychology of the terminal heat users of the building, the terminal heat load is also volatile. To this end, the present invention proposes a method for calculating the uncertainty of the source and load of the heating system based on orthogonal polynomials, which calculates the cumulative distribution function of the output of renewable energy or the terminal heat load power and its related factors by means of the orthogonal polynomial series expansion, and adopts the credible interval prediction method of the Bayesian school of probability theory and mathematical statistics to quantify the dual uncertainty problem of the source and load of the heating system, thereby reducing the heat waste of the heating system, improving the absorption capacity of renewable energy, and ensuring the safe and stable operation and heating quality of the heating system. Summary of the invention
[0003] The purpose of the present invention is to provide a method for calculating the uncertainty of source and load of a heating system based on orthogonal polynomials, calculate the origin moments of various orders according to the historical operation data of renewable energy output and heat load of a heating system and related factors, select the corresponding weight function and orthogonal polynomial function according to the distribution type close to the historical data, expand and calculate the cumulative distribution function of a given distribution, and further determine the probability prediction credible interval under a given credible level, thereby quantifying the uncertainty of the heating system, reducing the heat waste of the heating system, improving the absorption capacity of renewable energy, and ensuring the safe and stable operation of the heating system and the heating quality.
[0004] In order to achieve the above object, the present invention provides a method for calculating source-load uncertainty of a heating system based on orthogonal polynomials, comprising the following steps:
[0005] S1, calculate the origin moments of each order based on the historical operation data of the renewable energy output or heat load connected to the heating system and its related factors;
[0006] S2, select the corresponding weight function and orthogonal polynomial function according to the distribution type close to the historical operation data;
[0007] S3, calculating the cumulative distribution function of the historical operation data based on the selected weight function and orthogonal polynomial function;
[0008] S4, obtaining the quantile corresponding to the given cumulative probability value by numerical method according to the obtained cumulative distribution function;
[0009] S5, calculate the probability prediction credible interval corresponding to each data point under a given credible level.
[0010] In the above technical solution, further, step S1 includes the following steps:
[0011] Step S11, collecting historical operation data of the output of renewable energy sources connected to the heating system or the heat load of the heating system and related factors, the historical operation data includes the output of renewable energy such as wind power or photovoltaic power, the supply and return water temperature and flow rate of the heating system thermal power station, the heat load of the building at the end of the heating system, etc.;
[0012] Step S12: for a discrete random variable X, a set of historical data sequences {x1, x2, ..., x n}, let its possible values be x1, x2, …, x l ,(1≤l≤n,n∈N + ,l∈N + ), the probabilities corresponding to these values are p1, p2, ..., p l , calculate the 1st to Nth order origin moments {m1,m2,…,m N The mathematical expectation of a random variable X to the kth power is called its i-th order origin moment m. k , the specific calculation formula is:
[0013]
[0014] In the formula, E(X k ) is the mathematical expectation of the k-th power of the random variable X, that is, the k-th origin moment of the random variable X.
[0015] Furthermore, in step S2:
[0016] According to the frequency distribution histogram of historical data, the distribution type close to it is judged, and the corresponding weight function w(x) and orthogonal polynomial function P are selected according to the distribution type close to the historical data. k (x), the weight function is generally a probability density function of a known distribution.
[0017] For the normal distribution, the orthogonal polynomials selected are Hermite polynomials. The probability density function w(x) of the standard normal distribution is expressed as follows:
[0018]
[0019] The k-th term of the Hermite polynomial is expressed as:
[0020]
[0021] For the Beta distribution, the orthogonal polynomial is selected as the Jacobi polynomial. The probability density function w(x) of the Beta distribution is expressed as follows:
[0022]
[0023] Where B(α,β) is the Beta function,
[0024] The expression of the k-th term of the Jacobi polynomial is:
[0025]
[0026]
[0027]
[0028] Where α and β are shape parameters related to the distribution, and μ and σ are the mean and variance of the historical data, respectively.
[0029] Furthermore, in step S3, the cumulative distribution function of the historical data is calculated based on the weight function and orthogonal polynomial function selected by the GCA (Cram Charlier ASeries) algorithm.
[0030] A class of polynomials P with weight function w(x) as weight orthogonal is used. k (x) is a set of orthogonal bases, and the cumulative distribution function F(x) of the random variable X is expanded as follows:
[0031]
[0032] In the formula, c k are the coefficients of the GCA series, and N is the highest order of the origin moment calculated.
[0033] Coefficient c k The calculation formula is as follows:
[0034]
[0035] In the formula, h k is a normalizing constant term, which is known for a given orthogonal polynomial.
[0036] For the Hermite orthogonal polynomial, the expression of its kth term is: h k=k! ;
[0037] For Jacobi orthogonal polynomials, the expression of its kth term is:
[0038]
[0039] In the formula, the expression of the Gamma function is:
[0040]
[0041] The expressions for parameters a and b are:
[0042] a=α-1
[0043] b=β-1
[0044] In practice, when the polynomial P k When the coefficients of each order of (x) and the origin moments of each order of historical data are known, the coefficient c can be calculated n Furthermore, by selecting the order N, the truncated infinite series and approximation can be used to obtain the expression of the cumulative distribution function F(x).
[0045]
[0046] Furthermore, the step S4 is specifically to obtain the quantile corresponding to the given cumulative probability value through a numerical method based on the obtained cumulative distribution function, such as continuously narrowing the search space through bisection or Newton's method, and continuously approximating the quantile value corresponding to the given cumulative distribution probability value under a given accuracy.
[0047] Furthermore, step S5: calculate the probability prediction credible interval corresponding to each data point under a given credible level, and make the median of the calculated credible interval closest to the given data point to be calculated, while giving priority to satisfying the given credible level to ensure the reliability of the calculation. The interval distribution most uniform method is used to determine this interval.
[0048] When the actual system setting value is θ d When the given confidence level is 1, this paper selects the following interval as the confidence interval:
[0049] When there is an interval [θ L ,θ U ], so that
[0050]
[0051] In the formula, P(θ L ≤θ≤θ U |x) is the cumulative distribution function curve in the interval [θ L ,θ U ] is the area enclosed by the x-axis.
[0052] The beneficial effects of the present invention are:
[0053] The present invention first calculates the origin moments of each order based on the historical data of the heat source side and the load side, selects the corresponding weight function and orthogonal polynomial function according to the distribution characteristics it obeys, calculates the cumulative distribution function of the distribution, and further obtains the quantile of each point of the distribution based on the numerical calculation method according to the cumulative distribution function, and finally calculates the probability interval corresponding to each point under a given credibility level. The present invention combines the historical data of renewable energy output and thermal load power and related factors to obtain the probability prediction credibility interval under different conditions, and quantifies the uncertainty of renewable energy output and thermal load power and related factors in the heating system, thereby improving the absorption capacity of renewable energy and reducing heat energy loss, and improving the energy utilization efficiency of the heating system. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0055] Figure 1 It is the main step of the method of the present invention.
[0056] Figure 2 This is a schematic diagram of a heating system with access to renewable energy.
[0057] Figure 3 It is the frequency distribution histogram of the historical operating data of the water supply temperature of the heating station in the secondary network of a heating system in a single month.
[0058] Figure 4 It is the probability interval of the water supply temperature of a certain thermal power station calculated by the GCA method. DETAILED DESCRIPTION
[0059] A method for calculating source-load uncertainty of a heating system based on orthogonal polynomials of the present invention comprises the following steps:
[0060] Step S1: Collect the historical operating data of the water supply temperature of a heating station in a secondary network of a regional heating system for a single month. For the discrete random variable X, the historical data sequence containing n data points is [x1, x2, …, x n}, its possible values are x1, x2, ..., x l ,(1≤l≤n,n∈N + ,l∈N + ), the probabilities corresponding to these values are p1, p2, ..., p l , calculate the 1st to Nth order origin moments {m1,m2,…,m N The mathematical expectation of a random variable X to the kth power is called its i-th order origin moment m. k, the specific calculation formula is:
[0061]
[0062] In the formula, E(X k ) is the mathematical expectation of the k-th power of the random variable X, that is, the k-th origin moment of the random variable X.
[0063] Step S2: Determine the distribution type close to the historical data based on its frequency distribution histogram. Figure 3 , close to normal distribution. Select the corresponding weight function w(x) and orthogonal polynomial function P according to the distribution type close to the historical data k (x), the weight function is generally a probability density function of a known distribution.
[0064] Since the data of this calendar operation is close to normal distribution, the orthogonal polynomial selected is the Hermite polynomial. The probability density function w(x) of the standard normal distribution is expressed as follows:
[0065]
[0066] The k-th term of the Hermite polynomial is expressed as:
[0067]
[0068] Step S3: Calculate the cumulative distribution function of the historical data based on the weight function and orthogonal polynomial function selected by the GCA (Cram Charlier A Series) algorithm.
[0069] A class of polynomials P with weight function w(x) as weight orthogonal is used. k (x) is a set of orthogonal bases, and the cumulative distribution function F(x) of the random variable X is expanded as follows:
[0070]
[0071] In the formula, c k are the coefficients of the GCA series, and N is the highest order of the origin moment calculated.
[0072] Coefficient c k The calculation formula is as follows:
[0073]
[0074] In the formula, h k is a normalizing constant term, which is known for a given orthogonal polynomial.
[0075] For the Hermite orthogonal polynomial, the expression of its kth term is: hk =k! ;
[0076] In practice, when the polynomial P k When the coefficients of each order of (x) and the origin moments of each order of historical data are known, the coefficient c can be calculated n Furthermore, by selecting the order N, the truncated infinite series and approximation can be used to obtain the expression of the cumulative distribution function F(x).
[0077]
[0078] Step S4: According to the obtained cumulative distribution function, the quantile corresponding to the given cumulative probability value is obtained by numerical methods, such as continuously narrowing the search space by bisection or Newton's method, and continuously approximating the quantile value corresponding to the given cumulative distribution probability value under a given accuracy.
[0079] Step S5: Calculate the probability prediction credible interval corresponding to each data point under a given credible level, as shown in Figure 4. Under the premise of giving priority to satisfying the given credible level to ensure the reliability of the calculation, the median of the calculated credible interval is closest to the given data point to be calculated. The interval distribution most uniform method is used to determine this interval.
[0080] When the actual system setting value is θ d When the given confidence level is 1, this paper selects the following interval as the confidence interval:
[0081] When there is an interval [θ L ,θ U ], so that
[0082]
[0083] In the formula, P(θ L ≤θ≤θ U |x) is the cumulative distribution function curve in the interval [θ L ,θ U ] is the area enclosed by the x-axis.
Claims
1. A method for calculating source-load uncertainty of a heating system based on orthogonal polynomials, characterized in that: The steps include: S1, calculate the origin moments of each order based on the historical operation data of the renewable energy output or heat load connected to the heating system and its related factors; including: Step S11, collecting historical operation data of the output of renewable energy sources connected to the heating system or the heat load of the heating system and related factors, the historical operation data includes the output of renewable energy sources such as wind power or photovoltaic power, the supply and return water temperature and flow rate of the heating system thermal power station, and the heat load of the building at the end of the heating system; Step S12: given a set of historical data sequences {x1, x2, ..., x n }, calculate the 1st to Nth order origin moments {m1, m2, ..., m N }; Specifically: For a discrete random variable X, given a set of historical data sequences containing n data points {c1, x2, ..., x n }, let its possible values be x1, x2, ..., x l , 1≤l≤n, n∈N + , l∈N + , the probabilities corresponding to these values are p1, p2, ..., p l , calculate the 1st to Nth order origin moments {m1, m2, ..., m N }, the mathematical expectation of a random variable X to the kth power is called its i-th order origin moment m k , the specific calculation formula is: In the formula, E(X k ) is the mathematical expectation of the k-th power of the random variable X, that is, the k-th origin moment of the random variable X; S2, select the corresponding weight function and orthogonal polynomial function according to the distribution type close to the historical operation data; specifically: determine the distribution type close to it according to the frequency distribution characteristics of the historical operation data of different renewable power or heat loads and related factors, and select the corresponding weight function w(x) and orthogonal polynomial function P according to the distribution type k (x); S3, based on the selected weight function and orthogonal polynomial function, the cumulative distribution function of the historical running data is calculated; specifically, the cumulative distribution function of the distribution to be approximated is written as the weight function w(x) and the polynomial function P orthogonal to the weight function k (x) is the integral of the product; S4, according to the obtained cumulative distribution function, the quantile corresponding to the given cumulative probability value is obtained by numerical method, and the quantile value corresponding to the given cumulative distribution probability value is obtained by continuous approximation under given accuracy; S5, calculate the most evenly distributed probability prediction credible interval corresponding to each data point under a given credible level.
Citation Information
Patent Citations
PCE (polynomial chaos expanse) based global sensitivity analysis method for time-variation reliability
CN105512404A
Coupling uncertainty acquisition method for high-altitude electromagnetic pulse field line based on polynomial chaos expansion
CN108416148A
Stochastic load flowuncertainty quantification method based on sparse chaotic polynomial approximation
CN111900716A
