Research of Smart Payment System of Power Grid Using Strongly Sub-feasible SQP Algorithm

With the continuous development and perfection of "Internet + Electricity", the regional grid operation has gradually realized the Internet-based automation. In order to improve the smart level of regional grid operation, this paper analyzes the status quo of power grid terminal in Fujian local power (group) company, and introduces the strongly sub-feasible sequence quadratic programming (SQP). The smart payment system based on strongly sub-feasible SQP algorithm is described by its structure, function and implementation process. Through the information technology to improve the efficiency of the service, so that payment staff and smart terminal of self-service payment system has been information between the interactive mode, the actual operation effe ct is


Introduction
In the increasingly developed modern informat ion technology, It is the inevitable choice o f power supply enterprises to deepen and enhance the level of smart management of power grids for electricity customers to provide better service by information technology means.In ch ina there are six types of electric pay ment terminal: lobby-style self-service terminal; through the wall-type self-service terminal; through the wall selfservice terminal; POS terminal; financial institutions self-service terminal; third party terminal.In the abovementioned various power pay ment terminals, the wallmounted self-service terminal, the POS terminal, the financial institution self-service terminal, the third party terminal can only co mplete the payment function, the lobby type self-service terminal and the wall-type selfservice terminal can co mplete the payment function To provide historical power tariff detailed inquiries.If 24hour self-service business hall installed through the walltype self-service terminal expands its function, it will also display the message of power outage, install the voice and video system can provide remote assistance services.There are d ifferent needs on the location choice for the power co mpanies, the financial institutions and the third-party agents.Power companies want to provide customers with more options to facilitate the nearest customer payment, to min imize the customer nonmalicious arrears caused by power outages, and to speed up the recovery of electricity fee .
The main problems of current payment terminal: the table after the opening of the network layout issues; own network terminal deploy ment planning issues; power payment terminal installation and commissioning work; power self-service pay ment terminal business status monitoring issues; power self-service payment terminal Equip ment operation monitoring problem; some payment terminal customers can not get invoice and payment success message.In this paper, we p ropose a grid payment system based on strong and feasible SQP algorith m, which is based on Qt, Oracle software, and so on.In this paper, we propose a scheme of power payment system based on strong and feasible SQP algorith m.With the interactive functions, the developed system has a very good versatility and achieve good results in practical operation.

Mathematical Model of Smart Payment System for Power Grid
The payment terminal is the core co mponent of the smart grid operation system.The user can judge whether the payment is made by checking the electricity bill and the personal account balance.At the same time, the pay ment method is provided, wh ich includes the artificial electricity fee, the online payment and the bank direct deductions and other ways, and the system will be based on the user to set the reminder function for self-service payment management.For the optimal solution of the mu ltiobjective nonlinear problem, the self-service payment system model is as follows.
Assuming that λ is the user's monthly electricity bill, θ is the electricity owed by the user, μ is the account balance of the user, ξ is the upper limit of the electricity charge for the user to forcibly.
On behalf of the calculation of the we ight, its value depends on the amount of electricity owed by the user, M refers the number of months, generally 12 months.According to the system requirements, It is necessary to meet the fo llo wing constraints in order to use the selfservice payment function: λ＋θ≥ξ For manual pay ment, you need to manually control the user according to individual needs and also need to use remote data access technology for data update operation.

The Principle of SQP Algorithm
The SQP (sequence quadratic programming) algorith m is one of the most effective algorith ms to solve the nonlinear constrained optimizat ion.The feasible SQP algorith m is one of the most important algorith ms.The SQP (sequence quadratic programming) algorith m is one of the most effective algorith ms for solving nonlinear constrained optimizat ion.Because it can produce feasible iterative point sequence, It has a very important practical application in engineering design and real-time control.
Strongly feasible SQP algorith m principle General inequality constraint optimization problem can be expressed as: is the objective function; x is the design variable; I is the subscript set; g j (x) is the constraint function; j is the number of the constraint function.The kth iteration point x k ∈ Rn is defined as follows.
The inequality constraint optimization problem (1) can be solved by solving the quadratic programming problem of the fo llowing formu la (4), and finally the main search direction d 0 k is obtained.
Where B k ∈Rn × n is the approximation of the Hessen matrix o f the Lagrangian function at x k .Since the formula (4) has a feasible solution d = 0, d 0 k is its optimal solution, but not necessarily a feasible solution direction, the algorith m uses the generalized pro jection technique to obtain the new imp roved display correction direction d k , and give the new Of the high-order display correction direct ion ~ d k , the specific formu la can be seen in details in the reference.
The iterative formula for the design variables is: The step length λ k is found by constructing a new Armijio curve.When (d 0 k , φ k ) = (0,0), x k is the optimal solution of equation (1).
The strong and feasible SQP algorithm can first ensure that the algorith m has been subjected to finite iterat ion, the iterative point falls into the feasible domain, and then automatically beco mes a feasible SQP algorith m, and thus overcome a strong assumption (that is, the maximu m constraint violation function is the higher order of QP subproblems.)Second, the strict complementary conditions are removed, which great ly reduces the amount of co mputation.Finally, the algorith m has global and superlinear convergence.The preliminary numerical experiments show that the algorithm is stable and effective.

Design of Smart Payment System for Power Grid and Realization of Main Function
Power grid intelligent payment system in the overall design of the modular structure of the system, d ivided into six modules: manual pay ment module, bank card payment module, file and electricity tariff query module, electricity invoice and electricity bill printing module.Manual payment is to provide the ad ministrator to use the function when payment cannot be solved because of the network or machine failu re at the terminal .As the process shown in Figure 1, the module consists of pay the main station and marketing system 2 parts.This function is only open to the administrator, the administrator can enter the wenbrowser interface in the main station and input the needed terminal number of payment, SG186 account, find out the current records of the unpayment at the corresponding terminal, and show detailed transaction records and the total amount ,the total number of pen.

Manual Payment Module
As shown in Figure 2 , in order to solve the problem at payment terminal which is because of network barrier at the time of the boot ,but the consumers due to the terminal fault, the boot module function at pay ment terminal is added.

Fig 2 Payment terminal flow chart
Terminal start when the first start a QT prepared by the client program, the interface shows "is initializing the payment process", this procedure is to pay the main station system network check, if the network is smooth, then start the device service program by the device service program to start Firefo x.If the network does not work, the page prompts "power network interruption, please contact the network ad min istrator to view the network connection status".
Th is boot interface displays the "restart", "shutdown" button, after the firefo x b rows er is opened, the boot interface is set at the end, while adding a button "restart the payment process", click this button to restart the device service process, After the firefo x runs into fault,the user will see the boot interface, and click "restart the payment process" to restart the program.

Bank Card Payment Modul
The bank card payment module mainly imp lements the bank card payment function, and the terminal d irect ly communicates with the CUP system to co mplete the data interaction and the interactive data is 8583 packets.Bank card payment authority is for electricity customers.The basic processes : Enter the number -> Show under the charge information -> Enter the amount of payment -> Insert the bank card -> enter the bank card password -> payment success.

File and Electricity Tariff Query Module
(1) file query module, enter the user account number, you can query the file information.The basic processes : Enter the nu mber and password -> Show file informat ion.The file information mainly includes the customer's basic information (customer number, account name, contact person, contact telephone number, document name, document nu mber, pay ment method, withholding bank, bank account number), customer electricity informat ion (electrical addres s, copy number , Power supply units, industry classification, measurement methods, voltage levels, electricity categories, user classification, contract capacity, production frequency, into the line) data.
(2) power tariff query module mainly through the user input power account number, customers can query their own nearly a year of electricity consumption informat ion, this authority is for electricity customers, The basic processes : enter the nu mber and password -> show the month Electricity situation -> click on the specific month to check the power situation.File query module constraints for the electricity situation A page shows 6 months, you can click on the previous page or next page to see the last 6 months or the next 6 months.The electricity situation includes: meter reading detail (meter date, the type of display, magnification, last month only, this month only), electricity price details (electricity price unit price, power b illing power, electricity tariff) Rate details (to adjust the amount of electricity, ad just the coefficient, the power factor to adjust the electricity), if the user has the corresponding details , it will show, Otherwise no show.

Electricity Bill and Electricity Bill Print Module
(1) electricity invoice module provides the effective fee vouchers for the electricity customers.After the customer pay ment is successful, the self-service pay ment window prompts to print the invoice.
(2) The tariff list print module is to enter the user's account number, select the year to be printed, the list printing, the basic process input number and password -> select the year to print -> to print.The tariff list print module constraint allo ws customers to print only once for a month (such as 201701) during the user's login session, but also allows the user to p rint the list for the month after the next login.

System Operation Example Analysis
In the current Jinjiang power pay ment system, for example, when the power g rid intelligent payment system is running, the operator firstly judges whether the network terminal is operating normally.It is necessary to add a judge, when the user input SG186 account, you need to join the terminal nu mber to make judgments.ifthe customers input SG186 account which does not correspond to the machine's terminal nu mber, it will show: the SG186 account and the terminal does not match.The ad min istrator can in itiate the reconciliation function manually and can init iate a freeze operation if there is no unilateral account.As shown in Figure 3, if there is a one-sided account can be judged by the system program out of the single-sided account to fill or red positive action.After the manual payment is comp leted, the admin istrator also needs to contact the operating room counter in time to solve the situation, and inform the amount of money and the number of pen to facilitate the opening of the money box to check the amount.Power customers choose electricity tariff query function, enter the electricity account number, the system shows the arrears of information, and prompted the amount required to pay.The system pro mpts the customer to pay the bank card, after entering the bank card password, the terminal auto matically networked bank deductions.
As shown in Figure 5, pay ment system prompts that customers pay successfully, invoices can be printed.If the power customers forget the user number, as shown in Figure 6 , log on the payment system by swiping the account holder's ID card.In this case, the data obtained fro m the intelligent payment system of the power grid is consistent with the actual on-site pay ment data, and the reliability of each module is verified.

Conclusions
The intelligent payment system of power grid main ly focuses on the existing problems of self-service terminal of power payment.It is more convenient and quick to pay electricity and imp rove the application level of power payment terminal.It adopts the power grid intelligent payment system architecture based on strong and feasible SQP algorithm, Armi jio curve search and two new display correct ion directions with the same inverse matrix structure, which reduces the computational co mplexity and ensures the validity of the data.Qt, Oracle software's powerfu l interactive function has developed a complete application system.
Power grid intelligent payment system is one of the key technologies of smart grid development, and is the cornerstone of achieving the smart grid "info rmatizat ion, digitization, auto matization, interactivity".The system has a good versatility and good results in operation.It has a wide range of development prospects in practical engineering applications.The upgrading and updating of the system equip ment are to be in further and deep discussion.

Fig 1
Fig 1 Artificial solution flow chart

Fig 3 Fig 4
Fig 3 Terminal query and terminal list After successfully registering the payment terminal, it displays the main interface function area of the system.As shown in the figure, there are six parts: cash payment fee, bank card pay ment fee, electricity b ill invoice printing, electricity bill printing, file inquiry and electricity tariff query.

Fig5Fig 6
Fig5 Payment Successful to print Invoice