Optimal Control Benchmark Problems

Exercise

Objective: Solve the dynamic optimization benchmark problems2 and more dynamic optimization benchmark problems. Complete the 9 exercises as shown in the Jupyter Notebook link below. For each problem, create a program to optimize and display the results. Estimated Time (each): 10-30 minutes


Example 1a

  • Nonlinear, unconstrained, minimize final state

minu(t)x2(tf) subjectto dx1dt=u dx2dt=x12+u2 x(0)=[10]T tf=1

Example 1b

  • Nonlinear, unconstrained, minimize final state with terminal constraint

minu(t)x2(tf) subjectto dx1dt=u dx2dt=x12+u2 x(0)=[10]T x1(tf)=1 tf=1

Solutions to Benchmarks 1a and 1b


Example 2

  • Nonlinear, constrained, minimize final state

minu(t)x4(tf) subjectto dx1dt=x2 dx2dt=x3u+16t8 dx3dt=u dx4dt=x12+x22+0.0005(x2+16t80.1x3u2)2 x(0)=[0150]T 4u10 tf=1

Solution to Benchmark 2


Example 3

  • Tubular reactor with parallel reaction

maxu(t)x2(tf) subjectto dx1dt=(u+0.5u2)x1 dx2dt=ux1 x(0)=[10]T 0u5 tf=1

Solution to Benchmark 3


Example 4

  • Batch reactor with consecutive reactions A->B->C

maxT(t)x2(tf) subjectto dx1dt=k1x12 dx2dt=k1x12k2x2 k1=4000exp(2500T) k2=6.2e5exp(5000T) x(0)=[10]T 298T398 tf=1

Solution to Benchmark 4


Example 5

  • Catalytic reactor with A<->B->C

maxu(t)(1x1(tf)x2(tf)) subjectto dx1dt=u(10x2x1) dx2dt=u(10x2x1)(1u)x2 x(0)=[10]T 0u1 tf=12

Solution to Benchmark 5


References

  1. Hedengren, J. D. and Asgharzadeh Shishavan, R., Powell, K.M., and Edgar, T.F., Nonlinear Modeling, Estimation and Predictive Control in APMonitor, Computers and Chemical Engineering, Volume 70, pg. 133–148, 2014. Article
  2. M. Čižniar, M. Fikar, M.A. Latifi: A MATLAB Package for Dynamic Optimisation of Processes, 7th International Scientific – Technical Conference – Process Control 2006, June 13 – 16, 2006, Kouty nad Desnou, Czech Republic. Article
Streaming Chatbot
💬