TOMLAB
REGISTER (TOMLAB)
LOGIN
myTOMLAB
TOMLAB /PROPT Manual
Contents
1 PROPT Guide Overview
2 Introduction to PROPT
3 Modeling optimal control problems
4 Multi-phase optimal control
5 Scaling of optimal control problems
6 Setting solver and options
7 Solving optimal control problems
8 | | OPTIMAL CONTROL EXAMPLES | |
9 Acrobot
10 A Linear Problem with Bang Bang Control
11 Batch Fermentor
12 Batch Production
13 Batch Reactor Problem
14 The Brachistochrone Problem
15 The Brachistochrone Problem (DAE formulation)
16 Bridge Crane System
17 Bryson-Denham Problem
18 Bryson-Denham Problem (Detailed)
19 Bryson-Denham Problem (Short version)
20 Bryson-Denham Two Phase Problem
21 Bryson Maxrange
22 Catalyst Mixing
23 Catalytic Cracking of Gas Oil
24 Flow in a Channel
25 Coloumb Friction 1
26 Coloumb Friction 2
27 Continuous State Constraint Problem
28 Curve Area Maximization
29 Denbigh’s System of Reactions
30 Dielectrophoresis Particle Control
31 Disturbance Control
32 Drug Displacement Problem
33 Optimal Drug Scheduling for Cancer Chemotherapy
34 Euler Buckling Problem
35 MK2 5-Link robot
36 Flight Path Tracking
37 Food Sterilization
38 Free Floating Robot
39 Fuller Phenomenon
40 Genetic 1
41 Genetic 2
42 Global Dynamic System
43 Goddard Rocket, Maximum Ascent
44 Goddard Rocket, Maximum Ascent, Final time free, Singular solution
45 Goddard Rocket, Maximum Ascent, Final time fixed, Singular solution
46 Greenhouse Climate Control
47 Grusins Metric
48 Hang Glider Control
49 Hanging Chain
50 High Dimensional Control
51 Hyper Sensitive Optimal Control
52 Initial Value Problem
53 Isometrization of alpha pinene
54 Isoperimetric Constraint Problem
55 Jumbo Crane Container Control
56 Lee-Ramirez Bioreactor
57 Linear Tangent Steering Problem
58 Linear Gas Absorber
59 Linear Pendulum
60 Linear Problem with Bang Bang Control
61 LQR Problem
62 Marine Population Dynamics
63 Max Radius Orbit Transfer
64 Sequential Activation of Metabolic Pathways
65 Methanol to Hydrocarbons
66 Min Energy Orbit Transfer
67 Minimum Climb Time (English Units)
68 Missile Intercept
69 Moonlander Example
70 Nagurka Problem
71 Nishida problem
72 Nondifferentiable system
73 Nonlinear CSTR
74 Obstacle Avoidance
75 Oil Shale Pyrolysis
76 One Dimensional Rocket Ascent
77 Parametric Sensitivity Control
78 Orbit Raising Maximum Radius
79 Orbit Raising Minimum Time
80 Parallel Reactions in Tubular Reactor
81 Parameter Estimation Problem
82 Park-Ramirez bioreactor
83 Path Tracking Robot
84 Path Tracking Robot (Two-Phase)
85 Pendulum Gravity Estimation
86 Penicillin Plant
87 Plug-Flow Tubular Reactor
88 Quadratic constraint problem
89 Quadruple Integral
90 Radio telescope
91 Rayleigh Unconstrained
92 Rigid Body Rotation
93 Robot Arm Movement
94 Time-optimal Trajectories for Robot Manipulators
95 Satellite Control
96 Second Order System
97 Space Shuttle Reentry
98 Simple Bang Bang Problem
99 Singular Arc Problem
100 Singular CSTR
101 Singular Control 1
102 Singular Control 2
103 Singular Control 3
104 Singular Control 4
105 Singular Control 5
106 Singular Control 6
107 Spring Mass Damper (2 Degree Freedom)
108 Stirred Tank
109 Temperature Control
110 A Simple Terminal Constraint Problem
111 Third order system
112 Time Delay 1
113 Time Delay 1 (Approximate)
114 Time Delay 2
115 Time Delay 2 (Approximate)
116 Transfer Min Swing
117 Tubular Reactor
118 Turbo Generator
119 Two-Link Robot
120 Two-Link Robotic Arm
121 Two-Phase Schwartz
122 Two Stage CSTR
123 Van der Pol Oscillator
124 Zermelos problem (version 1)
125 Zermelos problem (version 2)
References
Notes
Start
» Next »
Contents
1 PROPT Guide Overview
1.1 Installation
1.2 Foreword to the software
1.3 Initial remarks
2 Introduction to PROPT
2.1 Overview of PROPT syntax
2.2 Vector representation
2.3 Global optimality
3 Modeling optimal control problems
3.1 A simple example
3.2 Code generation
3.3 Modeling
3.3.1 Modeling notes
3.4 Independent variables, scalars and constants
3.5 State and control variables
3.6 Boundary, path, event and integral constraints
4 Multi-phase optimal control
5 Scaling of optimal control problems
6 Setting solver and options
7 Solving optimal control problems
7.1 Standard functions and operators
7.1.1 collocate — Expand a propt tomSym to all collocation points on a phase.
7.1.2 tomSym/dot
7.1.3 final — Evaluate a propt tomSym at the final point of a phase.
7.1.4 icollocate — Expand a propt tomSym to all interpolation points on a phase
7.1.5 initial — Evaluate a propt tomSym at the initial point of a phase.
7.1.6 integrate — Evaluate the integral of an expression in a phase.
7.1.7 mcollocate — Expand to all collocation points, endpoints and midpoints on a phase.
7.1.8 setPhase — Set the active phase when modeling PROPT problem.
7.1.9 tomControl — Generate a PROPT symbolic state.
7.1.10 tomControls — Create tomControl objects
7.1.11 tomPhase — Create a phase struct
7.1.12 tomState — Generate a PROPT symbolic state
7.1.13 tomStates — Create tomState objects as toms create tomSym objects
7.2 Advanced functions and operators
7.2.1 atPoints — Expand a propt tomSym to a set of points on a phase.
7.2.2 interp1p — Polynomial interpolation.
7.2.3 proptGausspoints — Generate a list of gauss points.
7.2.4 proptDiffMatrix — Differentiation matrix for interpPoly.
7.3 Screen output
7.4 Solution structure
7.5 Plotting
8 | | OPTIMAL CONTROL EXAMPLES | |
9 Acrobot
9.1 Problem Formulation
10 A Linear Problem with Bang Bang Control
10.1 Problem description
10.2 Problem setup
10.3 Solve the problem
10.4 Plot result
11 Batch Fermentor
11.1 Problem description
11.2 Solving the problem on multiple grids.
11.3 Plot result
12 Batch Production
12.1 Problem description
12.2 Problem setup
12.3 Solve the problem
12.4 Plot result
13 Batch Reactor Problem
13.1 Problem description
13.2 Problem setup
13.3 Solve the problem
13.4 Plot result
14 The Brachistochrone Problem
14.1 Problem description
14.2 Problem setup
14.3 Solve the problem
14.4 Plot the result
15 The Brachistochrone Problem (DAE formulation)
15.1 DAE formulation
15.2 Problem setup
15.3 Solve the problem
15.4 Plot the result
16 Bridge Crane System
16.1 Problem description
16.2 Problem setup
16.3 Solve the problem
16.4 Plot result
17 Bryson-Denham Problem
17.1 Problem description
17.2 Problem setup
17.3 Solve the problem
17.4 Plot result
18 Bryson-Denham Problem (Detailed)
18.1 Problem description
18.2 Define the independent variable, and phase:
18.3 A few constants.
18.4 Define a list of states
18.5 Adding the control variable and equations
18.6 Equations
18.7 Build the .m files and general TOMLAB problem
19 Bryson-Denham Problem (Short version)
19.1 Problem description
19.2 Problem setup
20 Bryson-Denham Two Phase Problem
20.1 Problem description
20.2 Problem setup
20.3 Solve the problem
20.4 Plot the result
21 Bryson Maxrange
21.1 Problem description
21.2 Problem setup
21.3 Solve the problem
21.4 Plot result
22 Catalyst Mixing
22.1 Problem formulation
22.2 Problem setup
22.3 Solve the problem
22.4 Plot result
23 Catalytic Cracking of Gas Oil
23.1 Problem Formulation
23.2 Problem setup
23.3 Solve the problem
23.4 Plot result
24 Flow in a Channel
24.1 Problem Formulation
24.2 Problem setup
24.3 Solve the problem
24.4 Plot result
25 Coloumb Friction 1
25.1 Problem Formulation
25.2 Problem setup
25.3 Solve the problem
25.4 Plot result
26 Coloumb Friction 2
26.1 Problem Formulation
26.2 Problem setup
26.3 Solve the problem
26.4 Plot result
27 Continuous State Constraint Problem
27.1 Problem description
27.2 Problem setup
27.3 Solve the problem
27.4 Plot result
28 Curve Area Maximization
28.1 Problem Description
28.2 Problem setup
28.3 Solve the problem
28.4 Plot result
29 Denbigh’s System of Reactions
29.1 Problem description
29.2 Problem setup
29.3 Solve the problem, using a successively larger number collocation points
29.4 Solve the problem
29.5 Plot result
30 Dielectrophoresis Particle Control
30.1 Problem Description
30.2 Problem setup
30.3 Solve the problem
30.4 Plot result
31 Disturbance Control
31.1 Problem Description
31.2 Problem setup
31.3 Solve the problem
31.4 Plot result
32 Drug Displacement Problem
32.1 Problem Formulation
32.2 Problem setup
32.3 Solve the problem
32.4 Plot result
33 Optimal Drug Scheduling for Cancer Chemotherapy
33.1 Problem description
33.2 Problem setup
33.3 Solve the problem
33.4 Plot result
34 Euler Buckling Problem
34.1 Problem description
34.2 Problem setup
34.3 Solve the problem
34.4 Plot result
34.5 Footnote
35 MK2 5-Link robot
35.1 Problem description
35.2 Problem setup
35.3 Solve the problem
36 Flight Path Tracking
36.1 Problem Description
36.2 Problem setup
36.3 Solve the problem
36.4 Plot result
37 Food Sterilization
37.1 Problem description
37.2 Problem setup
37.3 Solve the problem
38 Free Floating Robot
38.1 Problem description
38.2 Problem setup
38.3 Solve the problem
38.4 Plot result
39 Fuller Phenomenon
39.1 Problem Description
39.2 Problem setup
39.3 Solve the problem
39.4 Plot result
40 Genetic 1
40.1 Problem Formulation
40.2 Problem setup
40.3 Solve the problem
40.4 Plot result
41 Genetic 2
41.1 Problem Formulation
41.2 Problem setup
41.3 Solve the problem
41.4 Plot result
42 Global Dynamic System
42.1 Problem Description
42.2 Problem setup
42.3 Solve the problem
42.4 Plot result
43 Goddard Rocket, Maximum Ascent
43.1 Problem Formulation
43.2 Problem setup
43.3 Solve the problem, using a successively larger number collocation points
43.4 Solve the problem
43.5 Plot result
44 Goddard Rocket, Maximum Ascent, Final time free, Singular solution
44.1 Problem setup
44.2 Solve the problem, using a successively larger number collocation points
44.3 Solve the problem
44.4 Plot result
45 Goddard Rocket, Maximum Ascent, Final time fixed, Singular solution
45.1 Problem setup
45.2 Solve the problem, using a successively larger number of collocation points
45.3 Solve the problem
45.4 Plot result
46 Greenhouse Climate Control
46.1 Problem description
46.2 Problem setup
46.3 Solve the problem
47 Grusins Metric
47.1 Problem Description
47.2 Problem setup
47.3 Solve the problem
47.4 Plot result
48 Hang Glider Control
48.1 Problem Formulation
48.2 Problem setup
48.3 Solve the problem
48.4 Extract optimal states and controls from solution
48.5 Plot result
49 Hanging Chain
49.1 Problem Formulation
49.2 Problem setup
49.3 Solve the problem
49.4 Plot result
50 High Dimensional Control
50.1 Problem description
50.2 Problem setup
50.3 Solve the problem
50.4 Plot result
51 Hyper Sensitive Optimal Control
51.1 Problem Formulation
51.2 Problem setup
51.3 Solve the problem
51.4 Plot result
52 Initial Value Problem
52.1 Problem Description
52.2 Problem setup
52.3 Solve the problem
52.4 Plot result
53 Isometrization of alpha pinene
53.1 Problem Formulation
53.2 Problem setup
53.3 Solve the problem, using a successively larger number collocation points
53.4 Solve the problem
53.5 Plot result
54 Isoperimetric Constraint Problem
54.1 Problem Formulation
54.2 Problem setup
54.3 Solve the problem
54.4 Plot result
55 Jumbo Crane Container Control
55.1 Problem description
55.2 Problem setup
55.3 Solve the problem
56 Lee-Ramirez Bioreactor
56.1 Problem description
56.2 Problem setup
56.3 Solve the problem
56.4 Plot result
57 Linear Tangent Steering Problem
57.1 Problem Formulation
57.2 Problem setup
57.3 Solve the problem
57.4 Plot result
58 Linear Gas Absorber
58.1 Problem description
58.2 Problem setup
58.3 Solve the problem
58.4 Plot result
59 Linear Pendulum
59.1 Problem Description
59.2 Problem setup
59.3 Solve the problem
59.4 Plot result
60 Linear Problem with Bang Bang Control
60.1 Problem description
60.2 Problem setup
60.3 Solve the problem
60.4 Plot result
61 LQR Problem
61.1 Problem Description
61.2 Problem setup
61.3 Solve the problem
61.4 Plot result
62 Marine Population Dynamics
62.1 Problem Formulation
62.2 Problem setup
62.3 Solve the problem
62.4 Plot result
63 Max Radius Orbit Transfer
63.1 Problem description
63.2 Problem setup
63.3 Solve the problem
64 Sequential Activation of Metabolic Pathways
64.1 Problem description
64.2 Problem setup
64.3 Solve the problem
64.4 Plot result
65 Methanol to Hydrocarbons
65.1 Problem Formulation
65.2 Problem setup
65.3 Solve the problem, using a successively larger number collocation points
65.4 Solve the problem
65.5 Plot result
66 Min Energy Orbit Transfer
66.1 Problem description
66.2 Problem setup
66.3 Solve the problem
67 Minimum Climb Time (English Units)
67.1 Problem description
67.2 Problem setup
67.3 Solve the problem
67.4 Plot result
68 Missile Intercept
68.1 Problem Description
68.2 Problem setup
68.3 Solve the problem
68.4 Plot result
69 Moonlander Example
69.1 Problem description
69.2 Problem setup
69.3 Solve the problem
69.4 Plot result
70 Nagurka Problem
70.1 Problem description
70.2 Problem setup
70.3 Solve the problem
70.4 Plot result
71 Nishida problem
71.1 Problem description
71.2 Problem setup
71.3 Solve the problem
71.4 Plot result
72 Nondifferentiable system
72.1 Problem description
72.2 Problem setup
72.3 Solve the problem
72.4 Plot result
73 Nonlinear CSTR
73.1 Problem description
73.2 Problem setup
73.3 Solve the problem, using a successively larger number collocation points
73.4 Solve the problem
73.5 Plot result
74 Obstacle Avoidance
74.1 Problem Formulation
74.2 Solve the problem, using a successively larger number collocation points
74.3 Solve the problem
74.4 Plot result
75 Oil Shale Pyrolysis
75.1 Problem description
75.2 Problem setup
75.3 Solve the problem
75.4 Plot result
76 One Dimensional Rocket Ascent
76.1 Problem Formulation
76.2 Problem setup
76.3 Solve the problem
76.4 Plot result
77 Parametric Sensitivity Control
77.1 Problem description
77.2 Problem setup
77.3 Solve the problem
78 Orbit Raising Maximum Radius
78.1 Problem description
78.2 Problem setup
78.3 Solve the problem
78.4 Plot result
79 Orbit Raising Minimum Time
79.1 Problem description
79.2 Problem setup
79.3 Solve the problem
79.4 Plot result
80 Parallel Reactions in Tubular Reactor
80.1 Problem description
80.2 Problem setup
80.3 Solve the problem
80.4 Plot result
81 Parameter Estimation Problem
81.1 Problem description
81.2 Problem setup
81.3 Solve the problem, using a successively larger number collocation points
81.4 Solve the problem
81.5 Plot result
82 Park-Ramirez bioreactor
82.1 Problem description
82.2 Problem setup
82.3 Solve the problem, using a successively larger number collocation points
82.4 Solve the problem
82.5 Plot result
83 Path Tracking Robot
83.1 Problem Formulation
83.2 Problem setup
83.3 Solve the problem
83.4 Plot result
84 Path Tracking Robot (Two-Phase)
84.1 Problem Formulation
84.2 Problem setup
84.3 Solve the problem
84.4 Plot result
85 Pendulum Gravity Estimation
85.1 Problem Formulation
85.2 Problem setup
85.3 Solve the problem
85.4 Show result
86 Penicillin Plant
86.1 Problem description
86.2 Problem setup
86.3 Plot result
87 Plug-Flow Tubular Reactor
87.1 Problem description
87.2 Problem setup
87.3 Solve the problem
87.4 Plot result
88 Quadratic constraint problem
88.1 Problem Formulation
88.2 Problem setup
88.3 Solve the problem
88.4 Plot result
89 Quadruple Integral
89.1 Problem Formulation
89.2 Problem setup
89.3 Solve the problem
89.4 Plot result
90 Radio telescope
90.1 Problem description
90.2 Problem setup
90.3 Solve the problem
91 Rayleigh Unconstrained
91.1 Problem Formulation
91.2 Problem setup
91.3 Solve the problem
91.4 Plot result
92 Rigid Body Rotation
92.1 Problem Description
92.2 Problem setup
92.3 Solve the problem
92.4 Plot result
93 Robot Arm Movement
93.1 Problem Formulation
93.2 Problem setup
93.3 Solve the problem
93.4 Plot result
94 Time-optimal Trajectories for Robot Manipulators
94.1 Problem Formulation
94.2 Problem setup
94.3 Solve the problem, using a successively larger number collocation points
94.4 Solve the problem
94.5 Plot result
95 Satellite Control
95.1 A satellite control problem
95.2 Problem setup
95.3 Problem 7b and 7c modifications
95.4 Solve the problem
95.5 Plot result
96 Second Order System
96.1 Problem Formulation
96.2 Problem setup
96.3 Solve the problem
96.4 Plot result
97 Space Shuttle Reentry
97.1 Problem Formulation
97.2 Problem setup
97.3 Solve the problem
97.4 Plot result
98 Simple Bang Bang Problem
98.1 Problem Description
98.2 Problem setup
98.3 Solve the problem
98.4 Plot result
99 Singular Arc Problem
99.1 Problem Formulation
99.2 Problem setup
99.3 Solve the problem
99.4 Plot result
100 Singular CSTR
100.1 Problem Formulation
100.2 Problem setup
100.3 Solve the problem
100.4 Plot result
101 Singular Control 1
101.1 Problem Formulation
101.2 Problem setup
101.3 Solve the problem
101.4 Plot result
102 Singular Control 2
102.1 Problem Formulation
102.2 Problem setup
102.3 Solve the problem
102.4 Plot result
103 Singular Control 3
103.1 Problem Formulation
103.2 Problem setup
103.3 Solve the problem
103.4 Plot result
104 Singular Control 4
104.1 Problem Formulation
104.2 Problem setup
104.3 Solve the problem
104.4 Plot result
105 Singular Control 5
105.1 Problem Formulation
105.2 Problem setup
105.3 Solve the problem
105.4 Plot result
106 Singular Control 6
106.1 Problem Description
106.2 Problem setup
106.3 Solve the problem
106.4 Plot result
107 Spring Mass Damper (2 Degree Freedom)
107.1 Problem Formulation
107.2 Problem setup
107.3 Solve the problem
107.4 Plot result
108 Stirred Tank
108.1 Problem Description
108.2 Problem setup
108.3 Solve the problem
108.4 Plot result
109 Temperature Control
109.1 Problem Description
109.2 Problem setup
109.3 Solve the problem
109.4 Plot result
110 Room temperature control
110.1 Problem Description
110.2 Problem setup
111 A Simple Terminal Constraint Problem
111.1 Problem Description
111.2 Problem setup
111.3 Solve the problem
111.4 Plot result
112 Third order system
112.1 Problem description
112.2 Problem setup
112.3 Solve the problem
113 Time Delay 1
113.1 Problem Formulation
113.2 Problem setup
113.3 Solve the problem
113.4 Plot result
114 Time Delay 1 (Approximate)
114.1 Problem Formulation
114.2 Problem setup
114.3 Solve the problem
114.4 Plot result
115 Time Delay 2
115.1 Problem Formulation
115.2 Problem setup
115.3 Solve the problem
115.4 Plot result
116 Time Delay 2 (Approximate)
116.1 Problem Formulation
116.2 Problem setup
116.3 Solve the problem
116.4 Plot result
117 Transfer Min Swing
117.1 Problem Formulation
117.2 Problem setup
117.3 Solve the problem, using a successively larger number collocation points
117.4 Solve the problem
117.5 Plot result
118 Tubular Reactor
118.1 Problem Description
118.2 Problem setup
118.3 Plot result
119 Turbo Generator
119.1 Problem Formulation
119.2 Problem setup
119.3 Solve the problem
119.4 Plot result
120 Two-Link Robot
120.1 Problem description
120.2 Problem setup
120.3 Solve the problem
121 Two-Link Robotic Arm
121.1 Problem Formulation
121.2 Problem setup
121.3 Solve the problem
121.4 Plot result
122 Two-Phase Schwartz
122.1 Problem Formulation
122.2 Problem setup
122.3 Solve the problem
122.4 Plot result
123 Two Stage CSTR
123.1 Problem Description
123.2 Problem setup
123.3 Solve the problem
123.4 Plot result
124 Van der Pol Oscillator
124.1 Problem Description
124.2 Problem setup
124.3 Solve the problem
124.4 Plot result
125 Zermelos problem (version 1)
125.1 Problem description
125.2 Problem setup
125.3 Solve the problem
126 Zermelos problem (version 2)
126.1 Problem description
126.2 Problem setup
126.3 Solve the problem
Start
» Next »