660 likes | 769 Views
Dynamic Optimisation Using Wavelets Bases. E. C. Biscaia Jr ., A. R. Secchi, L. S. Santos Programa de Engenharia Química (PEQ) – COPPE – UFRJ Rio de Janeiro - Brazil. Aims of the Contribution. Improve numerical methods for solving dynamic optimisation problems:. s.t. Sequential Method.
E N D
Dynamic Optimisation Using Wavelets Bases E. C. BiscaiaJr., A. R. Secchi,L. S. Santos Programa de Engenharia Química (PEQ) – COPPE – UFRJ Rio de Janeiro - Brazil
Aims of the Contribution Improve numerical methods for solving dynamic optimisation problems: s.t
Sequential Method Control variables are discretized and dynamic model is solved numerically at each iteration of the NLP
Sequential Method Control variables are discretized and dynamic model is solved numerically at each iteration of the NLP
Sequential Method Control variables are discretized and dynamic model is solved numerically at each iteration of the NLP discretization in time domain ns stages
Sequential Method control profile (parameterization)
Sequential Method decision variables
Sequential Method decision variables
Sequential Method NLP solver Calculates optimal control profile decision variables
Sequential Method NLP solver NLP solver NLP solver Successive Refinement Calculates optimal control profile Initial profile Refinement decision variables
Wavelets Sequential Method NLP solver
Wavelets Sequential Method NLP solver Improving Adaptation of discrete points at each iteration Wavelets
Wavelets Sequential Method NLP solver Improving Adaptation of discrete points at each iteration Wavelets
Wavelets Sequential Method NLP solver Improving Adaptation of discrete points at each iteration Wavelets new mesh
Wavelets Sequential Method NLP solver Improving Adaptation of discrete points at each iteration Wavelets new mesh
Wavelets Analysis Considering a function , it can be transformed into wavelet domain as: details
Wavelets Analysis Considering a function , it can be transformed into wavelet domain as: details control variable Inner product
Wavelets Analysis Considering a function , it can be transformed into wavelet domain as: details control variable Inner product Vector of wavelets details Resolution Position where is the maximum level resolution.
Wavelets Analysis Haar wavelet has been considered:
Wavelets Analysis Haar wavelet has been considered:
Wavelets Analysis Haar wavelet has been considered: Orthogonal basis
Wavelets Analysis NLP solver NLP solver Control profile
How Wavelets Work NLP solver NLP solver Iteration 2 Wavelets Wavelets Iteration 1 Control profile
Wavelets Thresholding Analysis details
Wavelets Thresholding Analysis details Thresholding: some details are eliminated.
Wavelets Thresholding Analysis details Thresholding: some details are eliminated. New thresholded control profile
Thresholding strategies • Thresholding: • decomposition of the data ; • comparing detail coefficients with a given threshold value and shrinking coefficients close to zero, eliminating data noise effects (DONOHO and JOHNTONE, 1995):
Thresholding strategies • Thresholding: • decomposition of the data ; • comparing detail coefficients with a given threshold value and shrinking coefficients close to zero, eliminating data noise effects (DONOHO and JOHNTONE, 1995): • Visushrink (DONOHO, 1992): details coefficients standard deviation of a white noise
Thresholding strategies • Thresholding: • decomposition of the data ; • comparing detail coefficients with a given threshold value and shrinking coefficients close to zero, eliminating data noise effects (DONOHO and JOHNTONE, 1995): • Visushrink (DONOHO, 1992): • Fixed user specified (SCHLEGEL and MARQUARDT,2004 and BINDER, 2000): details coefficients standard deviation of a white noise
How Wavelets Work NLPsolver NLP solver Incorporate the Visushrink threshold procedure and compare with other fixed threshold parameters; Observe if the CPU is affected by changes of threshold rule. Improve, at each iteration, the estimate of control profile. Sequential Algorithm Wavelets Wavelets Control profile
Algorithm and Parameters • Integrator: Runge Kutta fourth order (ode45 Matlab); • Optimisation: Interior Point (Matlab) was used as NLP solver; • Wavelets: Routines of Matlab 7.6; • Stop Criteria
Flowsheet of Wavelet Refinement Algorithm Example: Semi-batch Isothermal Reactor (Srinivasanet al. ,2003) Constant by parts interpolation
Flowsheet of Wavelet Refinement Algorithm Example: Semi-batch Isothermal Reactor (Srinivasanet al. ,2003)
Flowsheet of Wavelet Refinement Algorithm Example: Semi-batch Isothermal Reactor (Srinivasanet al. ,2003)
Flowsheet of Wavelet Refinement Algorithm Example: Semi-batch Isothermal Reactor (Srinivasanet al. ,2003) Visushrink Threshold Fixed Threshold
Flowsheet of Wavelet Refinement Algorithm Example: Semi-batch Isothermal Reactor (Srinivasanet al. ,2003) Visushrink Threshold Fixed Threshold
Flowsheet of Wavelet Refinement Algorithm Example: Semi-batch Isothermal Reactor (Srinivasanet al. ,2003) Visushrink Threshold Fixed Threshold
Flowsheet of Wavelet Refinement Algorithm Example: Semi-batch Isothermal Reactor (Srinivasanet al. ,2003) Locations of discontinuity points ~ large details coefficients Visushrink Threshold Fixed Threshold
Flowsheet of Wavelet Refinement Algorithm Example: Semi-batch Isothermal Reactor (Srinivasanet al. ,2003) Visushrink Threshold Fixed Threshold
Semi-batch Isothermal Reactor (Srinivasanet al., 2003)) Optimal Control Profile: 128 stages
Results: Semi-batch Isothermal Reactor Reference CPU time: Uniform mesh
Bioreactor problem (CaNTOet al. , 2001)) M: monomer S: substrate Optimal Control Profile: 128 stages