Research article

A two-step smoothing Levenberg-Marquardt algorithm for real-time pricing in smart grid

  • Received: 07 September 2023 Revised: 09 December 2023 Accepted: 04 January 2024 Published: 22 January 2024
  • MSC : 90C33

  • As is well known, the utility function is significant for solving the real-time pricing problem of smart grids. Based on a new utility function, the social welfare maximization model is considered in this paper. First, we transform the social welfare maximization model into a smooth system of equations using Krush-Kuhn-Tucker (KKT) conditions, then propose a two-step smoothing Levenberg-Marquardt method with global convergence, where an LM step and an approximate LM step are computed at every iteration. The local convergence of the algorithm is cubic under the local error bound condition, which is weaker than the nonsingularity. The simulation results show that, the algorithm can not only reduce the user's electricity consumption but also improve the total social welfare at the most time when compared with the fixed pricing method. Additionally, when different values of the approximating parameter are adopted in a smoothing quasi-Newton method, the price tends to that obtained by the present algorithm. Furthermore, the CPU time of the one-step smoothing Levenberg-Marquardt algorithm and the proposed algorithm are also listed.

    Citation: Linsen Song, Gaoli Sheng. A two-step smoothing Levenberg-Marquardt algorithm for real-time pricing in smart grid[J]. AIMS Mathematics, 2024, 9(2): 4762-4780. doi: 10.3934/math.2024230

    Related Papers:

    [1] Jean-Paul Chehab, Vivien Desveaux, Marouan Handa . A sliding window algorithm for energy distribution system with storage. AIMS Mathematics, 2021, 6(11): 11815-11836. doi: 10.3934/math.2021686
    [2] Panjie Tian, Zhensheng Yu, Yue Yuan . A smoothing Levenberg-Marquardt algorithm for linear weighted complementarity problem. AIMS Mathematics, 2023, 8(4): 9862-9876. doi: 10.3934/math.2023498
    [3] Xiaorui He, Jingyong Tang . A smooth Levenberg-Marquardt method without nonsingularity condition for wLCP. AIMS Mathematics, 2022, 7(5): 8914-8932. doi: 10.3934/math.2022497
    [4] Shaoling Zhou, Huixin Chai, Xiaosheng Wang . Barrier option pricing with floating interest rate based on uncertain exponential Ornstein–Uhlenbeck model. AIMS Mathematics, 2024, 9(9): 25809-25833. doi: 10.3934/math.20241261
    [5] Zhe Li, Xiao-Tian Wang . Valuation of bid and ask prices for European options under mixed fractional Brownian motion. AIMS Mathematics, 2021, 6(7): 7199-7214. doi: 10.3934/math.2021422
    [6] Messaoud Bounkhel, Lotfi Tadj . Model predictive control based integration of pricing and production planning. AIMS Mathematics, 2024, 9(1): 2282-2307. doi: 10.3934/math.2024113
    [7] Hijaz Ahmad, Muhammad Nawaz Khan, Imtiaz Ahmad, Mohamed Omri, Maged F. Alotaibi . A meshless method for numerical solutions of linear and nonlinear time-fractional Black-Scholes models. AIMS Mathematics, 2023, 8(8): 19677-19698. doi: 10.3934/math.20231003
    [8] Jiajia Zhao, Zuoliang Xu . Calibration of time-dependent volatility for European options under the fractional Vasicek model. AIMS Mathematics, 2022, 7(6): 11053-11069. doi: 10.3934/math.2022617
    [9] Justin W. L. Wan . Multigrid method for pricing European options under the CGMY process. AIMS Mathematics, 2019, 4(6): 1745-1767. doi: 10.3934/math.2019.6.1745
    [10] Suhyun Lee, Mikyoung Ha, Young-Ju Lee, Youngsoo Seol . Time-inhomogeneous Hawkes processes and its financial applications. AIMS Mathematics, 2024, 9(7): 17657-17675. doi: 10.3934/math.2024858
  • As is well known, the utility function is significant for solving the real-time pricing problem of smart grids. Based on a new utility function, the social welfare maximization model is considered in this paper. First, we transform the social welfare maximization model into a smooth system of equations using Krush-Kuhn-Tucker (KKT) conditions, then propose a two-step smoothing Levenberg-Marquardt method with global convergence, where an LM step and an approximate LM step are computed at every iteration. The local convergence of the algorithm is cubic under the local error bound condition, which is weaker than the nonsingularity. The simulation results show that, the algorithm can not only reduce the user's electricity consumption but also improve the total social welfare at the most time when compared with the fixed pricing method. Additionally, when different values of the approximating parameter are adopted in a smoothing quasi-Newton method, the price tends to that obtained by the present algorithm. Furthermore, the CPU time of the one-step smoothing Levenberg-Marquardt algorithm and the proposed algorithm are also listed.



    In the last two decades, the traditional power grid has becoming unsuitable for the electrical market, with the significantly growing demand for electricity and the shortage of electrical energy. By 2050, the global energy demand is projected to be more than double its current status. Consequently, energy conservation and the development of renewable energy sources are crucial and have attracted a lot of attention from researchers [1,2,3,4,5,6].

    The concept of smart grids and microgrids are popular in this decade, which refer to the intelligent upgrade of the power system as a whole and the energy internet in a small range, respectively. Moreover, they are both important directions for the development of renewable energy technology. The former, smart grid (SG), termed as "Grid 2.0", has a better performance in terms of reliability, self-healing, interactivity, and is proposed and recognized as the future power grid. The latter, microgrid, is a local power supply system that uses renewable energy and traditional point source energy in a small range through energy micro-net technology, which includes converting renewable energy into electricity, storing electricity through energy storage, and intelligent scheduling technology to provide users with an independent power supply. It is usually used in small commercial buildings, public facilities, residential areas, and so on.

    In a smart grid, the real-time pricing (RTP) scheme is ideal for application. It is different from the common electricity pricing strategies, such as the traditional fixed price scheme, which is a simple cost allocation, and the ladder price scheme, which may lead to insufficient supply in the peak period and insufficient demand in the low period. The RTP is determined prior to the deal happening through the intercommunication between the supply and demand of electricity and it is a real-time interaction process between the user and supplier. Generally, the existing research in the field of the RTP mechanism can be divided into two categories. One is based on the game theory, which can obtain an optimal decision of multiple parties on the premise of satisfying certain rules [7,8,9,10], the other is based on the optimization method to solve the model, which is always either from the social welfare maximization model (SWMM) or its modified version [11,12,13,14,15,16]. In a microgrid, the computer system that assures the effective management operation is called the energy management system (EMS), which encompasses both the supply-side and demand-side management, while ensuring that system constraints are respected. EMSs are usually divided into centralized and decentralized according to their mode of operation. In the centralized mode, the management system is located in a central station and connected to the distributed energy resources (DERs) via communication lines for control and data exchange. In the decentralized model, each DER operates independently and manages itself using a local controller, thus eliminating the need for communication [17]. Many optimization algorithms have been proposed to handle EMS problems by far [18,19,20,21].

    In this paper, we focus on the real-time pricing in a smart grid, where some algorithms have already existed. For example, Zhang [11] proposed a fast distributed dual subgradient algorithm by smoothing the original dual subgradient twice. Zhu et al. [12] considered the relationship between the two stages of the user's electricity demand and proposed an improved simulated annealing algorithm. Wang and Gao [13] first transformed the SWMM into a nonsmooth system of equations based on KKT conditions, then solved the SWMM by a smoothing quasi-Newton method. Li et al. [14,15] proposed a smoothing Newton method based on a new smoothing approximation cosh function and a new form of the utility function. Yang et al. [16] proposed a new smoothing conjugate gradient method based on a smoothing Fischer-Burmeister function. These optimization methods played an important role for solving the SWMM. However, the convergence of some intelligent algorithms [12] could not be guaranteed, the results were feasible but may be not necessarily optimal, and there was a dual gap between the dual problem and the original problem in some Lagrangian dual methods [11], which may increase the direct error of the results. Recently, the smoothing algorithms are proposed. However, Refs. [13,16] focused on a system of equations such that

    Hμ(x)=0,

    which is the approximation of a nonsmooth system transformed from the SWMM as follows

    H(x)=0,

    where Hμ:RnRn is a smoothing approximation function of the nonsmooth function H:RnRn, μ>0 is called an approximating parameter, there exists gaps between the approximate smoothing system and the original nonsmooth system [13,16]. Refs. [14,15] focused on an equivalent smooth system, and proposed a smoothing Newton method, where the nonsingular property is necessary. Here, we first transform the social welfare maximization model into a smooth system of equations based on KKT conditions, then propose a two-step smoothing Levenberg-Marquardt(LM) method. The contributions of the research are as follows. (1) Using the KKT conditions, we transform the optimization model into a nonlinear complementary problem, then construct an equivalent smooth system based on a symmetric perturbed smoothing function with strongly Jacobi consistency, namely, the smoothing approximation function has a better one-order approximation property than the Jacobi consistency [17]. (2) A two-step smoothing LM method is proposed. It is worth mentioning that an adaptive parameter strategy is adopted in the proposed algorithm, which has proven effectiveness when the initial point is far from the optimal solution. (3) By proving the locally Lipschitzian continuous of the corresponding function and its Jacobian matrix, we show the global convergence and locally cubic convergence under the local error bound, which is weaker than the nonsingular property. (4) We adopt a new utility function based on the logistic function, which is significant for solving the real-time pricing problem of smart grids. (5) We compare the proposed algorithm with the traditional fixed method, the smoothing quasi-Newton method, and one-step smoothing algorithms, and prove its effectiveness.

    The outline of the paper is as follows. In Section 2, we introduce the social welfare maximization model, and its transformation from the SWMM into a smooth system based on the KKT conditions. Additionally, we investigate the locally Lipschitz continuous of the relate function, which is necessary to illustrate the local cubic convergence. In Section 3, a smoothing LM algorithm is proposed, and its global and local convergent result are discussed. In Section 4, numerical evaluations are shown to illustrate the effectiveness of the present algorithm.

    In this section, we introduce the social welfare maximization model, and its transformation from the SWMM into an equivalent smooth system.

    Consider a smart grid system that contains one supplier and one type of users. The energy provider and all users are connected with each other through an information communication infrastructure. Divide the whole cycle into K periods and let N={1,2,...,N} the set of users requiring electricity, xi(k) represent the power consumption demand at the time slot k of the i-th users, Ck(.) represent the cost function of the energy provider. The optimization model of SWMM [23,24] is as follows:

    maxKk=1(Ni=1U(xi(k),ωi(k))Ck(Lk))s.t.Ni=1xi(k)Lk,k=1,2,...,K, (2.1)

    where the constraint conditions mean the electricity consumption of all users does not exceed the total generating capacity, and Lk is the generation capacity of the residential users at the time slot k.

    In general, the cost function Ck(Lk) and the utility function U(xi(k),ωi(k)) in model (2.1) are important in economics, where Ck(Lk) is always adopted as a quadratic function [23] such that

    C(Lk)=akL2k+bkLk+ck,ak>0,bk,ck0.

    U(xi(k),ωi(k)) represents the relationship between the consuming utility and the number of a commodity. The utility function U(xi(k),ωi(k)) has the properties[16] such that

    U(xi(k),ωi(k))xi(k)0,

    and

    U2(xi(k),ωi(k))2xi(k)0.

    In this paper, we adopted the utility function as follows [15]:

    U(xi(k),ωi(k))=˜Keωi(k)xi(k)1eωi(k)xi(k)+1,

    where ˜K>0 is a predetermined parameter, and ωi(k)>0 varies with the time slots of the user's satisfaction in a power system.

    Mathematically, for each period k1,2,...,K, the model (2.1) can be expressed as an optimization problem such that

    maxNi=1U(xi(k),ωi(k))Ck(Lk)s.t.Ni=1xi(k)Lk, (2.2)

    which is equivalent to finding a minimum of a convex problem, since U(xi(k),ωi(k)) is concave, Ck(Lk) is convex, and the constraint conditions is affine.

    Denote vk:=(x1(k),x2(k),...,xN(k),Lk)TRN+1, and the KKT conditions of the problem (2.2) is such that

    {vk(Ni=1U(xi(k),ωi(k))Ck(Lk))+λkvk(LkNi=1xi(k))=0,λk(LkNi=1xi(k))=0,λk0,LkNi=1xi(k)0.

    Since

    {λk(LkNi=1xi(k))=0,λk0,LkNi=1xi(k)0,

    is a complementarity problem, we obtain the equivalent nonsmooth system of model (2.2) as follows:

    {vk(Ni=1U(xi(k),ωi(k))Ck(Lk))+λkvk(LkNi=1xi(k))=0,φ(λk,LkNi=1xi(k))=0,

    where φ is an "nonlinear complementarity problem (NCP)" function, such as the "min" function φ(a,b):=min{a,b}, the Fischer-Burmeister function φFB(a,b):=a2+b2ab and so on [25,26]. It is worth mentioning that the solution λk is the optimal price in the k period, namely the shadow price in economics by virtue of Refs. [23,27].

    Using the KKT conditions, the model (2.2) is transformed into a nonsmooth system of equations. Here, we use an improved Fischer-Burmerister smoothing function to derive the equivalent smooth system of the model (2.3). Meanwhile, the Lipschitz continuous of the corresponding smoothing function is discussed, which is crucial for the proposed algorithm.

    As is well known, the Fischer-Burmerister function is an NCP function, though nonsmooth at the point (0,0). According to [26], we adopt an improved Fischer-Burmerister smoothing function as follows:

    φμ(μ,a,b):=a+bμ2+(ab)22.

    Denote

    yk:=(vk,λk)TRN+2,f(yk):=(f1,...,fN+1)T=vk(Ni=1U(xi(k),ωi(k))Ck(Lk))+λkvk(LkNi=1xi(k)),g(yk):=LkNi=1xi(k).

    Model (2.2) is transformed into the following smoothing system such that

    Φ(yk):=(eμ1f(yk)φμ(μ,λk,g(yk)))=0. (2.3)

    It is obvious that model (2.2) is equivalent to Eq (2.3) in the sense that their solutions are coincide.

    We consider the Lipschitz continuous of the function Φ as follows, which is crucial to obtain the locally convergent result.

    Actually, a function F:RnR is locally Lipschitz continuous if there exist L>0 and ε>0 such that

    F(y)F(z)∣≤Lyz for all y,zU(x;ε),

    at any point xRn. The function F is said to be Lipschitz continuous if there exist L>0 such that

    F(y)F(z)∣≤Lyz for all y,zRn.

    If a function F:RnR is continuously differentiable, namely, smooth at xRn, F is locally Lipschitz continuous at xRn [22].

    Assumption 2.1. The solution set X of Eq (2.3) is not empty.

    Lemma 2.1. Let F=(F1,F2,...,Fn)T, where Fi:RnR and locally Lipschitz continuous at x, and F is locally Lipschitz continuous at xRn.

    Proof. The conclusion is obvious. Suppose

    Fi(x)Fi(y)∣≤Lixy,i=1,...,n,

    where x,yRn,Li is a Lipschitz constant, there is

    F(x)F(y)=∥(F1(x)F2(y)),...,(Fn(x)Fn(y))=(F1(x)F2(y))2+...+(Fn(x)Fn(y))2L21+...+L2nxynLxy,

    where L=max(L1,...,Ln). The proof is completed.

    Theorem 2.1. Φ(.) and its Jacobi J(.) are locally Lipschitz continuous at ykRN+3.

    Proof. Since Φ(yk)RN+3 is smooth at ykRN+3, it is obvious locally Lipschitz continuous at yk. We prove the Jacobian J(yk) are also locally Lipschitz continuous as follows.

    By a straightforward calculation, we first obtain the Jacobi J of Φ(yk) as follows:

    J(yk)=(eμ00000f1x1f1xNf1Lkf2λk0fN+1x1fN+1xNfN+1LkfN+1λkφμμφμx1φμxNφμLkφμλk).

    Here, for brevity, yi means the ith component of yk.

    Denote J(yk):=J=(J1,...,JN+3)T. Next, we focus on investigating the Lipschitz continuous of Ji through its each component, where i=1,...,N+3.

    (ⅰ) For J1:=(J(1)1,...,J(N+3)1)=(eμ,...,0), we have

    eμμ=eμ,eμνk=0,eμλk=0,

    which implies J1 is smooth and locally Lipschitz continuous at ykRN+3.

    (ⅱ) Consider Ji:=(J(1)i,...,J(N+3)i)=(fix1,...,fixN,fiLk,fiλk),i=2,...,N+1. Actually, since

    fi=U(xi(k),ωi(k))xi(k)λk=2˜Keωi(k)xi(k)(eωi(k)xi(k)+1)2λk,i=1,2,...,NfN+1=λkbk2akLk,

    we have

    fixj=0,ji,fixi=2U(xi(k),ωi(k))xi(k)2=2˜Keωi(k)xi(k)(1eωi(k)xi(k))(eωi(k)xi(k)+1)3,fiLk=0,fiλk=1,fN+1xi=0,fN+1Lk=2ak,fN+1λk=1,

    which implies that Ji is smooth and locally Lipschitz continuous at ykRn for i=2,...,N+1.

    (ⅲ) Actually, a straightforward calculation yields the following:

    ϕμ(μ,a,b)=μ2μ2+(ab)2,
    ϕa(μ,a,b)=12a2b2μ2+(ab)2,
    ϕb(μ,a,b)=1+2a2b2μ2+(ab)2.

    It is not difficult to see that ϕμ,ϕa,ϕb are smooth. Since g(yk) is also smooth, we obtain that JN+3 is locally Lipschitz continuous at ykRN+3. Then, the Jacobian J(.) are locally Lipschitz continuous at ykRN+3 by virtue of Lemma 2.1.

    Assumption 2.2. The solution set XU, where URn is bounded and closed.

    The bounded properties are reasonable in Assumption 2.2, since μ is an approximate parameter, which is always adopted small enough, λk denotes the real-time pricing, and Lk will not exceed the electricity production.

    Lemma 2.2. (Borel finite covering theorem) [28] Suppose U is bounded and closed, which is covered by a set of infinite open intervals Σ, U must be covered by some finite sets of open intervals from Σ.

    Theorem 2.2. Φ(.) and its Jacobi J(.) are Lipschitz continuous in U.

    Proof. By virtue of Theorem 2.1, Φ(.) and its Jacobian J(.) are locally Lipschitz continuous at yU. Then, there exist δy>0 and Lipschitz constant Ly such that

    Φ(x)Φ(y)∥≤Lyxy,

    for xV(y;δy).

    Set G={V(y;δ):yU}, where V(y;δ)={yRN+3:∥yy∥<δ}. It is obvious that G is a open covering of U. Furthermore, there exist some finite sets such that V(y;δy)G covering U by virtue of the Borel finite covering theorem. Suppose V(yi;δyi),i=1,2...,m, covering the set U, we have

    Φ(x)Φ(y)∥≤Lxy,

    for xU, where L=max{Ly1,...,Lym}, namely, Φ(.) is Lipschitz continuous in U. Similarly, the Jacobi J is also Lipschitz continuous in U.

    In this section, a two-step smoothing LM method is proposed to solve Eq (2.3). First, we provide the process of solving (2.3) as follows:

    Step 0. If tk, during the k-th period, one chooses the parameters based on the historical data, and computes the electricity price, the demand productions of the users, and the minimum production in the beginning of the pricing time.

    Step 1. One updates the information of the user's demand, the price, and the minimum productions. In this process, the users could adjust their electricity consumption based on the price, and the electricity provider could adjust its production based on the user's demand.

    Step 2. Repeat Step 1 until the supply and demand are in balance.

    Denote

    Ψ(y)=12Φ(y)2,

    as the merit function of Eq (2.3). Next, we give the concrete algorithm of the aforementioned process (see Figure 3.1).

    Figure 3.1.  The flow chart of Algorithm 3.1 (SLM).

    Algorithm 3.1. (SLM)

    Step 0. Give an initial point y0Rn and parameters ε>0,0<m<μ0,0<p0p1p2<1,j:=0.

    Step 1. Compute Φj:=Φ(yj) and Jj:=J(yj), which is the Jacobi of the function Φ(yj). If Ψ(yj)ε, stop. Otherwise, go to Step 2.

    Step 2. Set λj:=μjΦjδj, where δj is such that

    δj={1Φj,if Φj1,1+1j,otherwise.

    Step 3. Solve the equation such that

    (JTjJj+λjI)d=JTjΦj

    to obtain dj1.

    Step 4. Solve the equations such that

    (JTj1Jj1+λjI)d=JTjΦ(yj+dj1)

    to obtain dj2 and set dj=dj1+dj2.

    Step 5. Compute rj=AredjPredj, where

    Aredj:=Ψ(yj+dj)Ψ(yj),Predj:=ΦTjJjdj+12dTjJTjJjdj.

    Step 6. If rj>p0, set yj+1=yj+dj, else yj+1:=yj.

    Step 7. Update the parameter μj as follows:

    μj+1={4μj,if rj<p1,μj,if rj[p1,p2],max{0.25μj,m},if rj>p2.

    Then, set j:=j+1, and go to Step 1.

    Remark 3.1. The two-step LM method was proposed by Fan to solve nonlinear equations [29]. Different from the algorithm referenced in [29], a self-adaptive adjusting strategy is adopted for the LM parameter λj(0,2] to ensure that the LM step is not small, even if λj is too large, which has proven its effectiveness during numerical evaluations.

    By virtue of Theorem 2.2, we conclude that Φ(.) and its Jacobi J(.) are Lipschitz continuous in U, where the solution set XU. To study the global convergence, suppose there exist positive constants L1 and L2 such that

    J(y)J(z)∥≤L1yz,y,zRN+3,

    and

    Φ(y)Φ(z)∥≤L2yz,y,zRN+3.

    Then, by the Lipschitzness of the Jacobi, there is

    Φ(y)Φ(z)J(y)(yz)∥≤L1yz2,y,zRN+3,

    based on which and Theorem 2.3 in Ref. [26], we obtain the sequence generated by Algorithm 3.1 converges to the stationary point of the merit function.

    Theorem 3.1. (Global convergence) Algorithm 3.1 either terminates in finite iterations or satisfies limjJTjΦj=0.

    Next, we give the local convergence rate of Algorithm 3.1 under the local error bound condition.

    Suppose ¯yjX, where X is the solution set of Eq (2.3), the singular value decomposition (SVD) of J(¯yj), denoted as ¯Jj, is such that

    ¯Jj=¯Uj¯Σj¯VTj=(¯Uj,1,¯Uj,2)(¯Σj,10)(¯VTj,1¯VTj,2)=¯Uj,1¯Σj,1¯VTj,1,

    where ¯Σj,1=diag(¯σj,1,...,¯σj,r) with ¯σj,1¯σj,2...¯σj,r>0. Similarly, the SVD of J(¯yj) denoted as Jj, is such that

    Jj=UjΣjVTj=(Uj,1,Uj,2,Uj,3)(Σj,1Σj,20)(VTj,1VTj,2VTj,2)=Uj,1Σj,1VTj,1+Uj,2Σj,2VTj,2,

    where Σj,1=diag(σj,1,...,σj,r) with σj,1σj,2...σj,r>0, and Σj,2=diag(σj,r+1,...,σj,r+q) with σj,r+1σj,r+2...σj,r+q>0, when we neglect the subscription j in Σj,i, Uj,i, and Vj,i,i=1,2,3 for convenience, there is

    Jj=U1Σ1VT1+U2Σ2VT2.

    Furthermore, there is

    dj1=V1(Σ21+λjI)1Σ1UT1ΦjV2(Σ22+λjI)1Σ2UT2Φj, (3.1)
    dj2=V1(Σ21+λjI)1Σ1UT1ΦjV2(Σ22+λjI)1Σ2UT2Φj. (3.2)

    Assumption 3.1. Φ provides a local error bound on some neighborhood of ˉyX, i.e., there exists constants c1>0 and b1<1 such that

    Φ(y)c1dist(y,X),yN(ˉy,b1), (3.3)

    where dist(y,X)=infyXyˉy and N(ˉy,b1) is a neighborhood of ˉy.

    Remark 3.1. The local error bound condition is weaker than the nonsingularity. Actually, if Jj is nonsingular at a solution of (2.3), the solution is an isolated one, Φj provides a local error bound on its neighborhood [29].

    Lemma 3.2. The Jacobi J is Lipschitz constinous on N(ˉy,b1), which is a neighborhood of ˉyX, i.e.,

    J(y)J(z)∥≤L1yz,y,zN(ˉy,b1).

    Moreover, there is

    Φ(y)Φ(z)∥≤L2yz,y,zN(ˉy,b1).

    Proof. It is obvious by virtue of Theorem 2.2, we omit the proof here.

    Lemma 3.3. [29] Suppose yj,zjN(¯yj,b12),¯yjX.

    (ⅰ) There exists a positive constant M>m>0 such that μjM for j large enough.

    (ⅱ) There are positive constants c2,c3,c4 such that

    a) U1UT1Φjc2¯yjyj2;

    b) U2UT2Φjc3¯yjyj3;

    c) U3UT3Φjc4¯yjyj3.

    (ⅲ) There are positive constants c5,c6,c7 such that

    a) U1UT1Φj(zj)c5¯yjyj2;

    b) U2UT2Φj(zj)c6¯yjyj3;

    c) U3UT3Φj(zj)c7¯yjyj3.

    Theorem 3.2. (Local convergence) Under the conditions of Assumption 3.1, the sequence generated by Algorithm 3.1 cubically converges to some solutions of (2.3).

    Proof. Suppose yj,zjN(¯yj,b12),¯yjX. We divide the proof into three parts.

    (ⅰ) We start the proof by proving λjΣ11 and λjΣ11 are bounded. Recalling the SVD of Ji, there is

    (JTiJi+λiI)1JTi=(V1,V2,V3)((Σ21+λjI)1Σ1(Σ22+λjI)1Σ20)(UT1UT2UT3)((Σ21+λjI)1Σ1(Σ22+λjI)1Σ20)(Σ1λ1jΣ2). (3.4)

    Then, we have the following:

    diag(Σ1¯Σ1,Σ2,0)Jj¯JjL1¯yjyj,

    which is based on the theory of a matrix perturbation [29] and the Lipschitzness of Jj, and yields

    diag(Σ1¯Σ1,Σ2,0)L1¯yjyj and Σ2L1¯yjyj.

    Since yj converges to the solution set X based on the global convergence, suppose ¯yjyjσ2 for j large enough. Then, it follows from (3.4) that

    Σ112σ. (3.5)

    Furthermore, combining that 1<δj2 for j large enough, we have the following

    λ1jΣ2=Σ2μjΦjδjL1¯yjyj1δjmcδj1L1δj1Lδj1¯yjyj1δjmc1,

    which implies that

    λ1jΣ2=Σ2μjΦjδj2σL21mc1. (3.6)

    (ⅱ) Next, we show that Φj(yj)+Jjdj2O¯yjyj3.

    Combing (3.5), (3.6), Lemmas 3.2 and 3.3, we have

    Φj(zj)+Jjdj2=λjU1(Σ21+λjI)1Σ1UT1Φj(zj)+λjU2(Σ22+λjI)1Σ2UT2Φj+U3UT3Φj(zj)λjΣ21U1UT1Φj(zj)+λjΣ12U2UT2Φj(zj)+U3UT3Φj(zj)μjΦjδj4σ2U1UT1Φj(zj)+λjΣ12U2UT2Φj(zj)+U3UT3Φj(zj)MΦjΦ(¯yj)δj4σ2U1UT1Φj(zj)+O(¯yjzj)3+O(¯yjzj)3. (3.7)

    Moreover, since δj(1,2] for j is large enough, there is

    Φj(yj)+Jjdj24ML22σ2¯yjyj(2+δj)+O(¯yjyj)3O(¯yjyj)3. (3.8)

    (ⅲ) We provide the proof of the conclusion. Denote zj=yj+dk1. Since

    c1¯yj+1yj+1Φ(yj+1)=Φ(zj+dj2)Φ(zj)+Jjdk2+(J(zj)Jj)dk2+L1dk22O(¯yjyj)3+L1dj1dj2+L1dj22,

    and dj1dj2O(¯yjyj)3 by virtue of the SVD of Ji, we have the following

    c1¯yj+1yj+1O(¯yjyj)3,

    which implies the conclusion.

    Remark 3.3. The proof of Theorem 3.2 is similar to Theorem 3.6 in Ref. [29]. However, δi(0,2] is adaptive here, and δ[1,2] is a constant in [29]. It is worth mentioning that Algorithm 3.1 has the local cubic convergence, which is better than Newton method.

    In this section, we consider a smart grid system in a small area to illustrate the effectiveness of the two-step smoothing Levenberg-Marquardt method (SLM).

    Divide a day into 24 time slots with one hour for one slot, (i.e., K = 24). Set aj=0.01,bj=cj=0 in the cost function, and ˜K=50,ω0(k)rand(0,5) in the initial function. Set ε=1.0e6,m=1.0e6,μ0=0,p0=0.0001,p1=0.25,p2=0.75.

    Consider N=10, namely 10 users. The electricity demand xj(0) was chosen randomly from [5,16],j=1,2,...,10.. First, we compared the price and the social benefit at different times based on the present method with the traditional fixed method [24], where λj=max(wj(.))(αjLj(.))/N. The numerical results are shown in Figure 4.1(a), (b). Then, we adopted the approximating parameters μ=0.1,μ=0.01 respectively in the smoothing quasi-Newton method [13], and compared the real-time prices with that obtained from the two-step SLM method. The numerical results are shown in Figure 4.2(a), (b).

    Figure 4.1(a).  The price at different time based on fixed price method and SLM method.
    Figure 4.1(b).  The social benefit at different time based on fixed price method and SLM method.
    Figure 4.2(a).  The price at different time based on SQNM with μ=0.1 and SLM method.
    Figure 4.2(b).  The price at different time based on SQNM with μ=0.01 and SLM method.

    In Table 4.1, we adopted N=5,N=10,N=20,N=50,N=100 and compared the CPU time to obtain the optimal prices between the one-step SLM and the two-step SLM at the time slots k=5,k=10,k=15,k=20.

    Table 4.1.  The comparison of CPU time between one-step and two-step smoothing Levenberg-Marquardt method.
    one-step two-step
    N k=5 k=10 k=15 k=20 k=5 k=10 k=15 k=20
    5 2.78 3.46 4.01 3.37 3.03 4.11 3.03 2.60
    10 6.60 5.12 4.50 5.23 5.66 3.50 3.92 4.63
    20 15.92 16.44 16.07 13.39 9.25 14.89 9.99 9.62
    50 88.74 81.99 81.55 50.99 71.21 53.49 45.15 44.74
    100 492.43 413.67 422.74 434.83 352.95 380.16 250.24 315.05

     | Show Table
    DownLoad: CSV

    From Figure 4.1(a), (b), it can be seen that the social benefit obtained by the proposed method is similar to that obtained by the fixed electricity price method. However, the electricity price calculated by the proposed method is approximately 50%70% lower, which is meaningful for users to reduce their electricity consumption.

    From Figure 4.2(a), (b), we find that the smaller μ is, the more approximate to the one obtained by the present algorithm. When the approximating parameter is adopted as μ=0.1, the price is a little higher than that obtained by the proposed algorithm. When the approximating parameter is adopted as μ=0.01, the price obtained tends more to coincide, which means that the proposed algorithm is more accurate and effectiveness.

    From Table 4.1, we obtained that the CPU time of the present algorithm is approximately 0.25s0.65s than the one-step SLM method when N=5 at k=5, k=10, where we obtained the iterative direction by solving one LM equation. However, when the number of the users is greater, the CPU time is less than that of the one-step smoothing method. For example, take N=100, k=5, the cpu time of the two-step method is 30% less than the one-step method. The proposed algorithm is more suitable for large scale users.

    By transforming the social welfare maximization model into a smooth system of equations, we present a two-step LM method with the global convergence and the cubic locally convergence in this paper, which could compute the optimal electricity consumption for users, price and production for the electricity provider at the beginning of each time slot in a smart grid. It could be seen that the peak electricity ranges from 10:00 to 13:00, and 19:00 to 21:00 every day, users can turn off something that is not required and use more electricity appliances during periods of low prices, which is beneficial to peak cutting and valley filling. However, only one class of users and one electricity supply is considered here. The effectiveness of the present algorithm for multiple types of users and supplies will be discussed in our future topic.

    The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.

    This work was supported by National Science Foundation of China (no.12101198).

    All authors declare no conflicts of interest in this paper.



    [1] C. Dang, X. F. Wang, C. C. Shao, X. L. Wang, Distributed generation planning for diversified participants in demand response to promote renewable energy integration, J. Mod. Power Syst. Cle., 7 (2019), 1559–1572. https://doi.org/10.1007/s40565-019-0506-9 doi: 10.1007/s40565-019-0506-9
    [2] J. Lin, B. Xiao, H. Zhang, X. Y. Yang, P. Zhao, A novel multitype-users welfare equilibrium based real-time pricing in smart grid, Future Gener. Comp. Sy., 108 (2020), 145–160. https://doi.org/10.1016/j.future.2020.02.013 doi: 10.1016/j.future.2020.02.013
    [3] R. Rotas, M. Fotopoulou, P. Drosatos, D. Rakopoulos, N. Nikolopoulos, Adaptive dynamic building envelopes with solar power components: Annual performance assessment for two pilot sites, Energies, 16 (2023). https://doi.org/10.3390/en16052148 doi: 10.3390/en16052148
    [4] R. Mohamed, A. Mohammad, Optimal planning and operation of grid-connected PV/CHP/battery energy system considering demand response and electric vehicles for a multi-residential complex building, J. Energy. Stor., 72 (2023), 108198. https://doi.org/10.1016/j.est.2023.108198 doi: 10.1016/j.est.2023.108198
    [5] E. Bellos, P. Lykas, C. Tzivanidis, Performance analysis of a zero-energy building using photovoltaics and hydrogen storage, Appl. Syst. Innov., 6 (2023), 43. https://doi.org/10.3390/asi6020043 doi: 10.3390/asi6020043
    [6] S. Nojavan, K. Zare, Optimal energy pricing for consumers by electricity retailer, Int. J. Elec. Power, 102 (2018), 401–412. https://doi.org/10.1016/j.ijepes.2018.05.013 doi: 10.1016/j.ijepes.2018.05.013
    [7] Z. Wang, R. Paranjape, Z. Chen, K. Zeng, Layered stochastic approach for residential demand response based on real-time pricing and incentive mechanism, IET Gener. Transm. Dis., 14 (2020), 349–524. https://doi.org/10.1049/iet-gtd.2019.1135 doi: 10.1049/iet-gtd.2019.1135
    [8] L. Tao, Y. Gao, Real-time pricing for smart grid with distributed energyand storage: A noncooperative game method considering spatially and temporally coupled constraints, Int. J. Elec. Power, 115 (2020), 105487. https://doi.org/10.1016/j.ijepes.2019.105487 doi: 10.1016/j.ijepes.2019.105487
    [9] Y. M. Dai, Y. Q. Yang, M. M. Leng, A Novel alternative energy trading mechanism for different users considering value-added service and price competition, Comput. Ind. Eng., 172 (2022), 108531. https://doi.org/10.1016/j.cie.2022.108531 doi: 10.1016/j.cie.2022.108531
    [10] S. Nojavan, K. Zare, B. Mohammadi-Ivatloo, Risk-based framework for supplying electricity from renewable generation-owning retailers to price-sensitive customers using information gap decision theory, Inter. J. Elec. Power, 93 (2017), 156–170. https://doi.org/10.1016/j.ijepes.2017.05.023 doi: 10.1016/j.ijepes.2017.05.023
    [11] W. Zhang, J. Li, G. Chen, Z. Y. Dong, K. P. Wong, A comprehensive model with fast solver for optimal energy scheduling in RTP environment, IEEE T. Smart Grid., 8 (2017), 2314–2323. https://doi.org/10.1109/TSG.2016.2522947 doi: 10.1109/TSG.2016.2522947
    [12] H. B. Zhu, Y. Gao, Y. Hou, T. Li, Real-time pricing considering different type of users based on Markov decision processes in smart grid, Syst. Eng.-Theor. Pract., 38 (2018), 807–816. https://doi.org/10.12011/1000-6788(2018)03-0807-10 doi: 10.12011/1000-6788(2018)03-0807-10
    [13] H. J. Wang, Y. Gao, Research on the real-time pricing of smart grid based on nonsmooth equations, J. Syst. Eng., 33 (2018), 34–41. https://doi.org/10.13383/j.cnki.jse.2018.03.004 doi: 10.13383/j.cnki.jse.2018.03.004
    [14] Y. Y. Li, J. X. Li, Y. Z. Dang, Smoothing Newton algorithm for real-time pricing of smart grid based on KKT conditions, J. Sys. Sci. Math. Sci., 40 (2020), 646–656.
    [15] Y. Y. Li, J. X. Li, J. J. He, S. Y. Zhang, The real-time pricing optimization model of smart grid on the utility function of the logistic function, Energy, 224 (2021), https://doi.org/10.1016/j.energy.2021.120172 doi: 10.1016/j.energy.2021.120172
    [16] Y. X. Yang, S. Q. Du, Y. Y. Chen, Real-time pricing method for smart grid based on social welfare maximization model, J. Ind. Manag. Optim., 19 (2022), 2206–2225. https://doi.org/10.3934/jimo.2022039 doi: 10.3934/jimo.2022039
    [17] G. M. C. Leite, S. Jimnez-Fernndez, S. Salcedo-Sanz, C. G. Marcelino, C. E. Pedreira, Solving an energy resource management problem with a novel multi-objective evolutionary reinforcement learning method, Knowledge-Based Sys., 280 (2023), https://doi.org/10.1016/j.knosys.2023.111027 doi: 10.1016/j.knosys.2023.111027
    [18] T. Anupam, C. A. Hau, S. Dipti, A stochastic cost-benefit analysis framework for allocating energy storage system in distribution network for load leveling, Appl. Energy, 280 (2020), 115944. Available from: https://www.sciencedirect.com/science/article/pii/S0306261920314008.
    [19] E. Nazanin, M. H. Seyed, H. Arezoo, G. Derakhshan, Stochastic energy management for a renewable energy based microgrid considering battery, hydrogen storage, and demand response, Sustain. Energy Grids, 30 (2022), https://doi.org/10.1016/j.segan.2022.100652 doi: 10.1016/j.segan.2022.100652
    [20] Y. Li, K. Li, Z. Yang, Y. Yu, R. Xu, M. Yang, Stochastic optimal scheduling of demand response-enabled microgrids with renewable generations: An analytical-heuristic approach, J. Clean. Prod., 330 (2022), 111027. https://doi.org/10.1016/j.jclepro.2021.129840 doi: 10.1016/j.jclepro.2021.129840
    [21] C. G. Marcelino, G. M. C. Leite, E. F. Wanner, S. Jiménez-Fernández, S. Salcedo-Sanz, Evaluating the use of a Net-Metering mechanism in microgrids to reduce power generation costs with a swarm-intelligent algorithm, Energy, 266 (2023), 126317. https://doi.org/10.2139/ssrn.4195286 doi: 10.2139/ssrn.4195286
    [22] L. S. Song, Y. Gao, A smoothing Levenberg-Marquardt method for nonlinear complementarity problems, Numer. Algor., 79 (2018), 1305–1321. https://doi.org/10.1007/s11075-018-0485-3 doi: 10.1007/s11075-018-0485-3
    [23] P. Samadi, A. H. Mohsenian-Rad, R. Schober, V. W. S. Wong, J. Jatskevich, Optimal real-time pricing algorithm based on utility maximization for smart grid, In: 2010 First IEEE International Conference on Smart Grid Communications, 2010,415–420. https://doi.org/10.1109/SMARTGRID.2010.5622077
    [24] P. Samadi, H. Mohsenian-Rad, R. Schober, V. W. S. Wong, Advanced demand side management for the future smart grid using mechanism design, IEEE T. Smart. Grid., 3 (2012), 1170–1180. https://doi.org/10.1109/TSG.2012.2203341 doi: 10.1109/TSG.2012.2203341
    [25] R. W. Cottle, J. Pang, R. Stone, The linear complementarity problem, Academic Press, Boston, 1992. http://linkinghub.elsevier.com/retrieve/pii/037847549290066P
    [26] A. Fischer, A special Newton-type optimization method, Optimization, 24 (1992), 269–284. https://doi.org/10.1080/02331939208843795 doi: 10.1080/02331939208843795
    [27] A. H. Mohsenian-Rad, V. J. Wong, J. Jatskevich, R. Schober, A. Leon-Garcia, Autonomous demand-side management based on game theoretic energy consumption scheduling for the future smart grid, IEEE T. Smart. Grid., 1 (2010), 320–331. https://doi.org/10.1109/TSG.2010.2089069 doi: 10.1109/TSG.2010.2089069
    [28] C. Z. Li, Y. M. Huang, Mathematical analysis, 2 Eds., China: Science Press, 2006. Available from: http://www.ecsponline.com/yz/BDD05C0FFFD7540F197658F5B350DCE3F000.pdf.
    [29] J. Y. Fan, The modified Levenberg-Marquardt method for nonlinear equations with cubic convergence, Math. Comput., 81 (2012), 447–466. Available from: https://www.ams.org/journals/mcom/2012-81-277/S0025-5718-2011-02496-8/S0025-5718-2011-02496-8.pdf.
  • Reader Comments
  • © 2024 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(1019) PDF downloads(57) Cited by(0)

Figures and Tables

Figures(5)  /  Tables(1)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog