CN103020709B - Based on the one-dimensional water quality model parameter calibration method of artificial bee colony and quanta particle swarm optimization - Google Patents

Based on the one-dimensional water quality model parameter calibration method of artificial bee colony and quanta particle swarm optimization Download PDF

Info

Publication number
CN103020709B
CN103020709B CN201210402849.2A CN201210402849A CN103020709B CN 103020709 B CN103020709 B CN 103020709B CN 201210402849 A CN201210402849 A CN 201210402849A CN 103020709 B CN103020709 B CN 103020709B
Authority
CN
China
Prior art keywords
algorithm
result
qpso
abc
water quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210402849.2A
Other languages
Chinese (zh)
Other versions
CN103020709A (en
Inventor
陈广洲
刘桂建
汪家权
李如忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Jianzhu University
Original Assignee
Anhui Jianzhu University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Jianzhu University filed Critical Anhui Jianzhu University
Priority to CN201210402849.2A priority Critical patent/CN103020709B/en
Publication of CN103020709A publication Critical patent/CN103020709A/en
Application granted granted Critical
Publication of CN103020709B publication Critical patent/CN103020709B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of one-dimensional water quality model parameter calibration method based on artificial bee colony and quanta particle swarm optimization, it comprises following key step: (1) chooses the river that will study, according to measured value and employing one-dimensional water quality model, work out objective function to be optimized; (2) the general operational factor of algorithm is inputted: population number, iterations, dimension, variable-value scope, objective function to be optimized; (3) one or more computing method choosing ABC, QPSO, QPSO+ABC and ABC+QPSO calculate; (4) if only use one, whether direct judged result meets is optimized requirement; If more than a kind of computing method, whether the result of Integrated comparative result of calculation and evaluation optimum meets the requirement of this suboptimization; (5) if meet the demands, computing terminates, and exports result of calculation and iterativecurve; (6) otherwise, the input parameter of amendment algorithm, recalculates, and the result of calculation after output parameter adjustment and iterativecurve, obtain final optimization pass result.

Description

Based on the one-dimensional water quality model parameter calibration method of artificial bee colony and quanta particle swarm optimization
Technical field
The present invention relates to the optimization application in artificial intelligence, Management Science and Engineering, particularly relate to a kind of one-dimensional water quality model parameter calibration method based on artificial bee colony and quanta particle swarm optimization.
Background technology
Optimization problem is present in real world in a large number, and especially in scientific research and engineer applied field, the effect of optimum theory and technology becomes more and more important.In addition, optimisation technique also has purposes widely in the industry-by-industry of national economy.Solve the needs of the optimization problem of the feature such as extensive, combination, non-linear, discreteness, randomness, multiple goal, promote the development of mathematic programming methods and intelligent optimization algorithm.Colony intelligence optimized algorithm is one of them study hotspot in recent years.
Artificial bee colony algorithm is a kind of Swarm Intelligence Algorithm efficiently, and the gathering honey behavior that it imitates honeybee is searched for.Honeybee carries out different activities according to the respective division of labor, and realizes sharing and exchanging of bee colony information, thus finds the optimum solution of problem.Shown by numerical function optimization and multimodal function optimization, ABC algorithm has better Optimal performance than genetic algorithm, differential evolution algorithm and Particle Swarm Optimization.
Quanta particle swarm optimization is incorporated in basic particle group algorithm by quantum theory, for the deficiency of basic particle group algorithm optimizing, from quantum-mechanical angle, utilize quantum uncertainty principle to describe the motion state of particle, basic particle group algorithm is improved.It is seen as a kind of newly, can to one of probabilistic algorithm that basic particle group algorithm future thrust has an impact.Show through polytype application: the method have travelling speed soon, stronger optimizing performance.
Above-mentioned two kinds of algorithms respectively have advantage, often need to adopt above-mentioned two kinds of algorithms to be optimized computing in production practices.A kind of method wherein can be adopted to calculate result, also can compare two kinds of arithmetic result, decide what to use; In addition, for improving ability of searching optimum further, the mixed method (QPSO+ABC and ABC+QPSO) of these two kinds of methods also can be adopted to carry out optimizing intensive treatment, to obtain better optimum results.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of one-dimensional water quality model parameter calibration method based on artificial bee colony and quanta particle swarm optimization.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is: based on the one-dimensional water quality model parameter calibration method of artificial bee colony and quanta particle swarm optimization, artificial bee colony algorithm calls ABC in the following text, and quanta particle swarm optimization calls QPSO in the following text, comprises the following steps:
(1) choose the river that will study, obtain tracer concentration data over time by tracer experiment; According to measured value and employing one-dimensional water quality model ( c = ( M 0 / ( A 4 * pi * D L - * t ) ) * exp ( - ( x - vt ) 2 / ( 4 D L t ) ) ) The minimum principle of calculated value sum of squares of deviations works out objective function to be optimized:
(2) the general operational factor of algorithm is inputted: population number, iterations, dimension, variable-value scope, objective function to be optimized;
(3) one or more computing method choosing ABC, QPSO, QPSO+ABC and ABC+QPSO carry out the calibration calculating of model parameter;
(4) if only adopt the one in above-mentioned algorithm, whether direct judged result meets is optimized requirement; According to two in above-mentioned algorithm kind and above computing method, Integrated comparative result of calculation and evaluate the requirement whether optimum result meets this suboptimization;
(5) if meet the demands, computing terminates, the result of output parameter calibration and the iterativecurve of algorithm;
(6) otherwise, amendment algorithm input parameter, recalculate, output parameter adjustment after result of calculation and iterativecurve, obtain final optimum results.
As preferably, objective function refers to that a class can be converted into the function asking extreme value, the error between the calculated value that the measured value and carrying out according to theory as tested gained calculates.
As preferably, the calculation procedure of artificial bee colony algorithm is as follows:
(1) carry out initialization according to self span of each variable respectively according to population number, carry out dimension merging subsequently, form bee colony initial population x ij, i=1 ..., SN, j=1 ... D, wherein SN represents the quantity of food source, and D is the dimension of variable;
(2) calculate the function fitness value of population, and evaluate population;
(3) gathering honey honeybee (x ij) in food source neighborhood, near its neighborhood, produce new explanation v by formula (1) ij:
v ij=x ijij(x ij-x kj)(1)
Wherein, x kexcept x ioutside a solution of random selecting, φ ijbe the random number of a variation range at interval [-a, a], a gets 1 usually, then, applies greedy selection algorithm and determines v iand x iquality;
(4) according to formula (2), according to fitness value (fit i) calculate and separate x iprobable value p i:
p i = fit i / ( Σ i = 1 SN fit i ) - - - ( 2 )
Wherein, for minimization problem, the calculating of fitness value is pressed formula (3) and is calculated:
fit i = 1 / ( 1 + f i ) if f i &GreaterEqual; 0 1 + abs ( f i ) if f i < 0 - - - ( 3 )
Wherein, f ifor target function value;
(5) for observation honeybee, produce new explanation in the neighborhood of the food source selected by it, adopt greedy selection algorithm to compare v iand x iquality;
(6) the solution x abandoned is determined i, adopt the new explanation x ' that formula (4) produces at random ireplace it, it can be used as search bee:
x / ij=xmin j+rand(0,1)*(xmax j-xmin j)(4)
Wherein, xmin jfor the span lower limit of parameter j, xmax jfor the span upper limit of parameter j;
(7) solution that memory is best at present, if meet ending standard requirement, algorithm stops, and exports result of calculation; Otherwise, forward step (2) to and continue iteration.
As preferably, the new explanation obtained in the calculation procedure 3 of artificial bee colony algorithm and step 5, will carry out range check respectively to each variable range, make it not exceed the interval of himself change.
The invention has the beneficial effects as follows:
Choose artificial bee colony algorithm and this colony intelligence optimized algorithm that two kinds of required input parameters are few, Optimal performance is strong of quanta particle swarm optimization carries out being integrated into a universal computing platform, it has the following advantages:
(1) parameters input is simple, easy to operate; (2) user is by the objective function to be optimized of establishment oneself, can solve the actual optimization problem that it runs into easily, be with a wide range of applications and practical value; (3) user is by changing the parameters of certain algorithm, can observe the affecting laws of this algorithm parameter change to Optimal performance; (4) for same optimization problem, various combination account form can be adopted to calculate, compare Optimal performance situation and the quality of result of calculation, thus select optimum result of calculation for; Particularly two kinds of mixing account form (QPSO+ABC and ABC+QPSO), adopt the optimum results of a kind of front method directly to implant in the initial population of subsequent algorithm and participate in successive iterations and calculate, and enhance the Optimal performance of algorithm.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Fig. 1 is the process flow diagram of the optimized calculation method embodiment that the present invention is based on artificial bee colony algorithm and quanta particle swarm optimization.
Fig. 2 is the iterativecurve figure of the optimized calculation method embodiment A BC that the present invention is based on artificial bee colony algorithm and quanta particle swarm optimization.
Fig. 3 is the iterativecurve figure of the optimized calculation method embodiment QPSO that the present invention is based on artificial bee colony algorithm and quanta particle swarm optimization.
Fig. 4 is the iterativecurve figure of the optimized calculation method embodiment A BC+QPSO that the present invention is based on artificial bee colony algorithm and quanta particle swarm optimization.
Fig. 5 is the iterativecurve figure of the optimized calculation method embodiment QPSO+ABC that the present invention is based on artificial bee colony algorithm and quanta particle swarm optimization.
Embodiment
The present embodiment is the application example of a water quality parameter identification, and Fig. 1 is its process flow diagram.
Analyze river water mass tracing experiment data, determine Longitudinal Dispersion D lduring with mean velocity in section v, many employings describe the analytic solution of the one-dimensional river water mass tracing experiment under instantaneous input tracer agent condition:
( c = ( M 0 / ( A 4 * pi * D L - * t ) ) * exp ( - ( x - vt ) 2 / ( 4 D L t ) ) ) ;
In formula: c is tracer agent mass concentration, M 0for the quality of instantaneous input tracer agent; A is river cross section area; D lfor longitudinal dispersion coefficient of river; X is the distance between sampled point and release position; T is the time; V is cross section of river mean flow rate, and pi represents π, gets 3.14 during calculating.
Objective function is:
min f ( &theta; ) = &Sigma; i = 1 m ( c i - c j ) 2
In formula: c ifor the actual tracer agent mass concentration value observed in the i-th moment; c jthe tracer agent mass concentration value in the i-th moment calculated for utilizing above formula; θ is parameters of river water quality vector to be estimated, i be tracer concentration observation time sequence number (i=1,2 ..., n).Choose suitable parameter value θ, make the sum of squares of deviations of concentration calculated value and concentration observed reading reach minimum, now corresponding parameters of river water quality value is required by problem.
Known M 0=10kg, x=500m, give parameter true value θ 1=D l=3000m 2/ mir, θ 2=v=30m/min and θ 3=A=20m 2time, the raw data c corresponding to different time i, specifically in table 1.
Table 1:c i~ t iraw data correspondence table
t i/min 6 10 12 14 16 20 24 36
c i/(mg·L -1) 0.254 0.583 0.649 0.663 0.642 0.552 0.444 0.197
Arranging population number is 30, and iteration total degree is that the variation range of 300, three parameters is respectively: [0,300000], [0,3000], [0,2000], and objective function is shuizhicanshu, and result of calculation is as follows:
Adopt the result of calculation of ABC: target function value is 9.230009e-007, and variable result to be optimized is followed successively by 3001.46,30.0082,20.0009, and the iterativecurve of output as shown in Figure 2.
Adopt the result of calculation of QPSO: target function value is 9.2109e-007, and variable result to be optimized is followed successively by 3001.81,30.008,20.0001, and the iterativecurve of output as shown in Figure 3.
Adopt the result of calculation of ABC+QPSO: target function value is 9.2109e-007, and variable result to be optimized is followed successively by 3001.81,30.008,20.0001, and the iterativecurve of output as shown in Figure 4.
Adopt the result of calculation of QPSO+ABC: target function value is 9.2109e-007, and variable result to be optimized is followed successively by 3001.81,30.008,20.0001, and the iterativecurve of output as shown in Figure 5.
As follows to the observation and comparison of the concrete iterativecurve of above-mentioned four kinds of methods:
By observing Fig. 2 and Fig. 3, can find out that QPSO is better than ABC in speed of convergence and optimum results; Fig. 4 reflects the mixed running effect of order for ABC+QPSO two kinds of algorithms, shows that QPSO has had certain improvement solving on basis of ABC to result again, obtains more excellent result; Fig. 5 reflects the mixed running effect of order for QPSO+ABC two kinds of algorithms, show the result that QPSO has obtained, and solving of ABC does not improve to some extent to the above results.
In the present embodiment, the variable of artificial bee colony algorithm (ABC) is not search for by identical interval, but searches for according to the interval of self, like this can convergence speedup speed and enhancing optimizing effect.
For convenience of using, in the present embodiment uses, adopt the MATLABGUI technological development optimization computing platform of an interactive interface close friend.This platform is made up of three parts: (1) load module part, for receiving population number, dimension, the bound scope of variable-value and objective function to be optimized; (2) output module: export the optimal objective function value and corresponding variable-value that calculate; (3) iterativecurve display module: the evolution process of target function value with iterations that certain algorithm can be demonstrated real-time dynamicly.Its interactive interface is made up of 2 panels, 9 static text frames, 8 Edit Text frames, 1 coordinate axis control and 1 drop-down menu.By this optimization computing platform, as long as user is aided with simple operations on interface just can solve the complicated optimum problem run in reality.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within claims of the present invention.

Claims (4)

1., based on the one-dimensional water quality model parameter calibration method of artificial bee colony and quanta particle swarm optimization, described artificial bee colony algorithm calls ABC in the following text, and described quanta particle swarm optimization calls QPSO in the following text, comprises the following steps:
(1) choose the river that will study, obtain tracer concentration data over time by tracer experiment; According to measured value and employing one-dimensional water quality model ( c = ( M 0 / ( A 4 * pi * D L * t ) ) * exp ( - ( x - vt ) 2 / ( 4 D L t ) ) ) The minimum principle of calculated value sum of squares of deviations works out objective function to be optimized:
(2) the general operational factor of algorithm is inputted: population number, iterations, dimension, variable-value scope, objective function to be optimized;
(3) one or more computing method choosing ABC, QPSO, QPSO+ABC and ABC+QPSO carry out the calibration calculating of model parameter;
(4) if only adopt the one in above-mentioned algorithm, whether direct judged result meets is optimized requirement; According to two in above-mentioned algorithm kind and above computing method, Integrated comparative result of calculation and evaluate the requirement whether optimum result meets this suboptimization;
(5) if meet the demands, computing terminates, the result of output parameter calibration and the iterativecurve of algorithm;
(6) otherwise, amendment algorithm input parameter, recalculate, output parameter adjustment after result of calculation and iterativecurve, obtain final optimum results.
2. one-dimensional water quality model parameter calibration method according to claim 1, is characterized in that: objective function described in step 1 refers to that a class can be converted into the function asking extreme value.
3. one-dimensional water quality model parameter calibration method according to claim 1, is characterized in that: the calculation procedure of described artificial bee colony algorithm is as follows:
(1) carry out initialization according to self span of each variable respectively according to population number, carry out dimension merging subsequently, form bee colony initial population x ij, i=1 ..., SN, j=1 ... D, wherein SN represents the quantity of food source, and D is the dimension of variable;
(2) calculate the function fitness value of population, and evaluate population;
(3) gathering honey honeybee (x ij) in food source neighborhood, near its neighborhood, produce new explanation v by formula (1) ij:
v ij=x ijij(x ij-x kj)(1)
Wherein, x kexcept x ioutside a solution of random selecting, φ ijbe the random number of a variation range at interval [-a, a], a gets 1 usually, then, applies greedy selection algorithm and determines v iand x iquality;
(4) according to formula (2), according to fitness value (fit i) calculate and separate x iprobable value p i:
p i = fit i / ( &Sigma; i = 1 SN fit i ) - - - ( 2 )
Wherein, for minimization problem, the calculating of fitness value is pressed formula (3) and is calculated:
fit i = 1 / ( 1 + f i ) if f i &GreaterEqual; 0 1 + abs ( f i ) if f i < 0 - - - ( 3 )
Wherein, f ifor target function value;
(5) for observation honeybee, produce new explanation in the neighborhood of the food source selected by it, adopt greedy selection algorithm to compare v iand x iquality;
(6) the solution x abandoned is determined i, adopt the new explanation that formula (4) produces at random replace it, it can be used as search bee:
x′ ij=xmin j+rand(0,1)*(xmax j-xmin j)(4)
Wherein, xmin jfor the span lower limit of parameter j, xmax jfor the span upper limit of parameter j;
(7) solution that memory is best at present, if meet ending standard requirement, algorithm stops, and exports result of calculation; Otherwise, forward step (2) to and continue iteration.
4. one-dimensional water quality model parameter calibration method according to claim 3, it is characterized in that: the new explanation obtained in the calculation procedure 3 of described artificial bee colony algorithm and step 5, range check to be carried out respectively to each variable range, make it not exceed the interval of himself change.
CN201210402849.2A 2012-10-19 2012-10-19 Based on the one-dimensional water quality model parameter calibration method of artificial bee colony and quanta particle swarm optimization Expired - Fee Related CN103020709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210402849.2A CN103020709B (en) 2012-10-19 2012-10-19 Based on the one-dimensional water quality model parameter calibration method of artificial bee colony and quanta particle swarm optimization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210402849.2A CN103020709B (en) 2012-10-19 2012-10-19 Based on the one-dimensional water quality model parameter calibration method of artificial bee colony and quanta particle swarm optimization

Publications (2)

Publication Number Publication Date
CN103020709A CN103020709A (en) 2013-04-03
CN103020709B true CN103020709B (en) 2016-02-24

Family

ID=47969295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210402849.2A Expired - Fee Related CN103020709B (en) 2012-10-19 2012-10-19 Based on the one-dimensional water quality model parameter calibration method of artificial bee colony and quanta particle swarm optimization

Country Status (1)

Country Link
CN (1) CN103020709B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902737A (en) * 2014-04-22 2014-07-02 上海理工大学 Projection pursuit classification modeling software and implementation based on swarm intelligence algorithms
CN105740648B (en) * 2016-01-21 2018-07-06 江南大学 A kind of multiple linear regression calculating method of the protein heat resisting temperature based on artificial bee colony and Particle Swarm Mixed Algorithm
CN107103356B (en) * 2017-04-24 2020-10-09 华北电力大学(保定) Swarm robot searching method based on dynamic particle bee algorithm
CN108170951B (en) * 2017-12-27 2021-11-19 河海大学 Longitudinal discrete coefficient determination method based on sampling data space-time matching tracing test
CN108320027B (en) * 2017-12-29 2022-05-13 国网河南省电力公司信息通信公司 Big data processing method based on quantum computation
CN110416925B (en) * 2019-07-12 2021-07-20 上海电机学院 Submarine cable wiring design method for offshore wind power
CN110852380B (en) * 2019-11-11 2022-08-02 安徽师范大学 Quantum ant lion and k-means based clustering method and intrusion detection method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
PSO和ABC的混合优化算法;刘俊芳;《计算机工程与应用》;20111024;第35卷(第47期);第32页-35页 *
基于PSO-ABC的混合算法求解复杂约束优化问题;王珂珂等;《系统工程与电子技术》;20120630;第34卷(第6期);第1193-1199页 *
基于粒子群和人工蜂群算法的混合优化算法;王志刚;《科学技术与工程》;20120731;第12卷(第20期);第4921-4925页 *

Also Published As

Publication number Publication date
CN103020709A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103020709B (en) Based on the one-dimensional water quality model parameter calibration method of artificial bee colony and quanta particle swarm optimization
Ming et al. Optimal operation of multi-reservoir system based-on cuckoo search algorithm
Medvedev et al. Medium-term analysis of agroecosystem sustainability under different land use practices by means of dynamic crop simulation
Castelletti et al. Visualization-based multi-objective improvement of environmental decision-making using linearization of response surfaces
CN110083165A (en) A kind of robot paths planning method under complicated narrow environment
Lin et al. Traffic signal optimization based on fuzzy control and differential evolution algorithm
CN107705556A (en) A kind of traffic flow forecasting method combined based on SVMs and BP neural network
CN109614638B (en) Indirect modeling urban wind environment CFD simulation method
CN114881544B (en) Reservoir flow regulation and control method and device, electronic equipment and storage medium
CN102542051A (en) Design method for multi-target cooperative sampling scheme of randomly-distributed geographic elements
Afshar et al. Optimizing water supply and hydropower reservoir operation rule curves: an imperialist competitive algorithm approach
CN108763718A (en) The method for quick predicting of Field Characteristics amount when streaming object and operating mode change
Bekker Applying the cross-entropy method in multi-objective optimisation of dynamic stochastic systems
Ghassemi et al. Adaptive model refinement with batch bayesian sampling for optimization of bio-inspired flow tailoring
Niu et al. Soil Moisture Prediction in Peri-urban Beijing, China: Gene Expression Programming Algorithm.
Nasimi et al. Identification and modeling of a yeast fermentation bioreactor using hybrid particle swarm optimization-artificial neural networks
CN105069192B (en) A kind of improved method that power of fan parameter of curve model is solved based on genetic algorithm
CN103745079A (en) Curve fitting method based on abstract convex estimations
CN109523143B (en) Land evaluation method based on multi-granularity calculation
Lee et al. MCDM approach for flood vulnerability assessment using TOPSIS method with α cut level sets
Endra et al. Decision Support System (DSS) For The Determination Of Percentage Of Scholarship Quantity Based Fuzzy Tahani
Zhang Computer Aided Simulation on Economic System Architecture
Qi et al. Cascade reservoirs operation rules derivation using integrated decision-making method and combinatorial evolution network
Jiao [Retracted] Simulation Research on the Palm Mechanism of Volleyball Robot Based on Artificial Intelligence and Ant Colony Optimization Algorithm
CN103593438B (en) Method for predicating social network evolution process and network nature

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
CB02 Change of applicant information

Address after: 230601 Hefei economic and Technological Development Zone, Anhui, No. 292 Ziyun Road

Applicant after: ANHUI JIANZHU University

Address before: 230601 Hefei economic and Technological Development Zone, Anhui, No. 292 Ziyun Road

Applicant before: anhui university of architecture

COR Change of bibliographic data
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160224

Termination date: 20211019