0% found this document useful (0 votes)
200 views301 pages

31295019149946

paper
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
200 views301 pages

31295019149946

paper
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 301

MULTIPLE-MODEL PREDICTIVE CONTROL FRAMEWORK

FOR MULTI-INPUT MULTI-OUTPUT CONTINUOUS PROCESSES

by

ZHENHUA TIAN, B.S., M.S.

A DISSERTATION

IN

CHEMICAL ENGINEERING

Submitted to the Graduate Faculty


of Texas Tech University in
Partial Fulfillment of
the Requirements for
the Degree of

DOCTOR OF PHILOSOPHY

Approved

Chairperson of the Committee

Accepted

Dean of the Graduate School

December, 2003
ACKNOWLEDGEMENTS
I would like to express my sincere thanks to my research advisor Professor Karlene
A. Hoo for her guidance and financial support. Professor Hoo interacted closely and
continuously with me on all aspects of my research, and was a constant source of
learning to me about the nature and practice of process control. I will always be
grateful for her efforts to instill in me the importance of independent thinking and
hard work.
Professor Uzi Mann has been on my committee from the beginning, and I am grate-
ful to him for the many technical discussions. Professors Wijesuriya P Dayawansa
and Mark W. Vaughn cheerfully agreed to serve on my committee, and they have
provided many useful suggestions for improving the dissertation. I thank all three of
them for their help and interest.
I would also like to thank Professors Michael J. Piovoso (Penn State University)
and Alex Wang (Mathematics and Statistics Department of Texas Tech University)
for their technical discussion.
To all fellow graduate students in Chemical Engineering Department, my gratitude
for making my stay pleasant in the department.
My parents have been a constant source of support throughout my hfe, and my
parent-in-laws' encouragement kept me going during difficult periods.
Ultimately, I am indebted to my wife Yuqing Gao, for her love, understanding and
support.

for
YUQING
her
style and taste
judgment
love and support
CONTENTS
ACKNOWLEDGEMENTS ii
ABSTRACT vii
LIST OF TABLES ix
LIST OF FIGURES xvi
1 INTRODUCTION . 1
1.1 Background . 2
1.2 Transition Control Framework 8
1.3 Linear Control Method . . 11
1.3.1 PID controller 11
1.3.2 LQG controller ... 12
1.3.3 Hoo control . . . . 13
1.3.4 Linear MPC . . . 14
1.4 Nonhnear Control Method 14
1.4.1 Global Feedback Linearization 15
1.4.2 Nonlinear MPC 16
1.5 Motivation of This Work . 17
1.6 Dissertation Organization ... . 18
1.7 Nomenclature 19
2 PRELIMINARIES 20
2.1 System-Theoretic Analysis . . .... . 21
2.2 Properties of the Transfer Function 22
2.3 Nomenclature ... . . 25
3 STATE-SHARED MODEL STRUCTURE 26
3.1 SISO State-Shared Model 27
3.1.1 Example 29
3.2 A Non-Minimal Identifier 30
3.3 MIMO State-Shared Model 31
3.3.1 MIMO parameterized model 31

iii
3.4 State-Shared Model Structure for MIMO System 33
3.5 Model Reduction Technologies 36
3.5.1 Balanced Truncation 37
3.6 Two Examples 40
3.6.1 Chemical reactor system 40
3.6.1.1 Modeling 43
3.6.1.2 Full-order model 43
3.6.1.3 Reduced-order model . . . 4 4
3.6.1.4 MIMO Reduced-Order State-Shared Model . 56
3.6.2 Calcium control in cardiac myocytes . 61
3.6.2.1 Modeling 64
3.6.3 Model Validation 67
3.7 Summary 72
3.8 Nomenclature . . . 73
4 MODEL ADAPTATION AND SWITCHING 74
4.1 Multiple Model Approach 74
4.2 Parameter Adaptation . . ... . . . . . 75
4.3 Parameter Convergence Analysis . . . . . . . 76
4.4 Model Switching . . . 79
4.5 Nomenclature ... . . . . . . 80
5 CONTROL METHODS 81
5.1 Model Reference Adaptive Control 81
5.1.1 Description ... 82
5.1.2 Example 85
5.1.3 MRAC results 87
5.2 Hoo Optimal Control 92
5.2.1 Stability analysis 96
5.2.2 Hoo results: chemical reactor 101
5.2.3 Hoo control results: biological reactor ... Ill

iv
5.2.4 State-shared modeling . 117
5.3 Summary 122
5.4 Nomenclature 123
6 MODEL PREDICTIVE CONTROL 124
6.1 Background 124
6.1.1 MPC based on a state space model .... 126
6.1.2 MPC control of a two-phase chemical reactor system 133
6.1.3 MPC control of a biological system ... .... 137
6.2 Summary ... 14Q
6.3 Nomenclature . . 144
7 TENNESSEE EASTMAN CHALLENGE PROBLEM .... 145
7.1 Background ... .... ... 145
7.2 Process Description . . . ... 146
7.2.1 Manipulated variables and measurements . . . . ... 149
7.2.2 Constraints and disturbances . . 151
7.2.3 Operating cost function . ... 152
7.3 Model Description 152
7.3.1 Assumptions 152
7.3.2 State-space formulation . . . 154
7.3.3 Reactor system 154
7.3.4 Separation system . 161
7.3.5 Stripper 162
7.3.6 Mixing zone . .... 164
7.4 System Analysis and Control Strategy . 167
7.4.1 Cascade MPC control framework . . 169
7.4.2 MPC controller parameters 170
7.5 Disturbance Rejection with Multiple Fixed Models and MPC 171
7.6 Transition Control with Multiple Fixed Models and MPC 177
7.6.1 Transition from mode 0 to mode 2 . . . . 177
7.6.2 Transition from mode 0 to mode 2 to mode 3 180
7.6.3 Transition from mode 0 to mode 2 to mode 3 with noise . 181
7.7 Transition Control with MPC in State-shared Model Framework 187
7.8 Summary 192
7.9 Nomenclature 194
8 CONTRIBUTIONS AND FUTURE RESEARCH 195
8.1 Summary 195
8.2 Contributions 198
8.3 Future Research 199
BIBLIOGRAPHY . 202
APPENDICES
A. PROOF OF EQUATION (6.2) 211
B. MATLAB CODE FOR TWO-PHASE SYSTEM 212
C. MATLAB CODE FOR BIO-REACTOR SYSTEM . . . 232
D. MATLAB CODE FOR CALCIUM DYNAMIC SYSTEM . . . . 238
E. MATLAB CODE FOR TE PROCESS . . 241
E l . MPC based on multiple fixed models 241
E2. MPC based on state-shared model 241

VI
ABSTRACT
This work proposes and develops an approach to transition control of chemical
plants based on the development of a state-shared model in a model-predictive con-
trol (MPC) framework. Transition control over a large operating space presents a
challenging problem, especially for nonlinear multiple-input multiple-output (MIMO)
constrained systems. Attractive features of a transition control structure should in-
clude rapid and stable closed-loop response. A large number of recent approaches
address this issue using multiple fixed and adaptive models, and single or multiple
controllers. Regardless, the controller must not only successfully regulate the plant at
the initial and final operating points, but also track the reference set point during the
transition. In fact, the problem can be considered in two parts - the identification of
a model that estimates the plant outputs during the transition and the synthesis of
a suitable controller that produces smooth and realistic control action. Satisfactory
closed-loop and stable performance of the controller and nonlinear plant is inferred,
if the performance of the model in closed-loop with the controller can be guaranteed.
By a state-shared model, we mean a linear time-invariant model structure that is a
realization of the system and driven by the measured signals - the plant outputs and
the manipulated variables. The coefficient matrices in the state-shared model are se-
lected to be a controllable pair by the designer; however, the equation that represents
the measured outputs of each model is unique. The description of the measurements
is embedded in the coefficient matrix. Any such model necessarily fulfills the require-
ment that the output of the state-shared model must be an asymptotically-correct
estimate of the plant's output, if the process models were selected appropriately.
The parameters of the adaptive state-shared models are modified using a stable
and convergent adaptive law. By means of adapting the parameters of the equation
that represents the measured outputs and switching among fixed and adaptive models,
accurate estimates of the plant can be obtained. The use of the state-shared model
necessarily relaxes the assumption that the fixed models cover the large operating
space.

Vll
The theoretical underpinnings that permit the development of the state-shared
model are stated and proven. Using the state-shared model, the MPC optimal con-
troller or an Hoo robust controller can be designed. Conditions for both controllers
to produce stable closed-loop responses for certain classes of systems can be used to
establish closed-loop stability in the case of transition control. Critical to the tracking
problem is the identification of the transition reference trajectories. Generally, the
reference trajectory is determined by experience.
Transition control using a state-shared model in either an HQO or MPC framework
is demonstrated on several single-input single-output and multiple-input multiple-
output continuous, nonlinear processes. Finally, the state-shared model based con-
troller design approach is demonstrated on a plant-wide scale using the widely known
Tennessee Eastman (TE) plant.

vni
LIST OF TABLES

3.1 Chemical reactor parameters ... 42


3.2 Chemical reactor nominal values 42
3.3 Average Relative Errors (%) of the chemical reaction system 52
3.4 CICR model parameters 63
3.5 CICR model nominal values 64
3.6 Average Relative Errors (%) of the biological system .... 68

5.1 Exothermic CSTR parameter definition and values. 85


5.2 Operating steady states for the exothermic CSTR . . .... 86
5.3 Parameter values for the transfer function models of the CSTR . . 87
5.4 CSTR models parameters for the MRAC strategy (OPI to OPII) 89
5.5 CSTR reference trajectories: multiple models . . . . . . 101
5.6 CSTR model parameters (OPI to OPII) 105
5.7 ISE values for the CSTR 108
5.8 CSTR model parameters (three states) . . Ill
5.9 Biological reactor variable and parameter definitions. . . .... 112
5.10 Multiple steady states and linear models for the biological reactor. . . 112

6.1 Tracking errors of the two-phase reactor .... . . 134


6.2 CICR model nominal values. .... 137

7.1 Seven modes of process operation . . 149


7.2 Process manipulated variables . . . 149
7.3 Process measured output variables (from [1]) 150
7.4 Process operating constraints 151
7.5 Process disturbances . ... 151
7.6 Coefficients in the Antoine equation for condensible components . 153
7.7 Parameters in the reaction rate equations ... 155
7.8 Nominal values of stripper splits for the exiting vapor stream. 163
7.9 Nomenclature in TE process . . 165
7.10 Tuning parameters for SISO level loops and reactor temperature . . 168
7.11 Operating costs for each simulation 193

IX
LIST OF FIGURES

1.1 Multiple Model Control structure I. This block diagram can be used
to represent the methods of Morse [2], McLain et al. [3], Chiu et al.
[4], and Aufderheide et al. [5] . 9

1.2 Multiple Model Control structure II. This block diagram can be used
to represent the approaches of Narendra & coworkers [6], Banerjee et
al.[7], Van Brempt et al. [8], and the current work . 10

2.1 Controllable canonical form [9]. The time domain block diagram of a
linear time-invariant system in a controller canonical form or realiza-
tion. The symbol J means integration of the dynamic state equation. 22

3.1 Parameterization of a linear time-invariant system. The parameteriza-


tion of the plant as a function of the known input/output description. 27

3.2 An adaptive identifier [6]. The parameter vectors di and 02 are adapted
so that the output of the model is that of the plant 30

3.3 Two-phase chemical reactor system. The simplified schematic shows


the major input and output streams and the control points. 41

3.4 Pressure response of the chemical reactor system. Nonlinear system


(solid line-j-o) and the reduced-order linear model (dashed Une-fD) in
the neighborhood of OPI. The curves are nearly indistinguishable. 46

3.5 Pressure response of the chemical reactor system. Full-order linear


model (soHd hne-l-A) and the reduced-order linear model (dashed Une-t-D)
in the neighborhood of OPI. The curves are nearly indistinguishable. 47

3.6 Component A in the purge stream of the chemical reactor system.


Nonlinear system (sohd line-l-o) and the reduced-order Unear model
(dashed line-t-D) in the neighborhood of OPI. .... 48

3.7 Component A in the purge stream of the chemical reactor system. Full-
order linear model (solid hne-|-A) and the reduced-order linear model
(dashed line-l-D) in the neighborhood of OPI. . 49

3.8 Production rate of the chemical reactor system. Nonlinear chemical re-
actor system (solid lineH-o) and the reduced-order linear model (dashed
line-l-D) in the neighborhood of OPI. . . . 50

3.9 Production rate of the chemical reactor system. Full-order linear model
(solid line-l-A) and the reduced-order linear model (dashed hne-t-D) in
the neighborhood of OPI. . . • • • 51
3.10 Pressure response of the chemical reactor system. Nonhnear system
(solid hne-fo), full-order linear model (dotted Hue -h D), and the
reduced-order linear model (dashed line-^A) in the neighborhood of
OPII. The curves are nearly indistinguishable. ... . . . 53

3.11 Component A in the purge stream of the chemical reactor system. Non-
hnear system (sohd hne+o), full-order hnear model (dotted fine -h D),
and reduced-order linear model (dashed hne-hA) in the neighborhood
ofOPH 54

3.12 Production rate of the chemical reactor system. Nonlinear system


(sohd line-Fo), full-order Hnear model (dotted line + D), and reduced-
order hnear model (dashed hne-|-A) in the neighborhood of OPII. . . 55

3.13 Pressure responses of the chemical system. Nonlinear system (sohd


line-fo) and state-shared model (dashed Hne-FD) in the neighborhood
of the OPI .... . . 58

3.14 Component A in the purge stream of the chemical reactor system. Non-
linear system (sohd line-|-o) and state-shared model (dashed hne-t-D)
in the neighborhood of OPI ... 59

3.15 Production rate of the chemical reactor system. Nonlinear system


(solid line-fo) and state-shared model (dashed line-t-D) in the neigh-
borhood of OPI .... ... 60

3.16 Ryanodine receptor kinetics. This mechanism was proposed by [10]. 61

3.17 Simplified schematic of the calcium fluxes in a cardiac myocyte [10].


Ca: calcium, RyR: ryanodine receptors, SL: sarcolemma, SR: sacroplas-
mic reticulum, CY: cytoplasm, J: calcium trigger, Jpj is a calcium
pump and Jij is calcium leakage. . . . 62

3.18 Positive site fraction. Responses of the nonlinear system (solid line-t-o)
and state-shared model (dashed line-|-D) based on a 3rd-order models
in the neighborhood of OPI. . . . 69

3.19 Calcium concentration in the cytosol. Responses of the nonhnear sys-


tem (sohd line-t-o) and state-shared (dashed line-l-D) models based on
3rd-order models in the neighborhood of OPI 70

3.20 Calcium concentration in the sacroplasmic reticulum. Responses of


the nonhnear system (solid hne+o) and state-shared (dashed line-t-D)
models based on 3rd-order models in the neighborhood of OPI 71

XI
4.1 Illustration of the role of the state-shared model in the operating space.
The state-shared model replaces N (large) models. The state-shared
model uses the measured inputs and adaptation to represent the system
anywhere in the large operating space. ... . . 75

5.1 Block diagram of a model reference adaptive control strategy. This


MRAC design is based on a non-minimal observer system 83

5.2 Steady-state profile for the exothermic CSTR. The profile shows that a
single input value can give rise to more than one output value (output
multiplicities) 86

5.3 Transition control of the CSTR using MRAC strategy. Top panel: The
temperature response of the CSTR tracks a bounded reference signal
to achieve the set point change from 1.3 to 5.0. Bottom left panel:
Control action. Bottom right panel: Model switching. . . 90

5.4 Convergence of the CSTR free-running adaptive model's parameter


values. Clockwise from the top, k, OQ, 9i, 62 . 91

5.5 Classical feedback block diagram with H: controUer and P: plant. . . 92

5.6 Block diagram of the Hoo controller design. Left panel: Block P(s) rep-
resents the plant, A(s) represents model uncertainty, and Ao(s) repre-
sents robust performance. Right panel: Re-arrangment into structured
uncertainty block. . . . 93

5.7 Closed-loop Hoo block diagram. Left panel: Structured uncertainty


with controller. Right panel: Closed-loop system. 94

5.8 Block diagram of the feedback loop. K is the feedback controller, M


is the model, Wi and W2 are weighting functions, and A2 is the model
uncertainty. 96

5.9 Simplified block diagram of the feedback loop. K is the controller and
P is the nominal model P and weighting functions, Wi and W2- • • 97

5.10 Closed-loop system with model uncertainty. Left panel: compressed.


Right panel: expanded to show the subsystems of C L ( J P , K ) . . . . 100

5.11 Internal stability of the uncertain system 100

5.12 Transition control of the CSTR using an Hoo controller with model
switching. Top panel: Temperature response of the CSTR for a set
point change from 1.3 to 5.0. Bottom panel: Model switching. . . . 103

xu
5.13 Transition control of the CSTR using an Hoo controller with model
switching. Top panel: Temperature response of the CSTR for a set
point change from 5.0 to 1.3. Bottom panel: Model switching. ... 104

5.14 Convergence of the CSTR free-running adaptive model parameter val-


ues. Clockwise from the top, A;i,fc2,^3,^:4. ... 107

5.15 Transition control of the CSTR under non-ideal conditions. Temper-


ature response for a set point change from 1.3 to 5.0. Top left panel:
Unmeasured disturbance (10% increase) in the feed concentration. Top
right panel: Model error in the kinetics. Temperature response for a
set point change from 5.0 to 1.3. Bottom left panel: Parameter uncer-
tainty (10% decrease) in the heat of reaction term. 109

5.16 Multiple transitions of the CSTR using state-shared model and Hoc
controller. Top panel: Temperature response for set point change from
1.3 to 2 to 5 to 1.3. Bottom panel: Model switching. .... 110

5.17 Phase portrait of the biological reactor. The phase portrait was gener-
ated using different initial conditions of Xi and X2 and when X2/=0.4g/l
and D = 1.8hr~^. Note the presence of a saddle point and two stable
nodes. 113

5.18 Transition control of the biological reactor using HQO controller with
model switching. Top panel: Substrate concentration response for a
set point change from 0 to 0.389. Bottom left panel: Model switching.
Bottom right panel: Control action. 115

5.19 Transition control of the biological reactor using Hoo controller with
model switching. Top panel: Substrate concentration response for a
set point change from 0.389 to 0. Bottom left panel: Model switching.
Bottom right panel: Control action. 116

5.20 Transition control of the biological reactor under non-ideal conditions.


Modeling error in the specific substrate consumption rate. Left panel:
Substrate concentration response for a set point change from 0 to 0.389,
model switching (middle), and control action (bottom). Right panel:
Substrate concentration response for a set point change from 0.389 to
0, model switching (middle), and control action (bottom) 118

5.21 Transition control of the CSTR: comparison of two different modeling


approaches with an Hoo controller. Reference: solid line, state-shared
model: dashed line, and single model: dotted line. Top panel: Tem-
perature response for a set point change from 1.3 to 5.0. Bottom panel:
Temperature response for a set point change from 5.0 to 1.3. 119

xiii
5.22 Transition control of the biological reactor: comparison of two differ-
ent modeling approaches with an Hoo controller. Reference: sohd hne,
state-shared model: dashed line, and single model: dotted line. Ob-
serve that the single model control approach becomes unstable. . . . 121

6.1 Transition control of the two-phase reactor using an MPC controller.


Production rate change from 100 kmol/h to 130 kmol/h. Dashed hne:
set point, dotted line: reference trajectory. Top left panel: Production
rate. Top right panel: Reactor pressure. Bottom left panel: Composi-
tion of A in the purge. Bottom right panel: Model switching. . 135

6.2 Transition control of the two-phase reactor using an MPC controller


at non-ideal conditions. Production rate change from 100 kmol/h to
130 kmol/h in the presence of measurement noise (SNR 10:1). Dashed
hne: set point, dotted line: reference trajectory. Top right panel:
Production rate. Top left panel: Reactor pressure. Bottom left panel:
Composition of A in the purge. . . .... ... 136

6.3 Transition control of the two-phase reactor using an MPC controller at


non-ideal conditions. Production rate change from 100 kmol/h to 130
kmol/h with yAs inferred. Dashed line: set point, dotted hne: reference
trajectory. Top left panel: Production rate. Top right panel: Reactor
pressure. Bottom left panel: Composition of A in the purge. . . 138

6.4 Transition control of the biological system using an MPC controller.


Dotted line: reference trajectory. Top left panel: Ca concentration in
the cytosol for a set point change from 0.1670 //M to 0.1370 fiM. Top
right panel: Ca concentration in the sarcoplasmic reticulum for a set
point change from 39.262 //M to 38.6162 iJ,M. Bottom left panel: Ca
trigger influx J. Bottom right panel: Maximal rate of Ca in the cytosol
91- 142

6.5 Transition control of the biological system using an MPC controller.


Dotted line: reference trajectory. Top left panel: Ca concentration in
the cytosol for a set point change from 0.1370 /xM to 0.1670 /xM with
an output weight of 50. Top right panel: Ca concentration in the sar-
coplasmic reticulum for a set point change from 38.6162 ptM to 39.262
//M with output weight of 1. Bottom right panel: Ca concentration in
the cytosol for a set point change from 0.1464 /.iM to 0.1244 /xM but
with an output weight of 1 143

7.1 The TE process design flowsheet [11]. There are five major unit oper-
ations: chemical reactor, condenser, separator, stripper, and compres-
sor; 41 measurements and 12 control degrees of freedom. 148

xiv
7.2 Cascade MPC control framework. VI: three liquid level set points, Y*:
the measurement set points, u^. manipulated variables from PI level
control loops, UQ: manipulated variables from MPC, T*: the reactor
temperature set point given by MPC . . ... 170

7.3 Multiple fixed models and MPC control for disturbance IDV(6)- A feed
loss. Top panel: Reactor pressure and reactor level. Middle panel:
stripper level and separator temperature. Bottom panel: separator
pressure and separator level. Dashed line represents the steady state
value at mode 3. . . . . 173

7.4 Multiple fixed models and MPC control for disturbance IDV(6)- A feed
loss. Top panel: Stripper pressure and stripper temperature. Middle
panel: E feed valve and mole percent of A in the purge. Bottom
panel: D feed valve and mole percent of G in the product. Dashed hne
represents the steady state value at mode 3 . . 174

7.5 Multiple fixed models and MPC control for disturbance IDV(6)- A
feed loss. Top panel: A feed valve and A+C feed valve. Middle panel:
stripper liquid product valve and compressor recycle valve. Bottom
panel: separator liquid valve and purge valve. . .175

7.6 Multiple fixed models and MPC control for disturbance IDV(6)- A feed
loss. Top panel: stripper steam valve and reactor cooling water valve.
Middle panel: product flow rate and condenser cooling water valve.
Bottom panel: operating costs and model switching strategy. Dashed
line represents the steady state value at mode 3 176

7.7 Transition control from mode 0 to mode 2. Top panel: reactor pres-
sure and separator temperature. Middle panel: mole percent of G in
the product and the separator pressure. Bottom panel: stripper tem-
perature and stripper pressure. Dashed line represents the reference
trajectory. . . .... 178

7.8 Transition control from mode 0 to mode 2. Top panel: D feed flow
valve and E feed flow valve. Middle panel: stripper liquid product flow
valve and A feed flow valve. Bottom panel: separator product valve
position and A-l-C feed flow valve. . . . ... . 179

7.9 Transition control from mode 0 to mode 2 to mode 3. Top panel: reac-
tor pressure and separator temperature. Middle panel: mole percent of
G in the product and separator pressure. Bottom panel: stripper tem-
perature and stripper pressure. Dashed hne represents the reference
trajectory. . . . • • • • 182

XV
7.10 Transition control from mode 0 to mode 2 to mode 3. Top panel: D
feed flow valve and E feed flow valve. Middle panel: purge valve and
A feed flow valve. Bottom panel: compressor recycle valve and A+C
feed flow valve 183

7.11 Transition control from mode 0 to mode 2 to mode 3. Top panel:


separator bottoms liquid flow valve and stripper liquid product flow
valve. Middle panel: operating cost and stripper steam valve. Bottom
panel: condenser cooling water valve and reactor temperature set point. 184

7.12 Transition control from mode 0 to mode 2 to mode 3 with measurement


noise. Top panel: reactor pressure and separator temperature. Middle
panel: mole percent of G in the product and separator pressure. Bot-
tom panel: stripper temperature and stripper pressure. Dashed hne
represents the reference trajectory. ... . . ... . . 185

7.13 Transition control from mode 0 to mode 2 to mode 3 with SNR=100


input noise. Top panel: reactor pressure and separator temperature.
Middle panel: mole percent of G in the product and separator pressure.
Bottom panel: stripper temperature and stripper pressure. Dashed line
represents the reference trajectory. . . 186

7.14 Transition control from mode 0 to mode 2 with state-shared-MPC.


Top panel: reactor pressure and separator temperature. Middle panel:
separator pressure and stripper pressure. Bottom panel: stripper tem-
perature and E feed valve position. Dashed line represents the reference
trajectory. . . . .... 189

7.15 Transition control from mode 0 to mode 2 with state-shared-MPC. Top


panel: A feed valve and A + C feed valve. Middle panel: purge valve
and condenser cooling water valve. Bottom panel: mole percent of G
in product and model switching. Dashed line represents the reference
trajectory ... 190

7.16 PI control loops in transition control from mode 0 to mode 2 with state-
shared-MPC. Top panel: Reactor level and D feed valve. Middle panel:
separator level and separator liquid valve. Bottom panel: stripper level
and stripper liquid product valve. Dashed hne represents the reference
trajectory. . ... 191

XVI
CHAPTER 1
INTRODUCTION
Automatic process control is practised in many industries either to maintain a
given operating variable at a constant value (regulation), or to behave in a desired
time-varying fashion (servo control). Useful measures to evaluate any control strat-
egy include: speed of response, accurate estimation of the controlled variables, and
stability of the closed-loop system (plant and plant-wide control strategy) [12]. In
fact, many of the control methods reviewed in this chapter are motivated by these re-
quirements. However, to design a control system with the above properties primarily
depends on the knowledge that is available about the system to be controlled.
Linear systems theory has supplied many effective control methods for linear-time-
invariant system.^ Excellent design methods are available when a system is known
precisely [13, 14, 15]. When there are disturbances and/or modeling uncertainties,
that is, the system is not known precisely, some robust control methods may be
applicable [6, 14]. It is weU known that most real systems are nonlinear. However,
such systems can be approximated by a linear model in the neighborhood of the
operation point, provided the neighborhood is small enough or there are only small
system uncertainties. If the operating space is large, or there are large parametric
uncertainties in the dynamic models of the system, or the degree of nonlinearity is
severe, then it is intuitive to expect that one hnear model may not be accurate to
approximate the nonlinear system satisfactorily.
In the chemical industry, it is quite common for plants to produce more than
one type of product, the choice of product being dictated by market forces. This is
particularly true in the polymer industries, where product and grade transitions occur
frequently within continuous processes. As a result, transitions between different
operating points occur, which necessitate the use of a controller or control structure
that can successfully regulate the plant not only at the particular initial and flnal
operating points, but also in the entire transition regions. In this work, the interest is
^A system is said to be time-invariant if its properties do not change with time.
in designing a robust control structure that permits the process to transition stably
and quickly as a result of a set point change (tracking). There are other reasons for
a process to transition to some other part of the operating space. The latter can be
classified as unplanned transitions. These include unexpected disturbances and/or
parameter changes. In these cases the control strategy is to regulate in the face of the
disturbance or parameter changes rather than to track a known reference trajectory.
Two other transitions are worthwhile mentioning startup and shutdown. These
transitions are not addressed in this work.
Nonlinear behavior of the system is not an uncommon characteristic. This feature
serves to not only heighten the control problem but also to necessitate a nonhn-
ear dynamic model of the process for control studies. However, methods to address
nonlinearities without the use of a nonlinear model are always considered, because
(i) there is a shortage of available high quality nonlinear models to characterize the
process adequately, (u) nonlinear control methods are not as readily apphed when
compared to linear control methods, and (iii) nonlinear closed-loop stabihty argu-
ments are difficult to establish in general.

1.1 Background
Not surprisingly, a popular modeling method is to use multiple hnear models
that together represent the nonlinear system [16]. Thus, the vast body of hnear
control theory can be applied. In addition, if there are numerous fixed parameter
model/controller pairs, then it is assumed that there is at least one model in the set
of models whose estimation error (the difference between the plant output and model
estimate) is the smallest so that its companion controller is the feedback controller
to cause the plant output to track the desired reference input [17, 18]. For large
operating spaces,^ there is a very large number of these model/controller pairs to cover
the possible operations. If the large number of models and controllers is a burden for

^Space that consists of all possible operating conditions that is a function of the parameters of
the system.
online, real-time applications, then either an alternative means of representing the
system over the large operating space must be found or the existing model quality
must be improved.

A general model reference adaptive control (MRAC) methodology that employs


multiple fixed (non-adaptive) and intelligent (non-conventional) adaptive models,
switching, and tuning was proposed (see Narendra and coworkers [12, 19, 20], and
Balakrishnan [13]). The rationale for using adaptive and fixed models is to ensure
that there is at least one model with parameters sufficiently close to those that pro-
duce the outputs of the plant. The intelhgent adaptive models and tuning provide
accuracy because an accuracy estimate is needed by the controller to cause the plant
to track the desired trajectory. The fixed models, together with switching provide
speed. This means that although the fixed model is not accurate, it can be used
at this instance to provide the best estimate of the plant until a better model is
found. The theoretical foundation that guarantees stability in the context of MRAC
for unknown linear time-invariant systems is provided in Chapter 5. This approach
was successfully demonstrated by Gundala et al. [21] on a two-phase multiple-input
multiple-output nonlinear chemical reactor that exhibited transitions due to set point
and unplanned parameter changes.
A hybrid ^ supervisory control method was proposed by Morse [17, 2, 22]. This
supervisor is capable of switching into feedback with single-input single-output linear
(SISO) processes, a sequence of set point controllers from a set of candidate con-
trollers. The supervisor decides which controller to place in the feedback loop with
the process by continuously comparing, in real time, well-defined norms of the output
estimation errors. The supervisor is said to be hybrid because while it samples the
estimation errors in continuous time, it makes decisions about controller switching
in discrete time. In the absence of unknown process dynamics, the proposed strat-
egy can successfully achieve a zero steady-state tracking error, provided the process
^The outputs of the system are sampled continuously, while the applied controller action is
discrete.
disturbances are bounded and constant. It is also shown that fast switching among
controllers can permit the output to track the reference signal, provided that the
dwell time ^ is a positive number, no smaller than the time it takes the supervisor to
compute the values of the performance signals.
In Banerjee et al. [7], a nonlinear plant was represented by A'^ linear models cor-
responding to A'^ known and distinct operating points. Each model's prediction of
the output is weighted by probabihties that are calculated using Bayes theorem ^
[23]. It is assumed that each model has a controller that has been designed to per-
form satisfactorily within its associated operation region but not necessarily during
a transition. The problem of smooth transfer, i.e. stabihty and good performance,
between different controllers is solved by introducing a self-scheduling controller strat-
egy that also uses the probabilities as scheduling variables. The effectiveness of this
strategy depends on knowing how many models are needed and the likelihood that
a weighted combination of the existing models can provide accurate estimates of the
plant outputs. A robust control design (see Chapter 5) is used to achieve satisfactory
closed-loop performance.
Kordon et al. [18] divided the nonhnear plant into several overlapping operating
regimes. A parallel control system, consisting of a bank of concurrently running
virtual control loops and a concurrency coordinator, are proposed. The performance
analysis in the parallel control system is based on feedback control errors, rather than
model output estimation errors. The control action is selected to take place only in
the operating region that is determined based on comparing two £^ norms.^ The
•^The amount of time that a specific controller remains in the feedback loop before it is replaced.
^By comparing the plant and the model outputs at every sample time, the probability that each
of the local models is a valid representation of the plant is obtained. The conditional probabihty
found from an application of Bayes theorem is called by some researchers a weighting function or a
validity function. The underlying probability density function assumed in the application of Bayes
formulation is a normal distribution.
^In norm space £ ^ ( £ P ) , any two vectors Xi 6 R'^,X2 € fl", the norms are defined by,
1/2(P)

\\X1 - X2\\2{p) = f J2^Xi,i - X2,if''P^ j


first is between the predicted position of each virtual control loop and the centers of
each operating region, and the second is between the predicted position of the virtual
control loop and the reference operating region. The latter can serve to constrain the
control system. Simulation results are used to demonstrate that the resulting closed-
loop system is stable during the transition, however, no general theory on stability is
provided.

Schott et al. [24] proposed a multiple-model adaptive control (MMAC) method


that uses single-loop proportional-integral-derivative (PID) controllers. Bayes theo-
rem is used to determine the combination (weighting functions) of the existing model
to generate a more accurate model. The MMAC approach is best used when the
plant is accurately modeled in several key operating regions so that a weighted set of
models can provide a reasonable representation at any other point in the operating
space.
Related to the MRAC approach of Narendra and coworkers [6], is the nonhnear
MRAC strategy proposed by McLain et al. [3]. This strategy proposes to embed one
or more hnear models within a radial-basis function ^ based controller design. Similar
to the work of Schott et al. [24], Bayes theorem is used to determine the combination
of the existing models to generate a new one. This adaptive model is then used to
refine the nonlinear controller. Parameter update laws are derived using Lyapunov
stability analysis that ensure that the plant output asymptotically tracks the output
of a linear reference model.
Chiu et al. [4] proposed an internal model control (IMC) design. In this approach,
the dynamic model of the system is constructed using validity functions ^ that combine
a set of local transfer-function models that represent the dynamic system around each
known operating point. The IMC controller uses this model to determine the control
move for the current sampling time.
''One example of such a function is a Gaussian distribution function exp {—r'^/P), /? > 0 where /3
is variance and r is the distance from the center. Such functions are used in functional interpolation
of data.
*This is similar to the conditional probabilities found using Bayes Theorem where a normal
distribution is assumed for the density function.
Aufderheide et al. [5] employed multiple models with a first-order plus delay
(FOPDT) structure in a constrained model predictive control framework (MMPC).
The prediction and control horizons for the MMPC scheme are based on the process
time constant and delay of the identified FOPDT.
Sun and Hoo [25, 26] presented a robust dynamic transition control structure for
time-delayed systems using a set of fixed models and controllers. They converted the
trade-off between nominal performance and robust stability when the model has large
uncertainties with the development of several models with small uncertainty. Several
theorems were provided to show the robustness of this transition control structure.
The most recent contributions in the area of transition control appeared at an
invited session at the 2003 American Automatic Control Conference. These works are
significant because they come from the industrial sector and from leading international
engineering firms.
Turner et al. [27] describe a state-space bounded derivative network for transition
control. The bounded nature of the derivative of these models is said to enable robust
and intelligent extrapolation while satisfying global gain constraints. This method
is promising as it may provide for a full nonlinear control with optimization for
process transitions. The success of this strategy was demonstrated on a commercial
polyethylene process.
In Van Brempt et al. [8], a novel model predictive control architecture called
INC A®, which has been implemented on a dynamic linear time-varying model of a
Dow Chemical Co. polystyrene production facility at Tessenderlo, Belgium, was in-
troduced. The controller allows for a grade transition that pushes the process towards
more profitable operating regions during normal production. During the transition,
the model predictive controller is shown to switch smoothly between the different
models of a set of models at different operating points. Results show satisfactory
tracking of the desired trajectory, together with a large disturbance rejection capabil-
ity during the grade transition. Dynamic economic optimization of the change-over
trajectory forms an alternative for the use of a best practice trajectory, which results
in an optimal transition policy for the current market condition.
Duchesne et al. [28] proposed multivariable statistical process control (SPC) meth-
ods for start-ups and grade transitions with the aim of reducing off-spec product and
transition time. Specifically, the multivariable projection methods of Principal Com-
ponent Analysis (PCA) and Projection to Latent Structures (PLS) are used. The
multivariable SPC charts are employed to achieve successful completion of a transi-
tion and as analysis tools for diagnosing the reasons for past transition problems and
for monitoring new transitions to ensure repeatable high quality transitions.
Srinivasan and Visvanathan [29, 30] used an expert system's approach to manage
transitions. Their tool called EventExpert identifies the process state, manages the
multiple mode plant, and categorizes the state of the plant. They use two simulated
applications, pilot scale distillation, and startup and shutdown of a refinery catalytic
cracking unit. They show the capabihties of this expert system approach to man-
age the transitions. Absolutely no fundamental theory (accuracy and stabihty) was
provided to support this approach.
Flores-Tlacuahuac and Fernandez-Anaya [31] apphed control actions that are in-
terpolated from existing controllers to the transition control of a continuous-stirred
tank reactor system. The interpolating coefficients are computed from a set of ex-
ponential interpolating functions. No systematic procedure and no criterion were
provided to select the interpolating functions. Because the controller is based on
the interpolation of several fixed local PI controllers, if the system's gain changes
sign during transition, the interpolated controller may not work because all the fixed
models' gains have the same sign.
The previous controller design methods all involve multiple models of the plant.
These multiple models may be input-output models that result from using system
identification theory or state space models that are derived from fundamental princi-
ples of physics and chemistry. Most of the exphcit control strategies use a quantitative
measure (performance bound or hkelihood) of model estimate to determine the feed-
back controller. The exception is the approach by Kordon et al. [18], which is based
on a virtual feedback control error.

Regardless of the performance criterion used, stabihty and satisfactory closed-


loop performance (smooth response, reasonable settling time, minimum overshoot,
etc.) should not be ignored. The approaches of Narendra and coworkers [6] and
Balakrishnan [13] have mathematical proofs to demonstrate that arbitrary switch-
ing schemes can guarantee global stability for minimum phase, linear time-invariant,
open-loop systems. In the supervisory control approach, Morse's strategy [2] tracks
the reference signal without offset, provided that the time in which the current con-
troller is in feedback with the plant is a positive number no smaller than the time it
takes the supervisor to compute the values of the performance signals. In the work
by Charboneau et al. [32], this strategy is investigated for an open unstable reactor
system. There, while the output tracks the reference without offset, the input signal
is seen to chatter. Sun and Hoo [25, 26] addressed systems with time delays, such
systems pose significant determinant to the design of an effective transition control
strategy.

Banerjee et al. [7], Kordon et al. [18], Schott et al. [24], and Aufderheide et al.
[5] do not provide any theoretical foundation for the proposed multiple models and
control structures that assures satisfactory performance and closed-loop stabihty.

1.2 Transition Control Framework

Transition control presents a chaUenging problem. In fact, the problem can be


considered in two parts: the identification of a dynamic model that represents the
plant behavior during transition and the synthesis of a controller based on the accu-
racy of the model such that satisfactory closed-loop and stable performance of the
controller and nonlinear plant are guaranteed. From the survey in section 1.1 of the
most recent methodologies, it is found that those approaches can be illustrated by
the following two block diagrams shown in Figures 1.1 and 1.2.
The concept of the multiple models is to provide an accurate representation of the
dynamic behavior of the plant from which to design and tune the controller. This

8

\r _i_ 1
V + '
^r^^c ^ Controller u ^
Plant
Bank
i1
Process >
— Model
Bank
Weighting
Function

Figure 1.1: Multiple Model Control structure I. This block diagram can be used to
represent the methods of Morse [2], McLain et al. [3], Chiu et al. [4], and Aufderheide
et al. [5]

approach is one form of indirect control [6]. The methodology of Morse [2], McLain
et al. [3], Chiu et al. [4], and Aufderheide et al. [5] can be represented by Figure
1.1; while those of Narendra and coworkers [6], Banerjee et al. [7], Van Brempt et al.
[8], Turner et al. [27], and the current work by Figure 1.2. The models in the process
model bank may be models that are identified either directly from data collected from
the real process or from a first-principles model. The process model bank shown in
Figure 1.1 includes only fixed models while that of Figure 1.2 includes both fixed and
adaptive models.
A weighted linear combination of the existing fixed models to generate a new model
representation can also be regarded as an adaptive model. Conditional probabihties
determined from Bayes theorem is one method to determine the weights. Other
alternative methods to calculate the weights can be based upon some measure of
distance (L^ or L°°) or well-defined performance signals [12, 22].
The process model-based controller bank may consist of different controller types.
The controllers can be hnear or nonlinear, for instance, PID, Hoc, LQR (Linear
Quadratic Regulator), MPC (Model Predictive Control), etc. Although some modern

9
-t-w
Controller
°K> Bank Plant

Process y. ^' e.
Model
Bank

Figure 1.2: Multiple Model Control structure II. This block diagram can be used to
represent the approaches of Narendra k coworkers [6], Banerjee et al.[7]. Van Brempt
et al. [8], and the current work

linear control methods, such as H^c, have many attractive feedback properties such as
stability and robustness, they may produce high order controllers, thereby rendering
them non-implementable. In Chapter 5, a case study that uses multiple-models and
an Hoo controller approach will be demonstrated.
Combinations of different process model types, weighting functions, and con-
trollers will yield different closed-loop structures. The choice of which combination
to use in the case of transition control is for the most part determined by the control
objective, depth of process knowledge about the operating space, and the size of the
operating space. Measures of accuracy, stabihty, speed of response, robustness, and
computing burden should also be factors in the selection of a controller type [12].
A brief review of control theory is appropriate as some of these control methods
will be used in the multiple-model transition control framework. It is recognized that
most real systems are nonlinear. However, the standard control approach is to analyze
the behavior of the process in a region about the nominal operating state (design
conditions). A linear representation is appropriate if the boundary of operation is
confined to a single operating state [33]. The review begins with a discussion of
relevant linear control theory. A brief review of nonlinear control is also provided
for completeness. With this background, the motivation for the research in this
dissertation is completed, and the general methodologies used in this dissertation is

10
outlined.

1.3 Linear Control Method


The review is taken from several sources, [9, 6, 14, 15, 34, 35, 36, 37]. Most of the
existing control theory is based on linear system theory. The most classical control
method is Proportional-Integral-Derivative (PID) or three-mode controller. Many ar-
ticles have appeared concerning the tuning of the three parameters for a given system
type. Almost aU the controllers whose outputs are found by using optimization the-
ory can be explained by the Linear Quadratic Gaussian (LQG) controller. Frequency
analysis is also used to determine the controller. The most used method in this class
is pole placement where the closed-loop behavior determines the controller. In the
class of robust controller, the Hoo control design is used.

1.3.1 PID controller

In order to compute the control input, the simplest control strategy is to choose
the input to be negatively proportional (P) to the error between the set point and
the measurement. With P control, the error can be reduced, but may not converge to
zero; in other words there may be offset. A term proportional to the integral of the
error is added to the proportional part to cancel the offset error and track constant
set points. However, the transient response may be degraded (can be oscillatory or
sluggish). To regain improved response a third term is added that is proportional
to the derivative of the error, resulting in the P-I-D feedback controller. The PID
controller is predominantly used in many industrial control systems [13].

The PID controller is simple when compared to other advanced controllers. The
chemical, petroleum, and petrochemical industries have shown that this controller
gives very good performance when regulating nonlinear systems that are confined to
operate about a single nominal operating state. For a system with strong nonlineari-
ties or one that transitions among many different operating state, the PID controller
must be retuned for the various states to provide satisfactory response (excessive con-

11
trol action is avoided). An alternative is to employ multiple PID controllers in some
supervisory manner. The method of gain scheduling employs this approach [15].

1.3.2 LQG controller

While PID control provides good physical intuition, closed-loop stability and
constraints are difficult to include in the selection of the parameter values of the
three modes. The linear quadratic Gaussian (LQG) optimal controller was first
used in aerospace applications in the 1960s [14]. A subset of the LQG is the linear
quadratic regulator (LQR). The LQG formulation provides a systematic controller
design methodology for high-order and multiple-input multiple-output (MIMO) sys-
tems.

The optimization approach of LQG is characterized by the specification of a cost


function that represents the desired performance specifications. This cost function is
a real, scalar-valued function of the system (functional) that can be minimized with
respect to equality and inequalities to yield an optimal solution (controller output).
The LQG controller uses the principle of state feedback to determine the optimal
solution. As such, a state space model of the plant as opposed to the input/output
transfer function type models is used. A fundamental result of the state space ap-
proach is that any controllable linear-time-invariant (LTI) system can be stabilized
by state feedback. One disadvantage of the LQG is the need to feed back measure-
ments of the state variables. In most chemical system, not all the states (composition,
temperature, etc.) can be measured in a timely fashion. To overcome this limitation
on this class of systems a state estimator such as the Kalman Filter [37] or the Lu-
enberger observer [9] is used to infer the unmeasured states in the calculation of the
optimal control moves.
Another disadvantage of the LQG design is that much of the intuitive insight about
the effects of controller parameter modification is lost (c/. PID controller tuning).
The cost function used in the LQG design does not include robustness specifications,
although a procedure known as loop transfer recovery can be applied to improve the

12
robustness of the resulting design. The LQG cost functions include only very hmited
disturbance rejection specifications, and applying the LQG design to tracking systems
requires the use of classical control concepts such as integral control. An additional
disadvantage is that the resulting controller has at least as high an order as the plant,
which often makes implementation difficult. Implementation can be simplified by
approximating the resulting controller with a lower order controller.

1.3.3 Hoo control

If a system has modeling errors or model parameter uncertainties, the Hoc con-
troller may be a good choice. The H^o controller was developed in the 1980s, and
continues to be refined in response to requirements for more robust control designs
[14]. The Hoo method has been used successfully in diverse and difficult applications,
including a tokemak plasma system for use in nuclear fusion power generation; a flight
system for the space shuttle; an ultrahigh performance missile system [38]; a high-
purity distillation system; and an unstable continuous stirred tank chemical reactor
system [16].
The Hoo control objective is to find a stable feedback controller that minimizes the
closed-loop system infinity norm, using the plant state and the known disturbance
[14]. If the infinity norm of the uncertainty in the system is bounded, the Hoc method
can provide a controller such that the infinity norm of the closed-loop is less then 1.
Stabihty can be estabhshed using the small gain theorem. Because the Hoo controller
is robust to bounded signals, this methodology is said to yield a robust control system.
The Hoo design also allows for robust stability. Chapter 4 demonstrates the inclusion
of robust stabihty and robust performance in the H^c control design. Some of the
disadvantages of the Hoo controller design include: (i) selection of the appropriate
weighting functions, (ii) defining bounds on the uncertainties and disturbances, and
(iii) limited use due to the high order of the controller design.

13
1.3.4 Linear MPC

Model predictive control (MPC) is based on optimization, at every samphng in-


stance, of a constrained quadratic objective function that represents the error between
the desired set point and the plant's outputs and the model's prediction in the future
[39]. While this technique may be computationally intensive, it can be implemented
easily with today's computing hardware. MPC and variants of it have proven to be
useful in the chemical industries especially when the system to be controlled is con-
strained. The concept behind the conventional MPC formulation is to use a model to
predict the future behavior of the process over a horizon P if a set of future control
moves, computed over a control horizon i\/, were known. Since, the disturbances
are estimated during the prediction stage of the calculation, at every sampling time,
the sequence of optimal control moves must be re-calculated in order to optimize the
future plant behavior [40].
The conventional MPC formulation was based on using a linear input/output
model of the process. If the process has strong nonlinearities, multiple linear mod-
els can be used to approximate the nonlinear system, and the design of the hnear
controller is justified. Tian and Hoo [41] proposed a state-shared model based on
multiple linear models and a linear MPC controller to control a nonlinear chemical
reactor. Zhao [42] used a variant of MPC called dynamic matrix control (DMC) and
multiple linear models to control a nonlinear system.

1.4 Nonhnear Control Method

Although there are a number of methods to design nonlinear controllers, the anal-
ysis of the stability of the closed-loop system is often difficult to establish. To date
closed-loop stability has been proven rigorously for only a limited class of systems
[40, 43]; otherwise numerical simulation is used to establish closed-loop stability.
If the nonlinear system can be completely transformed to a linear system, the
vast body of linear system theory can be apphed to the nonhnear system. This is a
natural approach to deal with nonlinear systems. Another is the use of differential

14
geometric theory [44].

1.4.1 Global Feedback Linearization

The following overview is taken from an internal report by Tian [45]. The global
linearization method is developed for a class of affine.^
There are many reasons to motivate a user to apply a global feedback linearization
method. Here, two reasons, relevant to this work, are provided.

• If the nonlinear system can be made equivalent to a hnear system under state
feedback, a hnear controller can be designed using the wealth of hnear control
theory that is available. Thus, the problem of designing a nonhnear controller
is reduced to the problem of designing a hnear controller.

• The merit of a controller is based on achieving attractive closed-loop dynamics.


Linear systems' dynamics are well understood. Once the closed-loop system
(nonlinear system and controller) is made equivalent to a linear system, linear
system theory can be used to analyze the stability of the nonlinear system.
Therefore, global state feedback linearization extends linear controller synthesis
theory to the design and analysis of the nonlinear control problem.

Global linearization schemes include two key steps: (i) state variable transforma-
tion and (ii) state feedback information. The necessary and sufficient conditions for a
nonlinear system to be equivalent to a controllable linear system were investigated by
[46, 47, 48, 49]. The global linearization problem was proposed and first solved, for
single-input systems, by Brockett [46]. The independent work of Su [49] and Hunt et
al. [48, 50] led to a similar formulation, together with a procedure for the construction
of the linearizing transformation. The existence of globally defined transformations
was also investigated by Dayawansa et al. [47]. In chemical engineering, the first
^Nonlinear in the states, x but linear in the inputs u A general form is given by,

x = f(x) + g(x)u.

15
application to a nonlinear chemical reactor was demonstrated by Hoo and Kantor
[51]. In [45, 52], a global linearizing controller is developed and demonstrated on
a nonlinear model that describes the mechanism of calcium-induced calcium-release
and the calcium balance in human cardiac myocytes. This system will be re-visited
in Chapters 4 and 6.

Disadvantages of the global hnearization method include: (i) the controller for-
mulation does not address input/output constraints, (ii) the theory provides for the
existence of a transformation but not how to generate a unique transformation, and
(iii) high-order nonlinear systems are not readily amenable to this analysis.

1.4.2 Nonhnear MPC

The following overview is taken from [40, 43, 53, 54, 55, 56, 57]. Nonhnear MPC
technology includes at least two broad categories of applications:

• Regulatory control problems where the process is highly nonlinear and subject
to large frequent disturbances (pH control, biological systems, etc.).

• Set point (servo) control problems where the operating regimes change fre-
quently and span a sufficiently wide range of nonlinear process dynamics.

There exists at least two obstacles to nonlinear MPC applications:

1. Modeling approach: There is no systematic approach for building nonlinear


dynamic models for nonlinear MPC [58].

2. Dynamic optimization: There is a large computational burden associated with


dynamic optimization. The assurance of a reliable solution in real-time is a
major limiting factor.

Nonhnear MPC has been apphed in applications such as an ammonia plant, a polypropy-
lene process, a pulverized coal fired boiler [59], and a high-purity distillation column
for the separation of Methanol and n-Propanol [60].

16
1.5 Motivation of This Work

Transition control research has been the recent subject of many academic and
industry researchers [27, 8]. In particular, the approach of using multiple linear
models and multiple centralized/decentralzed controllers continues to produced new
results. Presently, the closed-loop performance of the system with hard constraints
and disturbances remains an open question during the transition.
In the studies presented in this work, the first effort involved the use of multiple
linear fixed and adaptive models, and an Hoo controller to reahze the transition of
an open-loop unstable SISO nonlinear chemical reactor system between different con-
version states [16, 61]. The adaptive models and stable switching among the models
demonstrate that an "accurate" model to approximate the nonlinear system can be
found. The HQO controller design used the best model to determine the controller
output. The approach of multiple models and switching was suggested by Narendra
and coworkers [12, 13, 19, 20]. The simulation results showed that stable and satis-
factory closed-loop responses can be obtained in the face of parameter uncertainty,
unmeasured disturbances, and plant/model mismatch.
Although this effort was successful, there remained many unresolved issues. For
instance, when switching between multiple fixed and/or adaptive models, the initial
states of each state space model can be different, which will affect the selection of
the best model. To address this, a state-space form such that all the models shared
the same states is proposed. This motivates the development of a state-shared model
form that represents both multiple fixed and adaptive input/output models of the
process in the large space of possible operations [62].
The advantage of model predictive control is that it can deal with hard and soft
linear and nonlinear constraints. The disadvantage is the calculation at each samphng
interval of the optimal control actions. Regardless, it is reasonable to use the state-
shared model approach in the model predictive control framework to address the issue
of transition control.

17
1.6 Dissertation Organization
The dissertation is organized as follows. Chapter 2 gives the preliminary back-
ground on linear system theory, which is necessary to the development of the state-
shared model. Chapter 3 develops the state-shared model and chapter 4 presents
the concepts of adaption and switching, which are necessary for parameter conver-
gence and stable switching. Chapter 5 introduces the non-optimization based control
methods relevant to this work and demonstrates these methods using the state-shared
model. Chapter 6 is dedicated to the development of the class of model-predictive
(optimal) controllers. Since all the examples in the previous chapters are on a single
unit operation it is reasonable to address the use of these methods on a plant-wide
basis. Thus, Chapter 7 presents a case study of the Tennessee Eastman Challenge
Problem [11] that is based on a plant that should produce at least three different grade
combinations on demand. The final chapter. Chapter 8 summarizes and documents
the contributions of this work, and details future research directions.

18
1.7 Nomenclature
FOPDT First-order plus dead time
IMC Internal model control
LQR Linear quadratic regulator
LQG Linear quadratic Gaussian controller
MIMO Multiple-input multiple-output
MMAC Multiple model adaptive control
MMPC Multiple model predictive control
MPC Model predictive control
MRAC Model reference adaptive control
NMPC Nonhnear model predictive control
PID Proportional-integral-derivative
QDMC Quadratic dynamic matrix control
SISO Single-input single-output
STR Self-tuning regulator

19
CHAPTER 2
PRELIMINARIES
When one or more aspects of the system change with time, it is generally referred
to as a dynamic system. Influences that originate outside the system and act on it
so they are not directly affected by what happens in the system are called inputs[6\.
The quantities of interest that are affected by the action of these external influences
are called outputs of the system. As a mathematical concept, a dynamic system can
be represented by algebraic and ordinary differential equation(s) of the form

Xp{t) = f{Xp{t),Up{t),t)
Vpif) = g{xp{t),Up{t),t)

where i is a non-negative scalar, Xp{t) G X are the states with X C i?" a compact ^ set,
yp{t) G Y are the measured outputs with Y C i?^; and Up{t) G U are the manipulated
variables with U C R^ is a compact and convex ^ set. The vector functions / and g
are defined by / : i?" x i?"^ x ii!+ ^ /?" and g : R'' x R"^ x R+ ^ PP.
The states x{t) at time t are determined by the initial states x{to) at any time
to < t and the input u is defined over the half-closed interval [to,t)- The output y{t)
is a function of time and the states.
When the functions / and g are linear, the system is said to be linear [6] and can
be represented in the form,

x{t) = A{t)x{t) + B{t)u{t)


y{t) = C{t)x{t) + D{t)u{t)

where A{t) G /?"^", B{t) G i?"''™, C{t) G i?^^", and D{t) G PP^'" are matrices of
bounded, piecewise-continuous, dynamic functions. For systems whose characteristics
^Heine-Borel Theorem. A subset K of R" is compact if and only if K is closed and bounded
[63].
^A convex set is a set of elements from a vector space such that all the points on the straight line
between any two points of the set are also contained in the set [64].

20
do not vary with time, the system in Equation (2.2) becomes time-invariant (LTI).
That is,
x{t) = Ax{t) + Bu{t)
(2.3)
y{t) = Cx{t) + Du{t)

In this chapter, the relevant concepts and theory about LTI systems (Equation
(2.3)) used in the development of the state-shared model are reviewed.

2.1 System-Theoretic Analysis


Definition 2.1.1. [9] For the LTI system given by Equation (2.3) The system is said
to be stable if and only if

Re{\i{A)} <0 (2.4)

where {Xi{A)} are the eigenvalue of A.


The pair (A, B) is said to be controllable [34j if

rank[B\AB\ •••\A"-^B] =n (2.5)

The pair (C, A) is said to be observable [34] if

C
CA
rank = n (2.6)

CA n - l

If a LTI system is both controllable and observable, then it is a minimal realiza-


tion^ form [34]. For the same LTI system, there may be many different realizations
with different realization dimensions [9]. This work is particularly concerned with a
realization in a particular controllable canonical form illustrated in Figure 2.1. The
corresponding coefficient matrices in state-space form for single-input single-output
•^The dimension of the realization is the same as the rank of the controllable and observable
matrices.

21
'n-l

J^y^
u
-^t-^
-a„
iaJj

-a.

Figure 2.1: Controllable canonical form [9]. The time domain block diagram of a
linear time-invariant system in a controller canonical form or realization. The symbol
J means integration of the dynamic state equation.

(SISO) systems is given by [9].

: In-l
A = b=
0 (2.7)

-ai .. —On

C^ = [Cn C„_i • • • Ci]

here /„_i means (n— 1) x (n— 1) identity matrix and ^ means the transpose operator.

2.2 Properties of the Transfer Function


The Laplace transform is used often to represent the response of the LTI state-
space system (Equation (2.3)). Applying Laplace transform to Equation (2.3) where

22
s is the Laplace variable (complex number) and re-arranging gives,

Y{s)
= H{s) = C{sI -A)-^B +D (2.8)
U{s)

where Y{s) and U{s) are the output and the input in the Laplace domain. Since s
is a complex variable, the Laplace domain can also be thought of as the frequency
domain. "* The relation, H{s), between Y(s) and U(s) is called the transfer function
because H{s) transfers the effect of U(s) to Y(s) [34].
An m-input p-output LTI system has a transfer function H{s) G RP''"'{S), which
is a set of (p x m) matrices with polynomial elements [9, 37].

Definition 2.2.1. [9j A rational transfer function matrix H{s) is said to be proper

tf
hm H{s) < oo
s—•oo

and strictly proper if


lim H{s) = 0.
s—•oo

T h e o r e m 2.2.1. H(s) is realizable as the transfer function matrix of a linear time-


invariant system given by
X — Ax + Bu

y = Cx + Du

if and only if H(s) is a proper rational matrix. If D is the null matrix, then H(s) is
a strictly proper rational matrix.

The proof can be found in Antsaklis and Michel (page 391) [37].
H{s) can be expressed in a matrix fraction description (MFD) given by

d{s)
4 s. =
- juj, where UJ is the frequency.

23
where d{s) is the least common multiple of the denominators of the entries of H{s),
with degree (deg d{s)) n, and is given by

d{s) = s" + dis"-^ + --- + 4 .

Thus,
His) = D-\s)N{s)
(2.9)
D{s) = d{s)Ip.

Define the degree of the denominator matrix as

deg D{s) = degdet(£)(s)) = np.

The pair {N{s), D{s)} is called a left matrix fraction description [9].

Proposition 2.2.1. Given any left MFD of H{s) = D''^{s)N{s), a state-space real-
ization of order
degdet(D(s)) = deg left MFD

can always be found.

In [9], a procedure to obtain controllable realizations from a left MFD is given.

Lemma 2.2.1. [9] Row degree of Proper Transfer Functions


If H(s) is a strictly proper (proper) transfer function and the left MFD is given by

H{s) = D'\s)N{s),

then every row of N(s) has degree strictly less than (less than or equal to) that of the
corresponding row of D(s).

The proof is similar to that found in Kailath (page 383) [9].

24
2.3 Nomenclature
deg Degree
LTI Linear time-invariant
MFD Matrix fraction description
SISO Single-input single-output

25
CHAPTER 3
STATE-SHARED MODEL STRUCTURE
There are at least three important issues to be considered in system identifica-
tion. The first is the form of the identifier, the second is uniqueness of the identified
parameterization, and the third is parameter convergence. The form of the identifier
is a modeling structure, including the parameters to be identified, such that each
system, in the class of systems to be identified, corresponds to a set of parameters.
Uniqueness means that for every system, the identified set of parameters is unique.
Parameter convergence if not guaranteed, may not only result in a plant model that
is not unique but also in identification failure.
Mathelin and Bodson [65] proposed an identifier form with the number of identifi-
able parameters, Ne, for an m-input p-output multiple-input multiple-output (MIMO)
system, equal to {p-\-m)n, where n is the order (McMillan degree^ [9]) of the minimal
state space realization of the system. Convergence and uniqueness were shown and
a procedure to transform an input/output model to the specific parameter identifier
was provided.
This work is concerned with the development of a multivariable adaptive identifier
[62]. Such an identifier (state-shared model), may be used for example, in a multivari-
able indirect adaptive control scheme. This identifier is driven (excited) by the plant
outputs and the manipulated variables, but shared by multiple input/output mod-
els of the system to be identified. For each input/output model, there is a different
measurement equation.
The coefficient matrices in the state-shared model are selected to be controllable
by the designer. The existence and uniqueness criteria for this type of parameter-
ized model are based on a uniquely identifiable parameterization known as a matrix
fraction decomposition (MFD) [9]. The convergence of the parameter adaptation is
also proven. For an m-input m-output hnear MIMO system, the total number of
identified parameters is derived to be Ne = n{m^ + 1), where n is the upper bound

^The order of the least common denominator of the transfer function.

26
of McMillan degree of all nominal hnear models.

3.1 SISO State-Shared Model


The work begins with the construction of state-shared model for SISO systems.
In the sequel, it will be extended to MIMO systems.

T h e o r e m 3.1.1. [6] Any controllable and observable n*^ order single-input single-
output linear-time-invariant (LTI) system described by

ypis) = ^Ms) (3.1)


Rp{s)

is input-output equivalent to the LTI system described by the differential equations ^

cJi = FLOI -\- gu LJi e i?"

UJ2 = Fuj2 + gyp UJ2 G / ? " (3.2)


yp = 9'^u

where the parameter vector 6 is suitably chosen. The pair {F, g) is controllable, F is
an n X n asymptotically stable matrix and g G R"'^^.

CO,
U. >(e/
F,g
+ A

€>- CO.
F,g

Figure 3.1: Parameterization of a linear time-invariant system. The parameterization


of the plant as a function of the known input/output description.

Proof
•^Generally, this form is called non-minimal realization, because the order of the states is 2n,
while the order of the transfer function is n.

27
Consider Figure 3.1. The transfer function from u{s) to Vi and from yp to V2 are
given by
elisl - F)-^g Ox e i?"
el{sI-F)-'g 62 eR^.

The transfer function from the input u to the output yp can be expressed as

G,M = (Or(^/-^)-.),_,.(j_,)-.^^||^^ (3.3)

The parameter vectors 61 and 62 can be determined uniquely according to the coeffi-
cients of the known numerator {Zp{s)) and denominator polynomials {Rp{s)). Define
6 = [9j, ^ ^ ] ^ , it then follows that any Unear time-invariant plant can be parameterized
as shown in Equation (3.2). QED

Corollary 3.1.1. Given Zp{s) and Rp{s), the parameter vector 9 exists and is uniquely
determined.

Proof
From Theorem 3.1.1, Equation (3.3) can be restated as,

9l{sI-F)-'g _Zpis)Ms)

one sufficient condition of the existence of above equation is,

QTJ. _ ^p(^)
9jh = UJi(s) (3.4)
1-r T,2 9i Ms)
= —TT
LOi{s)

where LJI{S) is the characteristic polynomial of F, and (/)/ = {si - F)~ g.


A comparison of the polynomial coefficients on both sides of Equation (3.4) shows
that there are 2n hnear independent equations in 2n unknowns {9 G Z?^"''^). There-
fore, the parameter vector 9 exists and is uniquely determined. If Zp{s) has order less
than n - l , then some elements in 9i wiU be zero. QED

28
In Narendra and Annaswamy [6], the same parameterization for LTI systems is
given. Here, the uniqueness of such parameterization is shown and an algorithm is
developed to relate the coefficients of the given transfer function and the parameter
vector 6. It is convenient to select the pair {F, g) to be in controllable canonical form
[6] to find the parameter vector 9.

3.1.1 Example
Given a transfer function model

kiS + /C2
Vj{s) = (3.5)
S^ + k2,S + /C4

Choose the pair (F, g) to be in controllable canonical form,

0 1
F = 9 = (3.6)
—ai —02

It follows that the characteristic polynomial of Ai,uJi, is given by.

LUi{s) = s^ + a2S + ai

and

By Equation (3.4),

ijOi{s) s^ + k^s + k4
1-9J
s UJi{s)

.w/(s).
(3.7)

kiS + /C2
01 s

29
Solving for 9j (the vector of parameters for model j) gives

9j = [k2,h,ai - ki,a2 - k^f. (3.8)

3.2 A Non-Minimal Identifier

Plant
U

i:i}^^^®r-p^-'Hi:z "i

A
->y
Figure 3.2: An adaptive identifier [6]. The parameter vectors 9i and ^2 are adapted
so that the output of the model is that of the plant.

It is assumed that the space of operating conditions is large such that there are
many possible operating states. If the plant is nonlinear, at each operating state, a
linear model can be obtained either by linearization of the nonhnear model at the
operating state or by a suitable identification technique using input/output data.
Therefore, at some operating state, the nonhnear plant can be represented by a hnear
model with a transfer function given by Equation (3.1) and a non-minimal reahzation
given by Equation (3.2).
The identifier has the same structure as the non-minimal realization given by
Equation (3.2) and repeated here for convenience,

cJi = FuJi -\- gu iui e i?"


L02 = F0J2 + gvp ^2 e i?"

yp = o'^uj

is shown in Figure 3.2. Define 9{t) = [9i ,§2 Y- It can be shown, by parameter

adaptation, that as hm 9{t) = 9 [6].


t—»oo

30
It is understood that a parameterized representation of the plant and an adaptive
identifier can be developed. Any model, either non-adaptive or adaptive, can be
cast into a non-minimal state-space realization. This form is called a state-shared
model, because all the models share the same states, but each model has a different
measurement equation. From the procedure described in the previous section, it can
be concluded that the parameters of the state-shared model are uniquely determined
by the transfer functions of the input/output models. Note that any such realization
necessarily fulfills the requirement that yj be an asymptotically correct estimate of
yp, if the process model transfer function were Gj{s), i.e. y^ —> yp.

3.3 MIMO State-Shared Model


Since most practical systems are multivariable in character, extending the con-
cept of a state-shared model for MIMO systems is justifiable. The aim is to achieve
a non-minimal realization, such that all the models share the same state space rep-
resentation, and every model's parameters appear as the elements of a single matrix,
6 , in the measurement equation.

3.3.1 MIMO parameterized model


From Theorem 2.2.1 and Lemma 2.2.1, if the realizable MIMO transfer function
is given by Equation (2.9), it can be concluded that the degree of any entry in the
numerator N{s) is less than or equal to the degree of d{s). In particular, if there is no
forcing term in the measurement equation of the realization, the order of any entry
in the numerator will be strictly less than the order of d{s).

T h e o r e m 3.3.1. Any controllable and observable m-input m-output LTI system given

by
Yp{s) = His)U{s) = D-'{s)Nis)U{s) (3.9)

with D{s) = d{s)Im, where d{s), a polynomial of degree n, is input-output equivalent

31
to the LTI system described by the differential equations

ni = Fni + Gu QiG/?"'"^^
^2 = Fn2 + GYp ^2 e i?"'"^! (3.10)
Yp = Q'^n

by suitable choice of the parameter vector 0 G /?2nmxm j^f^^ p^j^.^.. (/r G) should be
controllable with F G i?"'"^"'" an asymptotically stable matrix and G G Rnmxm^

Remark 1: Theorem 3.3.1 means that there exists a parameter vector 0 such that
the transfer function of the state-space model, given in Equation (3.10), is equivalent
to H{s), given in Equation (3.9).
Remark 2: The value of 0 depends on the pair (F, G) and the coefficients of
H{s). Since [F, G) are under the influence of the designer, 0 is uniquely determined
based on the known H{s).
The proof of Theorem 3.3.1 is similar to that of Theorem 3.1.1. In the proof,
0 = [0f, 0 ^ ] ^ is defined with 0 i , 0 2 G /2""'X'". It should be noted that since
D{s) is diagonal with the same elements along the diagonal. In the parameter vector
02 G i?"'"*^™, there are only n elements to be identified; the others are zeros. There
are nrn^ elements in 0 i , the total number of parameters to be identified is n{m^ + 1).
This result can be verified by the SISO system. That is, when m = 1, the number of
parameters is 2n.
Following the same procedure of constructing an identifier for SISO systems, it
is not difficult to construct an adaptive identifier and analyze its stability and con-
vergence properties for a MIMO system. Thus, a MIMO state-shared model can be
developed for every non-adaptive or adaptive input/output model {Hj{S)),

Qi = FQi + GU n,e i?""^^


^2 = FQi + GYp f^2 G ^""^^ (3-11)
Y, = ejn j = i,--- ,N.

32
3.4 State-Shared Model Structure for MIMO System
The selection of a suitable pair {F, G) is important to permit the state-shared
model to have desirable properties and to make it easy to relate the parameters of
the state-shared model with the transfer function of every linear model.
In the development, a selection of the pair (F, G) is proposed. Assume the hnear
MIMO input/output model has m inputs and m outputs with the transfer function
form as shown in Equation (2.9). Let F be in controllable canonical form.

0 1 0 •• 0
0 0 1 •• 0
-ai -a2 - a s •• • -dn
0 1 0 •• • 0 (3.12)
0 0 1 •• 0
-ai -02 -as •• • -a„
nmxnm

where the ai,i = 1, •• • , n are selected such that the roots of s" + a„s"~^-| \-a2S-\-a1
are all in the left half plane of the complex plane.
Let G be in the form.

0
0

0
0
(3.13)

J nmxm

so that $ / = {si - py^G will be given by

33
1
s

,n-l
1
s
1 (3.14)
s» + a„s"-i -I 1- a2S + ai

^n-lj

To solve the parameter vector, let

N{s)
0'f $/ = ^i{s)
D{s) (3.15)
7-©[$/ =
i2/(s)
^ / ( s ) = det(s/ - F ) = s" + a„5"-i + • + a2S + ai

34
It then follows that N{s) and D{s) are given by.

2n
-1)+1)
Y^kus'-' Y. fci.^'"*"^'' Y /ti.is'-^"*™-^
1=1 i=n+l i=n(m—1)+1
n 2n nm
Yk2,S^-' ^ / C 2^2,iS
.^'-("+^) Y /t2,,s'-W"^-''+'^
N{s) =
1=1 i=n(m—1)+1

2n
j_(„(ru-l)+l)
/ ^ ^m,i^ / J ^m^i^ 2^ A;„
i=\ =n+l t=n(m—1)+1

i=l
n

0
D{s)
(=1

s" + 5^diS^-i
i=l

respectively. If 0 i and 02 have following forms, respectively

^1,1 ^1,2 "^l,nm


fll
^2,1 ^2,2 "2,nm
ef =
/il
^m,l ^rr
m,2

01
0 ^?
©i^^

0? ••• 01
-I Tnxnm

35
then from Equation (3.15), the parameter values are given by,

Olj = Kj ^ = 1, • • • , m; j = 1, • • • , nm
'•' "" ' ' '^ "' ' (3.16)
9f = Oi — di i = 1 • , n.

3.5 Model Reduction Technologies

In general, a high-order system results in a high-order controller, and high-order


controllers increase the hardware quantity and complexity for hardwired controUers.
This translates directly to increased cost. For digital control, high-order controUers
increase the computational burden and hence the speed of the required processor.
Therefore, it is desirable to use low-order controllers whenever possible. One means
of reducing the order of the controller is to generate a reduced-order approximation
of the plant before designing the controller [39, 66].
Reduced-order approximation of the plant dynamics is not an uncommon engi-
neering practice. In general, mathematical models are reduced-order approximations
of the true system generated by ignoring minor effects during modeling. Clearly, the
number of parameters to be adapted affects the computational burden.
From the previous section, it is shown that the order of the state-shared model for
a MIMO system is n{m'^ + 1). The input/output number, m, cannot be changed. To
reduce the order of the state-shared model, the order of d{s) (n) must be reduced. The
state-shared model is then constructed based on the reduced-order models. There are
several methods that lead to a reduction in the model order [14, 39, 66, 67, 68, 69,
70, 71].
As early as 1987, Beebe and Kowalski [72] discussed to use multivariate methods,
such as multiple linear regression (MLR), principal component analysis (PCA) and
partial least squares (PLS) to extract the fuU complement of useful information from
all of the data. Piovoso, Kosanovich and Yuk used PCA and PLS to compare large
volumes of industrial fiber processing data [70]. Piovoso and Kosanovich showed
how to develop a controUer using multivariable statistics techniques [73]. Another

36
approach is to use proper orthogonal decomposition and singular value decomposition
[39]. Related papers includes Kaspar and Ray [74], Dong and McAvoy [75], and
Kosanovich et al. [76].

3.5.1 Balanced Truncation

Balanced truncation is based on the use of a special state-space reahzation the


balanced realization. A balanced reahzation exists whenever the system is stable and
minimal [14, 68, 67]. Burl [14] provides a procedure to find the similarity transfor-
mation such that a balanced reahzation can be obtained. This procedure is reviewed
below.

Definition 3.5.1. (Balanced realizationj/.Z.<^y The n^^ full-order LTI system given
by
X = Ax + Bu
(3.17)
y = Cx

is internally balanced if the controllability (Wc) and observability (Wo) gramians are
the same and diagonal, i.e.,

/•oo
Wc = / e^'BB^e^^'dt
Jo
Wo= J e^^'CC^e^^'dt
Jo
Wc = Wo = ^

and
ai 0

0 (T2
E = (3.18)

0 0

The diagonal elements are real, positive, and ordered from largest to smallest (as a
matter of convention). The notation a is used for these elements, since Oi {i =

37
1, • • • , n) are the singular values of both gramians.

It can be shown that although the balanced reahzation is not strictly unique, the
subspace of the state space associated with each singular value in Equation (3.18)
is invariant for all balanced realizations [68]. Therefore, the reduced-order model,
generated by truncating the states of a balanced realization associated with a given
set of singular values.

Balanced truncation eliminates those states in the balanced realization with the
smallest elements in the gramians. Let the balanced realization be partitioned as
follows.
AR A12 BR
XR{t) Xl
+ u{t)
X2{t) X2
A21 A22 B2 (3.19)
•- -•
-' -
Xl
y{t) CR C2
X2

where XR E R'^, X2 E .R""*^, and k is the order of the reduced-order model. Balanced
truncation always yields a stable reduced-order model provided the full-order model
is stable and minimal. Burl [14] provides the following bound on the infinity-norm of
the approximation error that results from the balanced truncation.

llA(s)|]oo = \\GR{S) - G{s)\\oo < 2(cTfc+i + ak+2 + • • • + a „ ) (3.20)

where GR{S) and G{s) are the transfer functions of the reduced-order system and the
full-order system, respectively.

Definition 3.5.2. [68] The l}^ reduced-order system {AR, BR, CR) is an internally
dominant subsystem of the n*'^ full-order system {A, B, C) if and only if in some
coordinate system, the full-order model can be partitioned as in Equation (3.19), such
that
]|Efcl|f »l|E„_fc||f (3.21)

38
The Frobenius norm [68] is denoted by ]] • \\F and E^ and S„_fc are defined as,

0-1 0 0 CTfc+l 0

0 as 0 0 Crfc+2
S, = En-fc =

0 0 0 0 a„

Define the Relative Error (Re) by

E-.^
\ i=k+l
Re = (3.22)

\E-.=
\ t=i

Then, by Definition 3.5.2, it can be shown that for all e > 0, there exists a fc < n,
such that
Re < e.

It can be said that the reduced-order system captures (1 — e)100% of the full-order
system when the reduced-order system has order of k. This imphes that if the order
of the reduced-order system is at least k the reduced-order model is acceptable. There
are other definitions of the relative error ([68]).
At known operating states, assume that multiple full-order (n'''-order) linear mod-
els are identified. By means of a state similarity transformation, a balanced realization
can be obtained at each operating point. For a given e > 0, a positive integer k < n
can be found such that for every reduced-order model at every known operating point
with order k, the relative error will bounded by e.

39
3.6 Two Examples
3.6.1 Chemical reactor system

The following examples are taken from [62]. The chemical reaction (CR) system,
given by [77] (see Figure 3.3), consists of a continuous-stirred tank reactor in which
a single, isothermal, irreversible reaction occurs in the vapor phase,

A{g) + C{g)^D{l).

Components A and C are non-condensibles gases and component D, the product, is


a non-volatile hquid. Feed 1 (Fi) contains components A and C and trace amounts
of component, B, which is an inert. Feed 2 (F2) contains pure component A and is
used to compensate for disturbances in the A/C ratio in Feed 1. The solubilities of
components A,B, and C are negligible. Thus, the reactor vapor consists of compo-
nents A, B, and C, and the reactor liquid is pure component D. The reaction rate
depends on the partial pressures of components A and C only.
All the flow rates can be manipulated. The product rate, F4, is adjusted by a
proportional feedback controller in response to variations in the liquid inventory (Vj,).
Measured outputs include the flow rates of the four streams, the reactor pressure (P),
the liquid volume, and the mol% of A (y^a), B {yss), and C (yes) in the purge stream
(F3). The composition are determined by chromatography, which operates on a six
minute cycle. Between samples, the compositions are assumed constant.
There are safety and production constraints. The reactor pressure must be main-
tained below the shutdown limit of 3000 kPa, the valve ranges are 0-100%, and flow
rates Fi and F2 cannot be larger than their maximum values of 330.46 kmol/h and
22.46 kmol/h, respectively.
The ideal gas law is assumed to be valid and the liquid density {pi) is constant
(there is only one liquid component). All components are well-mixed in the gas phase,
this means the component mole fraction in the purge stream is the same as that in
the vapor phase of the reactor.

40
-S-^i 1^^ £ •

Figure 3.3: Two-phase chemical reactor system. The simplified schematic shows the
major input and output streams and the control points.

The component balances are given by.

dN^
= yAiFi + F2 F3 -ro
dt N,
dNe N^
N3 F.
= ysi-f'i
dt
dNc Nc
= yci^i F-i-ro
dt ""^" ' N3
dVL ^

and
c
N, = E'[=AN,
ik i = A,B,C k = \,.
(3.23)
TD = hp'^Pc

Pi = n •" i, j = A,B,C

NRT

Fi = {Xi + U4)Cy4VP - Pr
u^ = K,{vi - ^p^im%)
ViL,max

41
where r ^ is the production rate (kmol/h), iV, is the number of moles of component
i (kmol), yij is the mole fraction of component i in stream j , Fi is the molar rate of
stream i (kmol h^^), p, is the partial pressure (kPa) of i, Vy is the vapor volume (m^),
and U4 {%) is the control signal from a liquid inventory controller. Other definitions
and nominal values at two operating states (OPI and OPII) can be found in Tables
3.1 and 3.2.

Table 3.1: Chemical reactor parameters.


Variable Definition Value
PL Liquid density 8.3 kmol/m^
/CQ Frequency factor 0.00117 kmol/h • kPa-i-6
Vl, V2; Kinetic rate parameters 1.2, 0,4
Fi,max Feed 1 max 330.46 kmol/h
F2,max Feed 2 max 22.46 kmol/h
Cv3 Valve 3 constant 3.52 X lO-^kmol/h- kPa-°-^
Cvi Valve 4 constant 4.17X lO-^kmol/h- kPa-°-^
V Max reactor volume 122 m^
Vh^max Max hquid level 30 m^
Kc Level controller gain -1.4
Pr Reference pressure 100 kPa

Table 3.2: Chemical reactor nominal values.


Variable Definition OPI OPII
Xl Valve 1 60.95% 78.46%
X2 Valve 2 25.02% 47.68%
X3 Valve 3 39.25% 56.17%
X4 Valve 4 44.17% 59.41%
Fi Feed 1 rate 201.43 kmol/h 259.28 kmol/h
F2 Feed 2 rate 5.62 kmol/h 10.72 kmol/h
F3 Purge rate 7.05 kmol/h 10.37 kmol/h
FA Production rate lOOkmol/h 130 kmol/h
P Reaction pressure 2700 kPa 2850 kPa
VI Setpoint of liquid level 44.18% of max 44.18% of max
VL Liquid level 13.254 m^ 15.907 m^
yA3 Mole fraction of A in purge 47.00 mol % 63.40 mol %
yB3 Mole fraction of B in purge 14.29 mol % 12.02 mol %

For economic and safety considerations, three variables must be controlled: pro-
duction rate (F4), the mol% of A in the purge stream (y.43), and pressure (F). Gun-

42
dala and Hoo [21] and Ricker [77] have studied the control of this system.

3.6.1.1 Modeling

The reaction system is a 3-input 3-output nonlinear MIMO system in the compact
form,

Xp J\Xpi ^p) ap)

yp = g{xp, Up)

where Xp G /?" are the states, yp G R^ are the measured outputs, Up G R^ are the
manipulated variables, and dp G R^ are the disturbances.

3.6.1.2 Full-order model

Linearization at the known operating states (see Table 3.1), yields a linear model
in the form,
X — Ax + Bu
y = Cx (3.24)

x = Xp- x y = y p - Vp u = Up- u
where x, yp and u are the steady state values of Xp, yp and Up, respectively; A is the
Jacobian (V^p/) with respect to the states; B is the Jacobian {S/upf) with respect to
the manipulated variables; and C is found from the linearization of the measurement
equation with respect to the states. The full-order linear model evaluated at OPI is
given by

-2.7361 0.0350 -1.0565 -1.4713 0.4850 1.0000 -0.4700


0.0106 -0.0638 0.0106 0 0.0050 0 -0.1429
A = B =
-2.6679 0.0288 -1.1371 -1.4713 0.5100 0 -0.3871
0.2588 -0.0661 0.0654 -1.0758 0 0 0
28.5171 28.5171 28.5171 24.8288
C = 0.5598 -0.4964 -0.4964 0
0.5484 0.5484 0.5484 10.4002

43
At the conditions of OPII, the linearized model evaluates to.

-2.5795 0.0697 -2.0710 -1.9605 0.4850 1.0000 -0.6298


0.0134 -0.0973 0.0134 0 0.0050 0 -0.1212
A= B =
-2.5110 0.0276 -2.2238 -1.9605 0.5100 0 -0.2490
0.2227 -0.0832 0.1748 -1.0702 0 0 0
29.2302 29.2302 29.2302 26.8816
C = 0.3794 -0.6455 -0.6455 0
0.6902 0.6902 0.6902 10.8433

The eigenvalues of A at OPI and OPII are (-3.6077, -1.2647, -0.0745, -0.0659), and
(-4.4591, -1.3009, -0.1107, -0.1001), respectively. Observe that aU the eigenvalues are
real and negative, which means that A is asymptotically stable. It is not difficult to
show that the linear systems at either OPI or OPII are state controllable and observ-
able (the rank of the controllability and observability matrices is 4), implying that
the nonlinear system at these operating states is at least locally stable at both OPI
and OPII [37]. It also can be shown that the linear systems are output controllable
[9] at both OPI and OPII.

3.6.1.3 Reduced-order model


A 2-state, 3-input 3-output reduced-order model corresponding to the 4-state,
3-input 3-output full-order hnear model (Equation (3.24)) in the form,

^ = A^ + Bu
(3.25)
y = c^

can be obtained at OPI (see section 3.5) where

-0.0564 0.2618 0.4062 -3.0471 -1.1310


A = B^
-0.1330 -3.6939 -3.7278 -5.2885 3.4003

44
3.2755 -7.3066

c= -0.1357 -0.0391
-0.0114 -0.2008

The relative error, defined by Equation (3.22), for this reduced-order model, is 7.7 x
10~^ Similarly, the reduced-order model at OPII is

-0.1390 0.7818 0.8353 -0.5345 -2.0316


A = B =
0.2162 -4.4344 -3.9209 -4.4072 3.5664

2.2572 -6.8873
C = -0.1252 -0.1170
0.0187 -0.2578

To compare the full-order model, the reduced-order model, and the nonlinear
system in a neighborhood of the nominal point, random input disturbance signals are
introduced to each representation. The disturbances are zero mean with standard
deviations that are 3% of their corresponding nominal values.
Figure 3.4 compares the pressure (F) responses obtained from the nonlinear chem-
ical reactor system (solid line + o) and the reduced-order linear model (dashed hne +
D) in the neighborhood of OPI. The response curves are nearly identical. Similarly,
in Figure 3.5, the pressure responses obtained from the full-order Unear model (soUd
line+A) and the reduced-order Unear model (dashed hne+D). The same conclusion
can be reached.
Figures 3.6-3.7 compares the amount of A in the purge stream determined by the
nonlinear system, the reduced-order linear model, and the full-order linear model.
From the results, it is observed that the response of the reduced-order system shows

45
2650.
2 4 6 8 10
Time [h]

Figure 3.4: Pressure response of the chemical reactor system. Nonlinear system (solid
line+o) and the reduced-order Unear model (dashed line+D) in the neighborhood of
OPI. The curves are nearly indistinguishable.

46
4 6
Time [h]

Figure 3.5: Pressure response of the chemical reactor system. Full-order Unear model
(soUd line+A) and the reduced-order linear model (dashed line+D) in the neighbor-
hood of OPI. The curves are nearly indistinguishable.

47
47.25

47.2

47.15

° 47 1
o
0 47.05
i_

Q.
C
<

46.95

46.9

46.85.
10
Time [h]

Figure 3.6: Component A in the purge stream of the chemical reactor system. Non-
hnear system (solid line+o) and the reduced-order Unear model (dashed line+D) in
the neighborhood of OPI.

48
1
47.25
i
47.2 i f''\
;'• ?

47.15 '•. .'• :


; J
.—. .- ;
^ 47 1 • 'i '
j; /
E^ :;: i
<B 47.05 /±

Q.
ly
Jr ^ wln^
•E 47 'i • /^ i
< 1 ".
,: i '\ '\ '•:
'ti
'i ^i \
46.95

46.9
1 1 1
— f e
46.85_
4 6 10
Time [h]

Figure 3.7: Component A in the purge stream of the chemical reactor system. Full-
order linear model (solid line+A) and the reduced-order linear model (dashed line+D)
in the neighborhood of OPI.

49
101.5

-,100.5

E
0)
.*—'
TO

••= 99.5

98.5

4 6 10
Time [h]

Figure 3.8: Production rate of the chemical reactor system. Nonlinear chemical
reactor system (solid line+o) and the reduced-order linear model (dashed line+D) in
the neighborhood of OPI.

50
101.5

101
j J

„100.5
;s / i f ' i
/u
"5 ii 1
f
E
100
1
R f l f ; im a ; }.

1 99.5
^Ii ^ir W Uft;:
1 '
s

3 c
o vl ^
•^ 99 \'l
98.5

98.
4 6 10
Time [h]

Figure 3.9: Production rate of the chemical reactor system. Full-order linear model
(solid Une+A) and the reduced-order hnear model (dashed Une+D) in the neighbor-
hood of OPI.

51
some error. However, the increments on the y-axis are smaU, thus, the errors are
small. Figures 3 . 8 - 3 . 9 compare the production rate as calculated by the nonlinear
system, the reduced-order hnear model, and full-order linear model. These results
show that the responses of the reduced-order model appear to be in good agreement
when compared with the responses of nonlinear model and full-order linear model.
To quantify the error between among these responses, the concept of average
relative errors (ARe) is introduced. The ARe of the j ^ ' ' measurement is given by,

y^>yp{hj)-yp{j)-y{i,j),

ARe(,) = ^ ' - ^ (3.26)

Here, k represents the number of sample points, yp{i, j) is the j " " output of the
nonlinear system at sample point i, yp{j) is the /'* nominal value of the nonhnear
model, and y{i, j) is tUe j ^ ^ estimate of the reduced-order system at sample point i.
The ARes are listed in Table 3.3 for 1200 sample points.

Table 3.3: Average Relative Errors (%) of the chemical reaction system.
OPI OPII
P yA3 ^4 P yA3 Fi
NL-FL 0.001 0.001 0.002 0.002 0.004 0.025
FL-RE 0.003 0.086 0.270 0.000 0.016 0.010
NL-RE 0.004 0.086 0.270 0.002 0.017 0.022

NL: nonhnear system, FL: full-order linear model, RE: reduced-order Unear model

It can be concluded that the reduced-order model is a satisfactory approximation


of the full linear model and the nonlinear system with very smaU ARes. From these

52
2850

2800

2750
to
Q.

2700

2650

2600

2550
4 6 10
Time[h]

Figure 3.10: Pressure response of the chemical reactor system. Nonlinear system
(solid line+o), full-order linear model (dotted line + D), and the reduced-order linear
model (dashed Une+A) in the neighborhood of OPII. The curves are nearly indistin-
guishable.

53
47.6

47.4

47.2

^_
3
Q. 46.8

46.6

46.4

46.2
Time [h]

Figure 3.11: Component A in the purge stream of the chemical reactor system. Non-
hnear system (sohd hne+o), fuU-order Unear model (dotted Une + D), and reduced-
order linear model (dashed hne+A) in the neighborhood of OPII.

54
Time [h]

Figure 3.12: Production rate of the chemical reactor system. Nonlinear system (solid
line+o), full-order linear model (dotted line + D), and reduced-order Unear model
(dashed line+A) in the neighborhood of OPII.

55
figures, it can also be observed that the response of full-order linear model is almost
the same as those of the nonlinear model, which means that the full-order Unear model
fits the nonlinear system very well. Similar results for P, y^s, and F4 are shown in
Figures 3.10 to 3.12 for OPII.

3.6.1.4 MIMO Reduced-Order State-Shared Model

Assume that at any point in the operating space, the nonlinear system can be
approximated by a reduced-order linear model of order two, but each model may be
different at each operating state. The aim of the state-shared model structure is to
represent all the linear models by one state-shared framework. Their measurement
equations represent their differences.
Following section 3.4, for a 3-input 3-output system with upper bound of McMil-
lian degree 2 , the state-shared model will have order nm = 6, with n{m'^ + 1) = 20
adaptable parameters. Let

0 1 0
F, Gj = j = 1,2,3
-ai -0.2 1

with ai = 02 = 1 such that the pair (F, G) are controllable. It then follows that.

Fi 0 0 Gi 0 0
F = 0 F2 0 G 0 G2 0
0 0 F3 0 0 G3
6x6 J 6x3

Given N{s) and D{s), the measurement equation parameters can be calculated

56
based on Equation (3.16). For this system, this calculation gives.

3.6485 28.5550 -42.1661 28.6499 -13.2494 -28.5527


T _
Qi -0.0609 0.0907 1.7114 0.6208 0.4322 0.0203
0.0471 0.7440 0.1222 1.0969 -0.0314 -0.6705

0.7569 -2.7482 0 0 0 0
Ql = 0 0 0.7569 -2.7482 0 0
0 0 0 0 0.7569 -2.7482

Figures 3.13 3.15 show that the state-shared model provides satisfactory approxi-
mation of the nonlinear system. In this simulation, the state-shared model is driven
by the noise-free nonlinear system's outputs and noise-free perturbations in the in-
puts. The ARes between the nonlinear system and the reduced-order state-shared
model for P, y^s and F4 are 0.079%, 0.097%, 0.290%, respectively. When compared
to the results (Figures 3.4 - 3.9) between the nonhnear system and the reduced-order
system, it can be concluded that the state-shared model satisfactorily represents the
full-order hnear, the reduced-order models and the nonhnear system..

57
2650
4 6 10
Time [h]

Figure 3.13: Pressure responses of the chemical system. Nonlinear system (solid
line+o) and state-shared model (dashed line+D) in the neighborhood of the OPI.

58
4 6
Time [h]

Figure 3.14: Component A in the purge stream of the chemical reactor system. Non-
linear system (sohd Une+o) and state-shared model (dashed hne+D) in the neigh-
borhood of OPI.

59
101.5

4 6 10
Time [h]

Figure 3.15: Production rate of the chemical reactor system. Nonhnear system (soUd
Une+o) and state-shared model (dashed line+D) in the neighborhood of OPI.

60
3.6.2 Calcium control in cardiac myocytes

The following is taken from [62]. In studies on the physiology of the heart, it is
known that muscle cells use calcium (Ca) as a specific second messenger for muscle
contraction. The aim of the physiological control system is to drive calcium in the
cytoplasm to the physiological range {O.lpM ~ 0.2ij,M [78]) or to excite calcium in
the cytoplasm to a certain value to initiate muscle contraction. Different models of
calcium-induced calcium-release (CICR) mechanisms that regulate muscle contraction
have been proposed [79, 80]. In this work, the CICR model developed by Tang and
Othmer [10] is used.

Figure 3.16 shows the state transition diagram for independent Ca binding to
two regulatory sites on the ryanodine receptor (RyR). Here, R represents the bare

R :,=>- RC+

h 1-2 h I -2

l-^

Figure 3.16: Ryanodine receptor kinetics. This mechanism was proposed by [10].

Ryanodine receptor site, C denotes cytosolic Ca, and C~^{C~) denotes the Ca bound
to the positive (negative) regulatory site. It is assumed that the binding is indepen-
dent thus, Ca binds to the positive or negative site with the same kinetic constants,
irrespective of the state of the receptor. The notation RC'^ represents the (positive)
open state, RC~^C~ the closed state, and RC~ is another (negative) open state that
serves as a conservation condition for the receptors.

61
Jl,m
CY T
p,m
RyRY
SR
Ca-
Jch ==3
Jp,SR I
Jl,SR
:SE:
Figure 3.17: Simplified schematic of the calcium fluxes in a cardiac myocyte [10]. Ca:
calcium, RyR: ryanodine receptors, SL: sarcolemma, SR: sacroplasmic reticulum, CY:
cytoplasm, J: calcium trigger, Jpj is a calcium pump and J(j is calcium leakage.

The dimensionless RyR kinetic model is given as.

dx p\
— l-iXp2 + l-2Xp4 — {li + l2)XpiX.p5
dt
dx p2
= -l-lXp2 + l-2Xp3 + {hXpi - l2Xp2)Xp5 (3.27)
dt
dXp3
= -{1-2 + l-l)Xp3 + (/2a;p2 + llXp4)Xp5
dt

where
Xpl — M _[FC+]
Xp2 =
[R]T [R]T

_ [RC+C-] ^ [RC-] _ , ^
Cp3
i=l

The total concentration of ryanodine receptors is denoted by [R]T and the Ca in the
cytoplasm (CY) by Xp^..
The equations describing the calcium balance among the SR, CY, and the external

62
environment (extracellular) of a cardiac myocyte (see Figure 3.17) are given by,

O'Xp^
~ ^ — VrJl^SR + Jl,m + VrJch - Jp,m - VrJp^SR + J

dx^_
^^ — 'Jp,SR - Jl,SR - Jch-

where Xp^ denote C a concentration in t h e sarcoplasmic reticulum (SR). T h e calcium


fluxes are given as,

CY to SR Jp^sR ^ ^
a^p5 + Pi
9ia^p5
C Y t o extracellular Jp
'p,m 2 1 9
x% + ql
Channel-mediated C a release J^h 1Xp2{xpe - Xp^)

Leakage from SR JI^SR gi{xp& - Xp^)

Leakage from extracellular Ji^ g2{Co — Xps).

The definition of the symbols can be found in Table 3.4.

Table 3.4: CICR model parameters.


Parameter Definition Value

k Binding rate 15s~V-'^^~^


/-I Dissociation rate 7.6s~^
h Binding rate 0.8s~V^~^
1-2 Dissociation rate 0.845"^
Co Extracellular Ca concentration 1450|UM
Pi Maximal rate of Ca in CY to SR pump 1.038 xlO^/xA/s"^
P2 Threshold concentration of C a in C Y t o S R p u m p 0.12/u7l/
q2 Threshold concentration of C a in C Y t o extracellular 0.06fiM
Vr Volume ratio of tUe S R volume to cytoplasmic volume 0.185
gi Leakage coefficient from S R 0.4s"^
g2 leakage coefficient from extracellular 1.063 x l O ^ ^ s " ^

T h e m a x i m a l r a t e of t h e p u m p on t h e sarcolemma m e m b r a n e (^i), t h e influx

trigger ( J ) , a n d t h e conductance of C a in t h e receptors (7) can b e adjusted by phar-

63
Table 3.5: CICR model nominal values.
Variable Definition OPI[10] OPII

7 Conductance of Ca in receptors 80.Os"^


80.0S-1 70.0S-1
Ql Maximal rate of Ca in CY to 19 ixMs-^ 18.000 fiMs-'^
extracellular pump
Xpl Bare site fraction 0.7179 0.6809
a;p2 Positive site fraction 0.1762 0.1968
Xp3 Negative site fraction 0.0209 0.0274
:rp5 Ca concentration in CY 0.1244/xM 0.1464//M
Xpe Ca concentration in SR 37.2030MM 38.6162^71/

macologic means. TUus, tUey are selected as the manipulated variables.


Assuming that Xp2, Xp^, and Xpe can be measured, it foUows that the measurement

equation is given by,

0 10 0 0
y{t) = Cxp{t), C = 0 0 0 10
(3.29)
0 0 0 0 1
Xp(t) = [Xpl Xp2 Xp3 Xp5 XpQl .

Table 3.5 lists the states of the nonhnear system at two physiological operating con-

ditions (OPI, OPII).

3.6.2.1 Modeling
Similar to section 3.6.1.1, linearization at two known operating states yields two
linear models that can be shown to be stable. By checking the control gramians, it is
found that these two hnearized models are uncontrollable. One pole and one zero are
almost the same in the transfer functions at these two states. Further analysis shows
that the common zero/pole pair appears in the first three linear differential equations
and that this pair is in the left half plane of the complex plane. Minimal reahzation of
the linearized system (Equation (3.27) and (3.28)) leads to a fourth-order LTI model.
The minimal realizations of the system at OPI and OPII are given here. The minimal

64
reaUzations are stable based on eigenvalue analysis.
OPI

-850.34 -39.835 -17.428 -11.084 -0.6954 0.8573 1.0362


95.997 -0.6095 0.5498 0.0083 0.2331 -0.2874 -0.1304
A B =
-2600.4 -166.95 -107.13 -73.176 0.2787 -0.3436 3.3455
4418.7 270.12 165.95 112.57 0.2059 -0.2538 -5.6447

-0.5118 -0.5119 -0.5482 -0.4070


C = 0.8573 -0.2874 -0.3436 -0.2538
-0.0000 -0.0332 -0.5756 0.8170

The eigenvalues of A are (-841.32, -1.6876 ±2.4192j , -0.8245). The linear system at
OPI is stable.
OPII

-734.72 -98.685 -34.777 -0.9335 -0.7234 0.8449 1.3473


300.36 38.268 16.74 0.3894 0.3980 -0.4648 -0.5797
A = 5=
65.348 4.8839 -0.9049 -0.106 0.2262 -0.2642 -0.0996
4532.5 701.93 270.53 9.0539 0.0159 -0.0186 -8.6421

-0.5313 -0.7470 -0.3827 -0.0283


C 0.8449 -0.4648 -0.2642 -0.0186
-0.0000 -0.0187 -0.0373 0.9991

The eigenvalues of A are (-685.37, -1.0749 ±2.5178j, -0.7834 ). The linear system is
also stable at OPII.
Using the balanced truncation method, as described in section 3.5, the linear
models at OPI and OPII can be reduced to order two models with relative errors of
15.66% and 24.20%, respectively. Since the Re for OPII is 55% greater than that at

65
OPI, a model order of greater than two must be chosen. Order three models give
relative errors of 0.39%, and 0.44% at OPI and OPII, respectively. These reduced-
order models at OPI and OPII are given here.
OPI

-2.7313 2.4617 -0.3095 1.6619 -2.0488 0.3460


A = -2.3035 -1.3997 1.4117 B = 0.4878 -0.6014 0.5179
-0.1153 -1.3642 -0.0610 0.0391 -0.0481 0.1481

-0.0178 0.0429 -0.0133


C = -0.0233 0.0306 -0.0089
-2.6605 0.9301 -0.1598

The Re is 0.39% and the ARes associated with Xp2,Xp^, and Xp^ are 0.25%, 8.25%,
and 0.29%, respectively.
OPII

-2.2815 -2.7920 -0.5764 -1.6878 1.9712 -0.3652


A = 2.5684 -0.4254 -0.8941 B = 0.3540 -0.4134 0.6186
-0.4848 0.8839 -0.1979 -0.2238 0.2614 -0.2230

0.0154 0.0514 0.0170


C = 0.0262 0.0479 0.0166
2.6205 0.8209 0.4094

The Re is 0.44% and the ARes associated with Xp2,Xp^, and Xp^ are 0.95%, 10.38%,and
0.54%, respectively.
A state-shared model is constructed for the both third-order models. The upper
bound of the McMiUan degree of all the nominal models is 3. For a 3-input 3-output
system, the state-shared model will have order 2nm = 18 and 30 (n(m^+l)) adaptable

66
parameters. Let

0 1 0
Fj = 0 0 1 Gj- j = 1,2,3
-Ol -02 -aa

with ai = 1,02 = 2, and 03 = 3 such that the pair {F,G) are controUable. Then,

Fi 0 0 Ci 0 0
0 F2 0 G 0 G2 0
0 0 Fs 0 0 Gs
9x9 9x3

3.6.3 Model Validation

In a neighborhood of the nominal point (OPI), a random input disturbance signal


is introduced to the nonlinear system (Equations (3.27) and (3.28)) and the third-
order linear models. TUe disturbances are zero mean witU a standard deviation of
10% of their corresponding nominal values. Table 3.6 lists the ARes to vahdate the
various approximations to the original nonlinear system.
The ARe values between the fifth-order and forth-order models, after cancellation
of the pole/zero pair, is very small. The ARe values between the state-shared and
the third-order models (balanced truncation) that generated the state-shared model
indicate no significant difference. The ARe values between the 4th-order and the 3rd-
order models show the largest error in the calcium concentration in the cytoplasm.
The ARe values between the state-shared and nonlinear models and tUe 3rd-order and
nonlinear models indicate no significant differences. Hence, the state-shared model
provides an accurate, compact representation of the CICR system.
The responses of state-shared model and the nonhnear systems at OPI are shown
in Figures 3.18 to 3.20. From these figures, it is observed that the state-shared model
fits the nonlinear system satisfactorily for the positive site fraction (xp2) and the Ca
concentration in the SR {Xpe). However, there are large differences in the fit of the

67
Table 3.6: Average Relative Errors (%) of the biological system
OPI OPII
Xp2 •3^p5 **^p6 Xp2 Xp5 •^p6

5L-4L 1.68 X 10-^ 1.87 X 10-^ 3.18 X 10-9 2.076x10-9 1.874x10-^ 3.225x10-9
SS-RE 2.52 X 10-2 3.46 X 10-2 1.51 X 10-2 3.311x10-2 4.641x10-2 0.015
4L-RE 0.26 7.95 0.12 0.26 9.63 0.16
4L-NL 0.31 0.63 0.28 1.15 1.93 0.53
SS-NL 0.25 8.25 0.29 0.95 1.04 0.54
RE-NL 0.26 8.25 0.29 0.98 1.04 0.54

5L: 5th-order linear model, 4L: 4th-order minimal realization model, NL: nonlinear
system, RE: 3rd-order model, SS: state-shared model

Ca concentration in the cytosol {Xp^) between the nonhnear system and the state-
shared model. The response of the state-shared model appears to be an average of
the nonlinear system's response.

68
0.195

Solid line: nonlinear system


Dashed line: state-shared model

c 0.185

0.165
0.5 1 1.5
Time [s]

Figure 3.18: Positive site fraction. Responses of the nonlinear system (sohd hne+o)
and state-shared model (dashed line+D) based on a 3rd-order models in the neigh-
borhood of OPI.

69
Solid line: nonlinear system
(B Dashed line: state-shared model

Time [s]

Figure 3.19: Calcium concentration in the cytosol. Responses of the nonhnear system
(soUd Une+o) and state-shared (dashed hne+D) models based on 3rd-order models
in the neighborhood of OPI.

70
39
Solid line: nonlinear system
Dashed line: state-shared model

Time [s]

Figure 3.20: Calcium concentration in the sacroplasmic reticulum. Responses of the


nonlinear system (solid Une+o) and state-shared (dashed line+D) models based on
3rd-order models in the neighborhood of OPI.

71
3.7 Summary

In this work, methods to construct state-shared models for single-input single-


output and multiple-input multiple-output systems are developed and their properties
are proven and analyzed. This approach can represent the plant in such a fashion that
all the unknown parameters of the plant appear as the elements of a single matrix
in the measurement equation of the state-shared model. A solution of the parameter
vector is obtained when the transfer function (input/output) is known. Existence and
uniqueness of the parameterization and convergence of the parameter adaptation are
proven. Two multiple-input multiple-output systems were used to demonstrate the
concept of the state-shared model.
The compact representation is useful for systems that can operate at multiple
stable operating points. Such systems are prevalent in the chemical industries where
multiple grades of a product are made in the same equipment. The state-shared model
can be used in a model-based/predictive framework that finds the optimal control
actions as the systems transitions from one operating point to the next [16, 61, 62].

72
3.8 Nomenclature
ARe Average relative error
BR Biological reactor
CR Chemical reactor
deg Degree
FL Full-order linear model
LTI Linear time-invariant
MFD Matrix fraction description
MIMO Multiple-input multiple-output
MLR Multiple linear regression
NL Nonlinear system
PCA Principal component analysis
PLS Partial least squares
Re Relative error
RE Reduced-order linear model
SISO Single-input single-output
SS State space
5L FiftU-order linear model
4L Forth-order linear model

73
CHAPTER 4
MODEL ADAPTATION AND SWITCHING
In Chapter 3, the concept of a state-shared model was proposed. All fixed (non-
minimal realization) and adaptive models (non-minimal identifer) shared one state-
space representation but each model at a known operating region has its own unique
input/output or measurement equation. In this chapter, the method to adapt the
parameter vector will be presented. In particular, convergence of the method is
addressed. A performance function is also introduced. Its value determines which
measurement equation best represents the current operating condition at each sample
time. For any arbitrary switching sequence, provided that the intervals between
successive switching have a nonzero lower bound which can be chosen arbitrarily
small, the overall system will be globally stable [12].

4.1 Multiple Model Approach

The rationale for using multiple models is to ensure that there is at least one
model with outputs sufficiently close to those of the unknown plant when both the
model and the plant have the same inputs, and this model can be used to design a
controller to control the plant. The parameters of the models thus chosen may be
either fixed or adjusted. From a computational point of view, adaptive models are
inefficient because of the need to update their parameter vectors at every instant.
However, since fixed models can represent exactly only a finite number of operating
states, adaptive models are needed to improve the accuracy of the models.
Following [19], three types of adaptive models can be defined: a conventional
model that starts adapting from its initial parameter values; & free-running model that
starts from its current parameter values; and a re-initializable model that assumes
the parameter values of the fixed model that gives the smallest estimation error.
Whatever combination is selected, the adaptive models when combined with a stable
switching and parameter tuning strategy, should provide satisfactory estimation of
the plant outputs.

74
Figure 4.1 shows the multiple models approach in the large operating space. The
advantage is that there is no assumption that fixed models cover all the operating
space. Thus, the number of the fixed models is reduced.

Operating space

Parameters adaptable

Dilferenl measurement Eqs


input U
output Yp

Reduce the number of


models to a manageable size

Figure 4.1: Illustration of the role of the state-shared model in the operating space.
The state-shared model replaces N (large) models. The state-shared model uses
the measured inputs and adaptation to represent the system anywhere in the large
operating space.

4.2 Parameter Adaptation

The tuning of the parameters must be done in a stable fashion. There are several
methods that can be used to adapt the model parameter vector, Qj. One method
is normalized least-squares approacU, anotUer is tUe normalized gradient approacU
[81]. In this work, a normaUzed least-squares for an m-input m-output system is
proposed. In Goodwin and Mayne [82], tUe normaUzed least-squares method was
given for single-input single-output (SISO) systems and claimed to have superior
convergence rate when compared to other comparable methods.
The normaUzed least-squares uses two parameters, the adaptive gain {g) and the
adaptive rate (7), to force convergence. The procedure is as follows:

75
Step 1: Initialize the covariance matrix, and parameters K,j,g > 0.

P(0) = KI K very large


Step 2: Obtain the states, uj, of the state-shared model.
Step 3: Calculate the error between the plant output and the output of each mea-
surement equation:

eJ - y p - y .

Step 4: Integrate the following:

1 + 70;-' P[t)u)

1 + 7W-' P{t)u
(4.1)
/J- u-^ P{t)ujem
Om{t) = -9-7- rp... ^,7 > 0
1 + 70;-' P(i)a;

until the parameter errors are smaller than some user-specified e.


^ei,,{k) ^ Oi^j{k) - 9i^j{k - I) < e, i = l,...,2nm, j = l,. ,m
From Equation (4.1), P{t) < 0, implies that P{t) may become arbitrarily small, thus,
adaptation of the parameters will be very slow. To prevent this, P{t) is reset to
KI whenever the minimum eigenvalue of P{t) {Xmin{P)) decreases below a specified
threshold.
In the multiple-input multiple-output (MIMO) case, let the model-plant mismatch
for model j be given by Yj =Yj-Yp {Yj = [ei, 62, • • • , CmZixi)- R can be shown that
if limt^oo Yj{t) = 0 tUen limj^oo @j{t) = © where 0^ = [9i,92,--- , 9m]2nmxm-

4.3 Parameter Convergence Analysis


For both SISO and MIMO systems, parameter convergence of the proposed non-
minimal identifier can be guaranteed. For convenience, the analysis is shown for SISO

76
systems. However, the statements hold for MIMO systems.

L e m m a 4.3.1. (Barbdlat's Lemma) If f : R+ ^ R is uniformly continuous, and if


the limit of the integral given by

t
lim / l/(r)M
\f{T)\dT < oo
'Jo

exists and is finite, then

lim f{t) = 0
t—•oo

The proof can be found in loannou and Sun [83] (page 76), and Narendra and
Annaswamy [6] (page 85 ).

Proposition 4.3.1. If g e C°° and g e C°°, then g^ is uniformly continuous.

Proof
Choose f{t) = g'^{t). Since g e C°°, for aU ti, ^2 S -R"*", there exists an Mi > 0, such
that
lim MfilLllM < M,
tl-*t2 \tl — ^2]

Hence, [5(^1) — 5(^2)! < Mi\ti — ^2!- Since g G £°°, for each t G P"*", there exists an
M2 > 0, such that g{t) < M2. Choose M = 2M1M2. Therefore, for aU ti, ^2 e -R"*",

1/(^1) - f{t2)\ = \g'{ti) - g'{t2)\ = \g'{ti) - g{ti)g{t2) + 5(^1)5(^2) - ^'(^2)1

< ly(ii)l|^(ii) - 5(^2)1 + 15(^2)115(^1) - 5(^2)1

\f{ti)-f{t2)\ < 2M2\g{ti) - g{t2)\ < 2MiM2\ti - t2\ = M\U - t2\

If e is given, let 6 = e/M. Then for any e > 0, there exists a 6 (depends only on e),
such that
1/(^1) - 7(^2)1 < e whenever \ti - ^2] < ^

Thus, f{t) and hence g'^{t) are uniformly continuous. QED

77
Corollary 4.3.1. If g e C^ n C^, and g G £°°, then lim g{t) = 0
t—*oo

Proof

Choose f{t) = g\t). By Proposition 4.3.1, f{t) is uniformly continuous. On the


other hand, lim / f{T)dT < oo because g G C^. By Lemma 4.3.1, lim f{t) = 0, and
therefore

lim g{t) = 0
t—>oo

QED
Following [6], define (f> = 9 - 9 and e = yp - yp. Then,

e = ^"^w - 9^uj = (jf^uj (4.2)

Following [6], select the adaptive law to be,

0 = -e^uj = -uJ^(t)u) (4.3)

Consider the following positive definite function defined by,

V = ]^ciFct> > 0

and whose time derivative is given by,

V =-{(P'^Lo)^ (4.4)

If u G C°°, then yp is bounded. This in turn implies a; and 9 are bounded (c/Equation
(3.2)). Similarly, yp and 9 are bounded Uence, (f) and e are bounded, and

V = -(0^c:;)2 = -e^t) <0 (4.5)

TUe function V is monotonic and non-increasing and bounded above by V{0). Hence,
\\(f){t)\\ is monotonic and non-increasing and bounded by ]]0(O)||. It follows from

78
Equation (4.3) that ^{t) is bounded.

Integrating Equation (4.5) shows that / e'^{T)dT is bounded by 1^(0) implying


Jo
that e G £ . It is not difficult to show that (p and u are bounded, hence e is bounded.
By Corollary 4.3.1,

lim e(^) = 0
t—>oo

Further, if the input is persistently exciting [6, 83], then hm 9{t) = 9. Thus, the
i—»oo

parameter vector converges.

4.4 Model Switching


The switching scheme consists of monitoring a performance index, Jj{t), based
on the estimation error Yj for each of the models. The performance index may have
many admissible forms [12, 2]. Let

Jj{t) = n\\Yjf + u [ \\Yj\\^{T)dT, /i, ^ > 0 (4.6)


0

where /J, and v are design parameters. The criterion in this equation incorporates
both instantaneous and long-term measures of accuracy. The parameters p, and v
can be chosen to yield the desired tradeoff between these two extremes.
The adaptive laws given in Equation (4.1) indicate how the parameters are to
be adjusted, but they do not determine the sequence of feedback controllers. With
regards to stability, the overall system wiU be globally stable for any arbitrary switch-
ing sequence, provided that the intervals between successive switching have a nonzero
lower bound, which can be chosen arbitrarily small. Detailed proof of tUis claim can
be found in [12].
Fixed models togetUer witU stable switcUing provide the desired speed, while adap-
tive models and parameter tuning provide the desired accuracy. The state-shared
model structure prevents abrupt switching among models because the last state of
the previous model is the initial state of the next model.

79
4.5 Nomenclature
MIMO Multiple-input multiple-output
SISO Single-input single-output

80
CHAPTER 5
CONTROL METHODS
Many different control methods can be used to design effective controller for single-
input single-output (SISO) or multiple-input multiple-output (MIMO) continuous
systems. Two control synthesis methods relevant to a multiple model or state-shared
model will be addressed in this chapter. These are model reference adaptive con-
trol (MRAC) and the Hoo optimal control. A third, model-predictive control whose
solution is based on optimization methods, wiU be covered in Chapter 6.

5.1 Model Reference Adaptive Control

The following overview is taken from [6, 83, 84]. Adaptive control has its origins in
the 1950s in connection with the design of autopilots for high-performance aircrafts.
It is motivated by problems where the characteristics of the plant or the disturbance
varies with time over a wide range, and a fixed controller cannot ensure satisfactory
performance over the entire range. Intuitively, an adaptive controller is tUus a con-
troller that can modify its behavior in response to changes in the dynamics of the
process and the character of the disturbances.
Inspired by the biological implications of "adaptation," Drenick and Shahbender
[85] introduced the the concept of an "adaptive system" in 1957 to denote control
systems that could adapt to process variations by continuously adjusting their pa-
rameters in the direction of improved performance. This was followed in 1958 by the
"MIT Rule" of Whittaker and coworkers [86] and the self-optimizing control system
of Kalman [87]. In the early 1980s, proofs for stability of adaptive systems appeared
[88, 89, 90], although under very restrictive assumptions.
Two philosophically different approaches exist for the solution of the adaptive
control problem. In indirect control, the plant parameters are estimated on-line and
the control parameters are adjusted based on these estimates. In direct control, no
effect is made to identify the plant parameters but the control parameters are directly
adjusted to improve a performance index. There are four types of adaptive systems:

81
gain scheduling, model-reference adaptive control, self-tuning regulators, and dual
control. Here, model-reference adaptive control (MRAC) is discussed.

5.1.1 Description

The development of MRAC is presented for SISO system. The description of


MRAC is adopted from [6].

Let r{t) be a piecewise continuous and uniformly bounded input to a linear model
and ym{t) its output. The general form of the transfer function in the Laplace domain
is given by,

i f = " "<^) = ^-"1^ *">» (")


where s is the Laplace variable, Wm{s) is assumed to be rational, strictly proper ratio
of polynomials with gain k^, and Zm{s) a Hurwitz polynomial and Rm{s) and Zm{s)
are monic2 and coprime.^
The plant is assumed to be hnear and time-invariant and can be described by the
state space form given by

Xp = ApXp + bpU X G E " , uG


(5.2)
yp = h^Xp y G R'"

The elements of the dynamic matrix Ap and vectors bp and hp are not known. As
before, the transfer function of the plant can be found to be

Wp{s) = kp^^=h^{sl-Ap)bp kp^O (5.3)

where Wp{s) is strictly proper, kp is the gain which is non-zero, and Rp{s) and Zp{s)
are monic, coprime polynomials of degree n and m, respectively. The gain as well as
the (n + m) coefficients of the polynomials Zp{s) and Rp{s) are unknown.

^The roots of the polynomial lie in left half plane of the complex plane.
^The coefficient of the highest order term is 1.
•^There are no common terms between the polynomials.

82
The standard MRAC problem is to determine a differentiator-free^ control input
u{-) such that all signals in the overall system are bounded and the feedback control
error defined by

^limec(0 ^yp{t)-ym{t)

converges to zero asymptotically [12].


The MRAC design can be represented by the block transfer function diagram
illustrated in Figure 5.1.

Figure 5.1: Block diagram of a model reference adaptive control strategy. This MRAC
design is based on a non-minimal observer system.

^This terms refers to a controller that does not take derivatives of measured signals. Derivatives
of noise measured signals gives rise to amplification in noise content of the signal.

83
The controller can be represented by.

cJi = AuJi + iu uJi{t) G M " - I w G


Vl — 91^1 9i G M"-i t^i e
u)2 = Auj2 + iyp L02 G M"-^ yp e (5.4)

^2 = Ooyp + 9ju)2 92 G R " - i ^oS

U = Vi -\- V2

where A and £ are preferable in controUable canonical form.

0 ~
A = In-2 (5.5)
6
-Al -^n-l. (n-l)x(n-l) L-^J („_l)

The characteristic polynomial is found from det(s/ — A) = A(s) = s"--' + A„_is"'-2 +


. . . + Al. The pair (A,^) are chosen such that the system is asymptotically stable.
The parameter vector

Oi{t)
9{t)^ (5.6)
Oo{t)
02{t)

is adaptable. In the ideal case, the output of the reference model is the same as that
of the plant, and lim 9{t) = 9*{t).
t—»oo
Define

k
k* = ^ , Pl = l/k*, pl = -9l/k\ al = -9l/k\ a\ = -9*Jk*
tip
UJ = {u, uj{, yp, u)^ )

f ^ {dl, (if, al, aff

UJ = Wm{s) u.
0 /„
2nx2n

84
Then,

yp{t)=p*^uj{t). (5.7)

Equations (5.4) and (5.7) represent the main parts of MRAC. Convergent parameter
adaption and stable model switching methods have been discussed in Chapter 4.

5.1.2 Example

The following is taken from [91]. TUe continuous stirred-tank reactor (CSTR) is
an idealized reactor process in which mixing is assumed to be perfect. In this example,
a single exothermic chemical reaction occurs A ^ B [24, 92]. This system can be
described by the following set of mathematical equations,

— = -(l)Xi}C{x2) + q{xif - Xl)

-r- = (34>XilC{x2) - {q + S)x2 + 6u + qx2f


(5.8)
IC{X2) = exp ('x2/(l + ^))

y = x2

where the states Xi and X2 are the dimensionless concentration and reactor temper-
ature, respectively and u is the dimensionless jacket temperature. Only the reactor
temperature (y) is measured. The parameter definitions and some selected values are
given in Table 5.1.

Table 5.1: Exothermic CSTR parameter definition and values.


Parameter Value Definition
0 0.72 Damkohler number
7 20.0 Activation energy
P 8.0 Heat of reaction
6 0.3 Heat transfer coefficient
Q 1.0 Feed rate/reactor volume ratio
Xlf 1.0 Feed concentration
X2f 2.0 Initial reactor temperature

85
Figure 5.2: Steady-state profile for the exothermic CSTR. The profile shows that a
single input value can give rise to more than one output value (output multiplicities).

Figure 5.2 shows the steady-state input-output behavior of the CSTR system for
different values of the input u. Observe that for some values of the input u there
are three steady-state values of y. An eigenvalue analysis of the linearized system^
can be used to confirm tUat when there are three steady-states only two are (open-
loop) stable nodes. The third is a saddle point. Operating (steady) states at three
different operating conditions are listed in Table 5.2. The type of operating state is
characterized by an eigenvalue analysis of the linearized system.

Table 5.2: Operating steady states for the exothermic CSTR


Xl X2 u Type
OPI 0.8038 1.3000 0.4022 Stable
OPII 0.2028 5.0000 0.4079 Stable
OPIII 0.6927 2.0000 0.4728 Unstable

^The Taylor series expansion is applied. Only first-order terms are kept.

86
5.1.3 MRAC results

From the previous development of the MRAC method, an input/output model of


the plant must be developed. The linear time-invariant state space model found from
an application of the Taylor series expansion up to order one can be used to obtain an
input/output description in the form of a transfer function model (Laplace domain
representation). For the SISO CSTR example, the structure of the identified transfer
function is given by
ki{s + k2)
(5.9)
§2 + kss + ki
For each of the three operating states listed in Table 5.2 the parameter values asso-
ciated with Equation (5.9) are listed in the Table 5.3.

Table 5.3: Parameter values for the transfer function models of the CSTR
Parameters OPI OPII OPIII
ki 0.3000 0.3000 0.3000
k2 1.2440 4.9310 1.4437
k3 1.1605 2.1493 0.7121
ki 0.2337 2.3286 -0.1548

According to the MRAC method, a linear time invariant(LTI) system can be


defined with states {ujis{t), uj2s{t)] e K"~^ and driven by differentiator-free external
signals u{k) and yp(A;) (Equation (5.4)),

l^'ls A 0 ^^15 e 0 u
= +
^23 0 A UJ2s 0 i yp

87
Thus, (see Equation (5.6))

r{k) - r{k — 1)
T
^Is
UJ.,
yp{k) - yp{k -- 1 )
T

and

u{k) = u{k-l)+9^ujs.

The transfer function of a suitable reference model^ for the SISO CSTR is selected
to be
S+l
Wm{s) = (5.10)
s2 + 2s + 1 •

The input signal, r{t), is given by

1.3 + 0 . 0 1 sin(0.05i) 0 < t < 6


r{t) = { 1.3 + 0.167(^-6) 6 < t < 28.2 (5.11)

5 + 0.01sin(0.050 28.2 < i < 35

Note this signal is a piecewise continuous and uniformly bounded function. This
reference input allows the reference output y^ to transition from OPI (y = 1.3) to
OPII (y =5) on the dimensionless temperature scale as shown in Figure 5.3 (sohd
hne).
The multiple models are developed by hnearization of Equation (5.8) at the two
stable operating states (OPI and OPII), Mi and M2. Additionally, one free-running
adaptive model, M3, and one re-initializable model are also included in tUe set of
models, il/4. The parameters of the performance index function (see Equation (4.6))
are chosen to he /J, = 1 and z/ = 0.1. For parameter tuning, K = 10, 0 < y < 100 and
the threshold is set such that the smallest eigenvalue of P is greater than 1.
Figure 5.3 illustrates the closed-loop performance of the MRAC strategy as the
^The order of the reference model must be greater than or equal to the order of the plant.

88
Table 5.4: CSTR models parameters for the MRAC strategy (OPI to OPII)
~" Model Type fci k2 k^ k^
Fixed Ml 0.3000 0.0732 0.8395 -0.0732
Fixed M2 0.3000 1.1793 -0.1493 -1.1793
FYee-running M3 0.2903 0.05388 1.3086 0.3740
Re-initialized M4 0.3000 1.1793 -0.1493 -1.1793

CSTR transitions from OPI to OPII. TUe reference trajectory is selected to be a


bounded ramp. TUe top panel shows that the dimensionless reactor temperature
response tracks the reference trajectory. The major offset seems to occur near the
unstable operating regime. The response appears to settle to the desired operating
set point after approximately 25 time units have elapsed from the start (i=6) of
the transition. The left panel shows fairly smooth control action. The right panel
shows that between 6 < i < 28 the switching strategy mainly selects between the two
adaptive models before settling on the re-initialized model.

It was expected that the final model selection should have been fixed model 2.
Table 5.4 shows that the parameters of the re-initiaUzed model appear to be tUe same
as tUat of fixed model 2. Thus, the choice of the re-initialized model over fixed model
2 by the performance function is attributed to the small differences in the numerical
values. Figure 5.4 shows that the parameters of the free-running model also converges.

89
10 15 20 25 30 35 40 45
Dimensionless time

3.5

S 3

= 2.5

5 2 1: fixed modeil
2. fixed mode 2
1.5 3: free-running model
4; re-initialized model

0.5

15 20 25 30 15 20 25 30 35 40 45
Dimensionless lime Dimensionless time

Figure 5.3: Transition control of the CSTR using MRAC strategy. Top panel: The
temperature response of the CSTR tracks a bounded reference signal to achieve the
set point change from 1.3 to 5.0. Bottom left panel: Control action. Bottom right
panel: Model switching.

90
10 15 20 25 30 35 40 10 15 20 25 30
Dimensionless lime Dimensionless lime

5 10 15 20 25 30 35 40 45 10 15 20 25 30 35 40 45
Dimensionless lime Dimensionless lime

Figure 5.4: Convergence of the CSTR free-running adaptive model's parameter values.
Clockwise from the top, k, 9Q, 9i, ^2-

91
5.2 Hoo Optimal Control
The overview is taken from [14] and the results are taken from [16]. The H^o
control problem is to find a feedback controller that minimizes the closed-loop system
infinity norm, using the plant state and the disturbance [14]. Curiously, the ' / P in
the name of the controller comes from tUe classical feedback block diagram of tUe
controller block combined with the measurement block (see Figure 5.5). Let P{s)

u P y
4
' ^

Figure 5.5: Classical feedback block diagram with H: controller and P: plant.

be a matrix of stable transfer functions of the plant in the frequency domain. The
infinity norm of P{s) is defined as the maximum gain of P{s) over aU frequencies'^

|]P(s)lloo-supa(P(ju;))

where a{-) means the maximum singular value,^ JUJ {UJ G R) represents aU frequencies,
and sup means supremum.^ Consider tUe system described by the block diagram in
Figure 5.6. The block A(s), is used to establish robust stability while Ao(s) is used to
assure robust performance in the H^o method. These two types of uncertainties can
be put together in a single structured uncertainty block shown in the left panel of this
figure. The Hoo control method is to find a controller K{s), sucU tUat both robust
stability and robust performance are satisfied. This concept can be represented by
the left panel of Figure 5.7. If W2{s) and r{s), and u{s) and e{s) are combined and
into one vector, w{s), and d{s), respectively, then the block diagram shown the right
panel of Figure 5.7 results. The analysis of Hoo controller wiU start from this (right
^Since the Laplace variable, s, is a complex variable it can be represented in the frequency domain
by substitution s = JUJ, where uj is the frequency.
^Singular values of a matrix A are the positive square roots of the eigenvalues of A.
^Least upper bound.

92
^
A(S)
A(s) 0 A
w2(s^ 0 A„(s)
_u4s) A

rfs^ ^ P(S) ec(s)


w2(s)
' ^ urs)
~
r(s) P(s)
Ao(s) k e.(s)
w

Figure 5.6: Block diagram of the Hoo controller design. Left panel: Block P{s)
represents tUe plant, A(s) represents model uncertainty, and Ao(s) represents robust
performance. Right panel: Re-arrangment into structured uncertainty block.

panel) closed-loop representation.


Both P{s) and K{s) are complex, rational, and proper matrices of transfer func-
tions, and K{s) is constrained to provide internal stability. Denote the transfer func-
tion from w{s) to d{s) by T^i{P, K). In general, for a hnear fractional transformation
feedback connection [14],

r w ( P , K) = Pii + Pi2i^(/ - P22)-'P2l. (5.12)

For convenience, the variable s is omitted here and in what follows. TUe proof of this
is as follows.
Proof
Consider a complex matrix P partitioned as

•Pll ^12
P =
P2I P22

and suppose there is a defined block structure K which is compatible in size with P22,
such that P22.^ is square.

93
ec(s)

Figure 5.7: Closed-loop Hoo block diagram. Left panel: Structured uncertainty with
controller. Right panel: Closed-loop system.

From the right panel of Figure 5.7, it is not difficult to write the following loop
equations,
d = Piiw + P12U

Cc = P2iW->r P22U

u = Kcc-

Solving for Cc as a function of w gives,

ec = {I- P22K)-'P2lW

where it is assumed that the inverse of / - P22K exists. Substitution of this result
gives the transfer function between w and d,

d ^ „ . „ .... ^ ..,-1
= T^d = Pii + PuK{I - P22K)-'P21
w

which proves Equation (5.12). QED


Robust performance can be analyzed using the structured singular value (SSV) for
systems containing both structured and unstructured uncertainty as shown in Figure

94
5.7. The SSV or yu^ is defined as follows [14]:

• 1
det{I + Ted{juj)A) = 0
min[a-(A)]
lJ'A{Twd{jUj)) = < AeA

^ 0 det{I + T^d{juj)A) ^ 0.

A system with normalized performance criteria and uncertainties, performs robustly


if and only i/ [14]

sup{iJ,^[T^d{juj)]} < 1.

Minimization of the cost function

J = sup{iJ.^[T^d{juj)]} (5.13)

provides a means of obtaining robust performance. The direct computation of the


SSV is intractable in all but the simplest cases. Therefore, bounds on the SSV are
typically used in place of actual SSV. In particular,

ti-A[Twd{juj)] < min a{DT^d{juj)D~'^).


di,d2,.--."n"i€(0,oo)

Using this upper bound, the optimization of cost function in Equation (5.13) can be
formulated as
minmin||Drw(P,i^)^"'L. (5.14)
^ D{s)

Obtaining a solution to this optimization problem is quite challenging. In general,


an approach is used that iterates over the choice of D and K until Equation (5.14)
is minimized. A method known as the D-K iteration is a popular choice to solve
this optimization problem [93]. However, there is no guarantee of convergence to the
global minimum from this approach or any other approach [14].
The identified models of the plant are not exact. There always exists some uncer-
tainty, which in the Hoo design must be known and bounded. The feedback controller
is then designed to be robust to these bounded uncertainties.

95
H
w, - • W2 • A^ - w

u
+r \ v
' ' JV • M • ( ^J /

Figure 5.8: Block diagram of the feedback loop. K is the feedback controUer, M is
tUe model, H'l and U2 are weighting functions, and A2 is the model uncertainty.

Figure 5.8 represents the closed-loop system within the Hoc framework, where M
is a model of the unknown plant, K is the controller, A2 is the model uncertainty,
Wi is a function selected to weight the feedback control error (cc) to give a desired
robust performance, and W2 is a function that weights the uncertainty to provide
robust stability .

5.2.1 Stability analysis

TUe feedback system shown in Figure 5.8 can be transformed to the system shown
in Figure 5.9. The controller K is designed using the Hoc method, and P is the
nominal linear model and the weighting functions. There are three inputs, {r, w, u}
to P and three outputs {u, Cc, e d from P. The input/output pair {r, e d is for robust
performance. Together P and K represent the internally stable nominal closed-loop
system. TUe proof of the equivalence between the representations of Figures 5.8 and
5.9 is as follows.
Proof

From Figure 5.8 and using block transfer function algebra, it is not difficult to confirm
that
MK{r -yp) + w = yp = > yp = (1 + MK)'\MKr + w).

The weighted feedback error Cc can be expressed as a function of input r and model

96
et

Figure 5.9: Simplified block diagram of the feedback loop. K is the controller and P
is the nominal model P and weighting functions, Wi and 1^2-

uncertainty w.

e, = \Viec = Wi{r-yp) = Wi{r-{l-\-MK)-\MKr-\-w))


e, = Wi{l-\-MK)-'^{r-MKr-\-MKr-\-w) = Wi{l + MK)-\r-\-w)

Cr = -WiS WiS (5.15)

where 5 = (1 + MK) ^ is the sensitivity operator mapping r to e^. The weighted


controller output can be expressed as a function of input r and model uncertainty w.

u = W2U = W2Kec = W2K{r-y) = W2K{r-{l + MK)-\MKr + w))


u = W2K{l + MK)-\r-MKr + MKr + w) = W2K{l-^MK)-\r + w)

-W2KS W2KS (5.16)


u=

97
From Figure 5.9, P is given by.

0 0 VK2
P = -Wi Wi -WiM
-1 1 -M

Therefore, the following equations represent Figure 5.9

0 0 1^2
-Wi Wi -WiM (5.17)

-1 1 -M

Solving the above for u gives

u = Kcc = K{-w + r - Mu) =^ u = (1 + MK)~^{-Kw + Kr).

Substituting this expression into Equation (5.17) yields the foUowing closed-loop sys-
tem relations

u = W2U = W2{l + MK)-\-Kw + Kr) = -W2KS W2KS

ec = -WiW-{- Wir - WiMu

e, = -WiW + Wir-WiM{{\ + MK)-\-Kw + Kr))


w
Cr = -WiS WiS

Therefore, the two figures are equivalent. QED

Suppose the infinity norm of the model uncertainty is bounded, that is

\\A2\L<I3 (3>0

98
The Hoo controller design method will yield a controller, K, such that the infinity
norm of the closed-loop between P and K, defined as CL{P, K), is upper bounded,

||CL(P,i^)|L, < 1 / / ? .

It then follows that

|A2l|^llCL(P,/^)L<l. (5.18)

Stability will be estabhshed using the small gain theorem [14, 84].
From the previous proof of the equivalence between Figures 5.8 and 5.9,

-W2KS W2KS
(5.19)
-WiS WiS

The closed-loop between P and K can be shown to be

.VoKS W2KS CL{P,K)ii CL{P,K)i2


CL{P,K) = (5.20)
•WiS WiS CL{P,K)2i GL{P,K)22

Figure 5.9 can be redrawn to emphasize the closed-loop system. This is shown in
compressed and expanded block diagrams in Figure 5.10. The nominal closed-loop
system is assumed to be stable. The uncertainty is also stable since it has a bounded
gain. The only possible source of instability is the feedback loop. Internal stabihty
of the feedback loop is evaluated by considering the system shown in Figure 5.11.
This feedback loop connects CL{P, K)ii and A2. A similar analysis can be applied
to tUe otUer three transfer function in Figure 5.10, right panel. The following tUeorem
gives a sufficient condition for internal stability of the feedback loop.

T h e o r e m 5.2.1. [84] Let 71 and 72 be the gains of system A2 and CL{P,K), re-
spectively. The closed-loop is bounded-input bounded-output (BIBO) stable if

7i72 < 1

99
A2-'-
w
CL(P, K), o- u

"»-CL(P,K) 12

^2 "
-^CL(P,K)'21
w u n
r
'


CL(P, K) -. *'CL(P,K)22 f>l^ r

Figure 5.10: Closed-loop system with model uncertainty. Left panel: compressed.
Right panel: expanded to show the subsystems of CL{P, K).

-U^O^ CL(P,K) 11

Figure 5.11: Internal stability of the uncertain system.

and the gain of the closed-loop system with uncertainty is less than

7i
7 =
1 - 7i72

The proof of the above theorem can be found in [84] (page 219). Thus, the closed-
loop linear Hoo control system with bounded uncertainty (see Figure 5.9 or Figure
5.8) will be stable.
During model switching, Narendra [19] has proven closed-loop stabihty with stable
controllers, provided that the intervals between successive switching have a nonzero
lower bound. Such a bound can be chosen to be a small number, but too small a value

100
win result in chattering of the response. This work proposes an adaptive multiple
model state-shared approach that simultaneously adapts the model parameters and
the parameters of the Hoo controUer design. Since the adaptive controller is based
on an adaptive model, the model can be adapted so that its output is as close as
possible to the output of the nonlinear system. This in turn, permits the bound
of the uncertainty to be as small as possible. The Hoo controller assures that the
closed-loop system stable and Narendra's theorem [19] guarantees that the closed-
loop system remains stable during switching. Thus, the proposed strategy makes the
closed-loop system globally stable.

5.2.2 Hoo results: chemical reactor


The following results are taken from [16]. The continuous stirred-tank reactor,
introduced in Section 5.1.2, is used to demonstrate the effectiveness of the Hoo control
framework. Bounded ramps are selected as reference trajectories, ym{t) (see Table
5.5). In general, any bounded reference input trajectory can be specified to satisfy a

Table 5.5: CSTR reference trajectories: multiple models


Time period OPI to OPII OPII to OPI
0<t<6 5 1.3+0.01 sin(0.05i)
6 < i < 28.2 5- 0.167(t-6) 1.3+ 0.167(t-6)
28.2 <t<35 1.3 5 +0.01 sin(0.05t)

desired closed-loop performance.


A total of four models wiU constitute the set of multiple models. As before there
are four models, two fixed linear models at OPI and OPII, indexed as Mi and M2,
respectively; one free-running adaptive model indexed as M3; and one re-initializable
adaptive model indexed as M4. The coefficient matrices {F,g) in the state-shared
model are selected to be

0 1
F = and g =
-1 -1

101
The parameters of the performance index function. Equation (4.6), are selected to be
^ = 1 and ^ = 0.1. For parameter tuning (Equation (4.1)), K = 10,0 < y < 100,7 =
1, and the smallest eigenvalue of P is greater than 1. These parameters were not
optimized. The weighting functions are chosen to be,

Wi =
2(s + 0.02)
f(^ + 25)
s + 6000

The selection of the weighting functions is based on simulation studies that give
appropriate closed-loop performance.
Figures 5.12-5.13 show the closed-loop dimensionless temperature response, and
the model selection strategy when the system transitions between OPI and OPII. In
all instances, tUe responses track their reference trajectories in a stable fashion. The
switching scheme shows that the re-initialized adaptive model is selected as the final
model for the transition from OPI to OPII while the free-running adaptive model is
the final choice for a transition from OPII to OPI.

102
' response
' reference

0) 4
Q.
E

£ 3
0)
E
2.5

15 20
Dimensionless Time
5r 1 r "T 1 1

4.5--

4- •

3.5

E
= 2.5
o

i 2
1.5 1: fixed model 1
2: fixed model 2
1 3: free-runnning model
4: re-initialized model
0.5 -
0
10 15 20 25 30 35
Dimensionless time

Figure 5.12: Transition control of the CSTR using an Hoo controUer with model
switching. Top panel: Temperature response of the CSTR for a set point change
from 1.3 to 5.0. Bottom panel: Model switching.

103
' ' 1 - - response
1 ^— reference
5.5

45 ^^
^
to
A

1-
0) \ A

fS3,b
0) \ S
c
>
c 3 •
0)
E
2.5

L5 >^
1 J 1 1 1 1
0 15 20
Dimensionless Time
5

4.5 -

3.5

05 Q
.Q •^
E
3 ^
= 2.5
2

1.5 1: fixed mc)del1


2: fixed mc>del2
1- 3: free-rur nning model
4: re-lnitia ized model
0.5
1 1
0
10 15 20 25 30 35
Dimensionless time

Figure 5.13: Transition control of the CSTR using an Hoo controUer witU model
switching. Top panel: Temperature response of the CSTR for a set point change
from 5.0 to 1.3. Bottom panel: Model switching.

104
Table 5.6: CSTR model parameters (OPI to OPII)
Model Type ki k2 k^ k^
Fixed Ml 0.3000 1.2440 1.1605 0.2337
Fixed M2 0.3000 4.9310 2.1493 2.3286
Free-running A/3 0.0945 1.7172 1.1610 0.0727
Re-initialized M4 0.3009 4.9078 2.1496 2.3214

Table 5.6 gives the parameter values of the adaptive models at the end of transi-
tion. Also listed are the parameter values of the fixed model for comparison. From
Table 5.6 it can be found that the values of the parameters of the re-initiahzed model
are very close to that of fixed model 2. However, the parameters of free-running
model converge to neither those of fixed model 1 nor to fixed model 2. Figure 5.14
shows the adaptation of the four parameters of the free-running model as the CSTR
system transitions from OPI to OPII.

The fixed models at OPI and OPII should have been the final models selected for
each transition. One reason this was not the case is that the adaption may have made
the output of the adaptive models numerically closer to the value of the nonlinear
output causing tUe performance index (Equation (4.6)) to select the adaptive models
over time. Comparison of the parameter values of the adaptive models to that of
OPI and OPII for both transitions confirms that the converged values of the adaptive
model are nearly the same as the fixed models. Hence, for the transition between OPI
to OPII the free-running and re-initializable models parameters converge to those of
OPII. Similar statements can be made about the transition from OPII to OPI.

In practice, there are always model errors and parameter uncertainty as weU as
uncertainty associated with the bounds on the disturbances. To demonstrate the

105
robustness of the proposed transition framework (multiple models and Hoc controller),
disturbances, and parameter uncertainty are introduced as the system transitions.
The performance of the closed-loop system is completely dependent on parameter
tuning and switching to provide an accurate and stable response.
Figure 5.15 shows the closed-loop performance in the presence of an unmeasured
disturbance in the form of a 10% increase in Xij (top left panel) and parameter uncer-
tainty, a 10% decrease in P value (bottom left panel). In either case, the closed-loop
performance shows that the temperature satisfactorily tracks the bounded reference
signals.

106
10 15 20 25 10 15 20 25 35
Dimensionless lime Dimensionless time

10 15 20 25 10 15 20 25 35
Dimensionless time Dimensionless time

Figure 5.14: Convergence of the CSTR free-running adaptive model parameter values.
Clockwise from the top, ki, k2, ks, k^.

107
Figure 5.15 (top right panel) shows the closed-loop performance when the IC{x2)
term in Equation (5.8) is replaced with /C(x2) ~ exp(x2). The models are identified
using this approximate nonhnear system. The closed-loop performance is shown to
be stable and satisfactory. It is reasonable to conclude that parameter tuning and
stable switching can provide an accurate estimate of the plant so that stable closed-
loop performance can be achieved in the face of plant/model mismatch, parameter
uncertainty, and unmeasured disturbances.
To quantify the sensitivity of the plant output to the disturbance and uncertainty,
the Integral Square Errors (ISE) are calculated for various values of the disturbance
and parameter uncertainty. The results are listed in Table 5.7. It is found that

Table 5.7: ISE values for the CSTR.

0% ±2% +5% ±10%


Xlf 0.0461 0.0805 0.1720 0.4350
(3 0.0461 0.0625 0.0898 0.1775

introducing a 2% disturbance in the feed concentration increases the ISE to be twice


that of the ideal case (no disturbance system), 5% to be 3.7 times, and 10% to be
8.4 times. Introducing 2% parameter uncertainty increases the ISE to be 1.35 times
of that of ideal case, 5% to be 1.95 times, and 10% to be 3.85 times. The closed-loop
system appears to be more sensitive to unmeasured disturbances.
To check the effectiveness of the proposed state-shared model and Hoo control de-
sign, the CSTR undergoes a transition from OPI to the open-loop unstable operating
condition, OPIII, and then to OPII.
Figure 5.16 shows the closed-loop temperature response and the model switching

108
0 5 10 15 20 25 30
Dimensionless Time

- - response
— relerence

10 15 20
Dimensionless Time

Figure 5.15: Transition control of the CSTR under non-ideal conditions. Tempera-
ture response for a set point change from 1.3 to 5.0. Top left panel: Unmeasured
disturbance (10% increase) in the feed concentration. Top right panel: Model error
in the kinetics. Temperature response for a set point change from 5.0 to 1.3. Bottom
left panel: Parameter uncertainty (10% decrease) in the heat of reaction term.

109
10 30 40 50 80
Dimensionless time

10 20 30 40 50 60 70 80
Dimensionless time

Figure 5.16: Multiple transitions of the CSTR using state-shared model and Hoo
controller. Top panel: Temperature response for set point change from 1.3 to 2 to 5
to 1.3. Bottom panel: Model switching.

110
strategy. The final model selected is the re-initiahzed model and the final parameter
values of the adaptive models are shown in Table 5.8. The parameter values of the
fixed models are also listed for comparison. From Table 5.8, it can be found that

Table 5.8: CSTR model parameters (three states)


Model Type ki ^2 k^ kj
Fixed Ml 0.3000 1.2440 1.1605 0.2337
Fixed M2 0.3000 4.9310 2.1493 2.3286
Free-running A/3 0.2964 1.2588 1.1605 0.2327
Re-initialized A/4 0.2964 1.2588 1.1605 0.2327

the parameters of free-running model and re-initialized model are the same and very
close to the values of fixed model 1.

5.2.3 Hoo control results: biological reactor


The following results are taken from [16]. Hoo and Kantor [94] studied a biological
reactor used to grow a methanol utihzing microorganism, Methylomonas, under con-
ditions where methanol is the rate-limiting substrate. The two-state model is given

by
— i = fJ.{x2)xi - DXi
at

—1 = -a{x2)xi + D{x2f - X2)


dt
^ 0.504X2(1.0-0.204X2) ^ ^ g^ (5.21)
'^^^' 0.000849 + X2 + 0.406x2
X2(1.32 +3.86x2-0.661x1) ^^
^^' 0.000849 + X2 + 0.406x2

y = X2-

Only the substrate concentration (X2) is realistically measured. The definition of the

variables and parameters are listed in Table 5.9.


In the work by Hoo and Kantor they found that at certain operating conditions
(x2/ = l-8g/l and D = 0.4hr-^) this system exhibited multiple steady states. Table

111
Table 5.9: Biological reactor variable and parameter definitions.
Variable Definition Units
Xl Cell density fi/1
X2 Substrate concentration s/i
X2f Feed substrate concentration g/1
D Dilution rate hr-i
KX2) Specific growth rate hr-i
(^{X2) Specific substrate consumption rate hr-i

5.10 shows the steady states found at this condition. Several remarks are in order.
First, OPIII is not a valid operating point because the cell concentration is zero.
Second, OPII is unstable, in fact it can be shown to be a saddle point. Third, OPI
and OPIII are stable nodes. Linear time-invariant models can be developed at these
operating points. The functional form and parameter values are also listed in Table
5.10.

Table 5.10: Multiple steady states and linear models for tUe biological reactor.
Xl X2 D Type Model
OPI 0.6790 0.0003 0.4000 Stable i.vy6Ys + U.Y18Y
s2 + 46.93315 + 17.7229
1.4110s+ 0.5654
OPII 0.2410 0.3890 0.4000 Unstable
s2 + 0 . 9 0 0 0 s - 0 . 1 2 8 1
OPIII 0.0000 1.8000 0.4000 Stable

TUe Hoo controller design requires stable reference trajectories to realize tUe tran-
sition. Here, first-order transfer functions are selected:

0.003293 + 0.3857(1 - e-*/*) i > 0 OPI-^OPH


ym{t) = {
0.389000 - 0.3857(1 - e-*/^) t > 0 OPII-^OPI.

Four models constitute tUe model set, two fixed models indexed as Af and Af2)
respectively; one free-running adaptive model indexed as A/3; and one re-initiaUzable
adaptive model indexed as A/4. The same performance function parameters {K,U,^)

used in the chemical reactor example, are used to transition between OPI (open-loop

112
0.1 0.2 0.3 0.4 0.5 0.6 0.7
cell concentration [g/l]

Figure 5.17: Phase portrait of the biological reactor. The phase portrait was gen-
erated using different initial conditions of Xi and X2 and when X2/=0.4g/l and D =
1.8hr"^ Note the presence of a saddle point and two stable nodes.

stable) to OPII (open-loop unstable). The weighting functions are chosen to be,

s + 3.5
^^' " 2(s + 3.2)
f(s + 25)
^ s + 6000

A threshold of 10"^ is selected to prevent chattering due to overzealous model switch-

ing.
Figures 5.18 and 5.19 show the closed-loop performance when the system transi-
tions between OPI to OPII. In both cases the output, the substrate concentration.

113
tracks the reference trajectories satisfactorily. The switching scheme shows that the
fixed model identified at OPII is selected as the final model for the transition from
OPI to OPII, while the free-running adaptive model, A/3, is the final choice for a
transition from OPII to OPI. The controller output (bottom rigUt panel), the dilu-
tion rate, changes smoothly and converges when the system approaches the desired
operating state.

114
0.35
- - Response
0.3 ^— Reference .
s
Substate Concentration

0.25

0.2 •

0.15

0.1 -

0.05
1/
f# 1 1
1 1 1

10 15 20 25 30
Time [hr]

1' fixed model 1


2: fixed model 2
3. free-running model
4: re-initialized model

15 20 25 30
Time [hr]

Figure 5.18: Transition control of the biological reactor using Hoo controUer with
model switching. Top panel: Substrate concentration response for a set point change
from 0 to 0.389. Bottom left panel: Model switching. Bottom right panel: Control
action.

115
0.4 i

\ - - response
11 ^— reference
0.35 A 1

^ 0.3

•S. 0.25
1

c
a>
o 0.2
1

c
o
o
Q)

2 0.15
L

05
.Q
3
CO
0.1 --

0.05

10 15 20 25 30
Time [hr]

53
E

1 fixed model 1
2: (ixed model 2
3: free-running model
4; re-initialized model

15 20 25 30
Time (hr]

Figure 5.19: Transition control of the biological reactor using Hoo controller with
model switching. Top panel: Substrate concentration response for a set point change
from 0.389 to 0. Bottom left panel: Model switching. Bottom right panel: Control
action.

116
Modeling errors pose serious problems for accurate closed-loop control. Let the
specific substrate consumption rate in Equation (5.21) be approximated by [94]

X2(1.32 +3.86x2)
cr{x2)
0.000849 + X2 + 0.406x2

Figure 5.20 shows the closed-loop performance, between OPI and OPII, when the
models are developed using the above approximation. The closed-loop performance
in both cases are stable and satisfactory.

5.2.4 State-shared modeling

A state-shared model can be developed for the chemical and biological reactor
systems. In the case of the CSTR, the selection of the asymptotically stable pair is

0 1
F = and g =
-1 -1

which places the closed-loop poles at (—1 ± jy/S)/2). The number of parameters to
be adapted in this case is 4. All other performance parameters {K, U, fi, g) remain the
same. Figure 5.21 compares the closed-loop response of a state-shared model and
the Hoo controller design to a single fixed model and the //oo controller design. TUe
reference trajectories (solid lines) are ascending or descending staircases (steps). TUe
figure shows that state-shared model (dashed line) approach gives better closed-loop
performance than the one model (dotted line) approach.

117
'
0.35
/""^ • - response
— 0.3 — reference
/
^

1
c f
•|0.25

§ 0.2
S
0)

-
50.15

#1
" 01
0.05
j
1
0
10 15
Time [fir]

5
5
4.6
4.5
4 1 lixed model 1
2 liKed model 2 4 1-1
3 tree-running model
3.5 4 re-initialized model
3.5
I 3
E
|2.5
0)
TJ
i 2
1.5

1
^
I 3
E
f 2.5
o
I 2
1.5
ll 1 fixed model 1
2: lixed model 2
3: Iree-running model
4' re-initiaiized model

1
0.5-
05
0
15 0 10 15
Time [hr] Time[hr]

10 15 20
Time [fir]

Figure 5.20: Transition control of the biological reactor under non-ideal conditions.
Modeling error in the specific substrate consumption rate. Left panel: Substrate con-
centration response for a set point change from 0 to 0.389, model switching (middle),
and control action (bottom). Right panel: Substrate concentration response for a set
point change from 0.389 to 0, model switching (middle), and control action (bottom).

118
5.5
State-shared model
Single model
Reference
§4.5

CL 4
E

c
•2 3
O) >5

c
05

I2.5

1.5

1
10 15 20 25 30 35
Time

5.5 1 1

Single model
— Reference
- - State-shared model
i
S4.5 I

Q. 4
E
CD
H
0)3.5 - •

05
c
g
05 3- '-,••
c i
i
S2.5 - •

1
i
1
I
1.5 - i^
1
1
10 15 20 25 30 35
Time

Figure 5.21: Transition control of the CSTR: comparison of two different modeling
approaches with an Hoo controller. Reference: solid line, state-sUared model: dasUed
line, and single model: dotted line. Top panel: Temperature response for a set point
change from 1.3 to 5.0. Bottom panel: Temperature response for a set point change
from 5.0 to 1.3. 219
In the case of the biological reactor, the selection of the asymptotically stable
pair and the closed-loop poles are the same as in the chemical reactor example. The
number of parameters to be adapted in this case is also 4. AU other performance
parameters {K, U, //, g) remain the same. Square pulses (sohd line) are selected as the
reference trajectories. Figure 5.22 shows the closed-loop performances for state-shared
model (dashed line) and a single model (dotted line), botU using an Hoo controUer.
At some transition regions, the controller based on one model is unstable.

120
1.5 1 ' ' 1
- - state-shared model
Reference
Singular model

c \
o 'A
' • X - t \. 1 \
0.5- 1- \ 1 .» > \ 1 -\
1 • , I '- I
c 1-' \ ' : X ' : X
1- \
0)
\
1 : X
- 1 : 1 : •
o r
f 1 ; ' \: 1 \ 1
l: i I 1 1 i: # :
o r i 1
o
05
\_
"ui
CO
-0.5 -

1 ' 1 1

10 15 20 25 30
Time [hr]

Figure 5.22: Transition control of the biological reactor: comparison of two different
modehng approaches with an Hoo controller. Reference: sohd line, state-shared model:
dashed line, and single model: dotted line. Observe that the single model control
approach becomes unstable.

121
5.3 Summary

In this chapter, two control methods based on multiple models and a compact
state-shared model are presented. The rationale of MRAC is taken from [6, 12]. In
this work, the MRAC theory is extended to the control of nonhnear systems. A
single-input single-output CSTR system is used to demonstrate this method. Keys
to tlie success of MRAC include (i) the choice of a stable and realizable reference
model with no transmission zeros, (ii) parameter convergent method, and (iii) stable
switching.
The state-shared model approach consists of multiple fixed and adaptive models in
a compact representation. The controller is an Hoo robust control wUose parameters
are tuned based on tUe adaptation of the measurement parameters. Conditions for
robust stability and robust performance were provided.
Two nonlinear single-input single-output reactors, one chemical the other bio-
logical, were used to demonstrate this transition control structure. It was shown
that satisfactory performance in the presence of modeling errors, input disturbances,
and parameter uncertainties was achieved. In the chemical reactor system, the Hoo
controller based on two stable fixed models and two adaptive models can reahze tran-
sitions among stable and unstable operating points. In the study of the the biological
reactor, the state-shared model and the Hoo controUer stabihzed this system at an
open-loop unstable operating state. A comparison between multiple models and a sin-
gle fixed model of the biological system demonstrated the superiority of the multiple
models approach to transition control.

122
5.4 Nomenclature
CSTR Continuous stirred tank reactor
ISE Integral Square Errors
ITSE Integral Time Square Error
MIMO Multiple-input multiple-output
MRAC Model reference adaptive control
MPC Model predictive control
SISO Single-input single-output
SSV Structured singular value

123
CHAPTER 6
MODEL PREDICTIVE CONTROL
6.1 Background

While Chapter 5 described control methods that produce a control action in re-
sponse to the current state of the plant, the method described in this chapter not
only determines an optimal control action for the current sampling time but also
into the future. This class of controllers, caUed model predictive control (MPC) uses
constrained and unconstrained optimization theory and hnear and nonlinear models.
MPC, also referred to as moving Uorizon control or receding horizon control, has
become an attractive feedback strategy, especially for linear (or nearly linear) pro-
cesses [95]. MPC refers to a class of algoritUms tUat compute a sequence of control
actions in order to optimize the future behavior of a plant. Linear MPC refers to a
family of MPC schemes in which hnear models are used to predict the system dy-
namics, even though the dynamics of the closed-loop system is nonlinear due to the
presence of constraints. Linear MPC approaches have been very successful especially
in the process industries. A good overview on industrial linear MPC can be found in
[58].
The first description of an MPC application, called Model Predictive Heuristic
Control (MPHC), was presented by Richalet and coworkers [96, 97]. The distinguish-
ing features of this approach are: (i) the plant is represented by an impulse response
model, (ii) a quadratic performance objective, defined over a finite prediction horizon,
determined the merit of the control actions, (iii) tUe future plant output behavior is
specified by a filtered reference trajectory, (iv) the input and output constraints are
included in the formulation, and (v) the optimal control actions are computed using a
heuristic iterative algorithm [98]. Richalet and coworkers [96, 97] went on to describe
successful apphcations of the MPHC algorithm to the main fractionator column of
a fluid catalytic cracking unit, a power generator of a steam plant, and a poly-vmyl
chloride plant. All of tUese examples are constrained, nonlinear muUivariable pro-
cesses.

124
Cutler and Ramaker [99] introduced an unconstrained multivariable control al-
gorithm, called dynamic matrix control (DMC). Key features of the DMC control
algorithm are: (i) the plant is represented by a step response model, (ii) a quadratic
performance objective over a finite prediction horizon is used to determine the merit
of the control actions, (iii) the future plant output behavior is specified by a constant
set point trajectory, and (iv) the optimal control actions are computed as the solution
to a least-squares problem. Cutler and Ramaker [99] showed impressive results for
temperature control of a furnace.

The original MPHC and DMC methods provided excellent examples of the poten-
tial of predictive control to regulate unconstrained multivariable processes. However,
explicit constraint handling is left to ad-hoc procedures such as limit checking, intelli-
gent sensors and actuators, and safety interlocks. To extend the approach to address
constraint handling, a quadratic dynamic matrix (QDMC) control formulation was
introduced [100, 101, 102]. Key features of the QDMC algorithm are: (i) the plant is
represented by a step response model, (ii) a quadratic performance objective over a
finite prediction horizon is used to determine the merit of the control actions, (in) the
plant behavior in the future is specified by foUowing the constant set point subject
to move suppression, and (iv) the optimal control actions are computed as the solu-
tion to a constrained (equalities and inequaUties) and weighted quadratic objective
function. The main advantage of QDMC over MHPC and DMC is the abiUty to
incorporate multiple objectives and to address input and output constraints.

TUe optimal controllers, MHPC, DMC, and QDMC can be classified as linear
MPC controllers. Since its first successful implementation in the late 1970s, there
have been many pubUcations, both theoretical and apphed, on this subject. For
constrained control problems, the computational costs can be high, and rigorous
tuning methods for the general problem are still in a state of development [103, 104].
For mild nonUnear systems or for nonlinear systems tUat are operated about a single
nominal state, linear MPC algorithms can be apphed with an appropriate hnear
model of the plant. However, for systems with significant nonlinearities, a nonlinear

125
or pseudo-nonlinear MPC formulation can be constructed. In the strict nonlinear
formulation, the model is a nonhnear model; in the pseudo-nonhnear formulation an
available nonlinear model is linearized at each sample time about the measured values
to yield a linear model from which the current and future predicted control actions
are determined [105]. The pseudo-nonlinear model represents a linear time-varying
model. In either case, the controller is a nonlinear controller [58, 106, 107, 108].

Using a nonlinear model instead of a linear one cUanges the control problem from
one of a convex quadratic problem to a non-convex nonhnear problem, the solution
of which is much more difficult. In any nonlinear optimization problem, there are no
guarantees that the global optimum can be found. Moreover, stabihty and robustness
are very difficult to establish in the general case. Bequette [109] describes several
approaches to solving the general nonlinear MPC problems when the system is a
chemical process. A rigorous mathematical treatment of the robust stability of NMPC
is provided in [40, 54].

6.1.1 MPC based on a state space model

A state space model can be used in the model predictive control framework [110].
There are some advantages of using a state space model. A major one is that it
is valid for unstable processes. Some input/output descriptions, for example, finite
step or impulse response models are not defined for open loop unstable processes,
because such input/output models are unavailable for unstable processes. For stable
processes, a finite step response representation can be realized as a state space model
where the order is equal to its truncation order (finiteness). Another advantage of
using a state space model is that if a nonlinear mathematical description is available,
a Taylor series expansion applied to this description will result in a state space model
[110].

126
Given a continuous linear time-invariant representation,

Ht) = Ax{t) + Bu{t)


y{t) = Gx{t) + z{t)

where A, B, and C are constant coefficient matrices; and z{t) is the measurement
noise. In computer control implementation, the output is sampled at some sampling
interval. A, and the input applied to the system is constant over this interval. This
necessarily results in piecewise constant control actions with period A such that

u{t) = u[k], kA<t<{k-\-l)A A; = 0 , 1 , . . .

Thus, the behavior of the above system at every discrete interval k can be represented
by (see Appendix 8.3),
x{k-\- 1) = $x(/c) + *«(/;;)
(6.2)
y{k) = Cx{k) + z{k)

where $ represents the sampled dynamics and is given by

$ = exp {AAt)

and
/•At
•^ = B j exp(A(Ai - T))dT.
Jo

127
Define
Au{k) = u{k) - u{k - 1)
Ax{k) = x(A;) - x{k - 1)
Ax{k)
Xa{k) =
m
$ 0
$ =
C$ /

Ca = 0 /

Using the above definitions. Equation (6.2) can be placed in the augmented form,

Xa{k + 1) = ^ax{k) + 'ifaAu{k)


(6.3)
y{k) = Gax{k) + z{k)

The variable y{k) — Cx{k) represents the true plant output. At sample time k, MPC
predicts the future behavior ioi: k,k -\- I,... ,k -\- P steps in the future. The current
and future inputs are calculated ior k,k-\-\,... ,k -\- M — I steps in the future using
the predicted values of the outputs. The prediction horizon P and control horizon M
are tuning parameters in the MPC formulation.
Expanding and re-arranging Equation (6.3) gives [111],

Ax(fc + 1 0
$2 0
Ax(A; + 2

Ax(A; + P) •Ax(A;y
(6.4)
yik + l C$ .y{k)
+
y{k + 2

y{k+P) c^p + c^^-^ + • • • + c$

128
0 0
$* 0

$ P-M-1 *
X
0 0
C^xif + c * 0

^^P-M-l^ + • • . + C^.
_c$^-i* + --- + c* c$^-2* + • • • + c*
0
0
Au(A;)
Au{k + 1) 0
+ z(k + l
.Au(fc + M - 1 ) . z{k-h2

z{k + P),
Following [111], let
y(/c + l
y(/c + l) =
y{k + 2

ly{k + P).
c$
C$2 + c $
Ox —

c$^ + c$^-i + --- + c$ /


0 0
c** + c* 0
<-'u —
C $ P - i ^ + ... + C * C;$^-2^ + ... + C ^ ... c $ ^ - M - i ^ + ... + c i ' ,

129
Au{k)
Au{k-\-l)
AU{k) =
.Au{k-^ M - 1),

•z(k + l
z{k + 2
Z{k + 1) =
.z{k + P).

Ax{k)'
Y{k + 1)= S,
.m
Substitution of the above into Equation (6.4) yields

Y{k + 1) = Y{k + 1) + SuAU{k) + Z{k + 1). (6.5)

The above equation will be used to predict tUe current and future control actions.
Define the quadratic objective function to be optimized over a horizon P by,

min J= min {Y{k-\-l) -Ys{k + l))'^E^E{Y{k + l)-Y,{k + l))-\- AU{k)'^N^AAU{k)


AU{k) AU(k)

(6.6)
subject to the equality in Equation (6.5), wUere Yg is the desired set point trajectory,
and H, A are weighting matrices.

• ^ 1 • 01 [Al 0 • • 0
0 ^ 2 • •
• 0 0 A2 • • 0
A=
0 0 •• • Sp. .0 0 • • A,

The first term in Equation (6.6) is composed of the error between the predicted
value, Y and the set point Y^ weighted by E and the second term reflects a penalty
for excessive changes in Au weighted by A. Define the prediction error term at
sample time A; + 1 as follows

E{k + l) = Y,{k + 1) - Y{k + 1) - Z{k + 1).

130
Equation (6.6) can be re-stated as,

S^W ^ ^ ^Tk)-^-^^^^^ - ^(^- + l))^2^2(5uA[/(/c) - E{k + 1)) +


AU{k)'^K^KAU{k)

and represents a quadratic problem (QP). Expanding this equation gives,

J = AU^{k)Sl=7'ES^AU{k) - 2AU^{k)Sl~.^EE{k + 1) +
E{k + \)'^=7'EE{k + 1) + AU^{k)K^KAU{k).

Since A[/(A;) must be found such that in i ^ oo, E{k + 1) ^ 0, the term E{k +
l)'^'E7''~.E{k + l) in the above equation can be neglected. The above equation becomes

min J = min AU^{k)HAU{k) - h{k + l)^AU{k) (6.8)

where H = 5 j S ^ S 5 „ + A^A is the Hessian of the QP and h{k-\-l) = 2SlE'^EE{k-\-l)


is the gradient vector of the QP in the direction of AU{k).
Generally, tUere are three kinds of constraints: manipulated variable constraints,
manipulated variable rate constraints, and output variable constraints.
The manipulated variable constraints at sample time k are generally represented

by
UioUk) < U{k) < Uh^gh{k).

The manipulated variable value at a future interval of time k + i — I is constrained


to be:

e
UioUk+e-l) < J2 ^U{k+j-l)+U{k-l) < Uh^gh{k+i-l)•, i=h2,. ., M (6.9)

where U{k — 1) is the vector of current values of the manipulated variables. The
hmits Uiow and Uhigh are functions of future time intervals.
The manipulated variable rate constraints at sample time k are generally repre-

131
sented by

AUiou,{k) < AU{k) < AUHrgh{k).

The general form of output variable constraints at sample time k is given by

Yior,{k) < Y{k) < Yh,gh{k).

The model predictive equation (Equation (6.4)) gives the estimation of the output
variables over the future, which can be used to anticipate future violations.
The input, rate of change of the input, and output constraints can be concisely
represented by

u{k - 1) - Uhigh{k)

u{k - 1) - Uhigh{k + M - 1)

uiow{k) - u{k - 1)

Uiou,{k + A/ - 1) - u{k - 1)

AuHgh{k)

-Auhigh{k + M - 1)
~g{k + l) =
Auiow{k)

Auio^{k + A/ - 1)

z{k-^l)+yk + \ - yhigh{k + 1)

z{k + P)+yk + P- yhigh{k + P)


'yiou.{k + l)'-'z{k + \)-y{k + l)

iyio^{k-^P)-z{k + P)-y{k-hP).

Using the above succinct representation of the constraints, the QP problem in Equa-

132
tion (6.8) can now be stated in the standard form

(6.10)
s.t. GAU{k)>~g{k-\-l)

where
[-h
h
-I
=
I

- '-'u -

/ 0 ••• 0
/ / ••• 0
Ir.=
J I ••• /J

In the MPC framework. Equation (6.10) is solved at each controller execution time
after a new measurement is obtained. Note that the only time varying elements in
this problem are the vectors E(k+1) (or equivalently h(k+l)) and g{k + 1). That is,
the Hessian of Equation (6.10) remains constant for aU executions. In tUe multiple
models framework, because tUere is model switching, the Hessian is nonconstant.
If the constraints are active, then the computations will be more intensive. Also, it
is important to pose tUe constraint equations correctly in order to avoid infeasibilities.

6.1.2 MPC control of a two-pUase chemical reactor system


The results are taken from [41]. This system was introduced in Section 3.6.1. The
system undergoes a production rate change from 100 kmol/h to 130 kmol/h, while
satisfying all constraints. First-order reference trajectories (dotted lines in the figures)
are selected for the three controlled outputs production rate {FA), reactor pressure
(P), and composition of A in purge stream (y^a). A model predictive controUer
is used with the state-shared model that contains only fixed models at the known
operating regions (100 kmol.h and 130 kmol/hr) and their measurement equations.
A controUer horizon M oiA and a prediction horizon P of 10 are selected. To represent

133
a preference among the controlled variables, different weights (S) of 3, 1, and 10 are
selected for P, yAs, and F4, respectively. Equal weighting (A) of the rate of change
in the inputs: feed, purge, and reactor effluent valve positions are used. The system
has constraints on the outputs and inputs (see Chapter 3). No special attempts were
used to determine optimal values for these parameters.
Figure 6.1 shows the closed-loop responses of F4 and P The production rate
achieves its set point in about 10 hours and there is no violation of the pressure
constraint. The production rate can be made to reach its the set point sooner with
more aggressive controller action. Figure 6.2 sUows the the closed-loop responses of
F4 and P when measurement noise (signal to noise ratio 10:1) is present. A first-order
filter^ is used in the MPC formulation to filter the noise. Both responses achieve their
set points after 8 and 10 hours, respectively.
In practice, the composition measurement cannot always be measured in a timely
fashion. Assume that y^s can be inferred from the other measured signals. Closed-
loop performance of P4 using estimates of y^s are shown in Figure 6.3. It is observed
that the transition is achieved within 8 hours without constraint violation. Table 6.1
shows the sum squared errors between the reference and the measured value when
composition of A in the purge is either assumed to be measured or inferred from the
other measured signals.

Table 6.1: Tracking errors of the two-phase reactor.


State of yA3 P (kPa) FA (kmol/h) y^g (mol%)
Measured 1146.58 1336.13 476.4
Inferred 1688.02 1480.01 489.90

iyp(fc)=0.2j/-(fc)-f0.8yp(fc-l).

134
10
Time [h]

Figure 6.1: Transition control of the two-phase reactor using an MPC controUer.
Production rate change from 100 kmol/h to 130 kmol/h. Dashed line: set point,
dotted line: reference trajectory. Top left panel: Production rate. Top rigUt panel:
Reactor pressure. Bottom left panel: Composition of A in the purge. Bottom right
panel: Model switching.

135
Figure 6.2: Transition control of the two-phase reactor using an MPC controller at
non-ideal conditions. Production rate change from 100 kmol/h to 130 kmol/h in
the presence of measurement noise (SNR 10:1). Dashed line: set point, dotted line:
reference trajectory. Top right panel: Production rate. Top left panel: Reactor
pressure. Bottom left panel: Composition of A in the purge.

136
6.1.3 MPC control of a biological system

The results are taken from [52]. The multiple-input multiple-output nonlinear
model tUat describes calcium-induced calcium-release mecUanism of tUe Ryanodine
receptors and the calcium balance in a human cardiac myocyte, introduced in Section
3.6.2, is used to further demonstrate the MPC control strategy. The operating states
are Usted in Table 6.2 [10]. It is noticed that values of the concentration of calcium

Table 6.2: CICR model nominal values.


Variable Definition OPI[10] OPII
Xpl Bare site fraction 0.6962 0.6488
Xp2 Positive site fraction 0.1883 0.2139
Xp3 Negative site fraction 0.0245 0.0340
Xp5 Caconc. i n C Y 0.1370 ^M 0.1670 ^M
Xp6 C a cone, in S R 38.126 fiU 39.262 //M

in CY and SR are very small numbers. These values are simulated results obtained
from the model and do not reflect experimental data obtained from the real system.
The influx trigger, J, and the maximal rate of Ca in CY to extraceUuIar pump,
Ql, can be adjusted by pharmacologic means. Thus, they can be selected as the
manipulated variables to regulate the system.
Assuming that Xps and Xp6 can be measured, the measurement equation is given

by
0 0 0 10
y{t) = Gxp{t), C = 0 0 0 0 1
(6.11)
Xp{t) = [Xpl Xp2 Xp3 Xp5 Xps]^ .

For the 2-input 2-output physiological system, linearization at the two known
operating states yields two linear models that can be shown to be stable. By checking
the controllability gramians, it is found tUat tUese two Unearized models are also state
uncontroUable. One pole and one zero (-10.605) are almost the same in the transfer
functions at these two states. Minimal realization of the linearized system leads to a
4tU-order LTI model. Using the balanced truncation method described in Chapter 3,
the hnear model at OPI and OPII can be reduced to 3rd-order models,

137
10 10
Time [h] Time [h]

Figure 6.3: Transition control of the two-phase reactor using an MPC controller at
non-ideal conditions. Production rate change from 100 kmol/h to 130 kmol/h with
yA3 inferred. Dashed line: set point, dotted line: reference trajectory. Top left panel:
Production rate. Top right panel: Reactor pressure. Bottom left panel: Composition
of A in the purge.

138
OPI
-2.7566 2.8145 -0.4583'
A = -2.8152 -0.6653 1.0459
-0.4589 -1.0459 -0.1260

1.6977 -2.0232'
B = 0.5244 -0.6249
0.1736 -0.2069

C = -0.0289 0.0372
-2.6409 0.8149
-0.0137
-0.2697
OPII
-1.0898 -2.9738 0.6683
A = 2.9905 -0.0010 0.0192
0.6684 -0.0292 -0.7040

1.5888 -1.7938'
B = -0.0480 0.0542
-0.5919 0.6683

-0.0219 -0.0631 0.0246-


C = -2.3961 -0.0356 0.8924
A state-shared model is constructed for these two 3rd-order models. The upper
bound of the McMillan degree of all tUe nominal models is (n=) 3. For a 2-input 2-
output system, tUe state-sUared model wiU have order {2nm =)12 and 15 (n(m2 + l))
adaptable parameters. From the approach described in Chapter 3, choose {F, G) to
be
0 1 0
Fj = 0 0 1 Gj = J = 1,2
-Ol -02 -as
with ai = 1, a2 = 2, and as = 3 such that the pair {F, G) are controUable. TUen,

Pi 0 Gi 0
F = G =
0 P2 0 G2
J 6x6 6x2

First-order reference trajectories for the transitions between OPI and OPII are
selected for the two outputs, Ca concentration (xps) in the cytosol (CY) and Ca
concentration (Xpe) in the sarcoplasmic reticulum (SR). The MPC strategy uses a
control horizon of 4 and a prediction horizon of 10. Equal weighting of the rate of

139
change in the inputs is used. To represent a preference among the controlled variables,
output weights of 50 and 1 are chosen for Xp5 and Xpg, respectively, to imply that Xps
is more important than Xpg. As before, no special attempts are made to determine
optimal values for these parameters. This system has constraints on the outputs and
inputs.

Figure 6.4, top panel, shows the closed-loop response when the system transitions
from OPII to OPI. The controlled outputs track tUeir references satisfactorily. The
set points are reached in approximately 6 seconds. The bottom panels show the
control action for the calcium influx trigger J and the maximal rate of calcium in
the cytosol, qi. The calcium trigger influx (J), is bounded below ( J > 0). After
the system reaches OPII, J goes to zero (its nominal value) and remains there. The
closed-loop response may be improved if J was unconstrained.

Figure 6.5 shows the response when the system transitions from OPI to OPII. For
comparison, the response of Xps is shown when there is no preference between Xpe and
Xp5. In other words the output weights are unity. It is observed that the unequal
output weighting produces better closed-loop performance.

6.2 Summary

In this chapter, the model-based control method called model predictive control
(MPC) method was reviewed. Notable points are that the MPC formulation can be
based on input/output and state-space models and constraints can be included ex-
plicitly. The control action is the result of an optimization problem. In the case of a
quadratic objective function and constraints, a method such as sequential quadratic
programming (SQP) can be used to arrive at a solution. When the model is linear
and the system is unconstrained, a unique solution is guaranteed. However, when the
model is either linear or nonlinear and constrained, neither uniqueness nor conver-
gence are guaranteed.
The state-shared model, developed in Chapter 3, is used as the model in the
MPC framework. Two examples previously introduced are used to demonstrate the

140
MPC controller. The first is a nonlinear multiple-input multiple-output chemical
reactor system that transitions from one production rate to another. The outputs and
inputs are all constrained. Satisfactory closed-loop performance was achieved even
in the face of unmeasured output disturbances and when composition was estimated.
The second is a physiological system which describes calcium-induced calcium-release
mechanism in cardiac myocytes. A transition controller is designed to realize calcium
concentration transitions in both the cytosol and sarcoplasmic reticulum. It was
shown that proper choice of the MPC parameters wiU lead to fast response, Uowever
accuracy remains a function of the model fidelity.

141
4 6
Time (sec)

0.03r

0.025 •

I 0.02-
1

T 0.015-

S 0.01 •
>
V

I 0.005
a
'c
a
J f 'ttk*- .
5 0

-0.005
4 6
Time (sec)
-0.01

Figure 6.4: Transition control of the biological system using an MPC controller.
Dotted line: reference trajectory. Top left panel: Ca concentration in the cytosol for
a set point change from 0.1670 ^M to 0.1370 ^M. Top right panel: Ca concentration
in the sarcoplasmic reticulum for a set point change from 39.262 //M to 38.6162 /xM.
Bottom left panel: Ca trigger influx J. Bottom right panel: Maximal rate of Ca in
the cytosol gi.

142
0.135-
4 6
Time (sec)

Figure 6.5: Transition control of the biological system using an MPC controller.
Dotted Une: reference trajectory. Top left panel: Ca concentration in tUe cytosol for
a set point change from 0.1370 fiU to 0.1670 ^M with an output weight of 50. Top
right panel: Ca concentration in the sarcoplasmic reticulum for a set point change
from 38.6162 /xM to 39.262 //M with output weight of 1. Bottom right panel: Ca
concentration in the cytosol for a set point change from 0.1464 /iM to 0.1244 //M but
with an output weight of 1.

143
6.3 Nomenclature
Ca Calcium
CSTR Continuous stirred tank reactor
CY Cytosol or cytoplasm
DMC Dynamic matrix control
ISE Integral Square Errors
ITSE Integral Time Square Error
MIMO Multiple-input multiple-output
MPHC Model predictive heuristic control
MRAC Model reference adaptive control
MPC Model predictive control
QDMC Quadratic dynamic matrix control
SISO Single-input single-output
SNR Signal to noise ratio
SR Sarcoplasmic reticulum
SSV Structured singular value

144
CHAPTER 7
TENNESSEE EASTMAN CHALLENGE PROBLEM
7.1 Background

The Tennessee Eastman (TE) challenge problem provides a plant flowsheet and
a list of expected disturbances of a chemical plant [11]. A computer program that
contained implicit dynamic models of the unit operations was also provided. A sig-
niflcance of this challenge problem is that the plant can be operated on demand at
three different product distributions (operating states). Thus, the challenge problem
provides a very rich opportunity to study control related topics such as, multivariable
de-centralized control design, centrahzed model-based and model-predictive control
designs, inferential control, nonlinear control, and adaptive control for regulation and
transitions. Since the pubUcation of tUe TE process in 1993 [11], more than 60 papers
have been publisUed in which besides control studies, statistical process monitoring,
sensor fault detection, and optimal scheduling policies have also been investigated
[1, 56, 112, 113, 114, 115].
McAvoy and Ye [112] developed a decentralized plantwide control system de-
sign based on utilizing multiple single-input-single-output (SISO) control loops. The
methodology involved screening various pairs of control and manipulated variables
using steady-state techniques, such as Relative Gain Array (RGA). Ricker and Lee
[56] tested this strategy and found that the compressor power loop is often saturated
during transients. This control scheme did not demonstrate transition control among
the different product grades.
Luyben and coworkers [113] proposed a SISO control structure based on heuristic
(process engineering) knowledge and energy and mass balances. They applied their
systematic nine-step plantwide control methodology to design a plantwide control
structure for an on-demand production and and on-supply of reactants. The control
system developed is simple but effective for regulatory control of the plant. The
extreme disturbances are addressed in the usual industrial mode of applying overrides
and high and low selectors. This control scheme also did not address transition

145
control. Other papers report simUar SISO structures [116, 117].
The most extensive studies of the TE process have been reported by Ricker and
coworkers. Ricker and Lee [114] derived nonhnear, mechanistic models of the ma-
jor unit operations that reproduced the essential dynamic process characteristics. A
key simplification is the omission of the energy balance. An extended Kalman Fil-
ter (EKF) provided continuous adjustments of the dynamic model parameters (and
states) during transients. Based on this simplified model, Ricker and Lee [56] designed
a nonUnear model predictive controller. TUis control strategy wUen compared witU
typical SISO multiloop strategy sUows better closed-loop performance especially for
transition control (set point changes) and constraint handling. Although the models
are nonlinear, the MPC controUer is based on multiple linear models obtained from
the linearization of tUe nonlinear models at every sample point.

In [115], Ricker developed a decentraUzed control structure and demonstrated


that it was superior to the multiple linear models utilized by the MPC scheme just
described [56]. Ricker suggests that the most important criterion for a successful
control strategy hes with the selection of the set of controUed variables. Similar
statements in this regard can be found in the publications of Skogestad and coworkers
[118, 119, 117] and SUinnar and coworkers [120, 121, 122].
Beside the base mode, there are six optimal steady-state modes of process oper-
ation for the three different production mass ratios [1]. This chapter addresses the
transition control among these modes.

7.2 Process Description

The process description is provided by Downs and Vogel [11]. The Tennessee East-
man process has five major unit operations: a chemical reactor, a product condenser,
a vapor-hquid separator, a recycle compressor, and a product stripper. Figure 7.1
shows the flowsheet of the process.
The process produces two products from four exothermic, irreversible reactions.
There are a total of eight components disguised with the notation: A, B, C, D, E, F, G,

146
and H. Note that component B is an inert. The chemical reactions are given as

Mg) + C{g) + D{g) -^ G{liq) Product 1


Ma) + C{g) + E{g) -> H{liq) Product 2
A{g) + E{g) -^ F{liq) Byproduct
3D{g) -^ 2F{liq) Byproduct.

The reactor is modeled as an ideal continuous-stirred tank reactor. The reaction


rates are a function of temperature through an Arrhenius expression. Reaction 1
(producing G) has a higher activation energy (40000 cal/mole) resulting in greater
sensitivity to temperature changes than Reaction 2 (producing H). The reactions are
approximately first-order with respect to each reactant concentration.
A non-volatile catalyst is dissolved in the hquid phase. The reactor has an internal
cooling bundle to remove the heat of reaction. The products have moderate volatility
and exit the reactor with the unreacted gases. The catalyst remains in the reactor.
The reactor product stream, a vapor, passes through a condenser to a vapor-liquid
separator. The non-condensible species are recycled through a centrifugal compressor
back to the reactor. The condensed components are sent to a stripping column to
remove the remaining reactants. Products G and H exit at the stripper base. The
inert and byproducts primarily exit the system as a vapor from the vapor-hquid
separator.
There are seven modes of process operation at three different G/H mass ratios
(stream 11 in Figure 7.1), listed in Table 7.1. Mode 0 is the base case. Modes 1-3
are operating states with minimum operating costs at G/H mass ratios of 50/50,
10/90, and 90/10, respectively, while modes 4-6 are operating states with maximum
production rate at three different G/H ratios. The product mix is dictated by product
demand. The plant production rate is set by market demand or capacity limitation.

147
Figure 7.1: The TE process design flowsheet [11]. There are five major unit opera-
tions: chemical reactor, condenser, separator, stripper, and compressor; 41 measure-
ments and 12 control degrees of freedom.

148
Table 7.1: Seven modes of process operation
Mode G/H mass i•atio Production rate (stream 11), kg h-i
0,1 50/50 7038G/7038H
2 10/90 1048G/12669H
3 90/10 lOOOOG/llllH
4 50/50 maximum production rate
5 10/90 maximum production rate
6 90/10 maximum production ra te

Table 7.2 : Process manipulated variable s


Variable Variable Base case Low High
name number value (%) limit limit Units
D feed fiow (stream 2) XMV(l) 63.053 0 5811 kgh-i
E feed flow (stream 3) XMV(2) 53.980 0 8354 kgh-i
A feed flow (stream 1) XMV(3) 24.644 0 1.017 kscmh
A and C feed flow (steam 4) XMV(4) 61.302 0 15.25 kscmh
Comp recycle valve XMV(5) 22.210 0 100 %
Purge valve (stream 9) XMV(6) 40.046 0 100 %
Sep liquid flow (stream 10) XMV(7) 38.100 0 65.71 m^h-i
Strip liquid flow (stream 11) XMV(8) 46.534 0 49.10 m^h-i
Strip steam valve XMV(9) 47.446 0 100 %
Reac cooling water flow XMV(IO) 41.106 0 227.1 m^h-i
Cond cooling water flow XMV(ll) 18.114 0 272.6 m^h-i
Agitator speed XMV(12) 50.000 150 250 rpm

7.2.1 Manipulated variables and measurements


The TE process has twelve manipulated variables: eleven control valves and the
agitator speed on the reactor. These are listed in Table 7.2.
There are 41 measurements; 22 are continuous measurements and 19 are sampled
measurements. Downs and Vogel [11] provided the nominal process values for the
base case. For this multiple-input multiple-output (MIMO) system, the values of the
manipulated variables and measurements that give the required G/H mass ratios are
not unique. Ricker [1] provided the optimal steady-state operating conditions for the
six operating modes. The values are listed in Table 7.3. The base case and optimal
steady state values are also hsted in this table.

149
Table 7.3: Process measure d o u t p u t variables (from [1])
Meas. Mode 0 Mode 1 Mode 2 Mode 3 Mode 4 Mode 5 Mode 6
value Base case (50/50) (10/90) (90/10) (50/50) (10/90) (90/10)
1 A feed, kscmh 0.251 0.267 0.309 0.194 0.503 0.325 0.219
2 D feed, k g / h 3664 3657 734 5179 5811 761 5811
3 E feed, kg/h 4509 4440 8038 700 7244 8354 788
4 A + C Feed, kscmh 9.35 9.24 8.55 7.83 14.73 8.83 8.79
5 Recy flow, kscmh 26.90 32.18 31.69 19.67 29.22 31.27 20.08
6 Reac Feed, kscmh 42.34 47.36 46.08 32.09 53.76 46.24 34.02
7 Reac pressure, kPa 2705 2800 2800 2800 2800 2800 2800
8 Reac level, % 75 65 65 65 65 65 65
9 Reac temp, "C 120.4 122.9 124.2 121.9 128.2 124.6 123
10 Purge rate, kscmh 0.337 0.211 0.361 0.087 0.462 0.384 0.099
11 Sep temp, "C 80.1 91.7 90.3 83.4 74.1 88.9 80.9
12 Sep level, % 50 50 50 50 50 50 50
13 Sep pressure, kPa 2634 2706 2705 2765 2699 2705 2761
14 Sep underflow, m^/h 25.16 25.28 26.31 17.55 40.06 27.45 19.60
15 Strip level, % 50 50 50 50 50 50 50
16 Strip pres, kPa 3102 3326 3327 2996 3365 3330 3015
17 Strip underflow, m^/h 22.95 22.89 22.73 18.04 36.04 23.55 20.20
18 Strip temp, °C 65.73 66.5 65.4 62.3 51.5 63.9 60.5
19 Steam flow, kg/h 230 4.74 4.90 5.34 6.87 5.11 5.59
20 Comp work, kW 341 278.9 274.7 272.6 263.2 271.17 293.2
21 Reac cool temp, °C 94.6 102.4 108.6 101.9 96.6 108.5 100.6
22 Cond cool temp, °C 77.3 92.0 91.6 45.0 73.5 89.8 45.7
23 Feed %A, mol% 32.19 32.21 34.82 29.46 35.40 34.78 29.99
24 Feed %B, mol% 8.89 14.93 8.18 27.74 8.78 7.85 26.34
25 Feed %C, mol% 26.38 18.75 19.43 17.97 22.36 19.54 18.80
26 Feed %D, mol% 6.88 6.03 1.20 12.68 7.95 1.24 13.23
27 Feed %E, mol% 18.78 16.71 25.47 3.86 17.01 26.03 3.91
28 Feed %F, mol% 1.66 4.04 5.60 1.29 3.88 5.60 1.33
29 Purge %A, mol% 32.96 32.73 36.63 27.86 40.94 36.71 28.61
30 Purge %B, mol% 13.82 21.83 11.77 45.07 15.90 11.47 44.41
31 Purge %C, mol% 23.98 13.11 14.63 9.22 15.68 14.57 9.76
32 Purge %D, mol% 1.26 0.90 0.13 2.18 0.68 0.13 2.09
33 Purge %E, mol% 18.58 16.19 22.37 3.94 15.41 22.92 4.00
34 Purge %F, mol% 2.26 5.39 7.37 1.82 5.72 7.44 1.91
35 Purge %G, mol% 4.84 6.62 1.32 9.40 3.85 1.26 8.76
36 Purge %H, mol% 2.30 3.23 5.79 0.50 1.82 5.51 0.46
37 Product %D, mol% 0.02 0.01 0.00 0.03 0.02 0.00 0.03
38 Product %E, mol% 0.84 0.58 0.92 0.16 1.21 1.01 0.18
39 Product %F, mol% 0.01 0.19 0.29 0.07 0.04 0.32 0.08
40 Product %G, mol% 53.72 53.83 11.66 90.09 53.35 11.65 90.07
41 Product %H, mol% 43.83 43.91 85.64 8.17 43.52 85.53 8.16

150
7.2.2 Constraints and disturbances

The given process constraints are listed in Table 7.4. The high and low shutdown
limits are part of the plant's safety interlock system.

Table 7.4: Process operating constraints


Normal operating hmits Shut down hmits
Process variable Low High Low High
Reactor pressure none 2985 kPa none 3000 kPa
Reactor level 50% 100% 2.0m^ 24.0m3
ll.Sm^ 21.3m3
Reactor temperature none 150°C none 175°C
Separator level 30% 100% l.Om^ 12.0m=*
3.3m3 9.0m3
Stripper base level 30% 100% l.Om^ 8.0m^
3.5m3 6.6m^

There are 15 possible disturbances, listed in Table 7.5. EacU disturbance illustrates
a different aspect of operating tUe process.

Table 7.5: Process disturbances


Ref No. Description Signal type
IDV(l) A / C Feed Ratio, B Composition Constant (Stream 4) Step
IDV(2) B Composition, A/C Ratio Constant (Stream 4) Step
IDV(3) D Feed Temperature (Stream 2) Step
IDV(4) Reactor CooUng Water Inlet Temperature Step
IDV(5) Condenser CooUng Water Inlet Temperature Step
IDV(6) A Feed Loss (Stream 1) Step
IDV(7) C Header Pressure Loss Step
Reduced AvailabiUty (Stream 4)
IDV(8) A, B, C Feed Composition (Stream 4) Random
IDV(9) D Feed Temperature (Stream 2) Random
IDV(10 C Feed Temperature (Stream 4) Random
IDV(11 Reactor Cooling Water Inlet Temperature Random
IDV(12 Condenser Cooling Water Inlet Temperature Random
IDV(13 Reaction Kinetics Slow Drift
IDV(14 Reactor Cooling Water Valve Sticking
IDV(15 Condenser Cooling Water Valve Sticking

151
7.2.3 Operating cost function

In Downs and Vogel [11], the total operating costs are given by.

Costs = (Purge costs)(purge rate)+(product stream costs)(product rate)


+(compressor costs) (compressor work)+(steam costs) (steam rate)

$ fi
where purge cost is 7.5973- -, product stream cost is 0.1434 , compressor
kgmol kgmol
cost is 0.0536——-, and steam cost is 0.0318—.
kWh kg

7.3 Model Description


The steady-state energy balances of aU the units in the plants are provided in the
form of a Fortran program that accompanied the process flowsheet description. This
work assumes that the code is correct. Independently, this work has developed its
own Fortran code of the flowsheet based on explicit material and energy balances.
The output of this code was validated against the results of the original Downs and
Vogel Fortran program.

7.3.1 Assumptions
The assumptions provided are:

• The vapor phase species are assumed to behavior as ideal gases.

• The vapor-liquid equilibrium follows Raoult's Law,and tUe vapor pressure is


calculated by Antoine's equations [123].

The following is Raoult's law,

P = Py, = Prp.,x^ (7.2)

where P is the total pressure, Pyp^i is the saturated vapor pressure of component
i, and y, and xf are the mole fractions of component i in the vapor and liquid

152
phases, respectively. The general form for Antoine's equation is given by

B
P.p = e x p ( ^ A + ^ , ^ J (7.3)

where P^p is pressure (mmHg), and T is temperature (°C). The coefficients of


the Antoine's equations for the components of this system are listed in Table
7.6.

Table 7.6: Coefficients in the Antoine equation for condensible components


Component A B C
D 15.92 -1440 259.0
E 16.35 -2114 265.5
F 16.35 -2114 265.5
G 16.43 -2748 232.9
H 17.21 -3318 249.6

• All phases are well mixed.

• The rate of reactions are proportional to the partial pressures of the reactant
in each reaction.

• All reactions occur in tUe vapor pUase, and tUe rate of reactions are proportional
to tUe vapor volume in the reactor. Components A, B and C are insoluble in
aU liquid phases (non-condensible).

• Where hquid and vapor phases co-exist, vapor-liquid equihbrium is assumed.

• All components are in the vapor phase in the mixing zone.^

• The reactor agitator only affects the heat transfer coefficient.


^The mixing zone consists of five streams, i^i, F2, F3, F5, Fg, that comprise the reactor feed stream,
FQ. Well-mixedness is assumed in the mixing zone.

153
7.3.2 State-space formulation

A nonUnear state-space model is developed that has the form of Equation (2.1).
There are 38 states arranged as follows:

< = [iV.4,„ A^B,., . . . , NH,r, Tr, NA,S, NB,S, • • • , NH,S, Z,

NA,C, NB,C, . . . , NH,C, TC, A^^,., NB,V, . . . , NH,V, Ty, T,^r, Tc^s]

where Ni^r is the molar holdup (in Ibmole) of component i in the reactor; and Ni^s,
Ni^c, and A^j_„ are the molar holdups in the separator, stripper, and feed mixing zone,
respectively. The temperatures (°C) in the reactor, separator, stripper, and mixing
zone are Tr, T^, T^ and T^, respectively. The reactor and condenser cooling water
outlet temperatures ("C) are Tcwr and Tews, respectively. The number of control
degrees of freedom (manipulated variables) is 12, that is, the size of the vector of
manipulated variables is twelve pertaining to twelve control valves (see Figure 7.1).

7.3.3 Reactor system

The reactor is a CSTR, containing liquid and vapor phases, which are assumed
to be equilibrium. Heat generated by the four exothermic reactions is removed by a
heat exchanger (coils) in the reactor. The feed and the product streams of the reactor
are vapor streams. Eight component balances and an energy balances can be written
for the reactor.

- ^ = yifiPe - yaPj + J2^^^•^^•' i = A,B,...,H (7.4)

where yi^k is the mole fraction of component i in stream k, F^ is the molar flow rate
of stream k, Vij is the stoichiometric coefficient of component i in reaction j , and Rj
is the reaction rate of reaction j in the reactor (in Ibmole/h). An additional energy
balance equation is written for the cooUng water.

154
The four reaction rates are given as.

Pi = exp ( A ) Vv^rPZPS:rPD,r exp ' ^'


RT

E2_
R2 = exp {(^2) Vv,rPZP^rPE,r exp (-
RTj-
(7.5)
R3 = exp {(33) Vv,rPA,rPE,r CXp f -
RTy

RA = exp {(34) Vv,rPA,rPD,r CXp f - .A


RTr

where P^^^, i — A,B,...,H is the partial pressure of component i in reactor vapor


phase, Vi/^r is the vapor volume in the reactor, and exp (/?»), i = 1,2,3,4 are the
frequency factors koi- Note that Pi, i = 1,2,3,4 are not dimensionless and their
values are given in Table 7.7.

Table 7.7: Parameters in the reaction rate equations


Parameter Value
ai 1.1544
0.2 0.3735
/3i 31.5859536
/?2 3.00094014
/?3 53.4060443
/34 53.1414123
El 40000.0 cal/mole
E2 20000.0 cal/mole
Es 60000.0 cal/mole
EA 60000.0 cal/mole
R 1.987 cal/mole-K
Qrl -0.06899381054 Btu/lbmole
Qr2 -0.05 Btu/lbmole
Qr3 Not given, assumed to be 0
yalrA Not given, assumed to be 0

The energy balance for the reactor is given by,

dHr
hePe - hrPj + Rl{-Qr,) + R2{-Qr2) + Qur (7.6)
dt

155
where hk is the specific molar enthalpy of stream A; = 6, 7; Q ^ and Qr2 are the molar
heats of reaction for Reaction 1 and Reaction 2 (in Btu/lbmole), respectively; and
Qur is the heat transfer rate. The reactor enthalpy Hr can also be found from

H
Hr{Tr) = hr{Tr)Y,Nr,r (7.7)
i=D

where hr{Tr) is the specific molar enthalpy of the liquid mixture.


Since the material holdup in the vapor phase of the reactor is much smaller than
that in the liquid phase, the energy in the vapor phase is negligible. The reaction
rates of the product reactions are larger than those of the byproduct reactions. The
heat produced in the byproduct reactions is neghgible.
The log mean expression for heat transfer between the exchanger and the reactor
is given by [124]
(1 = U-^{Tout — Tin) ,- „x
'^"'- in[(T, - T„„,)/(r, - r,„)] ^'-^^
where Tout and Tj„ are the exit and entrance temperatures of the cooling water,
respectively. As a first approximation, quasi-steady state for the cooling water flow
rate is assumed since the time constant of the cooling water system is much faster
than that of the reactor. A steady-state energy balance on the cooling system is given

by

T —T
mcCpc{Tr - Tin) - rhcCpc{Tr - Tout) = UAy-j— ^ "1———j- (7.9)
ln[{lr — J-outJiyJ-T — J-inJl

where nic is the cooling water mass flow rate, and Cpc is the heat capacity of cooling
water. From Equation (7.9), it is not difficult to obtain

^'•-^'" expf^V (7.10)


Tr — Tout
out \ rUrG,
\''''c^~^pc

156
Substitution of the above into Equation (7.8) and using Equation (7.9) gives

UA
^jur ^TT'c'^pcy-'- out •'•in) — TTlfX^^
pc Tout -Tr-\r {Tr - Tout) e x p (7.11)

The last term can be approximated from a series solution of the exponential function.

UA UA
exp 1 +
nic^pc

Substitution of this approximation into Equation (7.11) gives

Qur ^ UA[lr — •lout)-

The heat transfer coefficient U is affected by the agitation rate and A is the contact
area.
The empirical relationship given for dimensionless agitator speed, Vag, is given by

Vag = XagCap + 1-5

where XagCap is the fraction of the maximum agitator capacity.


The empirical relationship provided for the product of the heat transfer coefficient,

U, and heat transfer area. A, is given by

1 Lr > QO%Lr,tot

UA= < 0 Lr < lO%Lr,tot

0.85549(0.025yL,r/7.8 - 0.25){-0.5vlg + 2.75vag - 2.5) o.w.

where Lr is the hquid level and Lr^tot is the maximum feasible liquid level of the

reactor.
The following empirical equations are provided to calculate tUe specific molar

157
enthalpy of the mixture,

H
hu,{T) = Y, x{i)MWi {^^{i)T + BH(i)TV2 + C\[{i)T^/2,)
i=A
(7.12)
H
huap{T) = Y^ y{i^MWi {kG{i)T + B G ( Z ) T V 2 + C G ( 0 T V 3 + AV(z))
i=A

where x{i) and y{i) are the mole fractions of component i in the liquid and vapor
phases, respectively and MWi is the molecular weight of component i. The coefficients
of the above polynomials in T are provided. Substitution of Equation (7.12) into
Equation (7.7) gives

H H

Hr^Y ^^'^ Yl ^r{i)MWi (AH(i)r, + BE{i)T^/2 + CK{i)T^/3)


i=D ! = /i

Taking the total derivative of the above equation in accordance with the left hand
side of Equation (7.6) gives

dHr ^ dN, "


= E ^ E ^r{i)MW^ (AH(z)T, + BH(z)r,V2 + CH(z)r,V3)
dt ^^ dt ^
i=D i=A
H H dTr
+ J2 ^^^r E Xr{^)M^^{^^{^ + BH(i)T, + CH(z)r2) (7.13)
\=D i=A
H H dxr{i)
Y Ni,r E ^ ^ ' {^^{^)Tr + BH(2)r2/2 + CH(z)r,V3)
+ dt
i=D i=A

Ni_
For the condensible species, Xr{i) = -^—'—, i = D,... ,H. Thus,
E Nj,r
j=D

H H
( \ dJ^\-N- -N ( T ^
dxr{i) d Ni. j=D j=D
(7.14)
dt ^ dt
. E Nj,r , (E^Vi.)^

158
Define
H
Cpr = 'Y^r{i)M\\]{kE{i) + BH(z)r, + C}i{i)T^)
i=A

is the specific molar heat capacity of liquid mixture in the reactor. Substituting
Equations (7.13), and (7.14) into Equation (7.6) gives

TT rj

h,F, - h,Fr + Rl{-Qr,) + R2{-Qr,) + Q u r - t ^ K - V A^., ^ ^ ^


dTr _ i=D "f ^^jj ^^J-, ^rKl-) 0.1
~dt I ^
^pr 2—1 ^^i,r
i=D

(7.15)
where, /i^.t is the specific molar enthalpy of component i in liquid mixture in the
reactor. Note that for components D to H, the term Ni^r refers to the number of
moles in the liquid phase only. Accumulation of these components in the vapor phase
is assumed negligible.
The hquid volume, Vi,_r, of the reactor can be found from
H
ZN^,r
V - '=^
yL,r — Pliq^ry^'r )

where piiq,r{Tr) is the density of the liquid in the reactor. By difference, the vapor
volume, VV,r, can be determined from

Vv,r = Vr- VL,r.

The densities of the liquid in the reactor, the separator, and the stripper are deter-
mined from the empirical equation,

_ (^ x{t)MW. \"' ^g.


AD(i)+BD(z)r + CD(i)T2
.i=A

Equations (7.2) and (7.3) are used to calculate the vapor pressures and partial

159
pressures for components D to H. The ideal gas law is used to calculate the partial
pressures for the non-condensibles A, B, and C,

Pi.r = Z^^" i = A,B, C. (7.17)


Vv,r

The total pressure in the vapor phase is found from the summation of the partial
pressures,
H
Pr = J]P»,r- (7.18)
i=A

The mole fraction of component i in the vapor phase can be calculated from a ratio
of the partial pressure and total pressure,

y(0 = ^ i = A,...,H. (7.19)

The reactor input and output streams, FQ and F-j (see Figure 7.1) are proportional
to the square root of the pressure difference at the inlet and outlet of the reactor.

Pe = 1 9 3 7 . 6 ^ ^ ^ ^ Pr = 4574.21 ^ ^ ^ ^ ^
MWSf, MWS7

where P„ and P, are the pressures in the mixing zone and separator, respectively.
The term MWSi is the mixture molecular weight of stream i determined from

MWSi = Y<J^^)^^J i = l,.. ,11


3=A

where x{j, i) is the mole fraction of component j in stream i.


The energy balance on the cooling water system is given by

CpcPcVcool^ = CpcPc{T^n - Tout)Fu,r - Qur (7-20)

where pc is mole density of the coohng water; Vcooi is the cooUng water system volume;

160
and Fwr is the cooling water flow rate, which is a function of valve position.
Equations (7.4), (7.15), and (7.20) represent the nonlinear dynamic model of the
reactor system.

7.3.4 Separation system

The separation system includes the separator, condenser, and compressor. The
separator model is similar to the reactor model, but without any chemical reactions.
The component balances are:

dNis
—^ = yijF? - yz^Es - yi,9F9 - Xi^wFio, i = A,B,...,H. (7.21)

The energy balance is:

H H
h,F, - hsEs - h,F, - hioFio -Wc + Qus-E ^ h - T N,,s T - ^ ^
dTs _ i=D at ^ ~f)^s{}) at
~dt ~ '- ^
Cps E iv..
i=D
Qus ^ UAs\lout,s — •'•stj)

(7.22)
where Wc is the power of the compressor, Qus is the energy transferred between the
condenser cooling water system and stream 7, Tgtj is the temperature of stream 7,
and Tout,s is the exit temperature of the condenser coohng water The product of the
heat transfer coefficient and heat transfer area is given by
UA, = 0.404655(1.0 - 1.0/(1.0 + (P7/3528.73)^)).

161
The exit streams flow rates are functions of the pressure differences,

P^ = ((1 - n ^ ) ( 1 0 - iy/) - 53.3A9x,VPr^ /MWSs

FQ = 0.151169x6^^, - Po/MWS^

Pio = 1500x7/100

where Po is the pressure of a standard atmosphere.

The empirical equation to calculate the work done by the compressor (compressor
characteristic curve fit) is given as

('-i^)('-°-(gm(n-p.)
MWSsP.

The energy balance in the condenser is given by

''-^ peps''cool TT '^pcPsy^' in,s •>• out,s}^ ws ^us V' '^j

where ps is mole density of the cooling water in condenser, Vcooi is the cooler volume,
and Fuis is the cooling water flow rate, which is a function of valve position.
The Antoine equation, ideal gas law, and Raoult's law are used to calculate the
components in the liquid and vapor pUases, partial pressures, and Uquid levels. Equa-
tions (7.21) to (7.23) represent the nonhnear dynamic model of the separator system.

7.3.5 Stripper
The information about the stripper model is perhaps the weakest point in the TE
description. The component balances for the splitter are given by

^ = yrAFA + x,,ioPio - y^,f>F^ - x.^nFu i = A,B,...,H (7.24)


at

162
and
H
P5 = 5]]$,(y,,4p4 + x,,ioPio)
i=A

where $ j , j = A , . . . , / / are the components splits for the exiting vapor stream (stream
5). Nominal values of the component splits are given in Table 7.8.

Table 7.8: Nominal values of stripper splits for the exiting vapor stream.
^A ^B ^c ^D ^E $F $G $H
0.995 0.991 0.990 0.916 0.936 0.938 0.058 0.030

Empirical equations are provided to determine the splits for components D to H


as a function of the stripper temperature and the flow rates of streams 4 and 10, if
the flow rate of stream 10 is bigger than 0.1 Ibmol/h.

8.5010(P4/Pio)/r,
1 + 8.5010(P4/PIO)/T.

11.402(P4/Pio)/r.
$£ = (7.25)
l + 11.402(P4/Pio)/r.
11.795(P4/Pio)/r,
$F =
1 + 11.795(P4/PIO)/T.

0.0480(P4/Pio)/r.
$G = 1 + 0.0480(P4/PIO)/T.

0.0242(P4/Pio)/r,
1 + 0.0242(P4/Pio)/r.
where the function fr^

Tr - 120.262 Te > 170°C

Tr < 5 . 2 9 2 ° C
fn = { 0.1
363.744
-2.22579488 o.w.
I 177 - Tc

163
The energy balance is given by

hAFA + hioFio - hP, - hiiFii + Quc-T ^ h c - E A^.c E ^ ^


•^ dt ^-^ ^-^ Xc(i) dt
dt H
P^ / J ^^i,c
i=D

(7.26)
where Que is the energy supplied to the stripper by steam.

Que = UAc{lOO - Tc) Tc > 100°C.

If the temperature in the stripper is greater than 100°C, there will be no beat transfer.
Equations (7.24) and (7.26) represent the nonlinear dynamic model of the stripper.

7.3.6 Mixing zone


In the T E flow sheet, there is no mixer unit operation. By the mixing zone, it
is meant a fictitious point where five gas streams. Pi, P2,P3, p5,p8, are mixed prior
to becoming the feed to the reactor (stream Pg). The condition of well-mixedness is
assumed in the mixing zone.
The component and energy balances are given by

^ = y^,lFl+y^,2F2 + y^,3Fs + y^,,Fs (7.27)


at
+yi,sFs - yzfiFe, i = A,B,...,H (7.28)

^ = (cpuY^i^v) {hiFi + h2F2 + h3F3 + KF, (7.29)

I. 7- ^dN^vu V^/\r v ^ hy,i dyy{i)\


+/.8F8-/.eFa-E-^^^-E^-E^^r • ^^-^^^
i=A i=A i=A ^' /
Table 7.9 provides the definitions of the notation used in the models.

164
Table 7.9: Nomenclature in TE process
AD(i), BD(i), CD(i) i = A , . . . ,H Coefficients in density formulation
AH(i), BH(i), CH(i) i = A , . . . ,H Coefficients in liquid entUalpy formulation
AG(i), BG(i), CG(i),AV(i) i=A,. . ,H Coefficients in vapor enthalpy formulation
'-'pc Btu/lbmole.K Cooling water heat capacity
r Btu/lbmole.K Spec, molar heat cap. of hq. mix. in reac.
'—'pr
'-'ps Btu/lbmole.K Spec, molar heat cap. of hq. mix. in sepa.
'-'pc Btu/lbmole.K Spec, molar heat cap. of liq. mix. in strip.
^pv Btu/lbmole.K Spec, molar heat cap. of gas mix. in mix.
E„ 1 = 1,...,4 cal/mole Activation energy of reaction i
F Ibmole/hr Flow rate of stream i
F Ibmole/hr Flow rate of cooling water
-^ wr
Hr Btu Enthalpy in reactor
M\V, g/lbmol Molecular weight of comp. i
MWS, g/lbmol Molecular weight of stream i
N^,c Ibmole Mole numbers of comp. i in strip.
N- Ibmole Mole numbers of component i in reactor
N^,s Ibmole Mole numbers of component i in separator
N- Ibmole Mole numbers of component i in mixing zone
P mmHg Pressure
Po mmHg Atmospheric pressure
Pr mmHg Pressure in reactor
Ps mmHg Pressure in separator
Pv mmHg Pressure in mixing zone
p. mmHg Partial pressure of component i in reac.
P . mmHg Vapor pressure
Q r l , Qr2 Btu/lbmole Molar heat of reaction for reaction 1 and 2
^/uc Btu/hr Energy added to the stripper by steam
v^ur Btu/hr Energy removed from the reac. by cool, water
'^us Btu/hr Energy removed from str. 7 by cool, water
T °C Temperature in stripper
->• c
T "C Outlet cooling water temperature in reac.
-*• cwr
T °C Outlet cooUng water temperature in sepa.

165
Table 7.9 Continued
Tin °C Inlet temperature of reactor cooling water
Tfc K 273.15
Tout "C Outlet temperature of reactor cooling water
Tr °C Temperature in reactor
Ts °C Temperature in separator
Tst.i °C Temperature of stream i, i = l , . . . ,11
Ty °C Temperature in mixing zone
UA Btu/K.Ur Product of Ueat transfer coefficient and area
VL^T ft^ Liquid volume in reactor
Vy^r ft'^ Vapor volume in reactor
Vcooi ft^ Cooler volume
Wc Btu/Ur Power of compressor
XMV(i) % Value position, i = l , . . . ,11
XMV(12) % Agitator speed
fj.^ Temperature factor of the split fraction
hj Btu/lbmole specific molar enthalpy in stream j
he Btu/lbmole specific molar enthalpy in stripper
hr Btu/lbmole specific molar enthalpy in reactor
hs Btu/lbmole specific molar enthalpy in separator
hy Btu/lbmole specific molar enthalpy in mixing zone
The kg/hr Cooling water mass flow rate
V Dimensionless agitator speed
x{i) Mole fraction of component i in the hquid
x^ Mole fraction in reactor
X States of the state space model
y(i\ Mole fraction in of component i in the vapor
y Vector of outputs of the TE plant
$, Spht fraction for component i,i = A,...,H
Q,^ Q;2 Coefficients in reaction rate
^ j ^ ^2, [33 Coeflncients in reaction rate
p^' ' Ibmole/ft^ Cooling water molar density in reactor cooUng system
p^ Ibmole/ft^ CooUng water molar density in condenser
piiq Ibmole/ft^ Liquid mixture density
y. Valve position, z = 1,2,..., 11
^ ^ Fraction of tUe maximum agitator capacity
JiagCap ^ ^

166
7.4 System Analysis and Control Strategy
In this work, the model predictive control framework based on multiple linear
models is used to control the TE process. The linear models can be obtained by lin-
earization of the nonlinear model, given in the previous section, at the known steady-
state operating points. A numerical Jacobian derivative (MATLAB(g)/SIMULINK
routine LINMOD) was used to linearize the nonlinear model.
The linearized model obtained has the form

X = Ax -{- Bu
y = Cx + Du (7.31)
x = Xp-x y = yp-yp u = Up-u

where x, yp and u are the steady state values of Xp, yp and Up, respectively; A is the
Jacobian {S/xJ) with respect to the states; B is the Jacobian {VuJ) with respect
to the manipulated variables; and G and D are found from the hnearization of the
measurement equation with respect to the states and the manipulated variables.
If one hnearized the model provided by previous section at the base-case steady-
state conditions, an eigenvalue analysis of the dynamic matrix that results from the
linearized model at tUe base case steady-state conditions reveals a range of eigenvalues
from -1968 to 3.11. Further analysis find that the positive eigenvalues result from the
three level loops and the reactor temperature.
To stabiUze the system, three single-input single-output (SISO) proportional-
integral (PI) feedback controllers are tuned to control tUe level loops. The loop
pairs, conrtoUed to manipulated variables, are as follows:

• Reactor liquid level is controlled using the D feed (stream 2) valve.

• Separator liquid level is controlled using the separator effluent (stream 10) valve.

• Stripper bottoms liquid level is controlled using the stripper effluent (stream
11, same as the product stream) valve.

167
It IS reasonable to use the cooling water valve to control the reactor temperature;
its location provides rapid response to thermal disturbances [113]. Within the MPC
control strategy, the set point of the reactor temperature becomes a controlled vari-
able, thus new set points are provided by the MPC controUer to the PI controller.
The role of the PI controller is to manipulate the valve position (ultimately the flow
rate) to compensate for errors between the measured process variable, the reactor
temperature, and the set point of the reactor temperature.
The tuning parameters for SISO level loops and reactor temperature loop are
listed in Table 7.10.

Table 7.10: Tuning parameters for SISO level loops and reactor temperature
Controlled variable Manipulated variable Controller gain Integral time, hr
Reactor temp (°C) Reactor coolant -0.5%/°C i
Reactor level (%) D feed flow 4%/% 1
Separator level (%) Separ. underflow -5%/% 1
Stripper level (%) Strip, underflow -1.5%/% 1

In order to obtain a linear model for tUe MPC strategy, the nonhnear model
(plant) was changed to include four closed-loops, the reactor temperature, and the
three level loops. Compared with the 38-state nonhnear model, the modified nonlinear
model eliminates two dynamic equations with respect to the reactor temperature and
reactor cooling water outlet temperature (36 states). An eigenvalue analysis of the
dynamic matrix of this 36-state linearized model at the base case steady-state shows
the presence of three near-zero eigenvalues.
There are two approaches to obtain a stable linear model. The first is to lin-
earize the model with the three level loops under closed-loop control. The second
is to hnearize the 38-state nonlinear model plus three additional states that repre-
sent the three controlled level loops. The latter approach is adopted in this work.
In [56], Ricker recommends the latter approach, because in the former approach the
characteristics of the embedded PI loops result in large steady-state offsets.
At the three operating points (mode 0 (base case): 50/50, mode 2: 10/90, and

168
mode 3: 90/10) in Table 7.3, the eigenvalues of the three resulting hnear dynamic
matrices are all negative. It is observed that the reactor pressure responds instantly to
changes in the reactor temperature because temperature affects the vapor pressures
of each component. Thus, there is one non-zero element in the D matrix in the
measurement equation. The D matrix may be interpreted as the pass-through matrix
or that matrix that transfers the effect of the inputs onto the outputs bypassing the
dynamic matrix. The MPC formulation requires that there is no any pass-through
inputs. Following tUe approach proposed in [56], an independent, linear first-order
filter with unity filter gain and a time constant of l/300h is introduced to filter the
pressure measurement. When the filter is combined with the above linear model, the
number of the states increases by one.

7.4.1 Cascade MPC control framework


In section 7.2.1, it was pointed out that the plant has twelve control degrees of
freedom. The variables XMV(l), XMV(7), and XMV(8) are used to control the three
levels. Because the agitator speed (XMV(12)) only affects the energy transfer of the
reactor system, it is intuitive that the agitator speed be set to its maximum value.
That is, the higher the speed the greater the heat transfer. This was also confirmed
by the study of [56]. In the study of Luyben and coworkers, a different strategy was
proposed for the agitator speed [113].
It is reasonable to manipulate the reactor cooling water flow rate (the valve po-
sition XMV(IO)) to regulate the reactor temperature (see discussion above). The
product ratio G/H from the reactions can be controlled with a ratio of the E feed
to D feed (XMV(2) and XMV(l)) rates (only one degree of freedom is assigned for
G/H ratio control). This requires that either the product G or H compositions be
measured. There are six remaining unassigned control degrees of freedom.
Table 7.3 lists 41 measurements, Uowever, in reaUty, analyzer measurements (nine-
teen of them) are neither timely nor dependable. Assume that the G product com-
position is available for product purity control (equivalent to control G/H ratio) and

169
A composition in purge is available for operating cost control (One degree of freedom
is removed by not assigned. There are five remaining.), and that the other seventeen
analyzer measurements are removed. Then, twenty-two measurements remain, but
only nine of these can be controlled because there are nine control degrees of free-
dom remain. Of the twenty-two, eight are assigned as manipulated variables, leaving
fourteen. From the fourteen, only five can be selected as controlled variables because
there are five available degrees of freedom. The five variables that are selected to be
controlled are: reactor pressure, separator temperature, separator pressure, stripper
pressure, and stripper temperature.

Figure 7.2 shows the control strategy for the TE process.

Figure 7.2: Cascade MPC control framework. V^: three hquid level set points, Y*:
the measurement set points, Ui: manipulated variables from PI level control loops,
UQ: manipulated variables from MPC, T*: the reactor temperature set point given by
MPC.

7.4.2 MPC controller parameters


The selection of MPC parameters need not be optimal but they should follow tUe
general MPC design rules. In this simulation, the prediction horizon is chosen to be
P = 10, and the moving horizon to be M = 4. Equal weights among the inputs and
among the outputs are chosen, implying no preference among the outputs and no

170
excessive penalty on the inputs. The lower and upper bounds on the inputs are their
physical valve position bounds (1% ~ 100%). The reactor temperature set point (a
controlled variable) is confined to the range (110°C ~ 130°C). In this simulation,
50% change is allowable for valve position, and WC for temperature set point change
at each sample time.

7.5 Disturbance Rejection with Multiple Fixed Models and MPC


Most of the disturbances listed in Table 7.5 can be compensated by first closing
the three level loops and using reactor cooling water to control reactor temperature.
It is weU recognized that disturbance IDV(6), A feed loss is a disturbance that is
very difficult to compensate in almost all of tUe proposed control strategies in tUe
open literature. It will be shown that a loss of the A feed can be compensated
satisfactorily by using multiple models and the MPC control framework. The fixed
models are obtained by hnearization of the nonlinear TE model as described in section
7.4. The number of states of each linearized model at each mode is 40. MPC design
will be based on these fixed models.

An MPC framework based on one fixed model identified at mode 3 is proposed


to reject the A feed loss disturbance. The closed-loop simulation results (not shown)
show that this simple structure cannot regulate this system in the face of this distur-
bance. An alternative is to use three fixed models and allow model switcUing based
on a performance index function (see Equation (4.6)) wUere user-specified parameters
/i and v are selected to be 1 and 0, respectively.
For convenience, tUe performance index function is re-stated here,

Jj{t) = fx\\Yjf + U f \\Yjf{T)dT, p,u>0


0

where Yj is the plant/model mismatch for model j . Figures 7.3 to 7.6 show the
closed-loop responses and control actions when there is an A feed loss disturbance at

171
mode 3. It is found that the system approaches a steady state that is not the original
mode 3. To maintain the desired production rate, the A+C feed (stream 4) needs
to be increased, which is shown in the top right panel of Figure 7.6. An increase in
A + C feed rate causes an increase in the pressure. This in turn results in an increase
in the purge rate. The bottom right panel in Figure 7.5 shows that the purge valve
is wide open in an attempt to stabihze the pressure.
The product rate, middle left panel in Figure 7.6, shows a decrease. The rate of
decrease is ~ 4.25%, which is an improvement when compared to the solution given
in McAvoy and Ye [112]. There the production rate set point is decreased by 23.8%.
It is noticed when observing the graph of the operating costs, bottom left panel in
Figure 7.6, the operating costs have increased seven times. If the cost is included in
the objective function of the controller optimization, a better result may be found.
The graph in the bottom right panel of Figure 7.6 shows that the fixed model at mode
2 is selected to be the final model of choice when there is a loss of A feed.
It is not surprising that the MPC controller strategy based on fixed models, one
eacU for 50/50, 10/90 and 90/10 operating condition cannot reject the IDV(6) dis-
turbance. The process is highly nonhnear with multiple interactions and constraints
on the manipulated variables.

172
20 30 20 30
Time [hr] Time [hr]

Figure 7.3: Multiple fixed models and MPC control for disturbance IDV(6)- A feed
loss. Top panel: Reactor pressure and reactor level. Middle panel: stripper level
and separator temperature. Bottom panel: separator pressure and separator level.
Dashed line represents tUe steady state value at mode 3.

173
20 30
Time [hr]

Figure 7.4: Multiple fixed models and MPC control for disturbance IDV(6)- A feed
loss. Top panel: Stripper pressure and stripper temperature. Middle panel: E feed
valve and mole percent of A in tUe purge. Bottom panel: D feed valve and mole
percent of G in the product. Dashed line represents the steady state value at mode
3.

174
20 30 20 30
Time [hr] Time [hr]

Figure 7.5: Multiple fixed models and MPC control for disturbance IDV(6)- A feed
loss. Top panel: A feed valve and A + C feed valve. Middle panel: stripper liquid
product valve and compressor recycle valve. Bottom panel: separator hquid valve
and purge valve.

175
20 30
Time [hr]

Figure 7.6: Multiple fixed models and MPC control for disturbance IDV(6)- A feed
loss. Top panel: stripper steam valve and reactor cooling water valve. Middle panel:
product fiow rate and condenser cooling water valve. Bottom panel: operating costs
and model switching strategy. Dashed line represents the steady state value at mode
3.

176
7.6 Transition Control with Multiple Fixed Models and MPC
7.6.1 Transition from mode 0 to mode 2

The T E process is required to operate at seven different modes of process operation


at three different G/H mass ratio product grades (see Table 7.1). In this work three
are investigated for transition control: base case (mode 0), 10/90 (mode 2), and 90/10
(mode 3). In this section, transition control will be demonstrated from mode 0 to
mode 2. The reference trajectories of the controlled variables are cUosen to be first
order responses. TUe selection of the reference trajectories is not based on minimizing
the operational costs, but rather to permit stable and fast transitions.
From Figure 7.7, it is observed that the responses of the reactor, separator and
stripper pressures are satisfactory. However, the convergence of separator tempera-
ture and stripper temperature is not as fast as those pressures, but the offset is small
( < 1°C), which is acceptable. The mole percent of G in product, left middle panel,
shows that the controller can achieve the desired product ratio smoothly and in finite
time (~ 8 hours).
Figure 7.8 shows the control actions during the transition. The graphs in the top
panel show the D and E valve positions. The D feed valve equihbrates at 14%, while
the E feed valve is ~ 99% percent open. The A feed valve, right middle panel, is
changed between 17% and 47% smoothly. After the transition, the A+C feed rate,
the separator liquid flow rate, and the stripper liquid product flow rate return to their
operating values at mode 0 (before transition). The transition control from mode 0
to mode 2 based on multiple-model based control is satisfactory.

177
Time [hr] Time [hr]

Figure 7.7: Transition control from mode 0 to mode 2. Top panel: reactor pressure
and separator temperature. Middle panel: mole percent of G in the product and
the separator pressure. Bottom panel: stripper temperature and stripper pressure.
Dashed line represents the reference trajectory.

178
Time [hr]

Figure 7.8: Transition control from mode 0 to mode 2. Top panel: D feed flow valve
and E feed flow valve. Middle panel: stripper liquid product flow valve and A feed
flow valve. Bottom panel: separator product valve position and A+C feed flow valve.

179
7.6.2 Transition from mode 0 to mode 2 to mode 3

Here, the objective is to reahze transition from mode 0 (base case) to mode 2, to
mode 3 (G/H ratio from 50/50 -^ 10/90 -^ 90/10). Most of the control solutions
that appear in the open literature indicate tUat repeated transitions are very difficult
to accomplish.

Performance results using multiple fixed models in a state-shared MPC structure


show satisfactory results. Figure 7.9 gives the closed-loop responses of the controlled
variables. As in the previous transition, satisfactory pressure control is not difficult
to achieve. In the top right panel, the stripper temperature graph shows some oscil-
lations but the trend of the response is to track the reference trajectory. The mole
percent of G in product, left middle panel shows a larger tracking error when the
system transitions from mode 2 to mode 3 when compared to the transition from
mode 0 to mode 2. The possible explanation is that the reference trajectory from
mode 2 to 3 is very steep. Future work will consider how to find an optimal reference
trajectory.
In Figure 7.10, the graphs in the top panel show that the D feed flow rate first
decreases and then increases, while the E feed flow rate goes through an opposite
change. Recall that the E feed and D feed are used in a ratio block to maintain
product purity. When in transition, the calculated E feed control action may be
greater than the allowable upper limit (100% physical valve position). As seen in the
top right panel, the E valve position is at the upper limit (clamped).
It is observed in bottom left panel, that when the system transitions to mode 2,
the compressor recycle valve is almost closed. The opposite response occurs during
the transition to mode 3 (there is vapor more to recycle). Additionally at mode 2,
the purge rate is greater than at mode 3. From the deflnition of the cost function
(Equation (7.1)), the purge rate has a dominant effect on operating costs. This is
why the purge valve position curve has a similar trend as the cost curve.
The right middle panel of Figure 7.11 shows that the final state of the stripper
steam valve steam valve is closed. This means that no additional heat transfer is

180
needed at mode 3. It is observed that the reactor temperature set point, bottom
right panel, is limited to a narrow range as the transitions are made. Further, in
the bottom left panel, the condenser cooling water valve position is increased, which
causes a decrease in the separator temperature ( Figure 7.9 bottom left panel). It
is interesting to analyze the accompanying operating cost curve. The operating cost
(left middle panel) at mode 0 is about 165 $/hr, at mode 2, the cost reaches its
height peak of 320 $/hr, then decreases to a value of 60 $/hr at time 36 hours before
increasing as the purge rate increases. Simulation results show that the purge rate
settles to a new value at a much slower rate than the other variables.

7.6.3 Transition from mode 0 to mode 2 to mode 3 with noise


It is inevitable that noise is a part of the measurement and/or input signals. The
results in this section show the closed-loop response under MPC control in the the
presence of measurement noise. White noise with zero mean and 5 kPa variation are
added to the three measured pressures and white noise with zeros mean and 2 °C
variation is added to the temperature measurements. The closed-loop responses are
shown in Figure 7.12.
Noise is also added to aU the inputs such that a signal-to-noise ratio (SNR) of 100 is
introduced. The responses are shown in Figure 7.13. The closed-loop responses show
that noise serves to make the temperatures and pressures osciUate but has neghgible
effect on product purity.

181
rv
Time [hr]

60 75
20 30 40 50 60

£3100

30 40 30 40
Time [hr] Time [hr]

Figure 7.9: Transition control from mode 0 to mode 2 to mode 3. Top panel: reactor
pressure and separator temperature. Middle panel: mole percent of G in the product
and separator pressure. Bottom panel: stripper temperature and stripper pressure.
Dashed line represents the reference trajectory.

182
20 30 40
Time [hr]

Figure 7.10: Transition control from mode 0 to mode 2 to mode 3. Top panel: D feed
flow valve and E feed flow valve. Middle panel: purge valve and A feed flow valve.
Bottom panel: compressor recycle valve and A+C feed flow valve.

183
Figure 7.11: Transition control from mode 0 to mode 2 to mode 3. Top panel:
separator bottoms liquid flow valve and stripper liquid product flow valve. Middle
panel: operating cost and stripper steam valve. Bottom panel: condenser coohng
water valve and reactor temperature set point.

184
Figure 7.12: Transition control from mode 0 to mode 2 to mode 3 with measure-
ment noise. Top panel: reactor pressure and separator temperature. Middle panel:
mole percent of G in the product and separator pressure. Bottom panel: stripper
temperature and stripper pressure. Dashed hne represents the reference trajectory.

185
Figure 7.13: Transition control from mode 0 to mode 2 to mode 3 with SNR=100
input noise. Top panel: reactor pressure and separator temperature. Middle panel:
mole percent of G in the product and separator pressure. Bottom panel: stripper
temperature and stripper pressure. Dashed line represents the reference trajectory.

186
7.7 Transition Control with MPC in State-shared Model Framework
In this section, the MPC controller is designed using the state-shared model frame-
work. The state-shared model is developed using three fixed models, identified at the
three modes studied, and one re-initialized adaptive model. At any unknown operat-
ing point, an input/output description can be obtained by adapting the coefficients of
the measurement equation in the state-shared model. The state-shared model is itself
a continuous high order non-minimal realization of a set of input/output descriptions.
These descriptions can be transformed to a matrix fraction description (MFD) using
the methods provided by [9] (also see Chapter 2, equation (2.9)). The order of the de-
nominator of MFD form of the transfer function is 40 (n=40). Using reahzation, the
MFD can be transformed into a controllable canonical form, which is recommended
for the state-shared approach. The order of this realization is 200 for 5 input/output
pairs (m=5). The transfer function can also be realized in a state-sUared model form,
the order of the state-shared model is 400 {2mn = 2 x 40 x 5 = 400). The total
adaptable parameter number is 1040 {n{m'^ + 1) = 40 x (5^ + 1)=1040).

For implementation purposes, it is desirable to keep the order of the model used
in the MPC structure as low as possible. The first step is to reduce the number of
input/output pairs. Since the agitator speed, XMV(12), only affects the heat transfer
coefficient in the reactor, it is set to a constant value. Thus, one control degree of
freedom is eliminated. The manipulated variables XMV(l) (D feed valve), XMV(7)
(separator bottoms valve), and XMV(8) (stripper bottoms valve) are expended to
control the three levels (reactor, separator, and stripper). From mode 0 to mode 2,
the set points of separator and stripper levels are keep constant (50%), however, the
reactor level changes from 75% to 65%. A first-order reference trajectory is chosen
as the reactor level set points to transition from 75% to 65% smoothly. Since mode
2 is obtained at minimum costs, it is reasonable to set the compressor bypass valve
XMV(5) and the steam valve XMV(9) to be closed. In this work, two first-order
reference trajectories are chosen to permit XMV(5) and XMV(9) to close smoothly
when the system transitions from mode 0 to mode 2, respectively. This dispenses

187
with two more control degrees of freedom.

The ratio of XMV(l) and XMV(2) (E feed valve) is also used to control the
product ratio (or equivalently the mole percent of G in product). The remain five
control degrees of freedom: XMV(3), XMV(4), XMV(6), T ; , and XMV(ll) are used
to control 5 controlled variables: reactor pressure, separator temperature, separator
pressure, stripper pressure, and stripper temperature.
As before, the prediction horizon is chosen to be P = 10, and the moving horizon
to be M = 4. Equal weights among the inputs and among the outputs are aslo chosen,
but the weights among the outputs are reduced by one half as compared with those in
the multiple fixed models and MPC framework. The lower and upper bounds on the
inputs are their physical valve position bounds (0 to 100%). The reactor temperature
set point (a controlled variable) is confined to the range 110°C to 130°C. In this work,
a 50% change is allowed for the valve positions and 10°C for temperature set point
change at each sample time.
Figures 7.14-7.16 show the closed-loop responses and control actions when the
system transition form mode 0 to mode 2 with the state-shared model-predictive
controller (SSMPC). It is observed that the responses of the reactor, separator and
stripper pressures are satisfactory. The graph of the mole percent of G in the product,
the bottom panel of Figure 7.15, shows the product ratio change is smooth and at
7.5 hours after the initial request for a transition, it reaches its set point of mode
2. The control actions are smooth when compared with those in Figure 7.8. In the
latter, the control actions are more aggressive. In particular, it is observed that the E
feed valve changes aggressively and is clamped at its upper bound when conventional
MPC with multiple fixed models is used. However, with SSMPC, the E feed valve
changes smoothly and never reaches its upper bound.
The right bottom panel in Figure 7.16 shows the model switching strategy. The
model used by the SSMPC is almost always based on the adaptive model (re-initiahzed),
which means that the adaptation does provide the most accurate model when com-
pared to the fixed models.

188
^90
o
y' ^-^"'^
t!! / ^y
^85
V /f
1 1

"'80

Time [hr]

Time [hr] Time [hr]

Figure 7.14: Transition control from mode 0 to mode 2 with state-shared-MPC. Top
panel: reactor pressure and separator temperature. Middle panel: separator pressure
and stripper pressure. Bottom panel: stripper temperature and E feed valve position.
Dashed hne represents the reference trajectory.

189
Time [hr] Time [hr]

1: fixed model 1
2: fixed model 2
3: fixed model 3
4: re-initialized adaptive model

Time [hr] Time [hr]

Figure 7.15: Transition control from mode 0 to mode 2 with state-shared-MPC. Top
panel: A feed valve and A+C feed valve. Middle panel: purge valve and condenser
cooling water valve. Bottom panel: mole percent of G in product and model switching.
Dashed line represents the reference trajectory.

190
Time [hr] Time [hr]

Figure 7.16: PI control loops in transition control from mode 0 to mode 2 with state-
shared-MPC. Top panel: Reactor level and D feed valve. Middle panel: separator
level and separator liquid valve. Bottom panel: stripper level and stripper hquid
product valve. Dashed line represents the reference trajectory.

191
7.8 Summary

In this chapter, the Tennessee Eastman challenge problem is introduced. Some of


the control methods applied to tUis problem are also reviewed. The Fortran code pro-
vided by Downs and Vogel [11] was not based on first-principles. To fully understand
tUe plant, a detailed mecUanistic model based on first-principles is developed and
validated with data taken from the original Downs and Vogel work. The assumptions
to make the model match the data are also provided.
Classical system-theoretic methods, such as Lyapunov's indirect method for stabil-
ity analysis (linearization using Taylor series expansion), eigenvalue analysis, control-
lability and observability tests are used to analyze the local and open-loop properties
of the TE plant. To understand how inputs affect outputs, the plant is subjected
to step-changes in the inputs (manipulated variables and disturbance variables). Be-
cause levels are integrating loops, to maintain stability of the plant to these bounded
inputs, the level loops are regulated by PI controllers. This expends three out of
twelve control degrees of freedom. It was also found from the eigenvalue analysis that
there was another source of instability tUe temperature of tUe reactor (right half
plane pole).
Two model-based plantwide control strategies were applied to tUe TE plant. The
first was to use multiple fixed models (identified at modes 0, 2, and 3) with MPC, and
the second was state-shared MPC where a state-shared model was constructed from
three fixed models (same modes as above) and one re-initializable adaptive model. In
both control strategies, the level loops and the reactor temperature were regulated
with PI controllers. However, tUe reactor temperature set point was provided by
the MPC strategy. The reactor level set point is chosen to be a first order trajectory
changing from 75% to 65% smoothly, and the level set points of separator and stripper
are kept constant.
The first MPC strategy was demonstrated for regulation and transition. The
regulation selected is considered the worst disturbance - the loss of the A feed. It was
shown that this strategy was able to provide satisfactory closed-loop performance.

192
The results (not shown) were unstable for the same disturbance when a single fixed
model and MPC are employed. The transition was demonstrated for two cases mode 0
to mode 2 and mode 0 to mode 2 to mode 3. Again satisfactory closed-loop responses
were obtained even in the face of measurement and input noise.
The second MPC strategy was demonstrated for transition. A better transition
control result is shown when compared with the first MPC strategy. In each simula-
tion, the final operating costs are listed in Table 7.11.

Table 7.11: Operating costs for each simulation


Case Costs ($/h)
Disturbance rejection with multi-model+MPC 360
Transition : 0 -^ 2 with multi-model+MPC 300
Transition : 0 2 ^ 3 with multi-model+MPC 140
Transition : 0 2 ^ 3 with multi-model+MPC, meas. noise 240
Transition : 0 2 ^ 3 with multi-model+MPC, input noise 140
Transition : 0 2 with state-shared model+MPC 125

193
7.9 Nomenclature
CSTR Continuous stirred-tank reactor
MIMO Multiple-input multiple-output
MPC Model Predictive Control
SISO Single-input single-output
TE Tennessee Eastman

194
CHAPTER 8
CONTRIBUTIONS AND FUTURE RESEARCH
8.1 Summary

System transitions, both planned and unplanned, occur frequently in many indus-
tries. Transition control research has been the recent subject of many academic and
industry researchers because of increased global competition to produce many grades
of the same product while minimizing energy costs, waste production, and downtime.
Since aU real industrial processes are nonUnear, multivariable, with interactions and
inter-dependencies it is unrealistic to expect a single controUer design to regulate
the process at the various operating conditions and also provide stable and accurate
control during the transition.

Attractive features of a transition control structure should include rapid and stable
closed-loop response. Although a large number of recent approaches address this issue
using multiple fixed and/or adaptive models, and single or multiple and linear model-
based controllers, tUis work presents the transition control problem as a study in two
parts. The first is the identification of a model that estimates the plant outputs and
the second is the synthesis of a suitable controller that produces smooth and realistic
control action. Satisfactory closed-loop and stable performance of the controller and
nonlinear plant is inferred, if tUe performance of the model in closed-loop with the
controller can be guaranteed.

This research program addresses the identification issue by developing a the con-
cept of state-shared model (see Chapter 3) based on linear system theory (Chapter
2). In this work, a state-shared model is defined as a linear time-invariant model
structure that is a reahzation of the system and driven by the measured signals: the
plant outputs and the manipulated variables. The coefficient matrices in the state-
shared model are selected to be controllable by the designer, however, each known
operating state has a unique measurement equation or input/output description. Any
such realization necessarily fulfills the requirement that the output of the state-shared
model must be an asymptotically correct estimate of the the output of the plant if

195
the process models are selected appropriately. In Chapter 3, methods to construct a
state-shared model for single-input single-output and multiple-input multiple-output
systems are developed and their properties are proven and analyzed. A solution of
the parameter vector is obtained when the transfer function (input/output) is known.
Existence and uniqueness of the parameterization and convergence of the parameter
adaptation are also proven. Two multiple-input multiple-output systems were used
to demonstrate the development and validation of the state-shared model.
Because each measurement equation in the state-shared model represents a dif-
ferent but known operating point, it provides a feasible and easy means to obtain an
adaptive model. That is, stable and convergent adaptation of the parameters in the
measurement equation are enough to obtain an accurate adaptive model, which is
critical in transition control especially if an indirect (model-based) controller design
is used. In Chapter 4, a method to provide stable adaptation of the parameter vector
was presented. In particular, convergence of the method was addressed.
To decide the best model among the set of models, a performance function was
introduced (see Chapter 4). The value of the performance function determines which
measurement equation best represents the current operating condition at each sam-
ple time. This is the underpinnings of stable model switching such that fixed models
together with stable switching can provide the desired speed of response, while adap-
tive models and parameter tuning provide the desired accuracy. The proof of this
was provided by the work of Narendra and coworkers [20, 13].
The state-shared model can be used in a model-based/predictive framework that
finds the control actions as the system transitions from one operating point to the
next [16, 61, 62]. In Chapter 5, the (non-optimal) control method of Model Reference
Adaptive Control and the robust control method of H oo control were introduced. Two
nonlinear single-input single-output reactors, one chemical the other biological, were
used to demonstrate state-shared transition control using these controller designs. It
was shown that satisfactory performance (transition along reference trajectories) in
the presence of modeling errors, input disturbances, and parameter uncertainties was

196
achieved. In the chemical reactor system, the H^o controller based on two stable fixed
models and two adaptive models can realize transitions among stable and unstable
operating points. In the study of the the biological reactor, the state-shared model
and the Hoo controller stabilized this system at an open-loop unstable operating state.
A performance comparison between multiple models and a single fixed model of the
biological system demonstrated the superiority of the multiple models approach to
reahze transitions.
Chapter 6 is dedicated to the development of the class of model-predictive (opti-
mal) controUers (MPC). Two multiple-input multiple-output (MIMO) nonlinear con-
strained systems are used to demonstrate the state-shared model and MPC transition
control framework. In the first example - a chemical two-phase reactor system, satis-
factory closed-loop performance was achieved even in the face of unmeasured output
disturbances and when composition was inferred. The second example is a physiologi-
cal system which describes the calcium-induced calcium-release mechanism in human
cardiac myocytes. A transition controller is designed to reaUze calcium concentration
transitions in both the cytosol and sarcoplasmic reticulum. It was shown that proper
choice of the MPC parameters will lead to fast response, Uowever accuracy remains
a function of tUe model fidelity.
Since aU the examples in the previous chapters are on a single unit operation
it is reasonable to address the use of these methods on a plant-wide basis. Thus,
Chapter 7 presents a case study of the Tennessee Eastman Challenge Problem that is
known to produce at least three different grade combinations on demand. Based on
the Fortran code provided by the original contributors. Downs and Vogel [11], and a
rigorous analysis of this plant, explicit fundamental models of eacU unit operation were
developed. These models differs from the original implicit models that were provided.
A series of assumptions are given to validate the proposed model with much of the
vaUdation coming from the data provided by Downs and Vogel. Transition control
was applied to the production of three product ratios.
To begin to develop the state-shared model, linearization of the nonlinear first-

197
principles model that describes the TE plant at the known operating states is per-
formed. The reactor, separator, and stripper levels are first closed by three steam
valves with PI control loops. The setpoints of the separator and stripper levels are
kept constant (50%), however, since the reactor level changes from 75% to 65%, a first
order trajectory is chosen as the reference trajectory for the reactor level setpoint.
Two MPC controller strategies were applied to the TE plant. The first used three
fixed models at modes 0 (50/50), 2 (10/90) and 3 (90/10). The second used the same
three models but added a re-initializable adaptive model in a compact state-shared
model representation (non-minimal reahzation).
In the first MPC strategy, the performance of the closed-loop system was satis-
factory for the most difficult disturbance - loss of the A feed stream. For transition
control the closed-loop performance was also satisfactory although the convergence of
some controlled variables was slow. In the second MPC strategy (SSMPC), not only
was transition control satisfactory but also the control actions were less aggressive
and less inclined to reach their upper or lower limits.

8.2 Contributions

A novel non-minimal identifier structure was proposed to the MIMO system in a


multiple models strategy for systems that transition in a large operating space. The
distinguishing feature is that all tUe model sUare the same states, but have different
measurement equations. Several fundamental theorems for the existence of the state-
shared model, the convergence of the parameter adaptation and stable switching
among fixed and adaptive models were introduced and proven. Several controUer
designs tUat depend on the model were used to demonstrate indirect control (state-
shared model + controller) of several nonlinear SISO and MIMO systems, and an
entire plant.
This work resulted in the following publications and presentations:
Referred Publications

1. Z. Tian and K. A. Hoo, "Transition Control Using State-Shared Model Ap-

198
proach," Compt. k Chem. Engng., 27(11):1641-1656, 2003.

2. Z. Tian and K. A. Hoo, "State Shared Model for Multi-input Multi-output


Systems," re-submitted to IEEE Transactions on Control Systems Technology,
2003.

Refereed Proceedings

1. Z. Tian (speaker) and K. A. Hoo, "Transition Control Using Multiple Adaptive


Models and an H-infinty Controller Design," 2002 American Automatic Control
Conference, paper TMll-6, pp: 2621-2626, Anchorage, AK, May 2002.

2. Z. Tian and K. A. Hoo, "A State-shared Modehng Approach to Transition


Control," IFAC ADCHEM 2004, Hong Kong, PRC.

3. Z. Tian and K. A. Hoo, "A State-shared Model Predictive Control Approach


to Transition Control of a Multi-input Multi-output System," 2003 American
Automatic Control Conference, paper FP18-3, pp:5405-5410, Denver, CO, June
2003.

Contributed Abstracts

1. Z. Tian and K. A. Hoo, "Global Linearization and Control of a Calcium Dy-


namics in Cardiac Myocytes," AIChE National Conference, San Francisco, CA,
Nov., 2003.

2. Z. Tian (speaker) and K. A. Hoo, "A State-Shared Model Predictive Control


Approach To Transition Control," AIChE National Conference, Indinapolis, IN,
Nov., 2002.

8.3 Future Research


The study presented in this dissertation has given rise to several theoretical and
practical problems for future research. Some of the more important and interesting
ones among these are briefiy described below.

199
• Apphcations: The proposed transition control strategy is for a general system
that needs to realize transitions among different operating points. In this work,
although the case studies are within the chemical and biological disciphnes,
there are other areas where this approach can apply. These include, aeronautics
and astronautics and the automobile industries.

• Optimal reference trajectory selection: The selection of the reference trajecto-


ries is an important step in transition control. In this work, the selection of
reference trajectories in several applications are based on system analysis. This
is only a qualitative analysis. Based on different performance objectives, such as
rapid transitions, lowest operating costs, operabihty, and/or feasibility, devel-
opment of a systematic metUod based on strict optimization of these objective
may provide a better means of selecting the reference trajectories.

• Further research on the state-shared model structure: While the development


procedure of the state-shared model is based on strict mathematical derivation,
and in theory should be applicable to any size system, it is found tUat a non-
minimal representation adds extra poles and zeros to tUe system. For small and
simple system, tUe state-shared model works well (see examples in cUapter 3).
For large multi-input-multi-output with higher order and many input/output
pairs, the state-shared model may have a large unwanted affect on the system
response.

• Further research on the TE problem: The Tennessee Eastman problem is a


complex, high dimension, nonlinear, and interactive constrained MIMO system.
Further research on this problem will be beneficial to obtain experiences on
modeUng, control structure design, controller parameters tuning, interaction
analysis, etc. The following future work is suggested:

- Define new reference trajectory that includes both operating and economic

effects.

200
Decompose the entire system into several subsystems, and construct con-
trollers on separated subsystem using the paradigm of Vasbinder and
coworkers [125] such that when the subsystems and their control struc-
tures are integrated, instabihties are not created and the objectives of the
plantwide control structure are satisfied.

201
BIBLIOGRAPHY
[1] N. L. Ricker. Optimal steady-state operation of the Tennessee Eastman chal-
lenge process. Compt. & Chem. Engng, 19(9):949 959, 1995.

[2] A. S. Morse. Supervisory control of families of linear set-point controllers- Part


1: Exact matcUing. IEEE Trans, on Automatic Control, 41(10):1413 1431,
1996.

[3] R. B. McLain and M. A. Henson. Nonlinear model reference adaptive control


witU embedded linear models. Ind. & Eng. Chem. Res., 39:3007-3017, 2000.

[4] M. S. Chiu and S. Cui. Internal model control design for transition control.
AIChE J., 46(2):309-320, 2000.

[5] B. Aufderheide and B. W. Bequette. A variable tuned multiple model predictive


controller based on minimal process knowledge. In In Proc. American Control
Conference, pages 3490-3495, Arlington, VA, June 25-27 2001.

[6] K. S. Narendra and A. M. Annaswamy. Stable Adaptive Systems. Prentice-Hall,


Englewood Cliffs, NJ, 1989.

[7] A. Banerjee, Y. Arkun, B. A. Ogunnaike, and R. K. Pearson. Hoc control of of


nonlinear processes using multiple linear models. In In Proc. European Control
Conference, pages 2671-2676, Rome, Italy, 1995.

[8] W. Van Brempt, P van Overschee, T. Backx, J. Ludlage, P. Hayot, L. Oostvo-


gels, and S. Rahman. Grade-change control using INC A model predictive con-
troller: Application on a Dow polystyrene process model. In Proc. 2003 Amer-
ican Control Conference, pages 5411-5416, Stoughton, WI, 2003. The Printing
House. Denver, CO.

[9] T. KaUath. Linear Systems. Prentice-Hall, Englewood Cliffs, NJ, 1980.

[10] Y. Tang and H. G. OtUmer. A model of calcium dynamics in cardiac myocytes


based on tbe kinetics of ryanodine-sensitive calcium channels. Biophysical J.,
67:2223-2235, 1994.

[11] J.J.Downs and E.F.Vogel. A plant-wide industrial process control problem.


Compt. & Chem. Engng., 17(3):245-255, 1993.

[12] K. S. Narendra and J. Balakrishnan. Improving transient response of adaptive


control systems using multiple models and switching. IEEE Trans, on Auto-
matic Control, 39(9):186M866, 1994.

[13] J. Balakrishnan. Control System Design Using Multiple Models, Switching, and
Tuning. PhD thesis, Yale University, New Haven, CT, 1996.

202
[14] J. B. Burl. Linear Optimal Control, H2 and Hoo Methods. Addison Wesley,
Menlo Park, CA, 1999.

[15] D. Seborg, T. F. Edgar, and D. A. MeUichamp. Process Dynamics and Control.


John Wiley & Sons, New York, NY, 1989.

[16] Z. Tian and K. A. Hoo. Transition control using a state-shared model approach.
Compt. & Chem. Engng., 27(11):1641-1656, November 2003.

[17] A. S. Morse. Towards a unified theory of parameter adaptive control - tunability.


IEEE Trans, on Automatic Control, 35:1002-1012, 1990.

[18] A. Kordon, P. S. Dhurjati, Y. 0 . Fuentes, and B. A. Ogunnaike. An intelligent


parallel control system structure for plants with multiple operating regimes. J.
Process Control, 9:453-460, 1999.

[19] K. S. Narendra and J. Balakrishnan. Adaptive control using multiple models.


IEEE Trans, on Automatic Control, 42(2): 171-187, 1997.

[20] K. S. Narendra, J. Balakrishnan, and M. K. Ciliz. Adaptation and learning using


multiple models, switching, and tuning. IEEE Contr. Syst. Mag., 15(3):37-51,
1995.

[21] R. Gundala, K. A. Hoo, and M. J. Piovoso. Multiple model adaptive control


design for a multiple-input multiple-output chemical reactor. Ind. & Eng. Chem.
Res., 39:1554-1564, 2000.

[22] A. S. Morse. Control using logic-based switching. In Alberto Isidori, editor.


Trends in Control: A European Perspective, pages 69-113. Springer-Verlag,
London, 1995.

[23] A. Gelb. Applied Optimal Estimation. MIT Press, Cambridge, MA, 1986.

[24] K. D. Schott and B. W. Bequette. Control of chemical reactors using multiple-


model adaptive control (MMAC). In IFAC, pages 345-350. Danish Automation
Society, Helsingor, Denmark, 1995.

[25] D. Sun and K. A. Hoo. A robust transition control structure for time-delay
systems. Intl. J. Control, 72(2):150-163, 1999.

[26] D. Sun and K. A. Hoo. Dynamic transition control for a class of siso nonlinear
systems. IEEE Trans.Control Sys. Tech., 7(5):622-629, 1999.

[27] P. Turner, J. Guiver, and B. Lines. Introducing the state space bounded deriva-
tive network for commercial transition control. In In Proc. 2003 American Con-
trol Conference, pages 5400-5404, Stoughton, WI, 2003. The Printing House.
Denver, CO.

203
[28] C. Duchesne, T. Kourti, and J. F. MacGregor. Multivariate monitoring of
startups, restarts and grade transitions using projection methods. In Proc.
2003 Amer. Control. Conf, Denver, CO, pages 5423-5428, Stoughton, WI,
2003. The Printing House.

[29] R. Srinivasan. Effciently managing transitions in chemical plant, part 1: A


unified framework. Natl. Univ. Singapore, Singapore, 2002.

[30] R. Srinivasan. Effciently managing transitions in chemical plant, part 2:


Identifying modes and transitions. Natl.Univ. Singapore, Singapore, 2002.

[31] A. Flores-Tlacuahuac and G. Fernandez-Anaya. Interpolated controUers for the


robust transition control of a class of cstrs with variable operating conditions.
Departmento de Ciencias, Universidad Iberoamericana, August 2002.

[32] J. G. Charboneau, K. A. (Hoo) Kosanovich, and M. J. Piovoso. A dynamical


supervisor strategy for multi-product processes. J. Process Control, 21:S149-
S154, 1997.

[33] C. Kravaris and J. C. Kantor. Geometric methods for nonlinear process control.
1. Background. Ind. & Eng. Chem. Res., 29:2295-2310, 1990.

[34] W. J. Rugh. Linear System Theory. Prentice Hall, Englewoods Cliff, NJ, 1
edition, 1993.

[35] B.A. Ogunnaike and W.H. Ray. Process Dynamics, Modeling, and Control.
Oxford Press, Oxford, UK, 1994.

[36] F. Szidarovszky and A. Terry BahiU. Linear System Theory. CRC Press, Boca
Raton, FL, 1991.

[37] P. J. Antsaklis and A. N. MicUel. Linear System. McGraw-HiU, New York, NY,
1997.

[38] J. Bible and H. Stafford. Mu-syntUesis autopilot design for a flexible missile.
In 29th Aerospace Sciences Meeting, Reno, NV, 1991.

[39] D. Zheng and K. A. Hoo. Low-order model identification of distributed pa-


rameter systems by a combination of singular value decomposition and the
karhunen-loeve expansion. Compt. & Chem. Engng., 26(7-8), 2002.

[40] H. Michalska and Mayne. Robust receding horizon control of constrained non-
linear systems. IEEE Trans, on Automatic Control, 38(11):1623-1633, 1993.

[41] Z. Tian and K. A. Hoo. A state-shared modehng approach to transition control.


In In Proc. IFAC 2003 on Advanced Control of Chemical Processes. IFAC, 2004.
Hong Kong, PRC.

204
[42] Z. Zhao, X. Xia, J. Wang, J. Gu, and Y. Jin. Nonlinear dynamic matrix control
based on multiple operating models. J. of Process Control, 13:41-56, 2003.

[43] L. Magni, G. D. Nicolao, L. Magnani, and R. Scattohni. A stabilizing model-


based predictive control algorithm for nonlinear systems. Automatica, 37:1352-
1362, 2001.

[44] A. Isidori. Nonlinear Control Systems. Springer-Verlag, Berlin, 3rd edition,


1995.

[45] Z. Tian. Global hnearization and control of calcium dynamics in cardiac my-
ocytes. Technical report, Texas Tech University, Lubbock, TX, 2003. Ph.D.
Admittance to Candidacy Examination.

[46] R. W. Brockett. Feedback invariants for non-linear systems. IFAC Congress,


6:1115-1120, 1978.

[47] W. Dayawansa, W. M. Boothby, and D. L. Elliott. Global state and feedback


equivalence of nonUnear systems. Syst. Contr. Lett, 6:229- 234, 1985.

[48] L. R. Hunt, R. Su, and G. Meyer. Design for multi-input nonlinear systems.
In R. S. Millman R. W. Brockett and H. J. Sussmann, editors. Differential
Geometric Control Theory, pages 268-298. Birkhauser, 1983.

[49] R. Su. On the linear equivalents of nonlinear systems. Syst. Contr. Lett., 2:48-
52, 1982.

[50] L. R. Hunt, R. Su, and G. Meyer. Global transformation of nonUnear systems.


IEEE Trans. Automatic Control, AC-28(1):24-31, 1983.

[51] K. A. Hoo and J. C. Kantor. An exothermic continuous stirred tank reactor is


feedback equivalent to a linear system. Chem. Eng. Commun., 37:1-10, 1985.

[52] Z. Tian and K. A. Hoo. Global linearization and control of calcium dynamics
in cardiac myocytes. Submitted to J. of Process Control, 2003.

[53] D. Q. Mayne and H. Michalska. Receding horizon control of nonlinear system.


IEEE Trans. Automatic Control, 35:814-824, 1990.

[54] D. Q. Mayne. Nonlinear model predictive control: An assessment. Fifth In-


ternational Conference on Chemical Process Control, Eds: J. C Kantor, C E.
Garcia, and B. Camahan, 93(316):217-231, 1996.

[55] L. Magni, G. D. Nicolao, and R. ScattoUni. Output feedback and tracking of


nonlinear systems with model predictive control. Automatica, 37:1601-1607,
2001.

205
[56] N. L. Ricker and J. H. Lee. Nonlinear model predictive control of the Tennessee
Eastman challenge process. Compt. & Chem. Engng, 19(9):961-981, 1995.

[57] Y. Wang, H. Seki, S. Ooyama, K. Akamatsu, M. Ogawa, and M. Ohshima.


A nonlinear predictive control for optimal grade transition of polymerization
reactors. In Proc. 2000 IFAC on Advanced Control of Chemical Processes,
pages 725-730, 2000. Pisa, Italy.

[58] S. J. Qin and T. A. Badgwell. An overview of industrial model predictive


control technology. Fifth International Conference on Chemical Process Control,
AIChE Symposium Series, 93(316):232~256, 1997.

[59] S. J. Qin and T. A. BadgweU. An overview of nonlinear model predictive control


applications. TecUnical report. University of Texas at Austin, 2000.

[60] R. Findeisen and F. AUgower. An introduction to nonlinear model predictive


control. Institute for systems theory in engineering, University of Stuttgart,
Germany, 2002.

[61] Z. Tian and K. A. Hoo. Transition control using multiple adaptive models and
an H-infinity controller design. In Proc. 2002 American Control Conference,
pages 2621-2626, 2002. Anchorage, AK.

[62] Z. Tian and K. A. Hoo. A state-shared model approach for multiple-input


multiple-output systems. Submitted to IEEE Control Systems Technology, 2002.

[63] J. B. Conway. Functions of One Complex Variable. Springer-Verlag, Berlin,


1978.

[64] S. R. Lay. Convex Sets and Their Applications. JoUn Wiley & Sons, New York,
NY, 1979.

[65] M. Mathelin and M. Bodson. Frequency domain conditions for parameter con-
vergence in multivariable recursive identification. Automatica, 26(4):757-767,
1990.

[66] N. Mahadevan and K. A. Hoo. Wavelet-based model reduction of distributed


parameter systems. Chem. Eng. Sci, 55:4271-4290, 2000.

[67] K. Glover. All optimal Hankel-norm approximations of linear multivariable


systems and their £°°-error bounds. Intl. J. Control, 39(6):1115-1193, 1984.

[68] B. C. Moore. Principle component analysis in hnear systems: ControUabiUty,


observability, and model reduction. IEEE Trans, on Automatic Control, AC-
26:17-31, 1981.

[69] T. Clarke-Pringle and J. F MacGregor. Reduced dimension control of dynamic


systems. Ind. & Eng. Chem. Res., 39:2970 2980, 2000.

206
[70] M. J. Piovoso, K. A. (Hoo) KosanovicU, and J. P. Yuk. Process data chemo-
metrics. IEEE Trans, on Instrumentation and Measurement, 41(2):262-268,
1992.

[71] U. B. Desai and D. Pal. A transformation approach to stochastic model reduc-


tion. IEEE Trans, on Automatic Control, AC-29( 12): 1097-2000, 1984.

[72] K. R. Beebe and B. R. Kowalski. An introduction to multivariate cahbration


and analysis. Analytical Chemistry, 59(17) :1007A 1017A, 1987.

[73] M. J. Piovoso and K. A. (Hoo) Kosanovich. Applications of multivariable sta-


tistical metUods to process monitoring and controller design. Intl. J. of Control,
59(3):743-765, 1994.

[74] M. H. Kaspar and W. H. Ray. Chemometric methods for process monitoring


and high-performance controller design. AIChE J., 38(10):1593-1608, 1992.

[75] D. Dong and T. McAvoy. Batch tracking via nonUnear principal component
analysis. AIChE J., 42(8):2199-2208, 1996.

[76] K. A. (Hoo) Kosanovich, M. J. Piovoso, and K. S. Dahl. Improved understand-


ing using multiway principal component analysis. Ind. & Eng. Chem. Res.,
35(1):138-146, 1996.

[77] N. L. Ricker. Model predictive control of a continuous nonhnear, two-phase


reactor. J. Process Control, 3(2):109-132, 1993.

[78] A. M. Katz. Physiology of the Heart. Lippincott, Williams, and Wilkins, 3rd
edition, 2001.

[79] A. Fabiato. Two kinds of calcium-induced release of calcium from the sar-
coplasmic reticulum of skinned cardiac cells. In G.B.B. Frank, P Bianchi, and
H. Keurs, editors, Excitation-Contraction Coupling in Skeletal, Cardiac, and
Smooth Muscle, pages 245-263. Plenum Press, New York, NY, 1992.

[80] S. Gyorke and M. Fill. Ryanodine receptor adaptation: Control mecUanism of


Ca2+-induced Ca2+ release in heart. Science, 260:807-809, 1993.

[81] Z. Han. Adaptive Control. Tsinghua University Press, Beijing, PRC, 1995.

[82] G. C. Goodwin and D. Q. Mayne. A parameter estimation perspective of con-


tinuous time model reference adaptive control. Automatica, 23(l):57-70, 1987.

[83] R. A. loannou and J. Sun. Robust Adaptive Control. Prentice HaU, Upper
Saddle River, NJ, 1995.

[84] K. J. Astrom and B. Wittenmark. Adaptive Control. Addison-Wesley, Menlo


Park, CA, 2nd edition, 1995.

207
[85] R. F. Drenick and R. A. Shahbender. Adaptive servomechanisms. AIEE Trans.,
76:286-292, November 1957.

[86] H. P. Whitaker, J. Yamron, and A. Kezer. Design of model reference adaptive


control systems for aircraft. Technical report. Instrumentation laboratory, MIT,
Cambridge, 1958.

[87] R. E. Kalman. Design of a self-optimizing control system. Trans. ASME,


80:468 478, 1958.

[88] G. C. Goodwin and R. S. Long. Generalization of results on multivariable


adaptive control. IEEE Trans, on Automatic Control, AC-25:1241 -1245, 1980.

[89] H. Elliott and W. A. Wolovich. Parameter adaptive control of linear multivari-


able systems. IEEE Trans, on Automatic Control, AC-27:340 -352, 1982.

[90] R. P. Singh and K. S. Narendra. Prior information in the design of multivariable


adaptive controllers. IEEE Trans, on Automatic Control, AC-29:1108-1111,
1984.

[91] Z. Tian and K. A. Hoo. Transition control using a multiple models a survey.
Submitted to J. of Process Control, 2001.

[92] K. A. (Hoo) Kosanovich, J. G. Charboneau, and M. J. Piovoso. Operating


regime-based controller strategy for multi-product processes. J. Proc. Control,
7(l):43-56, 1997.

[93] G. J. Balas, J. C. Doyle, K. Glover, A. Packard, and R. Smith. p-Analysis and


Synthesis Toolbox. The Math Works, Inc., Natik, MA, 1995.

[94] K. A. Hoo and J. C. Kantor. Linear feedback equivalence and control of an


unstable biological reactor. Chem. Eng. Commun., 46:385-399, 1986.

[95] R. Findersen and F. AUgower. The quasi-infinite horizon approach to nonlinear


model predictive control, pages 89-108. LNCIS 281. Springer-Verlag, BerUn,
2003.

[96] J. Richalet, A. Rault, J. L. Testud, and J. Papon. Algorithmic control of


industrial processes. In Proc. of the 4th IFAC Symposium on Identification and
System Parameter Estimation, pages 1119-1167, 1976.

[97] J. Richalet, A. Rault, J. L. Testud, and J. Papon. Model predictive heuristic


control: Applications to industrial processes. Automatica, 14:413-428, 1978.

[98] V. Havlena and P. Barva. Model predictive control Review and case study.
IFAC Control Systems Design, pages 233-238, 2000.

208
[99] C. R. Cutler and B. L. Ramaker. Dynamic matrix control: A computer control
algorithm. In In Proc. 1980 American Control Conference, 1980. San Francisco,
CA.

[100] C. R. Cutler, A. Morshedi, and J. Haydel. An industrial perspective on advanced


control. AIChE Annual Meeting, Washington, B.C., 1983.

[101] N. L. Ricker. Use of quadratic programming for constrained internal model


control. Ind. & Eng. Chem. Proc. Des. & Dev., 24:925-935, 1985.

[102] C. E. Garcia and A. M.Morshedi. Quadratic programming solution of dynamic


matrix control. Chem. Eng. Comm., 46:073-087, 1986.

[103] D. Zheng and K. A. Hoo. System identification and model-based control for
distributed parameter systems, submitted to Compt. & Chem. Engng., 2002.

[104] D. Zheng. System Identification and Model Reduction for a Class of Distibuted
Parameter Systems. PhD thesis, Texas Tech University, Lubbock, TX, 2003.

[105] G. Gattu and E. Zafiriou. Observer based nonlinear quadratic dynamic matrix
control for state space and i/o models. Technical report, Institute of System
Research, University of Maryland, T.R. 94-1, 1994.

[106] J. H. Lee and B. Cooley. Recent advances in model predictive control and other
related areas. Fifth International Conference on Chemical Process Control,
AIChE Symposium Series, 93(316):201 216, 1997.

[107] M. Morari and J. H. Lee. Model predictive control: Past present and future.
Comp. & Chem. Engng., 24(4):667-682, 1999.

[108] J. B. Rawhngs and K. R. Muske. The stability of constrained receding Uorizon


control. IEEE Trans, on Automatic Control, 38(10):1512-1516, 1993.

[109] B. W. Bequette. Nonlinear control of cUemical process: A review. Ind. & Eng.
Chem. Res., 30:1391-1413, 1991.

[110] D. M. Prett and C. E. Garcia. Fundamental Process Control. ButterwortUs


Publishers, NY, 1988.

[Ill] M. Morari and N. L. Ricker. Subroutine: scmpcnl.m in Matlab: Model Predictive


Control Toolbox. The Math Works, Inc., Natick, MA, 1998.

[112] T. J. McAvoy and N. Ye. Base control for the Tennessee Eastman problem.
Compt. & Chem. Engng, 18(5):383 413, 1994.

[113] W. L. Luyben, B. D. Tyreus, and M. L. Luyben. Plantwide Process Control.


McGraw-HiU, New York, NY, 1998.

209
[114] N. L. Ricker and J. H. Lee. Nonlinear modeling and state estimation for tUe
Tennessee Eastman challenge process. Compt. & Chem. Engng, 19(9):983-1005,
1995.

[115] N. L. Ricker. Decentralized control for the Tennessee Eastman chaUenge pro-
cess. J. of Process Control, 6:205 221, 1996.

[116] A. Banerjee and Y. Arkun. Control configuration design applied to the


Tennessee Eastman plantwide control problem. Compt. & Chem. Engng,
19:453-480, 1995.

[117] S. Skogestad. Plantwide control: the search for the self-optimizing control
structure. J. Process Control, 10:487-507, 2000.

[118] T. Larsson, K. Hestetun, E. Hovland, and S. Skogestad. Self-optimizing control


of a large-scale plant: The Tennessee Eastman process. Ind. & Eng. Chem.
Res., 40(22):4889-901, 2001.

[119] T. Larsson and S. Skogestad. Plantwide control: A review and a new design
procedure. Intl. J. Control, 21(4):209-240, 2000.

[120] A. Arbel, I.H. Rinard, and R. Shinnar. Dynamics and control of fluidized
catalytic crackers. 3: Designing the control system choice of manipulated and
measured variables for partial control. Ind. & Eng. Chem. Res., 35(7):2215,
1996.

[121] A. Arbel, I.H. Rinard, and R. Shinnar. Dynamics and control of fluidized
catalytic crackers. 4: The impact of design on partial control. Ind. & Eng.
Chem. Res., 36(7):747, 1997.

[122] R. Shinnar, B. Dainson, and I. H. Rinard. Partial control, a systematic approach


to the concurrent design and scale-up of complex processes: The role of control
system design in compensating for signiflcant model uncertainties. Ind. & Eng.
Chem. Res., 39:103-121, 2000.

[123] G.V Reklaitis. Introduction to Material and Energy Balances. John Wiley &
Sons, New York, NY, 1983.

[124] H. S. Fogler. Elements of Chemical Reaction Engineering. Prentice Hall, Upper


Saddle River, NJ, 3rd edition, 1999.

[125] E. Vasbinder and K. A. Hoo. A methodology for plantwide controller synthesis.


Industrial and Engineering Chemistry Research, 42:4586-4598, 2003.

210
APPENDIX A
PROOF OF EQUATION(6.2)
The analytical solution to Equation (6.1) takes the form

x{t) = e^*Xo + / e^^'-''^Bu{a)da


Jo

where XQ is the initial state at i = 0. Solve for x{kAt) by repeated apphcation of


above equation for each value of k under piecewise constant of u to yield:

x{At) = e^^'xo + ( / e''^^'-''^da\ Bu{0)

x{2At) = e^'^'x{At) +(f e^(2^*-'')da') Bu{At)

( p(k+l)At \
x{{k + l)At) = e^^*x(A;AO + / e^^^'+'^^'-'^^da Bu{kAt)
\JkAt J

211
APPENDIX B
MATLAB CODE FOR TWO-PHASE SYSTEM
• Two-phase dynamic model

• Two-phase measurement equation model

• Two-phase Jacobian linearization subroutine

• Two-phase MPC transition control main program

• Two-phase MPC gain subroutine

• Two-phase MPC subroutine

• Two-phase state-shared model

• Two-phase state-shared model vahdation main program

212
o
o

c
•D
o CT
2 s>
E «

%Two -phase Jacobia n linearizatioinsub


ra

functioin [A, B, C, D, E]=jaco value_sha


c > Q.
g
ra

global xbar yblar ubar yal VL VLsp


-5
o
CT
(U c o I ra o

%Advi sor: Dr. Karlene! A. Hoo


ra o E

%PhD studen t: Zhenhlua Tian


'c oCO
0)
ra < ,
E

%cleair on OcL21,2003
i_ JO <a I >.
CO Q.
3 (U (U
to
ra N
>
(U
E o
t> ^
I
o CD
>

3*10
a> O o o... °- Srz t

F1=ub ar{1);

F3=ub ar{3);
F2=ub ar(2);
ra c
o j;^C\l^
S > co" + M CO (NT
. t^ S ..Qi ra <" • -my ra ra
ra li II d • Z ^ •* .a .a
i' o
•*=
oI S"
ra in >< X X "><

M " II ¥
II ra Ji . " ^^
o £ "5 ^ II " "
II II II
X X
II II
S .o II ra .D o _i ra n
z Q: H >
•B CD iUz z z >

O
O
T "

d.
tr
CT
CO

«
• *

O>
*
CO o
o
^1—
.Q
.ro «
o
Q£2
ra V -1
c o co>
(u ra o > Q
•a iz X "35 S CO «
o '^
E to < CO % CO
3 ^ 3 c
ro
LL
?° 0
CO T-
Q.
CO •^" CO co" ^ —*
ra ^
'c
ra
c c d
<
ra l i .
o
* ^ +
r: Dr. Ka

o CSI CO
udent: Z
lase dyr

n Oct. 2

E o
CL Li.
cn .Q ra
*Pa' 1.2*

¥ >
i_
ra ro > 1

> H-LL LL
ro o
+ in •* « *
)/i

z zz I f ra co" <:
•D 9 - <o . . . . . 2 1 - CN CO o CO
' Q
Q. to o o
o
d ^
XI
Z^ "5
Z "

> >. >, 11
4sta
nctio

O Q •> ro
obal

1 « «
5 0 0 1 ^ CN 00 ^ •^ Z > CL CL o
0) II II II II
5 .C T3 IB
1- Q- v<g T3
vP —• — , «
" II II II o II i f n^
El II II II M
CO CO CO
.Q ra .Q o
z
II
ra o Q
II II II II
N z r CN
II iZ.
> . >s
CO • *

•.QH-> €.^^
>^ ><>. > Q. >> CL CL >< >< >.
ZZZ>S?LLU.LL t_ T3 T3 • D 13 TD

213
in
in in o in
CSI CO
CN m o CO CM 55 CD
CN CO z CN 5
•^ o o m tn CN i n CM K
iCin (£5 o ^ o o •^ o *
tn tn i:rin o S m
^tn -5-10

°^
o ?
iGb , b . i2
CD
LO
o
in
tn
T
.a n
O Z
tn
+
XI
^i
o
in
CO
m
o
tn
zT
X3

CN CM o iGb o 1- o tn CN
O 1
•<- O CN CN O CN Y CN o o O CN
CD i n CN in to CD i n
tn ; :
+ CM
tn CM
-- 5-z
ill
S ^ CD
O
o
CD g
m S '

° S;
tn ==; CD
!
O
o
CD
m
o
m
in
°S
+ "^
XI m
CO
tn
o
tn
tn
ing ^

xil;2
XI

o
O
O
CD 5^

? +m
o ™o CD
in
tn
(a
+
ro ?i
o ra
o Z
+
ro O o
in
CO
+
™!5
z m
2
in ^S in in « m
o o iGb o
m m o •^ o
CD i n J ^ 03
+
CD m i— o in
i n ;:: m m CO m in in
+
in
o + S| m : i tn
+
!5iS-
J3 m b-i2 .a S .^ CN «" CD CO,
1+15
IN.O

o f' + o tn iQ
o z
in o z in
0
o m '0'
ra 11? z S " • 2 T- o in + + <:§ « z+

(15
o ro m < - ' o o in i
rol£?
2 >< + m Z o -i^o i n XI z S o
^ Z Z o i ^ X3
o m "(Tip
o in ^ C D o |£?Z-
m ^ i n ^ + to to
5
tn tn 5 o m
*^ +
in ra ra
+ bE: m
CD
o
o in"
in j i ^ i n z
o o •^ CN S - ^ £. ?5 ^ Z^ o tn | § . o ra+
m 3 ^ 7 o tn C N CD "ro , " " " - S
CO T ' CO S T^tn £.
<^z
> Q; Z^ +- o i2S:^C5? - era +T— o m
^s
S
CD ro :
S.^lD
" i2n
>=zS
? '
CO > ^
5 ? >;
Sz
o *
LL V LL in
o + Z in
0 0 0

T - X3 _ J
= i Z > ? O
5l 2 ?
i^
+ J^ + z z
X3 _ | JD
z X I CD in
S^m +
_ l 1 - X3 X3 _l
2 " Z
in
sin !U +
_ l XI
ra z z z+
+*
X3 _ l X3

* + • + o z :=; Z > Z ro 2 + o > ^ z z > « + > 2 Z :=: z >1 z


Z zra <^

Na+
O m CN ro m + ^ ^ i n ra o
+ T+ XI
JD + + « CM +
O ^ CN CM ' * + 2 ra • ro
+
Z ? : ra o2 CM O m
" CN
z f z o ^ ra 2 CM ro
Zo
_ ! - § CM O . 7 + ? + ^ o Z^
O "Si =^ ra m •r- O ^ ra + ra tn ra "0
i n ra --- Z o ra m T' ra . 7 ra in z "o" z
CN Z .y
— *.^ z ^ r - m
Ii ^ o m
in Z•"^C
1N^ ^ r - « '~^ i j ! i n
_i d - I
is-5-in ra
^ CM Z
_i o - I « O r-J O .a
CN Z
- ^— *
CO > o >
5! tn Z - C
1M
^ T~
^ d
> o
^^
CO > o > : ^ > -- > o > * T— > o > o O > O Z d"
J-in o

o _ o .^ o
z T CO
tn ^ + Z
+ +
00*

o x> o o XI o
X3
o m o Z o XI
tn m in Z in * m
o
o CM
* CM T—
0
0
o
o CM
o
CO in J3
CM S o CN
CD m
CSI CO
m
in CM
ir> in in in ^r-
5
0561

o o 0
1/5 00* Nb+1 550

tn <o in CO m
in o m TT in
+ 15
'N.O

tn o o in
o o
+ in in + in tn in
in O m o tn m O
X3 O XI o 0 .a O
Z + CO
m in + tn + 1 in Z + in
122

« CM
ro *00 ro CM

o
ro o
in 5 o
o
ro
Z
CM
5in CO
CN
CD
in
o -in in * z in
D561/ 00*

in o to o 0
m o o
o + o o o 0 o o tn
o o ra o o in in o
CO uo in
in CD in in tn CD m 0 m CD in tn tn
m in in in tn to
o 0
5in + 0
+
o
S +
,tn CO
in 5 o +
XI in CD
XI
in
in
CO in
in in CO
in
X3
1+15
IN.O

tn o m o in in XI o
o o
ra
in
m
^
o
in
m
S^ 0 ro
tn
m m
m
o
o
^—
+
in
in
•r-
0
in
m
o
o
+
ra
in
in tn
m
O
O
- S z in Z in z ^ tn UO
z ^in +
t ^ o .^ 0« S «
o CO
o
o in S
« tn m Z
CO
in
0 in in o
in m 1 m
in Ul
o 0
m CO o tn o CO O --^
o i n CM >' iin
n CM in UI CN '
< ^
ro m
CO %•. S^jTz m CO in ^ CO CO :=;CN ^
-^l^S-LL
CM -JT o
Nc)
505

CJ CN <j
o "cTss- + O CM o CJ • o +
ro z+ >r^z
, +
ZCJ S
+ S..tn c z Z+ ra Z in z C Z
+ ?^ +
+ ^+ t > >^ + n Z
x> z X3+ in
.DUX)
Z CM b z ^^ Z Z Z
+ 1- 0 + * + + o z z ^
XI o —
u .a Z «
+ o_
z i;
. n o n
+2 i
I? + +
ro o^, ra
+
o ro om + * z o ro n
ra ar- i n ro 0 ro tn + o
Sro" o
o
o ^ ! £ > e ^ o<a- ^ 0
Z . 00 Z ?:
z g z sc'co
ar^ + o
ll§ to z^ Z ?: ^ o z °
ro m
azTco
ra X i n 1 ^ .'^ ^ o tn o ro tn CM Z ra in ra in o
"X 4!,
if 5
• ^

^?^ -o
^ 1 CD
m
in
z• 5 * o 0i n ro
Z o j £H z S z Z o
* . S : ?y d "^ =d Z Z CM
CN « si z o Z CM CM z S Z Z o
« in
G-io
CM » g «^« m
O U5

5 . - I i n ^ _l 'O
« 5--
_, (D
" _4 m
> Z. > C > z
< II T -COc o> > . . >mi n > > T - C . > - < - > tn > >^>
> Z CO

214
in 1 U5
o , !2
CM S
CM ~ :
Z
tn XI uo . S2
CD U5 CM 1 - Z in CM T-
CM S5 CD Cuo He
o o
CO
U5 CM CD
* CO CM CD
UO
o C O U3
O >.o o o o + •^ U5
o uo •>- m
m m
o m in uo m aro o o
uo J3 aro
IJ'UO Z in uo J3 in -^uo
to U5 CO 5 o
og in Z
«o zi2
+ + U5 Ul + o CD +
.a
Z
*
o
§z
^b
X3
O 1
O
UO
tn 1 u^
o
m
tn
§i
!G? U7
in
o xo
Z
*
o
uo
o xo
O :
UO '^

o 5 §
o CO
U5 O CM + CM •<- O
O CM
1
tN 1 i n •<- o , 1 uo
o f^
5 '^ d 1
o
o i n CM XI CN +
t n CN CM O o CD O CM CM •<- I uo CD O CM
UJ U)
m T- c .
T - ro
rLo u^ tn i n CN CM + o o i n m CN
o in o ;:: •<-
CD
UI
°l;2gS in
in
•^
CO ?5
U5 2 s;z So tn
+
0 ^ : 1 -
o
T - ro u o CM
o m •n S =^
g° S §^
O
m
+ lO
XI m
o
m
lO
.Q U5 !G
Z m T-
bsG
o •<-
SsG
uo • ^ o i;
O T-
Z
*
ro s
in
o
U5
Z
bSG
o
go
O 1-
2 +
o ro
i; z ^ I iu o T-
« T- CO m CO •<- CD T- CD CD
+ + o + u^ uo m o + w o •<-
in ' -
^ tn o O UO
ro
8z ro o ra o o + s ra
O o T- CD
+
O

"^ g2
tn z U5 tD U5
z<" 2 §1
m :in Z m UO
iGb ::; . in ^ , « uo i n CO CD ? = ^ < uo
o
o
in
o
o
o
i?2fr
•>-
in;r
« UI
o •<-
o i^ o ^
CD

c>
-J
•<-
CD
o 1-
o ?^ gu Z uo
. in
COO CD —1 •<- O
C-!5 >
^— CIO '
co o >^
uo uo J ^
T-
U3
U5 «
U5
O
U1 "
^ U5 i:,
uo uo o r^ b i n S^ o •"- uo
5 ^• ° S CD >;
i n CD CM o • •n j - o ?- o m "^
m o
o Z
i2g in
•<- U l 5 ^
o + o S^ ig ^^ m CM g»^ V o ^ ^
5 CO
CO ^ C i 2 i n > -
CO i r > ,
u i + + lO
m X2 ro l o
O
lO
Z ro u^ -3-
+ Z 10 -^ J., 1^
g^ 2 ' i n > : c zh2
CD ra U5 >-
T ^O
' 55
gg
g^
;:>-cM
CO ^ ;:: roI uo .
^ z
«^ + m i + §S o 1o o uo > > -
o b S- • +
tn ^o >- C Z
I^ + tr> 2 S^ c +
10 u^
,
CO u o
o
o
U5
uo uo ^
"
CD
uo
.^
+ . in
JI- +
a r J3
z
fS
m gS oo u o tn
J3
•^
+
^o2uo. in iS CO ^ U5 T -
^^ S - ^ SCDd Cr a- i iSi i ,
CO in + , o ^? Jk i n O J^CM CD, ro 1 - T- CD
CD O .i~CM i n CM CO CD > - ' - 7
uo CN CM CD > - z
o in - >-^-^ U1 CM TCM
UJ ;::^ — CD ro ' uo
5 5 ar" uo << 11^ ^ ^ UO
UJ -5--^j — • iUnO < T— ^.»=:^ I uo S ^ ^ ^
o « o * o Ul <-
O ' f - V o ^ o OO O c j (J' ^+ ' o^' CJ)
? ' I 2 o "o CJ -^ 'O
o ~ g ; - o " " o "o" CN CO J
UI Z tn o o
J3 _ l
i2i ui z Z
z > -b_ -Zx i >
_|
51 Z Z Z
X ^ +
ra
Z s ; . o _ i J3
O
5 S . Q _ l XO
z >O z? boin roz+ !GS2 Z+ XI _ l
> ra
Z
XI 0
0 z+ ?§ Z > Z b
+ CM + O J2 _ l C

III
ra ^
^ ro r^, + uo ro §? ro bQ
z oo oo Z ^ Z ^
|s?
T -
c/(

co
10 i 2 -rr ro >
g^° ro ?=. o in i n i n o is ^ ro o ro 5?- ro
CM O z " z 0i n Z
T- ^
1^ - ^ r
o
CM - 7 CJ
5.-CM g^g
O + —I b
o5 ^ CM
•M
T - CO
^ uo I? cn uo uo ^ o ^
s?g « z « ^ O
^ o
O CN Z " Z
o s.^z *.^
> o ••- > o > o > o > o > > in ^ ; 2 J b ^ , 0 tn uo
? So ?=CO uo J b ^
::^> CM o CO > o > o > >7-T- CO > o >
:-! cn uo
> CN O

CO CJ 0 0 CO
T
5056
Z Z + z + +
b xo b xo b xo z*0 +
xo
Z
*
0
xo
0 0 0 Z
z *0 0 *
Z 0 *0
Z
uo b 1 uo
*z 1 uo uo in uo
00*Nb+155 i61/500*Nc)/(;i22-

1
0 I
0 CM CM CM CM
^^ tn CN S
tn
0
0
CM S
in
0
uo CM CD
0
to
+
xo CM 5 0
tn
CO in tn
0 la 0 uo
uo
m
uo uo uo s "o"
0
uo
uo
CD
in "cj"
0
uo CO
uo
z •o"
0
in
CO
uo
0 z in
0 Z
«
in
* uo 0
+ uo +
tn
0 z + in
0
in z ^-
+ uo
xo uo « xo uo uo 0
xo in 0 uo
0 uo *t n XI 0 0 « xo
*0Z +
ro CM
uo
0
Z
* +
ro CM
1

0 z +
ro CM
tn Z
«0 +
ro CM
1 CO
uo
uo uo
0 z +
ra
0 z
CN
CD
0
Z
CM
5
0
« z0
CN
5 Z
CM 0
in
0
CD
*uo
U J
in m
0
in in in in
0
tn uo in z0
0 0
0 0 0
uo *00 0
0
uo
CO 0 *0 0 0 «
0
0
0
uo
0 *0
5
uo
uo 0
uo CO uo 0
ID uo
LL 0
S in 0
UO
in
m CO
uo
0
uo 0
ra in
0
CO tn
0 5
in
+
in
« in in
T
uo
uo (O XI
0
uo 5 5 +
xo CM
0
uo
uo
CO
uo CO
+
xo
0
uo
uo CO
z xo
0
uo CO
uo
uo in uo uo uo UO "cj UO z in in z uo
+
0
uo 0 z 0
uo
0 z Z
+ +
0
in 0 0
uo 0 « 1 0
in
uo uo UO in UO
* uo uo 0 "CJ .* in
ra uo ro uo xo ro ra uo 0 Z ro
in T— *i n tn
T— *t n Z
UO
0 uo t0n
Z
« ^.^ z
« .^ s .. 0 +
ro *
z0 .—. ^— uo
0 z0 ^, ^ CO
i n + V0 z —
^~ 0«
0 ;S;^
0 0 f..^ UO 0 xo
'^
CO
in
0 %....
uo «
uo" ^
0
CD 0 uo «
m ^—
0
CD
in Z . 0t n uo * CD in «
m uo Z i nCD b
0 *uo
0 ^< uo T— 'n , m
0 ^ CO
2- 0 --; ar m ,^ i n
0 CO uo +ro 0 '-^ uo T ~

^" <^CCNN,J ^ uo CM 0 ^— ^ «,
uo CN u o CM T~ T—

<^CM < uo CM '^ —Z ii nn CM< ^


1 T "

uo <^ CO CD < uo <^• tCO


< ^
- ^
1
CM < uo <^ CO
1
CD 1
uo <.,• i n <^CM
CM
1
< J^ CO <
T <J u.
UO
0
'0' 1? 0 T <-> 0
n "cTcM '0 "o T <J z+ in
0
•cj" CN "o" "co T " 0 "o" "o 0 >, T <J uo
0 "c?
Z uo CO Z _i Z
z+ ^ .z+ +z + ^
.z z+
1? uotvn xo+ ^^0^X3+ zxo+ > 1?
z+ c>lz z
uo
CM i n • z
1? <"o 1? in
xo ^
0^xo xo
in
in
xo ^ 0^.xo+ xo .Q 0 . xo
+ xo
+ ?1?•n LL.—uo in +
XO

z z+ z+ b0 +Z 0 .^
CM
Z Z Z z zb
b z z+ ^ z+ z+ z+ 0b z+ ^ + r
z+ ^ z+ z z+ +z b
0 -^ z+ iu z CM
^ z+
ra ra uo ra z
0 + + + 0 +
m ro xo * 0
0
ra «
0 ro ro i n ro *0
0
ro 0* ra ra uo ra « 0
7 2
•ra
ro «0 ro ro+ *
0
^ ^ uo ro *00 ra
z
;:: z + 00 Z^ 0 Z^
z ^ z 00 Z^ 0 Z^ z ;: z . 00
0 0
5.S ?:
Z^ Z^Z xo 00
Z^ "c? ?: Z 0
UO 0 Z^
uo
CO CJ
a r ra m 1 7B
uo
"ro UO ra uo " 0 "~"
0 in 0
in
n ra^ uo 1 I D
iCD
CO a r Z 0
"0
z touo CJ S 0
ID
CM Z ^
"3 I + in I 13
^ " Q 15 N JN z ^ z z b 0 z
"5 in 1
0
in *
Z z CN •— CN
CD
in
uo 0 "5 UO C. _«i 0i n «
Z Z C3 Z CM
_i «
r -
CM
CN ^
uo * 1 ^ T - ? g s z Z 0
m *
Z ra CM CM
—. CN z
CD
UO Z•
Z i0n *z C r - CM uo 0 i n «
CO
CN JNz
— CN

ur«_>l cuo >2 r z iCOn : 5Ci *> UO


•irg « t^ T- * 0
._! iuon *_ l *_ l uo 0u o ^ *
0
_ i uo 2 r —I _ i u o : : • IJ in C ._!
0 Z CO > s.> uo > > :^> T - ? a. > uo > uo
> > :^> .> > > 1 T- >1 • ^ , CO >
.>

215
uo uo m A. uo
uo uo uo ^> uo
1 -
^— ^ ^—

122-
Nb+

122-
Nb+
Nb+

Nb+
CM *oo «
0
0
«00 —
> .,
0
0
0
5^
0
<,
_ l^ uo uo sn z uo z
ra

iOO*
> CO CO S 2 CO E
CM in tn uo
CN o 0 m
0 2
in 0 UJ
xo
uo uo in T- in T—
^"o"
— uo
T—
uo
T—
tn
•^
CO
to
uo
^r-
CD
in •5
Z + + + 0 +ra 0

le mal
ra ro in

put CO
ro uo
in
o z Z Z m Z
o
*oo *00 *00

trix
0 +
in
0 xo +
.Q
uo in uo •2 <" 'S
^—
CO • — ^ .z * • • . z ^ E 0
^CO «
61/5 00*Nb+'15505

*Na+15505 1/500
CO - 1 -1 CD - 1 2 CD
2 0) sS

1/5C

505
505
:2-v
uo > g ^

rvabI

3*B];
CM'

cont
<o SRI
uo CN °RI
m <N uo CM [£3 in CD
z
(1/2)/(1

(1/2)/(1
VL)/((1

VL)/((1
•r- ^ U O (DO) . . <
+

/100 0000-
/lOOi0000-
DOOO-

/100I0000-

xo ^>,o ra xo ^ t o ^ «
z ^SNg "3 CO 0 CQ < 0
+ > sS3S^<m
i/(Na

.000
v(00

000*
2 8 00
i; 0
0
0
S T ro
2 Z
0 0 jr
in TO uo •r- 0
.
'^'-^UO . o z _.
CNJ CM
T - uo v .f—
i n ; s - - ^ LO
i l l CO 1
tn 'v ^
UO
P _ i uo
^LO tCOn ^J.
_1
0
. 0
« T> Zi T—
uo
<< ^ S-l < 0 „
122-VI

.sp+97
sp+97
Na+r b+Nc)
122-VL

sp+97
:)-100
122-VL

(1961'

10561/
sp+97
Na+15

Na+r b+Nc)

M961

122-V
122-V
122-V

0561/

mc^<5?>
(1961
n96i

.=eig(A
fN<Pf:<
z ^ -7 « _ i ^-•
* _i . ^
* _ l >_-uo t _i - UJ m
.009/
)/00S
)/00S

0 > > .0 0 > > . u o Q-i .in


+ 0 • 0 0 f - ^ 0
0
« 0 T- "o > < ^1
xo 0 0 z 0 2 «z 2 z :=: + b Z J^ cT 0 , (U
Z •>- 0 « 0 0 « * - 0 • 3
—-» "•— ^
ar ar ;i 0 0 0 0 0 0 0 0 0
+ — CO, c i ra 2 Q c ro
s<
561
50561
50561

2:! 0 . . ^
ra ra ra
09/
15056

^ 0 0 0 0 0 0 0 0
sn uo la uo uo 0 , t n r?T 0 ° °
ra
Z Z Z gi2iG >
i_
^ •""* i n II II H !L II c
o 0 coo •<- 0 uo
0 CJ) T - S ; sO) 'r-< ^ ^ 0 0 .i^z CO .fc s m. II0 (D
^^ 5) ^
-100'

uo •<- CD uo1 T - CD uo T - CD CO 0 CD' 0 ^ II II o i l o o m


uouoUi
o
o o UO (3) i n uo1 CO) i n uo CJ) i n r^ 0 i CJ) i n § , S < ra D)

T d" T- CM 0 CN 0 CN 0 CJ) CM 0 :?> Q O O UJ 0 0 0 0 0 0 CD

CD o o
CD + o o + + CO + + o
to xo in xo in xo uo
O o uo o xo o XO
o
Z uo uo o
I
in
in * in CO o
tn
uo o z o
uo CO
uo o
o CM , uo CD o o o tn
CM •<- + o T « o
CM
T-
+
ra
o
uo xo
CM
•<-
aro
O
o
uo
o
o
in
tn
uo ro
uo
o 5uo uo
uo CD
Sz Z uoin ^ Z 5 o o uo
fb CO
tn
o
b
o +
Z o ro ^.i +
uo in
o
CD
in
o

o uo
o
uo
5
uo
uo
+
ro
o
uo
Z o uo in uo uo o uo uo
blG o :; z - uo uo uo
o •^
in
. 5 o •<- S
in in
> J3
1
o ', «
z +
uo tn
+
o
uo xo o +
xo
uo CD + O CN o ro + CD
in ro tn
ra CN B UO CN o ro o + ^ o O T-
~: uo CD
CO ^ C-in uo ro o o O CD o O 0
guo o
:^uo go) CinD >CN. ?C=D 00 * uo o
o Zin o in o
tn
uo C
o
uo °l
tn ra
uo C . o r : uo
i2b uo II.O
tn 00
in
in + T-
XO CO
o o
o uo 5to z?i
uo f -
CD
5 +
b xo CO 2 tn < tn CD
CO 5uo Z "2 C '^
+ o
ra M? uo ^ o tro .Q
z +
ro
1° uo uo S
>:2 + 0
S!G ^?? _ j I ro uo
uo uo
0
in
o
• "2
uo;;: ^uo
in

is i25 xo+ sn o
uo
i^
uo CM uo
CN - ^
1^ zra|"cj°
^z
' 3 '
T- uo C M Z
o -- z d
si
~^in Z CD m O- . ' CN CN ;
o in CM . O uo uo
UO . ^ 0 tn o
t . , 0 + g"T — "-^ ^
g j ^ FS uo uo ro o ^UO i J UO ;: CO in C-o
.iS uo CM CO a r c D <^ < <^ o ^ c<|S= > :;= >-U0
uo CM
>-cN >- + S^m in <
< ;
in :^CN ^ 2?p
m <^ o o

|l
o ^
•~
CM
o ^ Z
CJ

CO + >- + +
CJ
z
in xo u xo xoCM .
_• + uo
uo Z
CJ CN o
O
+ >. +
xo o xo
Z
n CM <n
So- COMZ-JJRig CN +
^ o.
> . + • uo ^^ CO
CD L o xo , uo < _ J
CM
CN

o z Z Z Z CN O
o Z m + o +
o + T z o ro ro aruo
uo ro sn ^ f e
+ T - O . T- o
> si «
O CD O
o uo o
+*
o 58
II c3
uo S
O Zz z
'n +
uo ro
T- Z
o>
o o 2 b <o
o o 1 o uo
uo tn O
r^A^
5--CM
§ 1"Q'
CN <
ro ro
>-d ^
o o ,
CM O
O
O
to

5
;:i Z z 5 o oo ouo m t- <^ - i ~ - • c 3 ! G *
+ ar ^ UO ?: ;3- S) in
CD ^
UO ra o •.^
?l S^ ^
« in
o o _
uo in o - |''--UO
T - CN
o uo « •^ £i uo
S z CD eg
x o CD CD
uo f- 5i
z CN CJ)
CN T - -<:> .—, CJ) o
uo
uo
m * o IT S Z Z uo in _| CJ)
O
m ^
Z '^ CO —1 uo - I ^
CN Z CO Z > uo > o
uo
.
>^
?? 8 5 in CJ) arcN i n CO T - CJ) +
o 1^ £
O CM
O CN
II
CO
'^
o
uo * «
uo > > 85 uo >
216uo >
CO
uo CO uo
CO • *
00 S
CO o 1^
CD CO CD
s. £ •<lf
CO
CO CD
CJ) c uo CJ)
in
CO CJ) o •<«• o CO a>
CM
CM CJ)
CJ) 00
CD
CN .....
cCD 1^
CD
CD
1^ CJ) tn
o CM CD
CM CJ) o E CJ) CD
OO
oo o E 00 CD
CO
CJ)
CM o o • ^ CD
CM CD
CM CJ) CD CO
o _ CD
CJ) 0 CO T—
cd oo
£ "3 00 d
CO O)
CO O) 00 CM
CO CN Q 1^ CJ) fc 2
CO CD CJ) o _ CO
h-
CD
CD d oo 9i CO CD
CO
00

n and tak
CO

ol from S
o 1^ O O
O CM
CD o < 00
1^ O) CJ)
UO
CN 00 r^
CO CJ) 00
CJ) in CO CO
00 CM UO
in •it CN
CM
CD
CD
o 4=

1^
^

CO
CD
CO (D t CO uo o
o i-t; c .^ CM
CJ)
Cvi • •D
qS) CO •D O ^r^
— CD
1^ CD CJ) CD
CJ) CD' ^ r r CO o c
CJ) . .o 3 CO CD is S Q.
CJ)
tn
I D CJO " O CM
. . O
^ C D
?-,CJ) o uo
CM . . 00 uo •g'4.. < E
II
CD . .
CJ) ^
CDS
C CO
1^
O
00
0 0 UO
?.;«= 2
•c c
O 00
CO CO
°§ !8<o q CO i n
O CN CD coo ro £?
o S cp CO
• * CD
o uo
1^ Jl,
T- E
c^co
d
X z s uo r^
00 o ;5 o 1^ t o o »
CD
h - CD CD CO
C3) CO d o T?- m . II CD p ° S o Eq "55
CJ)
uo
oo i n ••-
CD u o CO
CO . N
CO "ra CO
.. <» UO CO
O CD •^ I I
^~ 00 2 ^d
- oo O 1 - E^ O 00 CO •*
l-~
o
. . CO 1 -
o in o
""iL? CM S
O) . . CJ) CJ) ^ CT> *-
c •-
CD
o
•* o in
•^ UO CO •^
CO oo c uo •^ u o •<• CO x: CJ) 0) c CJ)
CO 4 CD 00
CJ) CM, CM, CO <r t CM O CO E ro uo II d CO CM, CM
= uo •* ^ • ^ fc CN^CM, IL
IL IL
ra ro
. CO . II
OQ II c j ) _
-o
a)
II CN
CN
o -
ro _
" orS ro ro!L
CO

& ". s^ IL
,-7;-'
c "

§ «;coiJ3 ra
— '"
ro •>- ro ro
CO. II 2 II II

CO "j T^ OO ^ ' CO
xo xo < g , ^ ^ •
-- I c TJ io CO ^
xo xo > xo CuoD ^xo xo^
3 >< CO I - X I S^ ; < , Q - , ' | i 9=, s? ss > > ro
>< xo CO 3 > ,
X •<- o 5co ^> >
SSs?5S ^— o^ o^
o^
^ ro x o uo
> >. X T-

E CD
o (O
»^-i _ O
c
CO
-CO
a>
CD "3 <D TO
TO a. h- O)
o "3 5 0 T—
CM
E o ^2 o "53
I3 CO o TO
•D 3 •TO
o o
CD
X Q.
0 ci) o E
,C = CM CM
3.5

If CO •
0 '^ 00
a o CD
Q. CD
£** CJ) Q
3 C2.0 ^ CD

E T - CO
CN
CN
ra
o d
o CO ro i c
TJ O
• ^ 1 ^
CD ra
i_
<
_ l T-
>*
330

TJ _ CD

i^co S-CN
CJ
c !=• CL
c
o
<5 0 JD E-S5-
o (I) ^ 0 >8 0
CM
ra
xo CD qS)
c <« E S 0 5^ CN 1^ TJ
.2
ra c I— I
CD
CD _• .
i n CD
< * •

CD
q^
CO " . 2 ro < CO UO 0 UO ,3 CO CD ra TJ ^ CO.
c 3 .t: 3 0 ro o CO 1^' 0
><T3
rocQ
ra O <o x : <u 0
5 . c: c c CN
- Q T— CD
CO
UO
CN • *
ra
>l > « • if,C3'. EII
CD
ra CO o - O .
O
. ra CD CD
TO i . c k_ f "n CO o O
UO
CD CD
uo
CD •* II Q-co I z
ro ^.^
L_
D. CM
O 00 CO xo' CD - E d 0^ Q
E2 X o CM 2 ^ CD uo ra .c
,c,

ra^^ UO fi "D Q "CJ <-r


ro 0 C0.U0 CM
O II .... CO uo CO TO 0
CM O . 0
CD
\^O CN •»t liJ . II CD
E
O) CO Q ra 2 d •^ o O 00 . . CD d E T—

-.: • *
•- mod
T,Ti]

°<-
m <" TO x: ^ CM S
uced

oL _ ra LJ C O V CD
.c CO CD C 3
Q . Q.CO CO rat) 0 0 CD 00 o 0 CD
CO
<
c O o CO 3 Q
CO i _
ra — •
CN •*
•*
1^3
II
CN5^5 CN CN,
S ^ T II C5
11,
I-P

• >
ro •- ra a c j |v! II II II TO - . o
ro g ro ^o ;^ •D CD
\^.^^. CO TT S- II SL i _ i_ CO II cn CD
< 0 I 011° vp ^ ^ ra .Q
ro ra . (O
0" CD i_
0 X
OC) a d xo xo
CO O D ) D.CM
d il JL
S^ > > >- X 3
>< :££Sfi £0=.
CO > - "D

217
C
g
B
3
E CD
CO •D
CO
cn a.
TO 0
,9
'i_
CD
CL ra"
O)
c
CO. dH 3
? o
o
£ 3 E X
•Q. CO
< (D
E x" >i x"
ro H . ^ c ra
. . CO CO
O 4L,E •D" c^E
X = o 2 ^
CD >> E
CO CD
lo
CD
^^ TJ II ocT X
+ +
P T'
c"
o
o ra
3
f|
TJ ^ 5 ^^;z~ E S g:=
c c (O

i
TO
C
^
C
i B B
T3 TJ
c c TJ
ra ra c
^c 5 5 5
TJ TO ^
O CH
;§ T
x: • ^ 1

•CDs - 2 ? ! .
^§ il
o ^
C C C
3 c^ T3 3 E
B S * • ro C0_
X
•x.3
o o B B '^ 15
il
i_
^ o 3" C
TO TJ
CM i ;
2 a)
TO -D TO
C C C CO "g d. o a. s 1
C C . ^ 0 CO
ro ra UO CO 0 ) - 5 ro ra ro d oj Q. >. Q:>- S .3 • < ^.
*I.. *i_ CD

uo uo
o o
CO
O
CD T -
CD "
L_ b_
UO UO CO t : T - T -
o o
C O " ? h - CL o o
i-
* * *: -
o .t± X . - c
_
CD <D
CO ra
« r= O .
ra
CD d 2^?
Cuo^-— -it
C o ro ra C- o 3 'CM
II II CO CO J!.3
II II II g Q. ^ x «
3 • II II CO o S E » o to
c ra 3
Ji^ JL.—
X
,iL
CO.' II II E ^ xo CO -* r^ X
cS o ••= Q . CD 3 * - l • - "l^
X
TJ TJ TO TJ TJ C TJ TJ TJ i iJ N IIII
II to TJ r i i n " ^II II z : , ^
•D -D o
3 3
TJ TJ TJ TJ TJ .>
X
CO .U. T - CM
C X X X o e o
X X X ><
CM

CD
c
g
o

c
o CO
CJ CO
o o
c 0
CO
oo" CO o
CO
TJ CN c
C 3 c
o
-1 CO
c
•a
E
>^ ro ra
ra i_
«*- "3 + •»-
a. "6 +
- ° AA-^ 3
--E o ^5 5 T-"
. O ' . E CM - - :ir ra C T3
1—
3 0 C
Q . CD a. t::, 0
s g)T- in CO o I I 5:^
c
c c Si
g) X X "V
T3 C
c
3 5 ' ^ uo
C T - S O CN
S se CO
C
ra c
T3
0
C XI
i 3 - 0 o *- CO
3
.•- ra
C
uo *
1^ CO -^ 2S J>^
_ ; CD ^ C N CD CD CM
o^ ^ 1 ^ r^ . O "; « II II •<t 0 0
• . °^ 1 —. . UO UO O J ^ J ^
o'A^in 1 TJ •<- T - CO •— CM co_
L--CO,C0 i: TJ "D • II CO coC°
•r-
_ .^ o o
T- ' O
ro CO "£ •<- o 0 o
ros

CNCO. g - g -
ar;

OJ ro 0
•— ' ^ UO CO . 1 ^
0 0 •— . . i . - . 1 . . 1^^
-S 2 O
CM C-D ' ' ^ CO CO
CO.
CO g ^ JUJUJL- "
n II 0 CI) II . . ^B 0 0 T r l L Q . Q . Q . c o CO CO •r-_ CM_ CO g -r-^
• - o V I T " II JL
7 X O N N TJ O ! r 0 l l ; : = , < o c o c o > . > > >. ^^^ ? ^
JLii-^ iLl 4
l LJ Ei oE j" i i ^'P
M M O II
O C0.O
II C II
fO
><TJ
C . •D -D TO . 3 TJ
S Q. > , 3 3 >,i^ N g X X 3
>. BQ sSs? 0 ( 3 3 3 5^ 3

218
3
C
c CO
g c .3?
0 xo
c
£0.
CO
TO
3
ts ra . 3
C
ra
E 3 .> 0
B
CJ- 3 t; E > 3
"cQ 0 O) cr 0
xo 0 xo >s -o °
C
c-2 is m ra _CD Q, CO.
^
ra
xo
0 s:
• o
in Q- to I " CJ
CLE o? ro

, Kes
TAB,
0 TJ uo ro 3 0
^ 0 o 'E "^ 0 ra
S c: . CL ,_
. -c " E - £ " TO [>C £ 3
.i 2 "2 £? 0"0 0

LU|
0 "o 3 d E
> < CO
ro o • D ra
i_ S
0 0
•c o o CD ,_
M >- 3
I? £ ^ E
'c
ra
0 0
CO
xo 0
to
^
0 ~S
E
ra
E : ro _
0
TJ

LLJ
cn ^ E 2
3 ^ CL
CNi CM CM 0 CO. CO CO c:" H

hscoi

wt, locks
< < < c E ,.^ 0
u = 0 TJ
c iS . ro
Q o

max]
o o o O CO
Z g
i ° ^ cor
"3 O
>*—
^1
CN i_
oo_

^I
• ^ _

2 rai
xo TJ
t_

3
xo
> > >r 0 CO c r o" •D CDf- ro o
^ 1 ^ ^J^ ^ 0^ c
^^CM_ co_ ^*; TJ . 0 CO. CD^ - ?« ro o 3 . c
0 "^
0 g CO
• ^ _
0 X
O
§>!

yep.Sd
in.iyma
imod.ywt
I O 0
Q : ^ •o . .£
CO. Q . CL
CO CO CO
>._>;^H^
ro x :
CD c: E
IB O
1
CO
3
TJ , . ^
.9
E
LU
0 -2 in
0
.ra.• •*-
1- o
0 CD 30 -^ E" 5>
+
o.g ra 3 •D g c cr
CD o , O)

^+'
E E c 0 0 ^ ••^ 0 ^ ro
— CN CO
L_ i _ i _ Q- N o UJ 0 E . c en
1 ra
o
l _
l _
0
O
i _
i _
0 0
o
i _
l _
0
CO
ro •o
c
0 OE
QO
o
ro ra
• ^ -a
CO c
S ro 2
O TJ
ra
<B :
CO
3
«- D
CD
ro
CO d
ro" >. c
x" ro
CD*^
c '"' ±0i .£0
OD-
111
II II II _ 3 0 0 ~ UJ, 3 1- ro CD ra CO - * •'^ LU
ro CO > g 3 E CO o
T—
i _
CM CO
i _ i—
•d X) CO 3 CO. c
3 ^ .i2 ^ o TJ 0

[Sx,
O

I'UIU
o
1 . k. o
k.
CO. t o O 0 ro E Q. E c CO
i -
0
h_
0 0 TJ ir Q CO ••=. Z co..ii
o "S
o ?3 xo
O 3i "J> , i ^
c 3 3 > ^ o - , ^ > . p > p ^ > . , p s . , p > . ^ v ^ s4—
. , PIs-. , p ^ ,
II E
0 t^ ._ o ^ o^ cP* o ^ cr* o ^ o^ o * w* w * o^ tf^ I
I - Q.

CO
+
o
o
CO.
-^ B
j - ti)
ro CO .;.:
xo
>< • c
+ c . c XI .
O: - O - O:
. 3 ^
5 •
o : i o
CD
:2 C^."Q.

O 00 : = ; cx::^: CO.; CL
tn o
CM CO.C CO.
ra cn " c - CO -•^ 2 co.
xo ro , ra ro 0
xo i j vu i ; ^U iJ __
+ CXO C x o C C-'%^
+ ^- ^ +
>^ ^ +> > H^ 1^

ra co.-.-
^ ^ 2
xo
+ •o CO.
°
CO.
CO.'
CO.,
Q.

^
O) CO.
O
O
0) ' ^ „ -
CN

,II >-^ 0 •CO.'"0 •
II CO + B
to;
I CM tn > 55-
(u0(3)+u bar(3)yi(y(

c
(!):
(1):

"^ c ^i. o
'3 1 - CM 0 g F; T^^ F. CM 5 •^ CO_ " Q .
•nod=imod2; swil

•nod=imodi; swit
stance2<:distanc
dist ance1=n<orm(y-y
dist ance2=n'orm(y-y
GAM2*

to
- ra ra
?
perating 1costs:

3 S ' T C^
•o xo > J3>-
xo + . co.^~:, ,_
o •+
l_
•+ CM ^B <u 2
CL ^ 5 1 o c o c o
=[CC;cc]

+ .:-:; II O CO. !^ CD
o
x 1J^- c ra CO., CO.. CO.J
*
g g ^ ^,.uo uo . •<- I C D ) . . . .
.^^ ; ; ^ ^ . c o o o °
CNlh CM
A^d !" CM xy o o !" •>T 0 ^ c D ^ c :5 II II
.:_UJ _) C :5 II II II
X ->, 3
?CN II "ar 2 "0" 3
>-"2,
);

Q- X
else

o ^ . i ) ^ . i ) £ . i ) §..=£ CD
, |. =5 o^ ^ t t t
end

II M "x X CO 3
TJ II II 0 II CO f 0

1^
CM CM O D)
X >. > =3 S«- 0 > , o C O . C CO..C 0 0 0 tS
O ic:

Q. 0
219
0
>
ID
CD
0
c
2
ro

ra
x:
o
0 c

eme
co-.y
0 0 CO
0
N E N
0 XO
'^ CD
c 0
(0 > >.:; C O
0 D) c
0 c
ro
CD
« - | ra

0
tg co -^
°
i_
O
E 3
11
0 C
2
g
0
c
CO
^^
^.^ CO.
8v.i2
e-.D b
,^ c
^- is
CO

CO .N cn .r-" 0 C: t o V 'c
N . C
CO - ^ t _ 'co — .Lj! 0 CO
o cn CO - ^ > o
O CD o
J^^5
^ i 5 fs ^ P

any( loc
JL, II 5 '"-
p
CJ
II >- 3 o
O II
a.§ xo 1 ^
> - II c .^ "r— .o • ^ ^ II
' ir ? c"?

[nrow.i

erroi
j?."=^

locks
empt

if nrow
c o II
-S.O o E Q. N II
o "C ro "C CO.
g X)
E !' ? fc TJ II -a
c 0 ro <D C 2 >:2 xo c

Ise
0 g 3 3 C cu ^ CD c0
•a
c
0
.stist c 0 CO 3 C 0-g
0
CO xo c
0
^ 0
~

0 o
L_
x: 0
cn N
0
_3 0
XO
ro
CO.
> g cn
3
"5 10
ro 0
o 0
E
»•—
0 c TO D
•o ro O
•a o xo
E ^O_ c
"53 c X i_
3 cn ro
CO
B= . 4 - . 0 c
•a
c
CO £ E CO

is
TO c 3 CO
ra TO 0
0

CO
o
CO
i_ 0 o
o 3
'o
g IN
TO CO
ro c0 ^-^
•3
o
t•6^ tnE
0 O
c c
g E 0
E cn L-
0 c to c cn co
i2 co CM
0 o 3
int

CM
0 E 1^
'o •o it o
E 51 3 0
CO. E
O
o —
•o
c _II3 . g
TO
3 O 3 ro _ii^
CO.
D) cn CO ^ c .— c 0
E 3 Ig ra ^ * - i_
CO. CO. "0 ss 1 CL
3 c c •D c •o
CO. CO
CO o E_j5 0
g . . CO. 0 ^ D
UJ E V , E
0
o oC3 o g tD c CN : = - : = - ' 5
uo
•=
E E
ro J.: s - S.
c >^ V CO
XI
O
'2'I
ro 0
1
ra i! c •§
1:5-i t +f= -P
.= o CD
!L -=-
-
i ^ P =.^ t c 'E A
.!L II c .c >< 2 E •<- M- p
+ O) O . t CL 3 M- •g cn
c £ ^ E" E E ^ <D II ' 0 t
+ CO
0 ra.!L.D E-3.!L .CO CO. ^ 0
+ • C TO
•D !c E E II M D)T3 £
C ro II ' 5 '> E £ - c c c 5< ! t 0 fc 0
^t 2i 0 0
i i 4Q c c c 0

220
0
>
ro

e must 1
c-

cause
-D
X
c
ra >< •D g 3
E o ro O

large c
c

oblem,
c o XO

rthis.
CD 0 3
0
g O ;^ g CL
XO Q.
'g
c
i_ *£ <» 3
o
0
CL 3 ^
.2! E
"c o CO.
o CO. CL xo cn A 7^

theQl

check
o 3

finite
0
jO
E r 0 CO.

0
5tD .^ 0
L_
. i 2 CO. 3 CJ
o N d TJ I'C E to
CO CO V
2 • s CO
ro o c ro 0 ^_^ > . 0
c
0 .c —
^1 C

i-^
c » c • " CD . : j , CD
P rout

(^ bound
E

followin
xo •° c E ro
— «
o TJ c *^ CO
a CD o c 0 ^5
.0 E ro"
.£ c c
S o 3 cn 5 x->-
"5. 3 g S ,0 o
CO.
O V <
0 "cn"
•-
ro
E
Q. S- ra c
3 o g-rom x-=' I O CO 0 .g E o
g N 0 to o CO > . - D
o
CO
CO
II ro c 1-
B^ c E.i •-. C
E CO o
Q. 0 V
.<2:5 § . 2 TJ
Z c
i»= in *C O o CD
• > -

c
~-' 3
IE
_3 < O 0
(u ro
ro
il Q 3 E 0 0 "^ > . •_
thel

l-i
oble

Ci c CO . N - > , E "^ < "


elta

o2
>>
c
+
g
>
o
0
N
•« g
ill —

•s ?" c=
3
" ^ <0
L. CD
c
•° b.
c _
o ra
li
X ? -g
•D
3
E

^ ">
TJ
^^

.i§
0

= - C M Z ra
8 II >
e g
i ^ ^o

0 JL,* ^g "tn 0 TJ
C 0
_ . C ^ I :;:-
_ ro ^
^ .CD, CO 3 co.y
E " 5 " E II S II o - Q-ir F O
_ o p E !t E
CO II ? £•< c6
ra 2 C •? s . . 3 - D S .^ E ££ ^ E E
— O 1- 0 t-
~cr ro tr" ra ^ 0 o "g c .2 ,c i >> c 0 cn 0
11
X
g
o
C
E""O
I
Es: S
>
r- iO E3 ^
.c
CO. CO.
in in . ro •
iC: , M-
^ 0
= o 1 - 0 1-
S XO C 0
ra 3 C 0 ^ 0 CO <D c c c .
E 0
2 2 0 ;t 0

CO X CD
0 ra "g
sz g C TJ
o g
ro o TJ
0 £ t CD C E
2 0 ^ 2B >.
cn CD
0 g E o'.E'ra CD
>
o 'j<: o
cn
- iS "c
•= c: o
g
o ra o CO
•g
E O CO.
• E CJ g 3
xo TJ
C 0 o
0 J) CO CJ i 3 o
xo -D "x
E o B 0 •3 o „
3 0 ^^to
C
TJ
0
T^
> - • CO
CL sz ;-.
M- cn c

ro ra
T^

II
A 3 CO. cn O IE
in
CJ Jl- A Q.
c CO E 3 c
ra c: "0
g -co E G O E
3 V
'co g 1—
CO
^ x o CO to c = CJ o ,3

CO
1- +
CO
CJ
¥=-g o ra o o •" o
o
o ts
k—
3 CL dII xo
c PO
C g o>^
"o E
% i O
o i2 g
• " CO
o
-Q A V co CO e ^ 2 3
CO 0
CJ .. 0 ^ J O cn
B^
0 'C
2"0 o to --^ E .. 1 -
"g
o
.^ V
xo I— -^F
Z o E c o 3 o ro 'o CL o^ Q.
O oC3 CO. o j "
£ • Q.
CLQi 3 "Pz
aj o) II ^ I— .Q o cn
V z c c
c g 0 A < -o II O o E
CO Q i CO 0 "g cog c ^ xo o 3 + X
CO c c t £ + -£-$
.. o 5 .. g 5 in CO x j 3 •= E
CO >
xo II to • g T J TO c .0 3 xo cn > C E 3
0 C0--O V - ^ cn 0
CO <D 15-S II s= S - II
xo 0 .!2 xo 0
II j^
o cn » _ 5 _
" . ^ II
^ ^ o• ^CO.
- o ii^ 3 CO T:^II X
^ CO iz 0) "o c
xo T J 0
jn
0
^? x o CO
U) W C xo TJ c T.,
0 0-g
IL X ra
E W E
0 I- E E 3
<" c 3 3 - 0
0

221
.c c
o o
!S CO
0 c
.C <D
.y . E 0

l§s -a
CO
.E'ISS -D
X l^ CO C
•£ 0 -C ra
t o " " CD 3
E c E CO
1- ra >< 0
ro i .ti
CO
3 <« c
CD S (D c
C o -o E
ro CO — 3
•c c CL 0
0
• J T3 g )
S 00 . E i j CD
g CO c 0 d

|U|
0 Z ) 'ro x:
1 *.•
"o ra
.^
o X.; cp 0 E
O i; O x: 0 CD
1—
xo ra X t«— E
0 • ^
ro E 'i: o
CO. x: 0
0 >- 2 E
I—
xo -3 E o f ra
o E ro c
< ^ 0
CO : g .<»
o
CO
. 0 CO
0 A SI
— cr CO. c .1^
^^
ck is ai
% eye
CO. < % Sde
o '>^ •3
CO ^ j
0 ra
.0 •

O xs c
:r- 3 3
c_ 0 c >
0 "O)
E
• > ,
c
. ^ *—
*— . ^ ^ CO ^ ^
o
ra
0
0
,*.
0 '.^
CO C CJ
0
I CO.I CO. •3-o->. to E .Q o
>< O CL "0 1— 0
3 E-f?

doin "bl
O .Q. 0
CO. O
1 -
X c t -
S? 0 TJ
"Q. ^ O A o"
• : .

•:. >
c< c>> >> xo II CM II
9-^Bb > II * _ CM
CM
o
II
+ + ¥ ^ &
CO. II
J D CO
E CD •^ ' 3 j £ II
^ f
I— I—
CO Cl.'> c= IT a

K=n
CO "D T— CM 3
o i!_ ^—^— CM CL CN " 0 0 - 0

ib>
C^i <= C i — r— L— 1 -
0 c
O <n
^\—11 Ci!
0 "H" CL II JL ^ 11^ II -0
I— C CM II ^
-a 0 0 >--n
IL ^ 2 ^ 0 II II CO O CO « c •Z<o"g
-£11 S II
N •<- CM ^ 1—

0
c TJ >,
c 2 0 2
o^
CO 0 0
CO. X M 3
O CO CO

c => Cli cn-g


E 3 E o ro
_3
O
"0 E •£ E
CJ TJ ro ra 3
g o CD E CO
+ ro •" c CO
+ 3
+ t TO -
2t
+ 0 0 *J Q. to «=
o t5:^ 3 + 0 c
CO
c "0 ^ c/i o + I'M
o o " " 3
Q . ro CL
-o 0 1 -
0 + CL C
0 CO
N
CO
D)
g
'CL «'!|
6.2 0 g
0
0

to
II
iP 0
CD Cf
c o E CO 3 B
to E £ 0
o c •o ra E <» E
mber
ws in
ion

g) CD E cc ra
CO S <" 0 Z O)
c cn
0 0
(0 0 TO to
1.x -o ra CO 0 O 0 0 3
CO I— "^ 9 CD o . c "L0l ' >- C
0 II ra .5? 0 'i: »«— "^^ -^^ E CO *•—
c "o O CO
.» o ro
CO CO. 0 ro
o I E io ra g .E X c
CD
3
CJ « 0
S- c^ o .g c cn c: -s
E o 0 i5 1«-
ro CO
c CO CJ CD o CD C Q.-C3 o ro
2 o ~ c CO. xo o3S
^ I
_'E-1.I
0 '•>-2
N c ro
E
><
c= ^ ><
E
c
CD
g
CO
0 ra
> CO
.E tn
^
0 CO.
-CJ ro 0 E
0
CO • s - = - >> 3
« CO c ><
CO +
II c
E
% S(ft ' E> ^ 3" 'c (3) ^ s- >
c
c
0
z JO
0 0 0"^— C >^ g g £ 3
c . O - 0 > , CO LU P S S CD g c=
o —
+ •- E d O 3
o 0
Kest=[zer

zeros
eye

ro
S- r^ ^ 2 i CD o
A " S . II 0
CQ
+
= CO
i 1 CD
O
c t= E t o N -D + „, p •5 7 S < +
+
' • ) CD 0) 0 + F.-5;:=. +
C ' CO i ^
+ X
ilse

JO CO V T T "
c: 0 ^= -a ra ~ 0 C II CL
0 m >> c c ^=
0 'E CO. E
0 0 3 > >>

222
0
c 0
o ra c
CO cn o E
0 CO
o 0 _0
0 CO n
c 0 o
c
TJ
c CO.
o c >. i—
a.
ro o CO.
0
0 ro o
TJ o .c
0 CO 3
0 •o
c • E
•o
3
-co" ^ X 0
0 o
CD xo 0 == -c •o •o
ro o •« 0 3
C •D JO ro -o
o 2 E 0
0 0 E 0
0
o ^^ c c
c
o
^ 3 i!
TO >
0
XO
CO
>,
iE c
E o - CO .05
O
,- CO
ra
0 0 CO _ g 0 g
E CO.
g ra
cn
CL g - • o in o ^ o
CO O TJ 1— I— to
0 3 - CN
0 >^ 0
CO ^cn t i 0 C 3

S3 ^'2
^ ' - X
CO
3 ra 2 E
ra
CO 3 -rrcM ro cn E^ 2 s;^'N 3
CO c C 'i^N -X^ E CO 3
0 ra I 05
g 0 § ro C3 g
X X P 3 .E c ? . X 3S >>— ^ ra •0
ra cn 3 c £ 2 c >N-p E TO
E >-^ X -^ i-'ri ra c 0
c== E^ 3 P. S
ro .5 E E ><
di
C COL C
3 c ra c
•u ^-^ 'E Z X F .^ i , ?. X E o
^^
.X^
I...I3E
ra '. r Ci.^:- X ^
E ^ UJ r^ +
3
:5-.E ra i
c3 E E a
E
>% c ro >• E E E
CO
-D
c
lim

X E •^ c p ts ^ C
£ g- > - > ' ° i r IIX
ra
E 3 •3o
|>E| § X CD C D CO.
c c j^ c
3
O
3 II II ra E M II
0 0 ' ^
XO
II X X E 3 . c IL X ra 0
II ^ < CO. CO.
X
M M "
ra ra " IL X X ^
ra E E .E .£ ra ro ro
3 3
-M-
U,
C
3
C
CO. C L . ^
CO CO E
J J T J TO 3
CD CM
y £
3 -D
II
CO CO
TO TO
.E ra
E E
>. ><
M
05 CM O II- JZ

E E E E E OJ 0 M- 0

D 0 0 ^ c
TJ 0 S^ E
HI 0
CO.
£ c^
CO *J=
- x
l -: 3

e long1 col
Qi >.

this
const rain
are n Ot U

uts,
< forea cht
irobleiTl.

O X o g. •)
to i CO c c
3 0) ra Qi
C 0-^
cn
izon. Fort!
Fore itputs
if i2 "S "- CO
"c 0
3 T- cn 0 •• S
£ CO .£=
00 jj •a
c 0
CO Q . — 3
F g
^• c ^ 0 •" >> J^ 0 Z3 •£
latrix out i
T- O
o g) cn • - £ xo

li ra 'g
in > ra -= XO
0 "0 TO
0 m 0
0
.c
forei
need

itairlingt

ro
ality

^ 0) 0
EE — o x: 3
P

05 8) ra r- C
I •.
tn o 2 ro 0 % .0 E E
,nu

CO. 0
"3 tn 3 TJ '1—
to .c 0
rj 0 c5ra^
§^ 3 00
g
.9-0
c x:
ra C D
E
3
^3.
C
-— C
-s; O •3« »-
00 i:
L.
0
0 T0O C
"5)
sz
tn
II 3 o E E g c1 — E 2 > ro CO CO O..35 0
% Stietch

;C- c
ually, some of*theg ene
is section sets up index

Ips to minimize theisize

ctor

E c c
;k out the ones that are

3 + C 0 0 0
o ro 2
c .^ O 0
f
nstraint 0verth e enl

X 3
suiting vectors must

+ •;-: X -= sS II
0
>
' c ra ro 8 c
ro o in
st set up colun-

E 2'
=ulim(:.iu min)';

r „ ra >.
c
CO.
0
'3
c
= ^ E + .. g0 •e + •.
1" cj-
=umin(:);

O) c cn g 3
0 C
uwt=uwt 10*

-7 i g . -
i=-5 0 3
(1)
g.EQ
Q..E LLI
O)
^-^ g il
CO. o +
-;.^ g
xo + p
gi
R(irow
irow=ii
fori=1:n

3 O Qi
irow=0;

. . CO.
3 iS CC
> ^ 0) ^ o ^ p * CO x : " 0 ._
LL
0 0 c c
Z) 1 - CO..C 0 SI
end

0 -D
CO o g CO .«
a: ^ 0 »•
E E
c:
0 sS SS CO
0O

223
3
c
CO
E
c CO >.
0 c
ra TO Q.
xo

OLU
tn CQ
c <
o w
o ro H-
to
c E
c 0
o 0
-o ro x: .2 ^ CO
0
c
3 3
CT
^
TO
X
Q
o U) + CO 0 .....
cn tn
xo g -D 0 ...J
I—
0 , • - +
+ TJ 0 •^ c
O c 0
CO. ro E
CO. .1.^ i _ CL 0 E
3 X 0 O CD CO 0
.CO 3 tn k-
ro E 0
ro sz . . 3
o E + 0 <- 3 CO
3 E ra
>cn^ >,
+ C I— I—
0 + x:
CO CO 3 0
c X o
»•— + *—
( f Qi 3 E
o ro "3

eso
.I..J
E "o TO c + ^0 "0 i _
ro 0 ro TJ 0
3 z CO X
need

3 to .c
Save

CT -D CO. ra 0
0
-^
c
o < s 0 E
. 4 - .
•5
ro CD

cal cul
O u >, 3
•D
•q
X
CO CO LU "0
55
jS 0 TO c
ro N O
0 ra * CO ro X CO
< E o co" d 3

iyma
z

uTQ
CO CO 0
^ >< 'L—
.t-.
*to0 0 0"

tat
>:; CO
*
(V)

o^ X . . 3 ro ^Qi O o >.c
0 Xra)
, ^ro^ C O
0 E
< H CO
^ ^ CO c
(iym

scon;
max

' o
max,:

xi=ze ros(ni +nyi


i_
0 O ^ra I Q.
N
.c
.— I < "o X F 3
S CO
cn c/5 1

mea
II .ra + _i

ase
QQ

+ SIM

imaxI
>< Xro S S .I—C 0

C=eye(ni+r

datal
lizatio
x-^ 3
fin

TO 3
E ;^, E • CO 3 rags <
^
"5. .5 II 3 0
< .c c
umd

3 * CO. 3
Q
- isemi

A=[A;S
ymax=

rhscon

II
II CO O + ra CO
g
X +
iLi- ra? CQ
> II i_ + > c
ro •=
6
g ra
•D_ + + 'E
.E CQ ra
1^ ro o"
C
+
sS
O 3 o II < 01 ^ 0^ ^
CO E
S?.=
I—
0 H CO CQ 1 - o
3 II tt^
0 CO CQ

^ >>"S
.05 "c ^ CO

5r "5
E °l
0 3 XI
ro
3 CO
X
Qi
0 .».-
o CO ro
CT ro 0 c c c
0 o
r ra CO CD to g g < £
JZ o
•D
o
ro -o
cn CO
c 0 g 0 0 3 c c
x: 0
"g o
o EQ.:^ M— ra 3 ra 9
3
O 3
'ra "0
CL.Q XO O
.t-. 0 2^1 o •a i_ XO
CO CO c c 0 1_
c X o ro CO. X 0
o 0.2 o in to g CO. ro
Qi c -o c 3 E g
CJ
E £ "X, 0 g c o E 3 o
3 E
CO
x:
' * j
ro 3 o • I +
ra 3 o CO X CO X I
X3 ro CO CO CT xo c ra c ra X
0 CO J 2 CO •c 0 g E g E ra
TJ ra 3 3
3 «>•§ ra 0 to -o to E
0 ra CO.
* 3 TJ ra 3
cn
c .c 0 3 CT 3 -D
c0
— c *i CO 0 C o ro CT
g" 0 X
CT
xo "ra < c -o ra ^ 0 0
c CO 0 tn ra i_ >, 0
'E
-o ra -o g
^ 0 cn CO 0 c 3
O CT ro 0
•D
•a
•o E -o
E
c0 0 0 >, c
2= >• u 0 0
cn I- < < 3
<
-D
.*ra.. ro ro -= 0 0 0 .i^'O)
> 3 ™ 55 .^
~ cn -rr-D X
3 x:
•*->
II 05 g" 3 ra X W c -n- .1.
0 tn *0 - . c i - p . E .E" .'.
II I I c .E E ra c
"><
cn 0 ra i_ X 3
ra E CO E .E §
' X X
3£ 111 § E E
If05 T ra
vec

>>
nds

ro E 3
ro. ^ CO
3 CO
c: ra E o 2§r-^^ ~>. E ^ - ^
3
0
X)
l_
S
to
1_
0
11
?r-g
>.
£ £
05 ' x
• s 10
ro * i
CO g
3
c
E,
*J
3
-D
*CM
II 05
c
">;-^"05-E
a.
E
0 X
3
II
E ir'.C
0) . i
^IL
• Q .

E
0
Ht
II >-• o
E <, o
m "ra ^ CO ra
if " 05 i: 'oo' C c 'O
0 c0 0 ra 0 05 C E >< 0 O it E <:8 CO
E II ^ 0
i.^^8 i l
.c IL X Q E £ O LL O 0 CO CO 0 1 3 1' > , < t JO
B CD
0
.E ro XO ^ ^
II 0 CO o 0 ^ ^1
fin

aS o 0 f= 0
E E ro S^ o^ < 7 E M^ 0
' 3 < t JO
>- >. ^ 0

224
cn
0
o
c
ro
xo
> 0
E
>. CO
c •D
O
c TO CO E
^ CN
to -D 0
CM 0
E •o
3
E C_ 2 0)
3 CJ S
ra .E ra
C_
0 0
> o
0 E ro CO
> o
c 3
ro CO
c CO 0
CO 3 o
cn
3 ra E -CJ
ro
E x Q
0 •*-> O E
•D ro
O E 5; 2.
ro E
E 0
3 o
0 xo c
0
-CJ ro
CO
•D"
o
c
xo
o .05 ro 0
c •Q.
xo 'o CO
"c CO. i— CO
0
CO. TJ
0 3 3 CO
E
0
CO
TJ
CO
CO
ra
•R
TO
1° TJ
0
CL 3
E 3 ;—;
E,
•CJ c ; • > g CO
>, cn - •
E g • 0 " c CO N y c ra
c ro i2
; ^ « T3 "5 _^ •^ 0
0 c c cn N c II oS
.N E - tp Ee CO E
CO
CO >
II ^ rT-^
T J CO
E .iU .i= '
ro E
0) ^
CO
2 CO
c
.ra CO ^
a, o o
E = ' II N o In EJL, 0 o , g II S
C3 1 t = i CO o I - •-• -5. F. II t c ^ £ .
0
N CO ' - c T - i_ c^ > : R ° > 8^8 N
Jl,
i_
0
0 A E -r^- _ C3 t E vo A E l 9-E t 2 i:
E.-0 P N
. . c 0 g g >- 05 Jr CO
-D O
>N C
TO
• . N c: 0) c
• 5 , CO g
'>
c
!r> 05
0 JO
t;
0) "5 CO
CO 0) CN

S'?,^^;^ ¥iL TO
Si 0) S-'O -D
is T - ^ ^
ra .
c fc
0) JO
0
TO
El El
"0 E
3
C
C fc
0 JO c: >> g 0 0
0 0

3
CO.

^ o 0 0 g
CO
o o c
0 c c 0
:d>< o ra ro E
0 c €-2 JO 3
•D ^oCQ ra ro 32 3 CO. TJ
xo 3
CO
c£ E^i CO CO Q.
"3 0 to
0 TJ TJ 0 TJ 0 'o_
>. 0 i—
TJ - O -a
0 d"c3 2 2 0 3
L-
O 1
easur
meas

ra" C -D o ra
d ^"y I
3 3
-o CO CO q)
o CO E
ro ro g
TJ E 3 3 0 0 CO !E
Cl- i2
I- ^ . o - . E - D :=.
>• tn 0 c ra
•b 0 E c ro
x:
CO.
3
§•-"1 3 liT
c o CO O X .^ -a . 1 fe 05 Ei
TO >0*• CO
ro o TJ 0 ro D)
x" CO » j .^- • ^ XO o o i _
3
ber

3
CO -E.2 ra 05 E to O 0 >i E ra
-D d " § E CO CO. 3 0 CO. xo CO ^.j o
ra < CO o
. O c H 3 >< i i ^ E c E F Q.
I ^§ S:E co" to V E CO 0 c E

x: "C .r-"
N ra CM . - CM
CO C0.T3 ' E
0 E E
ra a
xo c
= ^ EF .
CO.
ra CO
CO 0
U ?3S
.. ° 0 i2
c

CO
"0"
.y
"E
'o
Q
II
co
TJ
3 O
. CO. CO. CD p - 5 I B- 20 iiL, c -J) ,- _>;
"c iJ t o 3 • _O ' ^ " . . ^ ;
-•a > ? p ^ ^ . . iini i E E d '^ ">^
0 Q O
L: C
X E I - CO
ra ._-
icN .0 o > o
ro .;.:
CD . II •i c ^ . ^ r II
N
o

5-5
0 u 2
II CO

<
A "S.
C E

x: TJ
o
CO
•>
o
•_
ra
^11'
.is
-§ E
= ra
"ra CD 11 g g + ^ A
EE
xo : = CO..E !L U. 3 E g
!L -=-
E ^
' i . ro.!L TJ E 3 ^1 E o g- II J i
PB- E -S S -
II 0) % (2 05
CO . t o C CO JO
CO c 0 -D
C -D
0 C
X
U> <D

gi
CO

C ' 5 CD-O
2 -5 Era EII c c E c fc 0
Q. < 3 • > 0 Q-
3 o 0 c c c S^ "^ 0
D ) £ : CO ' F

225
c
0
E ra
0 >
i_ o CL
CO
3 0
cn to 'c
0
ra E o
c ra
IN
0 ra E
to
E xo "o
0
C -D 3 0
0 •D 0
to 3
ra ro
ro TJ ra
tn
-CO
cn B 0 >
CO
Q "g
i_
3
3
0

eas
TJ o ro >
T3 Q. •D JO 0
c c 0 Q. "c CO.
ro CO 3
E
CL ra

ent
cn g 'c.
> 0 O 0 to 1_

0 c 0
E E 3
sz 0 O
o to
0
o
•o ^
o^ >
0
_3 + to
o 3
ro to CT
CN o 0
> E .• - O 0
>< TTCJ > g •b"
c ,<CN CO
^_^ •Q.
0
0
" 0 CO
CO p
a. cn
ro
g
0
•0
cn
JZ >
c
ra
Q. ra xo c ^ > Zi

,nm
>. CD CO. ra
Q. o E
II ;3.o >. 0 0
CO
.E c + g
_0,
3"
'3
CO . _ - z CO.
:—.-D
* X c
ES o >< ro C O O Qi E. c
2 goi E o
0 *
2" >.
HI
0 -5.< to E > C>
O
ro 0 > o 0 CO
' • * " _

v=mdist(
N cn > c CLXO o^ CO 0 •+ + H g "0
> >

f nvi > 0
11 O > x II
0 -D II 3
II o
CO. 0
12 0 +
ra • D >,
CO 0 - CO. ^ CO 0 •0
9 N + C=3 g M •)•<- ii- ^ 3 * II C3 + to N CO
II JJ ra
> II ^i..- II • « c: II 0 a, g . "0 O
-D II
0 II
> g 0 Q.
>° S>1
C -D CO. 0 i i - ro "' C
trt
O •*::'.
ii-Tj , ro -o II
ra - o CO 0 0 c O ro CO 0
ra CO 0 x : —
=? CO O
CJ ^! t 0 CO cn 0
O
CO
3 -D
E § -e "i ^ CL '^
m 0 0 .c .c
* ^
0 -o x

CO
ra
c
0
3
C
CO
CO
CM D
3 > -D
C_ c
c ro
0
+
> •3
c
ro
1_
tn
CM o
E cn
E 3 0
X c _3
..-' ro
ro So >
E + o
0 3 0
o C >
c ro
ro
CO. xo o 0
xo
^. + 5
3 ..CD
•a i_ . c
g CO.
3
3
g 3 3 0 g to tn^
c "ffi tn
CO
C- c c 0 N 0 3 2
c
E cn ^— cn
N
'cn
TO O " "5 .LE O .X 0
3
0
L_ cn TJ
cn II ^ 4L, r- O
3 3 N
II
w >
0 0 2 cn
II s.
0
0
• . NI
L_
0 '^ S 0 o II, >
— p
w o
9-0 II Z . 2o O
¥-!L N
•^ > . IM i_
1 tr o 3 >
-a .« .II . II
TJ tn
A
C E
D. II F.O
TJ O t
2
0
• . N
'- II
'^ ^) «
c: ^ S
cn O
o ^.• 1^ c
.,> ra
CL
CO ,
"D
C CU 11
c 3 -a
E TO 3 C 0)
•i)'52 I O 0) E§ 05 c
JO fc O
•D
C
elsi

0 C 0 ^
c 0
3 E c "C3 - n
^ 0 0 <"
0 ^ c 3 0 cn io ' - N
0
0

226
0
E
CD
g
TJ
C CO
0 ccj
-o
c
ra «
_l
CD
c > CO

JO ra cd
o
o "0
55 CO. o
o •D >
X
o" CO.
ra
0 X 0
CO. > + •a

E CO.
ra 0 o
CO tn o
T
o
ra
x:
CO.
X o
5 CO. + o CO.
• CO ^^
o .. CO. CM
o
>
c
ra
B
ts
-D
-7-7-
3 g
II
o c
g ^
i n .O >C
o
o
o.
">;
CO.
O 3
CO
ra
0 •<
I? o -^ ^
E CO. ^^
•a >
0 ro 't
X, • -
X E
m
c3 "^ m
+ 3
> 3
-b >. is > ^ 0) "oT 25 S^ 3 ra CO c S o p p +
3 0 ra c "g" 3 5 •* "o N c TJ => o *
+ xo
^
S - o CO
o ,, II 55" o 3 O CO
ra 3 "0 "c^ 0 + o II 3 o O "F X Zl,
u;d

o
jLU)

"tn II O II CL CO. Q . ; :
D. Q.-^ •. 41,
"0 -D
c o ^
CO
>
c
g5g
= if ^ X c is? ^ ^ CO. c o - i ;
ist

TO ro II o II
o
II ra
TJ
A E .. ra ra ir CO
o i- BY ^ ^ C M
>
c
.,3CO.
_, "0
TO, 3
CO.
^
g"
3
II
if
C3
fiII V" 5^ >> £. X >, ^ >. 05:; CQ o ">;
ra c II
II
-a
£ 5 J 5-0 1^
C g 05 g
c- ^ CO ^
E •3 3 — 0 0 ^

"

-D
0
3
CO.
c c E
c o c o o
o TJ
o -D
o
-a c -o c •e CO
c c 3 ro CM
3 3 3 o CL
o O o xo E
xo XO xo l_ c ro >i
1_ k-
0 ro
0 0 0 tn CO II 0
CO. CO. c
g CO. g CO. o " £ 0 3
3 o 3 o
o 'ro E to
0 cn
ro
tn
c
cn
c CO
c
CO
c .c
c
CO
CO
ro
xo "•- i i33
X
g o o o CQ" c . 0) ro
o E
ra ro
to
3
3 ro
3
3
-o
-D
< 0 CM to
3

CT . .
CT,!.:,
ID T:-
CT
CT
LU : = :
. .
< Q.
c
-;-^ E
c CO.
O.E.E
LLI l ^ O E X
-^ x" SS x " 3" ^ CD
ro 0 Q. II
ro •D
°^ ra J:^ 0 E tn •CO

^ ^
E _ E X .^
p O
c
o
o
JZ
0
^ E
11 c
ro
-co l«'B
3
•D
tn
ra
xo
+
3
3

E 0
?"0 E^; E >. o ro
3 TJ >> .'. CO
CQ :^
.3.

^0 .
b"
xcn
:
1—
^
3
>-
7
o
CO
^
> . cn
E ^
CO ^
> • CO
o +
o
CO
-D
c
ro
?? o
ro.E •jpc v^2
i3i
ra
"0
TO
II
3
E
0 "0
fe II fe II CO. i , cn
II x : co. (2. ra 3 -^7 ;3I 0) 0 -55 T3 ro
CO 0 CJ cn cn 0 CO II 3 •-T-.Q - ^ •- w 05 .„ ra.!L,= ^ J2 -o c T-i "0
cn -D 10 0 ?- <" ""1 -D
C
0
CO CO
i I -£• cn cn
1 -E 0 - t ll •Q)
CO
ra
xo xo := ^ M - .^1 TO SZl
-o £ 0)

227
in
CM
CO

CO
C3 m
II CD
C CD
CM
>- CD
O
c CO
II CO
0
c 1^
TO X 'S-
• * CD
C3
CD
E II
CO o
3 CM
' * • "
o
C CD
II
n in
CD
c
g
E II o
LL
3 m
C
CM O
to CD
;g
CM CD 1^ 0
:_
E X CD o
"ro ra CD CD 3
3 xo CD to
> .C
^ 3 II CM o
o
in

•0
TJ
E rai: X
CO
LD
^— TJ
ro
00
o c xo >- C3 m o 0
CO
E ro o
UJ k_ II o CD J - to
TJ i - X ro 00
••a-1^
CQ xo • < *
2 ra < CO
< CO o <^ai

-I
X 0
CD
CM
o .. • * CN
CD •<- -CJ
w c CM ro II CM ^.^ o
0 " ^ CO
• ^
CD O CM .
0 0 OO
05 £
ra CM
5; X _> OO
in in o • O)
E
i_
c iS ^ = 'ra
0 CD
oo
^ CO ro
0
II t n C; .rt- CO
ro .. c
•- 0) i ;
1 - > •
CO
CD
? CO c
c n CO 05 Q O CQ C L
> jC g 00 i;^ oo
CM ' ^
'^ o ' o
2 ral
C3-Q.tn o
L: C
o C3
II
in o ;* '* •<- o CO
o 1-^ ' T
^?
•<- oo
1 - C M " CO
L— l_
^
1 - k.
0
o
3
CO ^ 00 1 - 1 ^ ^ CD,CN_ ro ro ro ro TJ
E 6 Q > X CN_CN ,1,1
x:
ra g x : TJ
ra
0
X- ra CO. II ^ T7 IL II " ' ' !L ILt?^ !! !Lro roIL
.a
3
xo .Q xo
3 3 3 2
ro xo T- £ II ro ^ . ^ ro ra II II II II 'g
2 H D- II ro 5 ^ xo
< "5 2 2
o xo xo . .
Tt 3 > , S ^
xo X) •<-
LL
CN CO ^
LL LL U .
O CD >- X >^ 5?

C M CM_
cvTco,
CO < o
EE
3 3
c c
CO
T—- co^co_ FT
CO CM" CO^
>,
E
3
CO CO

C
EE c?
ro CN
^^ : 3
CD ^-^
CM .^-^
CM_
ra .i<
CDCN
0 ^CM"
— CM'CO^ 0 ._-
ECM
5"
0 ° >,
E
3
C
CM"
EE
3 3
il
c "oT 3 c c * ^_
1,3

-D . - ,-; 3
3 o CO'co' CD
LL —".
O o x:
. o CN CM'cf co" CD
CO. I CL
o " O CM" CM"
E o
C^ ' - . . E
ro
CO ro
5 0 • ' ' " " T - •<- O 3 EE 0 SS.
tn TO J - X ro -CJ o o o o C 3 3
+" 2 ro .—. c c N CO
o < CO
t o CO
o Zi- CN.
-^ E
* 1 | 05 F T— CNTCVT CD 0
iCco
"tr CN
9B. fo i o o o o o '^ "-"^ CLJS o d" ^ CD' "^
.!_- o o g B ^ sz c O 00
E o o CL
g?f
5)
o ro N ro r^ CO f.^
o T? 3 EEo
,3)n

S CN
^ CO. to i J ^ H-;
II ^ o o .,- • - 3 3 o
CO. C M
0 s.
ra E ' N CO
+* 05 m toLJ D) 3
d =^ c c X—
Q. • ^ 9- . o
CO. C M •CO o CO 05
o > ro 2
Q O
- - o o o ^
•r- CN T -

CN
co"co" 1 CN • < -
CLO tII sN
CM
c
ra
LJ
O
C
O
° E O O o ^ ^E ESJO- ^C M
1

CO. o Q
CO. CLE
> , II
CO
• > ro
t .
•BtD
O ^ 0 3 CO •i E 1
o o o, 0 +
C 3 3
II o ( - Q-
•CO 0
CJ .£0 O • ^ O O
O O O Q " ; ? E IT o o II E
>. 3 < to II C5 ' ^ II 3 c c o
R o IT ' 0 ) 0 CO. O C Q CO. -CJ

2 CDLL

228
o
CO
II o
o

CT
CO
-D
TJ *
+ + >
CD
CD
O o
CD o
CN
0 o o
CO • *
o -D O CO
c? in
^ 0
TJ CM
CM
CM !i
O CD ra
CN{ 3_ 0
E CO
CM
.g
cn
CO.
o
3 B csT rf O "c S:icM > o
to
.^j
CO
. .
^ 3
CD CO
CO o
_c • X —- c L o
^ ^-^ 3 ^ ^ O
CO LL CD 0 O
m o
^ 0 • * >, ^. CO i_ CO
X
-g o
"D CO o o
-J-^ «^ O
E
i_
. _. _O
*
05 "rrT
•S 05
.N ^^.^
c X
,3

Q V
JD '
Q.
t_
i n "^
CO J
0
• -D
O .
_ll_^
+ i: o
.S O ;
B
0 o
ra
"2 o z" 5 "cJ" "3 X
CO .+ CO 0 uo 5 3 ' X X c 3ra o ' O
^ ^z —,
CO
o II g 00 z •• , o o
oo O II "c •
^ .ro CO •• -. CN_C
, S II
0

II CO M CO
i ^ A ^ >- -CJ
c
"5 o ,
II
^ . ^ II
X X c
o
c .
II
X
£= a - - 5 - £ . £ , ;^x C
.c o .IL Z
u. •*"
0 X 2 ^£. 0 ~ II o "" 0
^o II p
X 2 5^ X

0
_3
m ra
d >
to
c
^ 'O

+ 5^
CN CM
<CO <^ 0
•D
CD CD O
•a
+ +
CN CM E ^^^^tr> +
<_^<_^
CN"CO
5 - . CH ^. Y
CM . l ^ C O
CD CD
' ^ ' ^ CM C„O, c r CO
OJ + +
CM CM >>Cc CM . . - 2 •<-" T-" r - £
— cn — - 0
1_ _
0 ^—•
^
2.-0
^ L_

%..%.. o ra 0 ra > '- > £2


03
ZZ,^^ 3 O) 0 •- o o xo > xo
2^2 0
^(0 CD CD CO . . E . . CO ^ .0) •<- cn
0 3
TJ
c m CQ CQ 3 —;. * •6 ? T3
o
E]=jaco_yalue_

Sir + ^ r^ 1
\i3 C tt) c
= balrea l(sys);

ra . . . Q.
m CN E 0 CO to S
•^ g •CJ m
ra •^ ra
xo r.; xo
E
S" 0

..O •^1 > . ra


2 < < <
0 fc E" *=
o Id •cr-E
CO "in
0
TO
O to if-
Q ctf
"5;o TJ i : . CO 1-- I^E IT
TO CM CM
O CO CO
p CO CO
^1
w to
c "cn CN
xo ^
ro CO.
xo -
o ra Z . ^ Z
in
CO
o
E
i_
0
in^ o
•*
0 •
> .

d< •D
£ ^Mxn
rror

II ' C 3 5=- i n L •D
i"< 0 -CJ II CL 0 " II r—• ra o 5=-in
_- j.<o o
3 •^ 3 ^ . o JL. ^^ .*-' II
,, tn
CO
Q
CQ

<
0
0
CM CM - D 2
$ . , $ . . - O -O
S 2 . S E g"c
".CO.
i2 CJ II
i
3 O race
S- <u 0
TJ -D
CO >
SE^ 11 11 CL

g
Ccb
Z ll ro
^ ro
•D

8,.:
1 ^c- II
[A, B, C

II ^
sysmu

CD CD II c^ ra ^
sys=ss(

• • ^—^ >.
[hb,g, T
%relativ

10 CO QQ
S - ' C N " :^-"S<= II
TJ
¥ CN
in .Ik
II CO
j n }i~.
'll II •^ ^ o .
YY o II . »
xo" x f -
iS E E ? roEZL° 1 1 jn
• ^ . 0 ) j i ^ 0 CO
.!L • ^ "^ o 0 o,.!
CO CO ^ cn 3 3 I 2 ^^ > CM
^.05
u , > -LL 2 5; ro II ^o II !
Qi Qi .c 1 2.-0
CO CO < ^ c c ^ 2 ^

229
c c C C C

l, ^
C^ CO.
^
^^
^
^^
^
^^
i_ i_
ra ro C
^
CS 2 .
1— 'LI'
>-.^ ^-^ .^
^^
r—
xo xo CD CO CO •^ CM CO ._r
XI ^ £1
>. >- ^
3)+yl
2)+yl
1)+yl

X. X. ^ ^
CM" CO ^
);

);
);

C5CM c ^ c o c ^
3(i,3

•<- ;3;cM ~ : c o
(Y3(
(Y3(

3(i,2
3(i,1

(Y3(

' ^ . T - _ CM_ CM_ CO_ cO_


CN" i i C N ; i C M ^
CN C - C M O C M ^^co'^co'^ i n T- i n J - i n
0 ,J.^ 0 ^ 0 ^ 0 ^ 0 ^ 0 >- ^ > ; - o^> ^ >-1 lo^ CT-lo^ c r - ^
.05, >- .0),>- ^
•'". cn CN u, CO V
CO CM Crt C0_ CO
XO ; 3 , X 0 : 3 , X 0 •<z:,n ; 3 , x o : 3 , X 0
--^ "co^;~-to^ c r ^
'^. xo CN XI co_ xo ^"^ xo CN X2 C0_ xo
ro c ra c ro c ro c ro c ro ;3- ro ;3.ro; - i ra •J^

+ N—^CN
>- + ^—
•*— >- CO
+ > -^ > i.> X
^ - T - v_,CM '—•CO
>'*->• X> X
t_-T- t_CM O c O >-^ T- O CM C-- CO _ - - _ - _ - _ - - _-_-_- - - - - -
CM
0)
II CM
Cp 0
II CM
jr- 0
II CO II CO II CO
r^ r. 0 f j 0 c^ 0
II •>* II •^ II ••a- jT m II m II in C - ^ JI. C C C C - C C C t^ C-J!;. JI-
II C \ II CO II II CH II co_ II p 0 rp 0 cr 0 {)' CN" {f CO {f z z z z z z z z z z z z z z
^.
•<-
CM
;c:.CN
CM CM
i3.co
CM CM
i3-'t- ;3.CN ;3-co
CO CO CO CO CO CO
;c-T-II i3.CN
CN II CO II
;cco ^3.
in
T- ;3.CN ^ C O ?^CMCO?^CMCO^CMCO^CNCO^CN
^ •* •* t •* •* m m i n i n i n i-i-i-cMCMCMcococo'^'^'a-inin
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - O 0 0 0 0 0 0 0 0 0 0 0 0 0 0
C II II II II II II II II II II II II II II
0'^CMCOT-CMCO'^CMCOT-CMCOT-CN
•^•>-i-CMCMCMcococo'>a-'>a-'>a-inin
0 0 0 0 0 0 0 0 0 0 0 0 0 0

TJ
+ r
0
-o
o
't- CSI CO C

0)
^•—^

c
'-—^

c c_ ^
Tl _ E C^
0 0
-D n 0 -D ^ ^ ^
-c O E TJ 0
CO
F TJ T- CM m
°l LU xo
der educe

<- tn g_ CO
inear

ra ra m
CN 0 • CO, XI xo n >>
+
•D 0 "0 ' — •

to oS -D
O
•0
>^ >-
+ .. + +>. ' „
c- TJ ^ - ^ C N
CN o
.•-.
CO _ L CO o CO CN
0
o E
c E > —> V — >-
i_
ra 0 -D JL^ 0 ^ 0 0
.c . . TJ 0 • ^ . " « ' c \ CO CO CO • * -
JO c r o" ^ o" ^ ; 3 , X 0 3 - xo : 3 , xo ; 3 ,
CM d' IT ^ !r CM LU c ra c ro r CD £-
TT X .. ^ S.'c'r cT^ >:; Qi >II 1+- > + V + V
o .b! L" CN Qi II II II
"x CM" - - >- : ^ > - •|| O CO 0 ^—
0
JL-if C
5='X
•t- CO ^.^'^. CM II CO II
; 3 ^ CO ^3-
T -

'•ZZ- ^~ ^ 3 -
3 'rr c? ? •.£.^^c^'^ tn CN
°'l "J!,
CM CM
T- T- CZ ^ 3 - 0 0 CM J L LU O O O O O O O O O O O O O O O ' - - 0 0 0 0 0 0 0

= £- X X ^ > -D II II .F ? ^ f r ==- cn II II II II II II II
i-CMC0'>-CMCOi-CNCO-^CNC0->-CMCO*:
II II II II II II II A o
c •;7'->->->->*iTJ-D< •i-T-r-cNCMCNcococo'<S'->*'<a-ininin
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 2 0 0SS

230
2 2 i^
< CL CL o
CM" CO r^ —:; Q.
ra ra ra
.Q xo xo

Y(:,3)+ybar(3;
Y12(:,1)+ybai

Y12(:,3)+ybai

lold on, plot (t,Y(:,1)+ybari

lold on, plot (t,Y(:,2)+yban


Y12(:,2)+ybai
+ + +
•^ CM CO
3- '}- '*—
CO CO CO
^ro'C.
CO
>-
CO
>-
CO
>- I s . Q *- SSc'^ "^^^
^ tzf -JC
ra ra ra >-. >-. >-.
xo xo xo
o o O
a. Q. CO. •^ cLco XXX B BB
c
B B B .J^CN ^ ^ CN cT B CO. CO. CO.
C c

d'u
CM ^ CM
o o o
CL CO. CO.
c c" c
c" c c" >:>:>: O O O
TO r ^ T J
^^
TJ r ^

Id on ,plot(t,
old 0 n, plot
ion, plot(t.
0 " 5 P5 O O O o TJ - D - D
O E-o
±. ro x : ra sz ro -D -D TJ B B B TJ o o o
X^ SZ .O SZ
. 3 . -I . 3
C T : : ^ CT ^^ a-
O O O CL CL CL
sz O
'^-^
.CO CM CO C O CO
.C .C .C
c" c" c
„-i^

^-^ .C
^—^ ^..^ , ^
^, ^-^ ^^ ^-^ O O O eg" ^_^
sss
T -
^CN'CO'

ar(

ar(

(3)
TJ TO - D
ro T- ro CM ro CO
xo . r xo . r xo .: O O O ra ra ra
l~ 1_ 1_ SZ .C SZ xo xo ra xo xo xo
>-•;=- > . - x >>"=•
ro ra ra l^.o >, >^ >^
xo xo xo .^s: +>< + .o X^i^X.
"". > - CM_ > . C0_ > . >>>,>.
+^+^x. ^ C M ^-:: 1- CN CO T— CN
+>. T^CN^cT
- ^ t i " - ^ t i " - ^ ts" ^ C N cT - ^S'CO v..^ s ^ CO
CO 2-CO £ - c o i^
O- c . :
— —. —
c c c CO CO CO CO CO
, plot(t,Y

, plot(t,Y

plot(t,Y:

plot(t,Y:
plot(t,Y(:

, piot(t,Y

plot(t,Y:
, piot(t,Y
>-. o>- ^>- o

plot(t,Y
plot(t,Yn

- plot(t,Y
ilot(t,Yn(

lot(t,Y3(
plot(t,Y(
plot(t,Y(

2- CO. s i C L i i CO.
B ^<B ^ A B ^.;
Q.J- CO.?- CO.J-
-CN
00 '..CD y . O ~co
.. .«—V „ — ^ ^ ^
^-^ t i
CM CO •>a-
Q. . .
LO CD 1 ^
—iO .
CD 1 - --^ T r - CO
m- CT r-
•t- CT r^'cD
„ -—* (30 O) O
T— T— CSJ
0) CD 0
2 2'^ 0
^
0
i_ i_
0 05 ^ "oT _; r^ -
i— C r ^—z.
3 H-.- 3 *J- 3 »J- 3 3 3 3 3 3 3 ' ^ . 3 CM 0 CO
^ . L- ^

3 O3) "sr Yn(:, 3 3 3


figun
CTis- o ) ^ c D i r O) O) D) CD i= CD D ) CD C3) O) D )
(f (^ t ^ IC 1= IC
c^ O ' ^ O *^ O • " ^ " " ^ " " ^
'^ >= 3 ,
^ ^p O)
vg ^
o^ o^ o^
^ 4= i ^ t ^
sS "Q-SS "5.SS "5. O^ O^ tf"" o^ 5^ (^ o^ o^ o^

CL £2.
•<- ^ < CM CO ^-i
ro ro
ro'> ro> xo xo 0 0
ro -
xo - >% >< 0

ra ro ra
+ < + ^ + ^ X. X 3 . 3 .
CT ra . e r r - C T : : ^ CT 0
-> ro
CN CO xo r--_co p JO p tn "O 2 'O S o 0
L J3 . • > < ">; ra >, ro ^ ro ^ ro ,_i CD
I-i T-" csT CM" co" co"
> ^ >• ^x. Ij- CTlI- CT 3-C*5
CT 5-
. .- CT
ts CO ,ti_. C O— ro ^ ro ^ ^ CO ^ - ' cn ^ . ^ CO

>;x c - . c ^ c ^
irco
o >- >-.CN
> CO ,2 C N " S CO"
CO. • C Q . ' c '
^11 xo E xo
+ •*".+ >-.^>-. tr E S
CM, CO

CO.H--
c o
S^-cf
o >
c' B
c" xo
;D
ro - ro
o >. og xo >, CJ. o •—
CM . ,co ts ro t ; ra t s ra
^ x o is- xo i5-X0
o >> O >s o ><
1^
P + ^^ p +
o CO. o -Q.
o CM O CO
5 = - - ^ O CM -Q^CM
CN c^CN X"5.i o ;r p + 9^.
P —c CM
.r c .r
-CO
B :g o o .. x:
>:° >; :=:> CM »J CO , . , -

I-
r T—
" 0
CM c i ra
c o" "2 Ci «- £2. i-
-L:. ra ^
:2 ^ " 5
C3 -S .C Q .
S-p E. P > P >- p > ra o L.

0 m
.a iira o r -
.Q-Q.2
• s ro • " .C C0.^_. „ CO. o tf o ra + . ro ?> . ra
ro _g xo 5
ro c CT.Q r- 3 X:~" 3
< ro 5 >-"'.+'
CO. > > CO.
::^CCN' CO ,-cB .-.; P< 3
CT CM < CT
t/>
P + ji ro PCO-^M
+ £ . c N j :+. _ £ , c o c N - i _ c o i CJ-T- c CN C CO CO CM ^
3
CD "- c t o -cr^ tc
c -• • c .• • C .' • CO c : ,
•—^ tCCM
i V ra "C ^ . ro ^?-?^
IC - ^ CO.XO ^-5.">-.CL>-.£2- > ra »-- ra .^- ra >- " > - cf> sr >-. io
. i ^ .Q ro i i . Q
tc
ro
^^ H-.- xo 5s- xo 55- xo _ - -^ H_,- CM , ^ j - CO ro
5^ >> xo ><xo •5^ >*xo
lot

>-
7^ J_!, ir- >, o >* o >» o ra o ro o ro 2 + + >> 2 •^ >.
Cl)
5 ro P i^-Q.i'Q.X c^ > > CO- > , CO. > ^ D.cr + CO. ^ + •-co
CI) O
::<co.-5.>.-5.>< CO. T - _ ^ _ . CN_ ^ _ . C0_
CO c:, . X . X ' - ^X X' ^' X- X '—- X"I" -^JI;'^ "^JLCN ^co
ff

Q. CO.X0
J L , ^CO J—_L.-co •' (;;rc^
r t . " ^^co oTcsT'i- I^co
UJ i M ^ ^ csT'i- cvT
CO
^_^ . >-
.LJ, *^ '' ^ *•CO CM . ^ CO (M 2 CO ^ CO c i
CO •CJ r~ + . . r ^00 CO > ,
i n > . m >>!£.>>
0 c:
^ ^ .'-• X_ rt\ ^—.^ / i ^ y-^ /IS ^— ns
0 0 ' 0 0 0 < 0 > >-. 2 >- > 0 >- >
re(

11 ro 2 i i E . is-— - 1 ; 3 *J- 3 *J-


is- O) ^ O) ^
3 » J 3 * - - Z) »J-
CDSs- CD i s - CD i s -
3 * J 3 *J- 3 *J- 3 1 C 3 ts ts 3 ts ts
js-ir CDis-^
CO f- 3 CD 52- C D ^ CTiS-
i n v o CD 2 2 o)0 o £ ,g «= ^ «= ^ c p cc p c c p t c o IC o IC o o); is- cn 2 2^% 2 2
0 CO. CO. CO. C O . 5 ^ CO-o^^ CO. 5'^ CL o'^ Q . o^ Q . o^ Q . o^ Q . o^ Q . C5 « = CO. ELS'-- a. a.
if CO. CO.
"Q.S?

231
APPENDIX C
MATLAB CODE FOR BIO-REACTOR SYSTEM
• Bio-reactor dynamic model

• Bio-reactor state-shared model

• Bio-reactor parameter adaptive subroutine

• Bio-reactor state-shared measurement coefficient subroutine

• Bio-reactor HQO transition control main program

232
O o o o O
CM CM
LO in in
+
CO CO + CO CM
o o CO o
CM CM o CM
+ +__ CO + + + CM, +
in CO 00 00
CN CM
o o o
ro t-- 00 00 + 00
CD + + • * + in in CO 10
CO 00 in 00 r- r~- o r-
0 CO
o o 00 o i-~ r- I--
E 00 CO CO 00 • ^ • *
in •^
in
o in uo CO in in in
f- I-.- o h- CO CO CO
r- CM CD CD CO
ro • * •<t
co
•* CO CO in
CO
CO
o
CD c in in in o o
05 00 00 CO 00 CD CM
0
O CD CO CM CD CN CM CO r^
E CO CO CM CO r- h- o CO
o it O)
o
CO co CM CO
+ 0 o o CO CO CM
o CM in CM CO C MIco
ra o
CM
r^ i~- o CO
CM
CM
CM
CN CO
CD
lU CO co 1 CO go O) CM CN •—
0 c CO CO O)
E 0 00 in in ' CM
o E <, CM
CM
CM
CM CD
o o O) * Jr^
0 "0 O) go i n CN 55 •0 -0 i i' o ofc in g CD >•
* k-
-co
o
iJo
o
i?) 00 > , o CD
CN ^CT-OO
CM
V
1 fI--i
5 ; "^
! G 0CN
CO
d
0 •H
-
'ro 3 o CM « 1 ^ 0S0 «c ^ oCD o O 2 05 CD S
CD CO E i n O i x ) C O o o Y i o £ i
CD •^ ^ C D
£ O
0
E 0) 00 C o o CD — ^ 0 0 CT- iCwO Is.'
O O^*.'
O SCO
5 CiN.; +. x COCO
o 0 ><CM CLXCM CO CM 00 CD i n CM o
o iSn CM S •>* CM
CM i . ^ C N
o 00 C " C D
+ X c in d n C ^ r n C D ^ C M ' * S - CD 0 0C J55 CO +
* T ^- C

ro sz
< CO Q
00 > i o o
CN
1 ^ CN 50 o Q , >- ,^<0- , + o ^ y ^ CO 5=^ ^
a : r : ; CM I '
ro
i33
x: c 08 d CD CM S
• < * ? ^ c o •>*
d c D CD _ , - . - ~
m ^
D) CO 0 ' o ^— /—I > ; X Q g CO : ^ c O ^ - - i v - : ; ^ >,;
0 CO. Cco
^0 i s i ra CM

[msc,
truc(i
-D CO
E II ro 00
o
*ro
.*-* *^
tn c ^ *: <
^ 0) i J t o CL CO
D) QO £ •CO
0 H
to 5 L: C o, CM0
E 0 o o c CM . E
p_ 11 E
CO

o ^C ^II ^+ .•.J
g S.,0 ^ ? M C i : ; o j : ; o i n - - ; r ; o >.^ d 0 II
ro CO ,_ is S CM " ^
to CN S- ; >>.
, ?--T>S: i iinn :iZ, i uo
n ^di L d, r :CiO
x )Ci i II n II
11 >^ " ^
•> ra cn 0
•^£ 5: S ^ " 'iT'
* ^^ ^_r;C O X L D O
i_ c C£,CN
m Q. T3 p
II
CL
3 II ^ ScocDcocoococomOQ ^ E
CO. < o < mo m o
•a

CO
0
• *

d
+
J i ^.^ g
">• CM
+
CD < 0 0 3
0

<D
TJ

00
0
0
*

s
It
CD
0
"0
TJ
x: i_
XI
3
CO
0 0 O
E d
• ^

d .^ 0 E
0
> ,><.
s >0 < ' • S C O
)/(

g TJ
+_^ ">^ n •= 9 9- ro 0 ><
3 student: Z lenh ua Tian
i/isor: Dr. Ka lene A. Hoo

ared m(

ro ~ X
reactor nonI near dynam

^CM"

CO
S5
s K^CD
CM ra
ra < CO
o Q.
ro
-o
£2, CM >.i
3 ^'^
-CJ H -•-
"
!r
ra
3
< CO
^ 0
"c"

0) i: 0 0
C-) ">^ CD • * C-co"
I 2§ •^1 ^-0 0 05 £ £ CM
•"l
1 r—
cle ar on Oct. 2 ,201

0
net ion dy =eg2 pdei

.0008
2+3.8
-0.2

L)s-a

>'"5; £ £ "C^ C 0) 0) .
* N s 0 i>
n [dpp]=lei

Z •^ ~ -r-
£c7'g
omega rat

N ra ?;i "TO 2 N ro CM +
.= J- ^. 0
0 ro JJ - ^
%Bi oreactor sta

^5
k)=yy

CO 0 , ^CN. 3 CO. c tJ 0
C i J «o II -s
0 LU S
1:n;
dy=zeros(3,1);

^0 -D
0) Q 0
0 Q O £ < <»
* .^E 3 LJ C & UUJ
J _ - 1 - c >o^
"0 3 L: c
• * Ci.c7 P CD to O O
c
.. 0 •—•in d' •" CO ,_ C < 2 - J - CM
0 ° > 0)s
0
•^

ro ^M^ -^^ CL-O
C
CO i q
T.^ d
>'"^ >, 1
Q •> S •S E i 'S ^ 0 .C -D 0 xo . ^ 2 0)
.Q .c -g II II ra
**-
E CD
.«-
3 CD CD
JUJL CO
^ C M x: TJ j5 §0 § 05 CD Q . < 0 £ 0 M CO
»i O) C .ii
m Q- <
3
CM c ">i">i
- D - 0 ">^
TJ Q. < o , 3 CD c: -o ^
X c CO 0
^ ^ ^ 3?
0 ^ 0 ^ 6"-

233
CM
ro
CO, •D
E
ra ro
1 - CO -C3
CO CO E
>. >. ra •D
CM +
LU uJ CM, ro
TO
<< ro
•D
E
ro
"0 "0 E
•D -D ra
0
o o
CD CM ro
E E
ra
.1.1 g ro -CJ CO

T - CO o
TJ E
E . ra
Q Q 'I .. 2 CM
IN ^ . . ^Z^ in
o . ^ . -"ar
CO..E r- 0 •<t
•<-" c o " CO 0
"co • ^ > ^
TJ
o
oo .ro
1
"SJE V 0 .5'ii=CN 0 O

o •r-"co"
^1 o
o
'5 111 5 o IT ^ 5 o pCM i,-
0
.. .. o o
O O
O .. ^,
o "" •^
CD CQ ^ " O t 0 CO
M CO
ro g ro T -
TJ E
^^ »li 1^ . i ><
TT II
X
II
X
-CJ
o
II
O II o ,
II p. II O O
. II II o aa ^"co'^o- CD
m 0)
^
ll_ £ 2 _ . -o E J5 CN
II o
:^CN
o
0
O O LU II ! l •^ m IT " II < < o 30 0^ o o
ro 5 2 CL-D E ro;S ° - ^ ^ >. X
UO UJ < 3
TJ Q. CO. 0 0 05^tii . . II
•<- CO ro
.p
^ 0 i5 2 !t 0
Zi<n\- >< 3 X < OD CO. CO. 0
O O .c t^
0 o

CN
ro
CD
0
E
o
B C3
II
"ro
i _
LU
o ro X
c CD
in
^.^
CO
0
E
C3
II 00
ity treinsition cont rol

o o in CO
c CO
^-^
CM, m CZS > i
II uo
irate e i Ad

"o"
-o
.Hoo
ntiua Tian

CN CO.
C 3 - ; 0
CM, X • *
II " ^ g
2003

0
Uj" < ^ ° A^
< 0
+ CO CD
CM rOS
^.^
i
CO
c 0 .05
c
^' m "TP^S? CO CD CO CD
.CO. CJ *— CD CN O 00
ct. 2
nt:Z

c ra UJ
(TM CO CM
CM CO O CO - * • *
sz TJ CO
•*->
ix 0
(J < • o g dd S S
^^
CM 2* o -o Q O ro
CO.
3 o
o
^ ~~d
d CD •<- "oT'S'
. c CN O
iZ i^
tl 3 L! c
xo " tn tn II
O 1^ . *
>^ >-
ys3=[0.2
y=[0.679
ys1=[0.6

.^'
real

k^iSO
Dst
in p

* * O O O O
cle aro

'r CM CM
.*-. LU 2 ^ II d
ear all

_ll_ T— O O II II 11 11
T J TJ
?;
^
beta=

CL
TJ ' <
rate=
alptia

dt=0.

"co C D _ 1 - •<- o O O O
1
ear

II II T - CM CO •^
II ra o x: -b XO <" _ 1 - CM - ) - ) - 3 -3
d CO. 2 i3D 5S
Q. < o >>TJ
C
CO. C O . - ) - 3 - 0 - 0
_c,o ^ O o CD
0

234
ro
cn
0
E
o
CM
CO.

CM
ro
CD
0
E
o
+
CN
ro
D)
0
E -D
o
* * in
CN
c^ 0 0
ro CO
*
CD -D 0 0 * in
0
+ ro ro
E * . . "0
o .. 0 . . "oo
+ ra
o .. 0
"^-OP
CM 0 ^op r!^cM
ra )< 0
o ^ rC^CM IO - , S.^
"3 + ' ^ CM
CD CM
TJ CO ^ 5.^ O CM +
0 i> O •5 + ^ •g + T- < CO
E O CM T-
o ^ f.i
CN A §,<!" o CJ + ^ + ,05 ">^ —3
CN CD
CO. >>< 0 CM
. . ra 0
CO
ra'jr ra 2 + ,0) 05 S f i S . . 1

uo i-'-r-TJ
=; 0 0 05 ig^s 2 , 0 0) CN"3 <;-, + .. JL CO.
>.
CM
«
0 S 05 CO . S ' s S 0 « XO
"o ro + S 0 0) ' • _ -C^ "s; °- 0 O lU S o
CO. CN i £ 0 0 TJ ra +
"!'.£ o I • xo Ci.c o •f' tn + ..!!!< •> II
>< CO. CM II "5 N i ^ £i.c o >>S-uo • ^ ><
O liJ < H o >cn '^o
II
Bsl "3
o II II ^ >.£-'<3-
JL ra ^
- JL^
C JL lij w t ¥ o 'E^--53
ra "0 -^ CO-S II T- 0
11 - I - ^ ^ ^ o JL ra 13 + ^ o C^ II II o
o II II £
CN 5-CO CO ^JL7 :3-in in «M . ^
0 II O LU UJ
0 0 II
CO. -D CO - 3 - ) + ^ o in -3 -3 pII 'A• -g LU m < < 0 0
C 0-3-3 5 - - * 'it 0-3-3
0 TJ •^ - 3 - 3
0-3-3
0 i : CM

ro
O)
0
E
o

ra
CD
0
E
o
+ CN
ro >>
O) Q.
o. 0
E
o -D
TJ
+
* +
'ro
CD
0
E
o
+ o
ra 0
CD X
!!i 0 0 ;3) CO
cn E ^ CN ra -^
0
.)=P

X
ra > i
0 T-
;3) o * 2^
CO.
+ 'ro iH" 3 > ;
II
T- CO
uog>r iXu '£l
Q- . . CO.
0 0 0 0 CD
g 0 .2: t CO.
0 i
ro ,*
II ..
0 ^~
ISt-
• 0 0 c
utt2]=o

youtt2(

><
cc]=siz

• o 05 C
k=1:4;

i ^ • - X II X I I 'c . II 0-3 X
U- 0
c 0 O N ^ II
X -r-
CO.I -3 CO 3 II CO l i £ 0 CM
:4;

X ra •if i c M
t—
III II ^ J"cJL ^o •* . . II ; r CD
^ ^ T - « ' CO 0 ra . . 3 o >>^ ^ ^ T J 3 ro' 0 V -
n ><T3
S 0 c II •r: ,_
-CJ 0 CD'^ •- =5 ?, Ij^ £ >• . CM .11 0
3 i i 3
O .
0 .;: £ g ; 0 T j > . ^ . C- ; ^II . n , o c ro 0 0) E C • ° .^- t= 5> 1- "^
O 0) O 0 0 c £ c 9- 0
c^Sgx 5^-6 >,-6 E¥ 0 ^ •= r, 1= 0 -D
.c 2
or §;£ C
0 0 i l i i i >>*:
o

235
3
•o

-a •CJ
+ +
CM
3 ro
0
0
.c
?r<n
0
-D
^<^ •-' "0 > ^ ^ >-'
O ^ ^ 2 •D P2-.a)
O . .

1^
• ^ CN _ ;L; .• -
5
CM
P"o o
O CO-i
° - II§ CO§. 2i
..
^^
ii .
'.;= CM -IZ
CM
o "5 o
O CLi;

CL
ro 3 o "=—2.^ & 5 ^ - 3
§'« ^. II o
. . TJ
3 <L
.,_- O uo 0) • ; 3 £_3_ . . 0 o z:^^—
• ^ > <
CM •o -^ O v,-
3 ra ra II •> ^- Q ^ .y r ^-
II II JO ro > - S I II II § 1 1
^ ? 05
mt-
CM ^ O JL c= -D r=- 0 ^•^ g

I! 0)'? " - - 1 - CM
sz II cn
o IIII J7?L Jol ro
0 _ l cn o .N U) ^ ^ i_ >>
C •(—
CN
O i 0) JL
£ ra i i i i i i
^ -> I I ^I l - 3 "
> ><'t- 3 ^ 3
>, o if"
Q r CM
fr ro £ ro
J L o JL t= 3 >
5^ ><••-" 3
.cn o 3
^ m TJ •T II JLco 2 ; - ^
It cn £ '" 3 3 3
CL Q .
Q-
o x: - .r-' ' 3 ra " E o 3 3 3
g CD T3

II 0 ^Bcn >-
CO C C •5) JL o i«: ^ ^-D-D JL"P >; 0 s l 1 , 1 " g- CO. CO.
C C £ - ro I ^ - -r-"
• M II "
CO. cn
>^
CO
—^ CO. CO.
> . 3 ><
tn
0 cn S
>, cn . £
0)
cn
"3 ^5 '
o o C >>r:
O :^ < o
2:-i

3 3
-D

-D •a
+ +

pen -—- CO
v ^ •- I 5 -I
• ^ 2 :s2
O
I CO o
I CO-i:
. .
^
c
jO
i
<n ^ "

O II
C^ M i§
' ^ 3 ^ : cn
JL o r> 1 - ..-^-^^-^ M
3 0 o " V S ,
UO "oJ'
0 -« 3
D L.^ 3 o : p i O- ' 2 . > c
m s. O A ^
II
CO -II II II
-•D K' c 3 . .
O 5 _. . C D >cn 0
II -
-^c^^:^
II II II
O ".: II --D C 3

§i g
temname

^ T - T - CM - .CJ
y o CO JL c TJ rr- g 0 C TJ :
outname

^,5,^, o *
[ I T -
O ,—' O ^ ' - 3
ci S
II j £
> II
^ l - S '
CO
CO O C5
" !?
II ; = ^ ; r - «
" c " p c o3 ^ O- TJ 33
^
o ro o JL.
^
. • ^ C ^ CO "O
^ C .^ O + o ;:^ o o o'5 +^
II
CM
J,^l„^l
jn ro Q .
" 2 • 20
0 3 3
g ^-g^lPjLSs ^:? • S II
3 3 *-' 3 g CD ^ >."3^
t/> CO
•>.
tn CO >.
0. CO. CO.
I C C -?^-s II
CO x:
^'r:E2.
ok£.-5-5|;f s :."ro OQ •cn
S II
II
CO CO
>, ><
CO CO
CO.
C
Q.
C
C "5
o 'sz
ir, » o 5.
3 3 II - D
TJ -CJ
< O £2. Q. < O
^^'— >, 3 0 H- .£ o >, 3
jn -
0

236
CL

5
CO.

c
o
o

CN C0_ . . •!-_

o 2 2 2 2
CO. CO. CO. CO.
CN
^ 1 1 - CM CO 1 *
3
'csT
"O > , "oT "oT _ "oo"
_ "oT _ UJ
II I I T J - D - D 3 3 3 3 UJ <
CO.CO.C C C CDCDCDCD CO H
3 > , 0 0 0cc:i=i£:i=

3
TJ

•D
TJ +
+

.05
> i ^ S^
O
"c X
CO d o ^
3 Q CN o' P 3
3
2, ..
co'
O
-^•;3
3 o "V-^ -^ 2 2-
• t 0 0 0
"oS" N •<-
.N co" II >
-D N
CO c CO CD CO II L.-
55 c >:L O CO C 3 ..
_li^ c
3
TJ >^ CO. J L T- ' ^ CM - .CO JLE
O co' o ^ ^ To 3-D :c-
o *O 3 II
•<- 3

o < I IJ o
3 TJ O O TO S 3 C
ck(

c 3
O +^ CN
5 § "c" O + CM cn TJ c 3 O TJ

II>< >.
.to
-CJ 3
£2,^^ >>
1
CO. ^1 3 .CO r::^^.^
^— II II "x:
So J"
T- ^ c ^>
- ^. r - s
3- c N 7 JLcT
p=du(
[nnr

du(i

p=y(2

II 3 O- . . r-
dui

Jl^
CO CO
tn " II
>. TJ TJ "D
• o TJ J L
CO CO CO CO
CO, S 3 CL CO. C C C
CO i c
>. 3 >, 0 0 0 0
3
">. >.

237
APPENDIX D
MATLAB CODE FOR CALCIUM DYNAMIC SYSTEM
• Physiological system dynamic model

• Physiological system MPC transition control main program

238
c
o
o
O
c

-^CM
TJ 3
o
oo
'T ro
3
2
E CM g CD"©

o • ^ co' . . 1^ . l i
o FT 'E ~ CD
0 0 0 0 CD
o CO uo i n X:. <35 D .c g
in i? o"
o CO
1 -
••a- O CO
' * ' ^
d CM "q 5 s CDI; ..
in I .,-
CN CO T - CO CD
' d
E CO CO CO uo < . o ^ ^
iro T- 1 ^ 7^ •* CO oo CD- C M CLCM' = '
1 - 00 2 CN CN • * CO" f e CD
O 1- S r : IO o
o
q CN
1^ i n
CD CD
CD CO C D
Scsicq § ° d d
CO CM
s? CM o , : g -
OCM o ^ ^ "5 1
i n •>a-
O CD •-0 o
• CM d oq
1
1
JLco E 5^ =^ O •^
•<- 1 ^ CO 1 ^ d 5 ii'CM - ^ l i r CD T
CO uo C!?!i
f^ScM SCJ5 • * CO
CO CD
CN CD 00 • *
• *
S CD
CN 1 ^ CM o
• ^ O , 3 uo ^ '^ q
O O 00 ' ^ d o •<- w !i
0 0 CM " ' T
T- O
2^inS
!L I L C M C O ' ^ ^ UUO
.(—O T ^ O CO • - d TT TT II II Ji- --^ •-
00 ro ro v C N CD " O o 4.CN " * 1 - JL i L C C CO I — | C 3 r - !
II "ir II II, CO xo xo II ' ' I I JLlI | ? : i i 0 ) ' T f ' M ' r
CM CM . C O IL • ^ CM S^ X 3 > . < DD O 2 Q . ?< 3 3 >,i^ N 5 >
CO. CJ- O O > CD CD

ra
xo
>-
i_
ra
ro XI
CO 3
CM i_
X 3, ra
>-• 'x
xo
X
S t--
"Jf :=;
o i-^ CO CO
CM C-,ii X CN
CD X ^fr- ^ .--^ CD
•..^ScM CM,
CM , X "S" CO.
+ ^J~. D-
> •r- CM • ^ J 0
L_
>
O
o XKV c
O :CrrM -^iK
r
CO 1 ^ ^ CO.
0
CJ
O
0 CM CM
-o CJ- X ^ T - ~ c cr
o CM g
X CJ- "CM ^ XTX -fi0 CM
E <
• . CN '55 cro 00
CO.

g o Si-CM
CM ° "
o ro ^=:> X V cro
E X 05 ' ^ < +
CM CM i- X
ro g CO. CO-5.. ro < CO
ro< '?2.rE 0 x3: 05
0
+ ^ ^^ D. c ^z; CM
00
CO " c CO. CO.
^? !Z Zl~? x0: ro
08 §^ S^-2-
CM -Sr ,^ ^
—) 0 0 ^^
E CO.
^-i co'E
oCil
SCN X J5 . .
T;LE^
1

cn
E x:
N ^CM
CM [JD
ra
05 05
S
g N ^ *;
ro CM
CO r- . .
ro t— ^-^
CN -K-
< X
^1?
X ^ X fM £ S i : t
CO.
-3
+
EB
CD
•>.
"c
0
i j "co
II
CO.
CO
>,
CO . 2
+ ro
0

% i ^ CD ra1 QO .2 0 >
^"?^
ij to II — CO
-0
*- -o Q O >>CM CO 0
E LJ C CJ3 "0 0 0 p^S
E 2 LJ C ^— —
tn
X ^x^
* CL X «-'«"' —3 CO.•3 "cn
3
0 0 II .;." E CO 0 0 CO ° ^
3 cn O O c ^ 0 1 - CO. * T - CM
c tj Q
cn ,_
ro _ =>o 2 i >^d' CD
i i Q CO ,_
!r
•Sro S !L " d
CO. 3 -fi
"
CD CD
II II JL JL JL JL_ll^ ro CD . c
•>
-CJ
ro
0) >- S ra 1
ro . c •> ro
O Q- • 6 05
o xo
c 5 II CO c II . C
II •- c
CO t
T- CN,M^2;
>^">i">i">i •0
c 2 0 D. < "0
ra J3
,g 2 II JL CO.
^ CM T ; CM
CM Q . CJ-
< "5 .5 O) ^> , Q . D .—3 0
- 0 - 3 - 3 S'^ - 3
- ^ •<-
-3—3 5? S? 0 ^ 0^ 0 ^
O CD > TJ
-D - D - 0 -D

239
c
o

ro ro ro
xo xo
3
xo
3
>,
-H
+ +
CM_ • ^ , ^ CM_
T - ' T -
^-
CL 1 ^ I^L
0 c - 0 0
. ^ J

"cn cn cn
c CM" c c
^ - ro
J^ T— T—

>- x o Zi Z)
•^-t
>,
+_^
o o .*-,
o
CM_
Q. CO. CO.
.^
CO-
^..^
CM CO CO ^^ ^<
3,
0
L.
>» 0 0 1_ l_
3
CD
o 3CD 3CD
1= C L i ^
«—
*

0
-D
CO
ci
0
0
•a ro'
g
L_
0 >,
c
d
CL
CO. H -I'O
O)
c
3 i o
CD' CO
tn E X c
CM
"D-
E < 0 x'
CO c ro o
CD ro Tj'
CM . . CO Q-E
i—- »*- JLE" o o
d : CO X = S
E o^
CO i _ CO ; . ^.
1 CO 0 ra >:
1 O . CD X
CD K -D E E
CN £ E
CD 3
3 •—
•O 3 ro
xo
>.
CCO
CO
d ;^
2 z
CO.^ 11 2
"o
-H

CD
;=:in
uo . ^
T- : ^
c
c
.9
°
-^
'^.
fl "c
o
I c H .>-
1 8 -- >< CO->r

I s-x
^
CM
CO. CO.
V-"
2
D
+
^

^^
0
•D
•It CO 05 - ^
•n V i
c ^
o CO IM 3'C'
nd/d
'Sim
1-ex
•exp

CO
r^ •<^ i_

>i ^t
CL
CO >- ;< 0 2 ci S E
>- xo
CO. CL > - c£^S,3 ^- >-
o C
C-* " ' CO dS 0 0_ >.
* CD *- "J?" i^ +
CO CO >> ro <g^
•co ra' E ro
CL C g
,E o --o^_
o •^. iCOi -C3 CD
CN CM 05 -D *
g c p dII -r^-
.•*=: X
ro ro ^ S2- B 5= o.= oCO. 'ro ro co-o
"to ra
" 3 c CD ,:.:;0 5 ^ CL
L.- O
CO CO
„ £ 05 1 II
T - CM II 5 E g CO c E O •>. 3
ro X tP: o^ CO. CO. CO- II II •% o £ W E Q-
...05--JL
[Sx

xo II oo 0
IBM

CO CO CO •S CL ra i- X
113 X O N N
II II O II II -o d "S .!!- 5- >, >< >^TJ 5 0) "5 0) O D)5
3 O D-O Q C II c ,_ -^ C .5CO >- :D 0 O 1 ^ CO.
X X 3 > 0 X c E !L
5 CO x

240
APPENDIX E
MATLAB CODE FOR TE PROCESS
EL MPC based on multiple fixed models
• TE process nonhnear model s-function at mode 0

• TE process density subroutine

• T E process linearization

• TE process MPC gain subroutine

• T E process MPC subroutine

• TE process euler integrating subroutine

• TE process MPC transition control based on multiple fixed models main pro-
gram

• TE process A loss disturbance rejection main program

E2. MPC based on state-shared model

• TE process transition control from mode 0 to mode 2 main program

• Transfer function model to state-shared measurement equation coefficients sub-


routine

• State-shared dynamic model

• Parameter adaptation subroutine

• Coefficients of state-shared measurement equation to transfer function subrou-

tine

241
•D
0
-D
CO
c .5' 0
in 0 0
0 C
ro
cn ro
o sz - ^
h ^ CO 0
•c 2 E
0 0
II > TJ-°
II
II •
E
^
c
o 0 0 2
"o £
II 0 o o ;" CL
II
CO. TJ c^ o E
II c ra
II E ro
"2 CO CO
II ro ro . y 0
II tn 0 c
II -D o
cn CD
II c to
II 0 CO ra
ro
0 0
CO
N
_3
>
CO 0 Q
c ro
0
g
N ^ > >
to
3 0
CO
>
c t_ c
o . CO 0 Z
"co

iti
o a ro c CD . . . .
z
CO CO 0 E : • - . ; - " II
-D CO. 0 o •CJ 0

uncti
0 II II ' ^ ^~ CO
E N E.y " II II " - II 0 _^ 0
0
D-
CO <0 CO II - C E >

tate
"m >

leTi
rato

tate

oug
u> ro V CO
in . i_ 0N
S ^- ^ '

ts
0 CO CO
tn 2 00 2 0 CO CO c/3 3 m v= co- CO E X CD'CD'
d tn -C 0 •£0 S-3£ E "co"
I 0 "5 X 0
^ CO CO- N 0 . « 3 Q-'TJ S 0
0 CO 52-2.
I N 0 N ro .c < "co^'sr
SUJ|

CO i _
xo 0 Q 0 -E S CO N
0 UJ 0 0

ims
E ro •s 00 - D E E E Eu! E N s CD i - - 0 0
ilic; c CO CO
" P ,g
cn
0 3 3 3 3 .t: 3
CO
X CO II N N

IME
II Z Z Z Z Q Z
g 0
CO c/i c/i CO cn cn II
,ro -;sII
ra _
II II
to "ro N •'" E " 0
05 O • 0
cn
0 0 0 0 0 0 0 'E
xo z > a.
I E Qi g o cn CO
IM N N .N .N N .N ^=•2 Z 1- > >
3 sS c " 5 CO
"co CO 'co 'co 'co 'cn
>,
CO S? S? CD
II . 3v 5 ^ 5^ 5^ 0 ^ 0 ^ 'cn
Z 2
3S,2

CD
o JTO
0
•o 3"
o X^
E
CO CD
c I ro
CM
g
"S c
ro
tn
c cn CM
3 0
CO N E
"0 c o
in
0
TJ ro o N
CO
X 0 3 CD
^ ra < CO II x" 2
ra,i 0 8 ^ cn 1 cn ^
«*-
g"c "co"
•D "c/T o^ CO = ; cnoj
; iO Ss •o
= 00 3
E Q.
> *^
" -n °^
^ -o
c CO-
O N ro CM ^ c ^ "3 ! 03S ra
iJ t o
o
x_
co"
o^ O o^ °^
5^
0
> o^ Q
©•^ vO tf^
^ s^ ^
o ^ 0 ~o
°^ Tl '
)^ CD
; t 0 3S
> 0 ^ 0
sz
c
E
"c
CO 0 Q -o ^
O
S^ ra ^ =
0 TJ tn O^ C C - CO-O^ CO £ i 3
CO O) 0-- E ^CM 1= ' X vO
O 3 LJ C
O O '—' ro sS"roSS, . 0"
°S c _- E °^ cn °^ ^ — 1 1
2-5) CO ,_ c <= ^ '-E ^ o X. sS 0)
II
0 cn 0 CO o 0) CO J Z2 -.9 0
-CJ
c
c ^ Q •> ra .0 sz o^ '?= o^ ^ 3 ;jS CO ><
^o I- ^o 05 ^ iS Q cn > , CO > , TJ 0
LU . C -6 0) ro cn ro CO o ro cn ^ - ^ ^o^ "t^ 0 C
3^ o 5 ^ o^ o^ O
I - O- < "o o o sS 3 sS o 0
2 in

242
CO CO
. . . . . . I I

C) o o o (Ncb'lh'dCDCDCDoO
^ •^ CO CO o CO m CD CO o 1^ in •<- ..LOcocNiro^-^-^T-T-
• < - - ^ • *
P LO CD CD •<a- C M i - C M ' * i - <
< < , ,
^ii?idddSSS?^S
CM CM CM CO
cod'do'duo KcAci^i^
O O O O O
OS oS oS oSoS, ° ° ° oCDc r^)
q o o o o
C N C M C OO_ O
' _O' _C' M
C pC CNpCONC CO N
^ tCj N
_ -p- C
' - 0J C
_ -0C( O^ Cj ,O^) jC. O^ Oj j) ^ O
U j -. ;. O . O
. O
.. Q Q r ^ r ^ O O O
d (6 <6 c6 CDd CD uo
II II II II II II II II - ^ • ^ - ^ CM CO CO •>* LO d d d tD <D d d tD d CD
. . ^ ^ ^ . ^ . ^ ^ ^ ^ II II II II II II II II II II II I I I I I I I I I I T- T- T- d d
II II II II II II II II
II II II II II II II II II II

lO CD r^ 00 ^ CM C O • ^ t uo CO 1 ^ CO ' ^ . ' ^ . ' ^ . • ^ ^ • ^ . • ^ ^ • ^ ^ • ^ . • ^ . - ^ ^ • < - . • < - . • ^ _ • ^ _ - ^ ^ - ^ ^ • ^ . • ^ ^ • ^ ^ ' ^ . ' ^ . • ' " . ' ^ . ' ^ . • ^ '^ •^ •^ •^

ofo^Q^Q^'cL DrDrsTDrDrQ. •. zz,zLzL^^^^s^zz.£i.zL^^^i:L''° zz.zLzi-^^^'^ °° '^ ^ '^ '^ ^


>>>>>>>>>>>>QDQQQQ^Q^QQQQ'Q'DQQS^QQS'Q'S'QS^Q'l'xxi^X^
C D C D C D 0 Q O O O O O O O O < < < < < < < < C D C D C D C D C D m c D 0 Q O O O O O O O O < < < < <

Qi o
5
1- :x w
CO
CO
O
DLC VLC VTC QUCUCV UTW XW E TVE
TLS UTVS XLS XVSETS SS TCS TKS DLS

Qi Di sz
PTS PPS FWS TWSQUS WS UCLC UTLC

1- CL
s not defined int

LL X >
o
DDIST TLAST TN EXT HSPAN.

CO
RXR RR RH

1^
:<: CO
O
RESR...

go D.
>
o
ii CM
CH AG BG CG A

CO
SPSPAN IDVWLK

UJ J - > coi- ,._,


i^o O
PFLMX CPPRMX CPDH
RNGVT AUFTM FCMX

by MWB since

CL
H
>
CO
o
STPR D VST IV

CO
TVR XLR
VTRPT

O
Q.
>
Cl
cn
b^ O c Q.
CO Di "
% put

Qi >
TJ Q '^ 5
0 CNIOUOCO'<- •<*
. •<«• o o o o o o
a iz

> O <
Qi>
>Q^ : =>coO > CC
O u-
O
(-
• ^ —

CO .-ti
^?a
Q Q- 0 .
C^ ,^ ^ .^\ ^^ .s^ ^\ .^ . . . . . . C D C O C O - c f C M
" —
C M C
II
: iMOCCM0 CCOM' *C ' D* C
II II II II
C D0 rC^N~ C
II II II
^ D
- : o: ;Oi O
^ c. X
O O O T - T —
, «D , C^ D, C
n C
T—
X D
T—
. . . . . . ^
. ^r '^ OH O
T—
^ ^O ; ^i
O O O
v-. V.^ V^
I
1
^ ^ ^ > CO fO g CQ CO > _ _ _ - L ^ J - ^ J - ^ J L II II II II II II II II II II II II
cr^3 OcoO > H zX CO H « CQ
zero

-i c. cc 3 > CO : H CO ,3_ W O o . •t- CN CO •* IO CD 1^ CO - „ r „ • _ j .«- . x ' . . • ~c • «r «c -J'


o t: s C 0 > ' ^ > CL H _l Q Qi >
> > > > > § § > QTO. CL Q. D. srQrQrQrsrQrQr
O H CO O ^ > 1- r 1 :UJ (-' < UJ <
- 3 -=; Qi
O > ^ O _| H 1 - ra -;s
ra xo
ra "^
| _ pu' ra 1^
X -s;
ra 222222S2>>>>>>>>>>>>
HST

xo UL 3 > m > > X c/3 X CD xo -^ xo


pro

o o 3 O O o o X X X X X X X X < < < < < < < < C Q C Q C Q C Q


CD CD O H < CD O)

243
CO CO
CO • t CO CO CO
00 COS c D " CO CD uo 1- CM oo
^ CO ooCO •^ CO O CO 5U0
oo •* 00 CD CM CO CO CO
• * • • - CD 00 C D t^ 00 rv CD
•* (^r^ CM ? T- CD CD r^ CO CO CO CO
O 00 CN o "
t^ 1 ^ CO CD 1^ •* rv
o •* oo CD fr; CO oo CD
12E-

TT CD CO
aE-1

UJ LU UJ UJ O 00 oo CD 2; CO uo CO u o •<r CO s 00 •*
CD r^ uo 1- 00 CO IV
0 0 CO 1-^ CM •* CO CM •* 2: CD O CD L O ' •• 0 0 •>- CM S |v CO •* rv o) uo uo tv
CD CD CM •<- •>* CD O LO "d^ CM
•<- 1^ O CN oo •rf ^ CD 00 CM g CO 1- CO CD
CO CO CO CO CO t^ 00 •^ C\t ii. oo O •<- C D 00 CM 52 CN CO CM tv 1^ •* 1^ CD CD CD
d d d' d s 1^
ates

CD 1 1 1 1 1 uo T- O CO T- C D CN CN CN CD r^ o O) T- CD •^ uo
II II II II
II II II II II II CD uo CD r-. CD r^ u o uo o r oo •* CD T- uo CM uo CD O 00 •^ ^r
1^
CD O o uo f^ CO ^ CM CO C; CO CD
uo CO CO CD CO uo o
cn CO O o uo CO T— CD 1 ^ CN O O O uo CD • * » - •<*
r^ c o ^ §
CN CM
•'- • ^"- "- '^
• ^ • ^ • ^ • ^ •>- CO CO -^ CM
•^ CD ^
uo o 00 CO S o
'^ CN S CN 1-
o CD CD CD
O CD uo ^ IO 00 1^
00 CO
CO |v - s<
t^oo,ȣcsrco^^u^dh-"co'jJ5 ^ - CO uo uo ^
O CM 3
•* h- ^ CN c^ .^
uo uo ^ rv. r>-. < CM uo ~ •<-^ d CO 1^ o uo rv d uo o<^. CO
0 0 0(D000(D0(5(^>- t O CD
C Q C D 0 0 0 0 0 0 0 0 5 S > -
CO d '
CD CN
U S « 5 C N •* oo d°.d
o
00 CN CO CO ° CN
S CO

< < CD CD CO CO CO
CO T- T- T- CM CM CO CD CD
o o o
o o o o 1 mm UJ UJ m 1 1 CT)'
652*

471E
515*

LLJ CD rv CO III III 1 1


oo O) O) T— T—
LULULULULU LUUJLULUUJTii CD O) CO CO COo LU UJ UJ UJ
1 1
LU UJ
1

O'l-OOLOO 1-CM'^CNCMLULULU UJ UJ LU LU LU ^- o o
CD 1 ^ 0 0 00 CO
oooi--'>ti-cDr^poooc)oqcj)oqcpooo 1^ d d uo d ^—r^ •* uo >* uo
CO CM CO CO CO T — T - T —
oCO LO
CO CM
^—
CD
o
CO CO CO CM o -* o o o o o o
o o o dddocJCMCNUoodddd'^-^-r-^cocN,-:,-:.^.: CO •<- T - CM C N CO O 1 ^ T - • < - 00 00 T -
II II II II II II II II II II II II II II II II II II II II II II II II II II IIII II II II II II II II II II II II II II

!£. t . S2. HI-£S £2-S. S2. S-ti, S 2 - C £S £2. S - C !£. t:, S2, •^ CM co ^ lo co iv oo ^ JN, £2, ^ uo^ co^ r^ oo^ j^, CM, co^ ^ uo^ co,
xxxx'xxxxx'x'xxxxxx'x'x'x'>'>'>'>>>>'>oooooooooS^o^o^c5o^
<<<CQCQ0DEQ0Q0QCQCQOOOOOOOO<<<<<<<<<<<<<<<<CQCQCQCQCQ0D

244
sturbance
CN CN
CD tD TJ
. . u J Ol
O O O . . . . .... ....
O O O ' ^ C D CDT- CD-^ • - d d d' [i:
C O O O O O ) CDO CDO "? uo uo o K^
C 0O'>-..O..CD C D O . . . . CDO ••-COO-r- g
C J ) 0 q O C 3 C 3 O C D O O O O , ^ - O O O O C D O O O ^ - C D O o o o o o o uo" • ^ • > * O U 0 O O O O O i ^ - S
duicodddddddd'Ttdddddddd-^dd d d d d d d •*II pII dddddddd^tc^
II II II II II II II II II II II II II II II II II II II II II II II II II II II II II II II II II II II II II II II
CO CO CO CO CO CO .,-
CD" h-." oo'T-' CN co' •^' uo' CD' IV.' oo' T-' T-' CM' CO' •*" uo" co" rv." oo' CM' •^ oi ^ co' uo" co" rv" oo" CO
Q i D i Q i H I - 1 - l - l - l - l - l - H H H H H H I - H H I - H H H H 1- H H H H 'cnf^\:^\-i-t-i-\-i-^u.
LLU-U-COCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCO ^ r c o c o c o c o c o c o c o c o c o Q -
C O C O C O X X X X X X X X H X X X X X X X X H X X X X X X X X H S ^ X X X X X X X X h - O

o
o

• *

uo
o
CO
|v -^
_0 CD o o
5
CO
^ o xo CO UO CO •>- oo o o o o o
rv 00 ro CD uo •^ CO CM CD CD u o •* o o o Oo OoO , CD o o o o o
CO o C CO
ro o uo •* r ^ rv CD UO uo CN
CO
o o o o o o y o 00 uo •<- O CD CD
• * • * CM r^ T- CO 00 CO -^ O CD UO CD CD CD • ^ CO
CO CD IV. > CO UO CM uo r-v CO CD CD O O O U O U O O ^ ' i - CJO ^ 0 ) 0 0 00 0 ) 0 )
II o
CM 1^ CO uo 1^ COO •<-
• < - ^
• ^ • ^ • ^ • " - • ^ • ^ O II
oo
•^
T-
CM
CM
CM "o S UO CD
CO O uo uo O CO II II II II II II II ^ C^o
o .. dd'coddddd
CO ^
oo
CN
CD
•^
CO .rt- '^ 05 C>^
-ti u o •* O fS
CM CO CO
CD
o •*
• *
• • - •>*• . o d " ^ § II II § ^ II II II II II
_ro o CD CO O CO •^ C O O CD o ^
oo oo
CO LO CO CN LO ^^ ^ co o •

<^ I
* • *

1- CM CO 2 , ! ^ 52^ 2i. j ; ^ UO UO uo -r.


•<r T^ o o • * • ^

csT II II •<- cvT co^ 3^ uo^


p oq •* /-r\ uo Q-co
";**' CM CD uo ! d '^ 0(D (DO (DOO (D CO •^
uo •<- 'c
• * • ^

CO CM uo Co;
T- uo ro od d CM 00
z z z z z z z z II II CC^ ^ 2 ' D i 2 ' 2 ' Q i
CM CO
C^KOrcCQiDiQiDi CO o > X |->>U.U.U.U.U-
E
CO
CO
XXXCOCOCOCOCO
CO >>>>>>>>

245
. . uo CO uo'
O O O . . . . cooo . . . . o o uo.. . . . . . . uo uo lio" uo uo
T- O O CM uo o "S: d ' 1^ ° O O d " CN uo • - ^ - Q- 1^ O d uo" d T CN d uro' d T CN d d CM
o uo uo o o o o I, O ' l - d d ,1 d d r - ' . j - II
„ d ^ T - ' * II o o , - c o II OO.^'^
O O O II II II II - ^ II II II II —. II II II II - C M d
II II ^~- II II II II . - V II II II II
II
. — .
II II
^ ^ .—V
^
T - T— T - O
CD O •«- Jl^ ZZ^ZI^Zi^ZI^z^^ZiZiz^^'^^Z^^'^'^^^'^'^^^'^^'^'^^'^'^'^
CO • ^ ^

' 5 2 5 9 < 5 9 2 0 < z o z'o < z ' o z ' o < z ' o z ' o ' < z o z o < z'o z"
CO CO CO <Q:<Qia-<Qi<DiQ.<Q:<Q:Q:<Qi<D£a:<tt:<Ka:<Qi<Qc2:<oi<
=1:2
IDV(

Z Z Z Q-mCLmCpQ.LUQ.LiJCOQ.liJQLUJCODLUJD.UJCOQ.UJQ.UJCOQ.mDLmCOQ-UjSL
X X X T!^J5WS;^yj2I)i'i;^y'^N'^"'^"NQ-CONCONQ.CONCONQ-CONCO
-^ TJ XXCOCOCOXXCOCOCOXXCOCOCOXXCOCOCOXXCOCOCOXXCOCOCOXXCO
2 0

I ^ O O O O O O O O O O O O
C M O O O O O O O O ' i - O O O U O O O U O O O O O O O O O O O l O O O O O O L O O O O O
I - O O O O O O O O O T - O O C N O O T - ' < - U 0 O ' < - ' > - U 0 O U 0 O L O C M U 0 O U 0 O I O C M U 0 U 0 I - ' -
uo O O O U 0 O T - O O ' < - O O O C 0 ' « - O C 0 T - O ' < - C N O O C M ' » - C M ' r - C N O C N T - C M ' < - C N O O O O O
ro CD O 9CN^ C
~a>cM ^M^COf?uo?O c)d-r-dd'r^ddd'r-' o o o o o o o o o o o o o o o o o o o
r^ c^ d d d d d d II II II II II II II II II II
* uo 11 II II II II II II II II II II II II II II II II II II
uo II II II II II II II
CD
X
143

. . . . . . . . . Oi-CNCO'<a'UOCD|voOCDO'<-CMCO'^lOCD|-vOOCDO-<-CNCO'*UOCDI^OO
Qi C S^ £ 2 - S - 2 . S2-C;^ ° ° C D ' ^ i - ' < - i - T - i - T - . t - T - . < - C M C M C N C N C N C M C N C N C N C N C 0 C O C O C O C 0 C O C O C O C O
co'co'co'cococococo'cocococo^co^cocococow^cocococococococo'coco^coco'co'coco'coco
n
n
II
zx
x zx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxzx
zxz
o O

246
Qi :
< CO

CPPRM CPDH

RODVS IVST;
3 >
CO
?co CO O > •X H
GVTAU

XMWS.
TCVTK

CO ^o
QUC...AAXAA

; Qi H UJ :

SFR...

;ws...
Qi X = ' = ' tn vi cn
^ : ^OCO .Oo
CC CC CO CO CO C/i^H CO 1- <fi
> 1^- LL H H V- t : CO 7 Q-
> Q- Q i § 3 Q. > 3 CO _i CO X y- H Z O z O <
X I - ^ Q. l - ( j ^ UJ CL > : X H ^ Q: < _ 1 CO H 1-^ i-r h: b;
>
Qi
D-
Qi CO to CO fO > > > > ^ 2 H u . g t t : u j < cococococoX<Qi<tt:Q:
-1 H Qi 5 o - 1 O - I - J u H h- O l - O C O D - O I - Q O D Q Q Q Z J Z C O N C O N Q . : ,
> 0. O U. 3 X h- > Q. U. ^ > 3 UJ > > U . U . X O H X X H <OQOQHHXXCOCOCOy

Di
>
H
13
Qi
_l
^' H
__•• 3
uo' uo" . . lio' o d ' d ' d" o ° o" o d ' CO CD d" o d ' O Qi
o d ' . . . . C N P d ' * ' ^ C N q d " T - ^ C M d c ) n csicodd n T^CMdd H Qi >
•-UJ > ,s-u
T- II ..- CM o •<- II O O o O II II I ^11 1 ^ II I ^
UCLRU
DIST(I,1)=SZ

EASXM
NEXT{I,1)=0.
LAST(I,1)=0;

DIST(I,1)=0;
DIST(I,1)=0;
DIST(I,1)=0;

MNS =

II ^-., 11 II II II ^ II II II II ^ ^ . . ^ ^ ^ „ - . - ^ - - - ^ - . ^ T - . — ^ ^ ^ ' ^ .
^ •<- ^^.~~^.^^^-r-_^^^^^. ^ . •<-.•>-. • ^ ^ . O •^. '^. '^. '^. • ^ ' ^ . ' ^ . • ^ . ' ^ . CM
•^. r^ ' ^ . •'". •^. '^. OO •^. '^. '^. '^. CD O O o' O • ^ • ^ - ^ •t- •<- J - , CM CM CN CN J ^
r-v ^00,00,00 £ 0 , 2 ' 2 , 2 . C D £ , 2 ' ^ ^ ' ^ J Z - z ' ^ ^ ^ ^ Z ZZ-ZI^Zl^ZI,z
0 ^ < Z O z ' 0 < Z O z ' o ^ < Z O z ' 0 < Z O z O < Z O z O <
•CCL<I^<irQ.<Qi<QiQ-<Qi<Q:a.<Qi<QiQ-<Qi<QiQ- 2Z X
1:12

UJCOQ-UJCLLUCOQ-UJD.UJCOQ-UJQ.UJCOQ-UJQ.UJCOD-UJCLUJCO ra
X z xo
tslCLCONCONQ-CONCONQ-CONCOND-CONCOND-CONCONQ.
oba
oba

COCOXXCOCOCOXXCOCOCOXXCOCOCOXXCOCOCOXXCOCOCO Jl_ H H < CQ O Q D)


•o

2 0 CD CD

247
CO.
CO
D.
_l
>
o
CO
CO
O
II ' II Q.
II CO
05 II
>
II o
II ro II 1^
II to 11 CO
II
II
II
CO
3
1
O

nuo
o II Q.
o II >
oo cn II •^ II o
0 II CJ 1! CM
CO II
o CO
o E II U II
CO
CD
II 1 05 II II -5"0
J0 II
CM
uo a. II £ II II x"Q-
ra E t^ "uTo
O II
II II
II
o II
E ro 0 -^
CO

o
* •

•<-
^
CO
CD
1^ .^
CO 7^ CO 1- ,^ cn CO
II
II
II
"5 II
O CD coj^uo^* c o f i | S c Dto| g•*
5 CO. 0 II 05

r%
"o N > CO
•<- O E II '.= II II
1^ 00 CO CD r v -^ 0 >. Cf) II "ra 1! II
O CO 0 II
OO in CD O IO CN
CM 1^ IO CD CM
c ra N II >
CO • =

is
•* o ro i_ II 0 05
CO CD CO •^ rJ i_ II • D II
•<- CO
o r^ -"t o K^ cE" CO:: 3 Oo t CO
>< ro >

Der ivati
uo T- II
CO 0 II
Iii
, • * • *
•* o prj CD CD CO CM ro
uo CN CO CO •>* •<-: g o c?
uo [i ^.:: 0 -D
II
II
o> _
><o

urn
LO •<- uo CM CD ro N cn CL
"^ d 00 S CM «5
CO
O E II
II c >
uo 00 CO ^ T- T- o •a II •o
•^ II
•2-TO
0 Ll
II
II 1 E cr: 11 ii o xo
, CJ o
O 9- ^ ^" V" H-.
»; -•e
X >- 5^ o^ o^ CO
^ .
1 ^ O^ O^ II '~2'5>

CO CO
o CO 00 l i CD CM CO CO CD
oo CD uo - ^ uog3 CM CO •>* oo
r^ •<t
CO 0 0 uo
•«t •<-
rv
CD
CM
CO
•^
r^
00
CD
•<-
CO
O)
CD 1 ^
rv r^ CM £ ^ CO CD ' ^ 1^
^ oo r^
00
CO go CD CO IV.
CD CO 00
CN S CD to •<- 00
CD 1^
CD •*
•* o
|v CO
CO o
• * 1 ^ CO •*
o •* CO O)
oo
CD
CN CO • * CO uo c ^ ^ •>a- 0 0 rv CD IO •^ uo uo o
o CD 3 : •^ 1^ CO
• * • *

O 0 0 CM O) CO uo O ID c o ^ T - CN *-^ 1 ^ O) O) CD CO CD
^ 00 •>* O) n
•>t CO o CO
1- CD o 0 0 CN
2c5 tv 1^ CD •<- oo CD rv CO -^

u
•<- r^ o CO o CM r - CD CO 0 0 CO CN CD rv CD O CD •<t o -* CM
r^ o o • * •* CD 00 •<- CD l^CM •r- uo 00 CD
^ CD uo o CD CD CO t CM
uo •<- CO CN •* o o fv uo CO CO CO CN CM uo O CD CM •*
•<- 1^ CN o o
Q
CD u o O
CD O O
LO
LO
CD r-~ C D
uo r^ CO LO O
uo •>*
§? CN CO CD
00 CD
•>* CM • < *
CD
o
CD
uo
00 IV. •<d^ 1- uo
ID 1^ 00 CO |v
oo
CO
00 CO
LO
O 00 ^ '
O CO o CO CN CO 00 00 CM CO
•<- r^ r^ c ^ ^ O CM
CO 1 ^ d
• > *
r^ o
C D C N CM uo
Q CO LO CD CO d
CM
O CD CO oco d LO O CO CN uo •^
'. uo l ^ r - P .^ CO CD -^
CQ • * 1-^
^ CM
CD CM ''fd uoC° uo o ^ o
CM CO
LO '^
^5 o > g:
< < <:

248
CO r^
^ C D T- CM

^ ±_ ± ± >
>- >- O o

ro
xo
Q.
> .
Oid
>>
}X}LiX}L
dd II II ff
II
>iOO
o ZZ-
o <£ . ^ O O lio' d' ^ : i c i —'
II
zz>
II II
Z O O
H H
CO CO CO
H
< Qi Di °_- ^ ra . CD CQ
CO • * CO Qi CO Di 55"
II 11 -J > > _ l _ l
OO Qi CO
Zi -i -1 sy^ 3 >
Qi CO

Q Q Q Q3Z
CL LU „UJ, ,CO . . . . Q Q .
C 0 N C 0 N D - < O > X O > 9
cc coT o o o o ^OO
II 3 3 ;^B OO
< CD O XXCOCOCOtd C D < < < < < § 5 -li 3 3 3 3 -D
C
•o
C
OO - 0
I I— .P

0
cn

I— CO

d D5

o 2
11
o cn
".«
> cntn
Q. 0
0 o
o
o
.c
o
.^ 0
CO CD TJ £
O
J included i
tion by MV

WR UAR..
•zero wtier
R UTLR U

CL
> CO
X
Q
I-
> > CL
co
>
CO
X 3 ••
O
o I-
CO 3 X co
< CD y^
•.= CD
c >co . .
o O UJ : :
^ _ l CO
o :^ < § ; Qi : >
UJ > •• cc H UJ : :
OOX Q
Z :p
" " * •
2 ^ CCCCOC - r 3 3 CO CO CO
0 3^ ?• > if^S-c« ;o
LR XVR ET

O
CR TKR DL

RXR RR RI
obal UCLR
MEAS X

WR TWR Q
LR WR VT
eros{ 12,

:£uj :O $ U. Q. >
TRPPR...

ro ro CL CO Di
xo .o
2 2
CD CD
N
z
v? 1 -
^ O
d z
O CO CO CO
3 > ic:>
H- O O t r >
3 CO I - 3 CO
Q UJ > > UJ Q. ^1 >
X C O O K CO z D.
I - I - x: ui O X H
< _1 CO
: 2 1 - u. § Qi LLI <
II X z II
W X H ^ dpy6^ : O CO Q- o H Q O
U. D UJ > 3 UJ > >

ra ^CD CO . U. X O h- X X H
D-
•?rS xo z "roX 1- > Q- O u.
glo
glo

^^ i^ sS 3 X I- >

249
Qi Qi
i<i i £
^ ^
^^ i-_
tzt:
rv i v
^,
CL —,
Q. 00 CO
CD CD
> >

00.0/1
00.0/1
^ CO o o
CC CO
o o
1- H, o o
^1
^ CO
>^ o o
( O -ct-
« v

(31.5859531
VR*XVR(I,1

(3.0009401-
VS*XVS(I,1
VR(I,1)*RG

Qi CO O VS(I,1)*RG QT^ Q^.i^


> P

'R/RG/TKR;
O O O > •^

S/RG/TKS;
PR(I,1);

l-Hl- CQ - : OD —-

cc co" o" +.0:


- I _ l - I CO
T-
- X
_ l
2 c i X CO
T- _ l
* CO
CL
X , X X, Q: CO o ^- . . O Q- O Q. H H
-Jlj-jQico 3 + 3 •(-
°^ Q.9- 5:
^ Q.
>
Qi D-
^ Q- Q.
-(•
a:
•IE
S^co"
Q- Q . 3 D ^
Qi X
CO. CO.
X
CO 'co in -1- Ji~iL 0 0
II ^ II CO CL Q .
^
c cz c
0 0 0 2 CO O < < •. 1- ^ II Qi o II co % II II
f^ "S ".c
o£ ^

S(l,1)^
PO- p X p f X p 1- H o

R(l,1)
TJ TJ TJ _ J _ l _ l D i CO CD Q.
0 - D. 0 'T. Q. \- cc CO o sz
H H I- tr I- 05 o d CO c i II —' II oq II ^11 II : = . II 3 2'co' x:
O CJ
Qi CO O 3 13 3 > > CD cJ d Oi Oi co"CO Qi Qi Di Di CO CO
>
II c» > > o
_l _l _l
II II II II 11 *i"II II II CL H Q- H Q. Q. H Q. Q. h- H =0•.- II II T j - o o II T— T—
Q Q Q Q. D. CL Q. • • II > D. Q. > 0 . Q. "D Q- II X >>
X a : CO Jl, 3 3 TJ
Qi CO O ^ CO " Qi CO c c Oi
-I _i _i > > o 1- 1- 0 0 Qi £ "
> > > > > Qi Q. Q. 2 £ 0 3 3 2 H Qi Qi
)/100;%ttiisisEfeedvalvi

)/UTW;
)/UTLC;
)/UTLR;
W(l,1);

)/UTLS;
LC(I,1);
LR(I,1);
-S(l,1);
imped

CM ^ O o o o
d' o 3 ^ 3 3
^' ^_ ^- ^-
^Z- —' c ^ —
..
uo ID uo lio'
o o P Qi CO O >
^•i^^ ^ C - 0) CO, •H -I- -H •<-
-1 _l -1 > CO d CO d
II 1^ 1^ rv 1^
1^" CD" I I - T T >
A 3 ^ ijr CD^ iC" c? oo" ^3 Di CO O ^ OOOO
(2,1 )=i
(ed val

—1 _1 —1 >
(1,1)=l

k/P0S(2,1

CM CO 2 1 1 - Jl^ "S" "S" "S" "S" "H" "S" Jl^ O O o o 3 D 3 3 CN CM CN CM


1- H H H + •f •*: •f
C=TCC
R=TCR

d d d d
V=TCV
S=TCS

c\f Jl^ Jl^ j i ^ ji^ 3 =3 3 3 II II II 11


CO
d 2 O), ^ II II II II II II II II
LC(I,
LR(I,
LS(I,

COCOCOCOCOCOCOCO CC> Qi CO O >


P 9 UJo o
CX)
W(l.

Qi CO O
o>w -Q
oooooooo _ l _ l _ l ^ -1 -1 -1 >
o o § Q- ( 1 -Q. c CL CL CL Q. Q. Q. Q. CL 1- H H 1 - 1 - h- H H •^•^•^•^
1 - H h- > > ss >^ 0
>>>>>>>> 3 3 3 3 II 3 3 3 3
T3
II X X X X TJ \- \- \- \-
c c
0 0

250
CO CO

CM CM

X o
o
o -(•

CN CM
^- T - T— ^ - T - ^

tt$%%X
2 2 2 2 S ? >
X X X X X 2
t~^ t—^ * * *
•<-_ CM_ c q c q CD_ > ^
. o
OO
;; X >^x
CO CO CO CO CO + o uo
X X X X X ^ o •^
-1- -H -1- -1- -t- ' ^ S CO
CO. <f -^ < " S 1^
N OcN
^ CJ^ CD, 00, CD' JTT * 00 + 'col •I- T- -y
=XMW!
-C(l,1);

l - ^ X x
XMWS

XMWS
XMWS

XMWS
XMWS

i-^'x •~~ 1 -
0 II II II II (O ^^
cn > ^ .11. .11- II CD «
X X X X CD .^
CO X X X
j^ II II II II II ^ ro CO D5Qi
> CC cncn OcnOu
05 , -
o II o II c^ -I.
CO ^ C N , C D 00 CD 1 - O O O O « P" X..

fori
end
H I- H II Z II TJ II
'^-Ui cn cn (/) CO (7)HII 1I I- h- II II II 0 5 ^ :
o X £ X 0 CM Q: X II
II II II
11 (« ^
II
H g § § § § § ^ ^ ^ r-i" ^ rn 3 ^ r— L^ II ^—
COS 2 2 S 2 2 CD" CO" Oi' O II II
X X X X X X X T J ^
\^h^h^ ro 00 >- >-

else
c
0 CO W O) o .i^ TO CO
TJ
c 1-
0 —^ r0
X
.987/TKR;

p CO ^ ^
^"uo" >i csf
d ^-^ ....
RR(2,1)-RR(3,1

)-i-RR(2, 1)*HTR
<p(53 .4060443-6000
R(3,1 )*0.767488334

RR(3. )*PPR(1,1)*P R(5,1


RR(4, )*PPR(1,1)*P R(4,1
(1,1)* R1F*R2 *PPR
(2,1)* R1F*R2 *PPR
1 ) > 0 l&PPR(3,1): 0.0

1.5*RR( 4,1);

A u. u. Q. Q .
RR(4,1):
RR(2,1)

RR(3,1)
3735;
1544;

)=RRl 1)*WR;

> Di CO
> >>
,8)=X
,6)=X

,9)=X

< d T— T— ^ - ^ ^ ' • ' ^ ""^ -r-


WCO
< zizzzi^7iZ:^'S.. d" > -I
t-J ^ d Qi Qi d' d ^ T—
—" CCCCCCCC n^n^'f^y- oo o o o r-i ^ - ^z. ^ - X X
SE-
0,1)=(

'S.'S. d d d d d d 1- H H JLJL
PPR(
PPR(

Qi Qi CCCCCCCC^^^lltD
o o JL JL ji^ ji^ ji^ ji^ cn cn cn
o •<-
sz . c JLJLJLJLJLJLJLP-^ X X X
o o
JL JL .r-' 11II 11
II
jid ZZ,CsT II II • * • ^ . •r-" CO •*' uo" d IV.' d g " C CM,
- d 00, d J3, 00
PR(

C/T CO CO CO CO
1=1:

•^ CN Q i Q i cc cc 2 ' o i Oi Oi Oi Qi Qi cc ^ CO CO
d •*" CC CC CC CC tn<» d •*" II 2" X X X X X X X II > X X
CCCC-o
DL 0 0 Oi Oi u. O i T J CCQiDiDiQiOiQiX222222 L_
2'£'
Qi Qi Qi Oi £ c0 O O O O O O O Q i X X X X X X
*^ £

251
CO CO

CM CM CM

<

O X O
o o o
-(- -I-
CM •¥ CN
CM

o
"^>^x>i
o
X
§ CQ
CO
-1- 2
>z X X X X
T—
^— •«
i-AV(
:iH.

o
NT o 5 . . isT O UO
< oq
o « 00 -f « 00 _ -I-
«
H X
•1- o
o H - I x o -^
•<-^
X o
II II II II II
II o II
X X X X X X X
gcN CO
X X X X cjq cjq
CD d — H d
CD
CD d II d II CO ~~-
r^ X •o TJ O) • X
uo CO p p II . . c II ^ c CO .^
II

CM d
II II
II
II •*' S o X £
II
0 0 CM rv
II
uo
II II
T-
^i"^ fy

-^
II
dS-
II T- II
coW
>0i c°:{2^ir> 0 > Oi X
?&5
TJ I - JO
C — 0 X 0 0 X :N
0 ^t 0 ^

CO CO
CO

CM CM
CM

O X
O o
-H
o -I-
•H CM
CM
CN

X
X o 5 CO 5
CQ
CQ ^ -H
-H X
X X >; X T—

^— ^ * *
+ AV(I
(AG(I,
*HI;

.. X X r
« N N" d'uo <, * N
o •<-
oq + » 00 •1- « 00 -1-

•^ X 1- -^ X X Sf2
gcM
1-
II
• ^

II
X
II
II II II II
^ •¥
X X X X CO X X X cq
CN 00
X X X ~~ 1— CO
CO ^ ^ cjo"
cd .^ CD • ^ T—

^ d' II CD X -
x
iz. d II d' II
Z(1:8,1 XST

fori
end

1^ rv
fori

II II
end

h- II — -o uo "^ p p;
co >^:p l _
c CM d ' II o X X
X ^ . Tr o X 2 0 ji^ d CO
J^CM,£S II II II ^ p 11
if ITY =
H=

H=HS"r
HST(2,

T=TST
if ITY =

ITY=1;
R1

II

5^1 > > o


else

II
end
end

H 05 II
cn "
ZZi\ » H
N 1- X ^ "0 X

252
co
CM CM
<
1-

X O
O
o •I-
•¥ CM
CM

X
CQ
o
-H
CQ
•¥

O UO i* + N o
o •^ o
« 00 -f * CO _ -t- o
H - X i o
I--X o
gcM _ll__ll_ II II II II ,1 o
H
CD ,xxx c»
X X X X
CD
CO
CD ^•-
CD «
d CD
X
CD
CO d II d II
1^ X TJ TJ rv Qi X •^.

10,
TJ in CO . ^ p II >_ II i_ c CO - ^ •^.
uo
C
CM d o X £
C
0 x£ 0 II X T-"'^ o

H=HST(1
0

Z(1:8,1)=
X '^. r-

T=TST(1

if ITY ==
II II II II II p 1-

HST(9,
II

ITY=0;
II T- .II C
^D 2
. , ..II co
> Qi X £r
> CC d «512 X ^ ?: X

end
TJ
-CJ .
c —
0 !!=
Eg !N H X t ^
c
0 ^
o^
0 X

CO
CO
CO CO

CM
CN
CM CM

X o X o
o o O
O •t- •¥
•t- •¥
CN
CN

o 5
XMW(I
-i-BH(

O X
CQ 5 OQ CQ
-1- S
-H >i X
-:-^X T— ¥
^—
(AG(I,

t-AV(l

1 ^
¥ T -
^^ *
*HI;

T~.. "—N
" .^^ ..^
+ AV
Z(l,1
*HI;
Z(l,1
*HI;

(AG(
(AH(

d " uo isT
o -^ « CO -I- •»<
oq •t-
oo •¥ oq _ -H
•K

H- • r ^ X
*h- ^ X
2 CO
O 1^ I--X H T-: X X
• ^
O CN II II II II
II II II II II 1 II
° + >^ .11.-11. II X X X X
8,8

00
o q l l ^ cxo X X X X —
CD
1-
~-'
,xxx
CD « r-
T—
^- °-11.
H = 0;

II
CO .^ o
forl =

d"
forl =

1^ n' X •D
c
end

CO > i p II I.
end

UO "- II •_
II o X £
o X CM
"x
II
X •^. I c
II
0 x£
if ITY ==

HST(6,1
RI =

JI^OO S°, . .
if ITY ==

H=

II

5^1
ITY=1;

end
end
else

5?

253
o
I
UJ

o o
o o
-q§
o >-
r: •c
• t . 2 .o cj->^
CO T -
-O O
z z oo o '
Oi Di >ioo CD ^
> > 2i.O
Oz
• - S£.
0 . CO
^ CO rv
CD
UOg X T
z cc
cc >
CD ^ ' C O CO
> t~.
o
5P c1o Di
CD « OO d • CO c d2 X 0.
CD II
CO : o 2 O
• D . CL CD J ^ H CM CO ul CO
l-~
ID S ^ >II >II 88 Q.
1 ^ LL CL
I CD
. i> O A-Q.
II
II
Di
Di II
Q. Di
Q.
O
CM CO [^ J L c o o Q D. Q. Q. II
II II o •^ -- i- \/ O u.
II T - CO, ^> V
c^^^a II i j 1- V
CO ^ Q . Z,
A UJ
> CC Q.
, 2 2 C L ^ SSQ.^
1«.
0 X .
li Q
— i _ ^ i -— — i_ —11 ;r Y^nn
0 U. LL Q. !t:
7^
0 ^ ?y
O

0 LL

CO CO
CO

CM CM
CM

X o X o
o o o O
-t- -I-
-1- -t-
CM CN
CN CM

CD > X O
X
OQ CD §
OQ
-t-
+ S
X. p X T—
^X
^*
*HI;
)9V)

N d ' uo
o •^ « o q -H _ -H
. 00 •(-
2 CO
•It
cq
.r^ X X H T ^
^ X
I- -r^ X II II
II II II II II II II II
II II

X X X X X X , x x x c o ^ ^ ^ ^
ca OO
CO
CD ^
CO d II
d »_ d II 1^
X
Di TO II -D
II ._
-D
c
II . . TJ UO II CO ' - '^. SZ — c
0 x£ C
0 CN CO X 2 0 X 2 0
x £ II II
X
II
> Di X 0 TJ
-D H
c — JO C
0 fc 0 X

254
CO

CM

X
o
-I-
CM

i, X
;U0 — - 2
M(l,11

2)/FTM(
M(l,4)

)-i-FC
N(l,1

FTM(5,
FCM(
CM(I,
CD . .
i . N
CD CD CD . . * 00 -)-
CD CD O ) CD ' O O LL LL -1- • ^ .
CD CD CD CD I LL LL :o—. T— I---X
-1- -f
T . '^. uo" ^ uo —- »_n_ II
d dd d I 2,1)=FTIV
iN(l, )=FIN(I,1

5)=FCM(I
,1)=FTM(
IN(I, )=FIN(I,1

12)=FIN(

12)=FCM
m X X X
5)=SFR(

II II LO
II II 00
OO
IN(I, )=0.0;

^II
2,1 =0.0;

2 : , CO, •T'^
0.0;

II
cccc Oi cc o O —
1—
o o

fori
II •o
U. LL 1— II CO > i p c II z
CO CO cn cn cn II II — • X •r.II-^ O T 0 x£

(1:8.1)=

=HST(£
=TST(5
sssi^
1:8

00 00 H 1- II
'^. CM" II
LO t— Y—
O O H 1- ^— X X
CO CO

•Y=1
ST(1
ST(5

Ail
Jl. LL LL LL _ii_ U. U. LL U. _ll_
T> r S 2 0
r Cl) 1- 1- *r
0 2 LL LL
2 0 0 H H o^ N 1- X «^ 0

00
00
• *
O)
rv _i _l —1 —1 —1
LO Oi Oi Oi Oi Qi
CM
CN > >>>>
CM 0 0 0 0 0
> ..>>>>>
CO* * * * *
H 0" •ri 0 CM uo 0 CN

« 0 * t T-
LL 0
0
•«t
O)
IV
CO
• ^ CM
t

CN
t- 1 CL UO .,_: . ^ 0 0
t^
00
CM rv! ^ 06 •<- T- d d
CD
CD rv [ - • ¥ • ¥ • ¥ • ¥ • ¥
CM r— «_^0 O O O O
CO « -c d
CM • *
S^ CD T— • *
9*S

^ _l _l _J _ l _l
2- d P d 6 rv. v ^ D i Di Di Qi Oi
363

1 00
0 ^ ' •
2 > > > > >
)*1.
1.0

• ^

CO >-;LL C^CN" d ^ d d d 2 2 2 1— d h-ooooo


f uo d 0
II
CN
0
II
0
II
t >>>> >
^ • ^ * * * * *
LL
UJ d > ;
• ^

<
OO
CM < < •<-
-*.-
0
^ -
CM
0
uo
CD
0
00
CN
^
5fiH U. U. U. LL U. U. U. o .r- CO Li. LL LL
O fj: CO d CL CL
2 -
2
0
uo
•<*
. ^
rv
. ^
•.a^ CM
0 0
O'i'H uo' dI ' ? y T-. CM C O . ? ". CD". 00. CD^ ——- —- —- rv ^ V 2
^ : . + . . —
2 1— od •<- 1 - d d
-VPOS

- 1 CO ° - UJ g p CZ. :=. c:. : = - : = . : = - 3 . H H H ir^ H 0 H H U . II II II II II


=0.0;

0
^ o p • X'T. HHHHHHHCOCOCO ^ A
1- rr t " d d IV.' d
V CO 2 1 CO CO CO CO CO CO CO X X X
-3

CO
f CO COH CO ^ ^ ^ pr X X X X X X X II II II A 0 *'.—
0 0 T-, > Oi Di Di Di Oi
n PH- CO cn c 0 U. LL u. u. u.
U . 2 g LL o _i
2 •^ ^ 5 CO JL JL JL JL JL JL JL o" P co"
CL - 1 ^
o LJ 0 0 (0 > cn cn cn cn cn
> irl^ ^
U-
L L X
JL"
T - C N C O ' ^ C D O O C D T - T - T -
z£.:z,:=.^^^d,^^^
II II "• V
>-n Q. iT CO --.-0OS22S22S222 ^
CO 5 II COS
0)ao.;^0000000000 H
2 Q CO Q. _ 1 TJ 2 ,-7! 0
^ Q- 1 - _ l D c - J iJ- ^ C r i i L L L L L L L L L L L L L L L L L L L L T J LL cn
u . O Q- Q j ^ 0 LL ! t
0 u. X £ ^ 0

255
<
co"
l-v

1.325
1.325
d

145;
uo uo J(5

45;
*5;
.0;
0;
CM
UO
CO CO O O T- O O T-
T- -— --~.,- T- .<- O O O •<- CO O T- CO

*0.359/35
MWS(1,1
MWS(2,1
359/35.3

666.7*10
359/35.3
359/35.3

)/760.0*1
359/35.3
r" o uo «~ o uo S
bdCOdC !*
o CD CO r- CD O d

CC);
uo 05 t r - 1 < t : - 1 !U
CM
CM > i Q > ^ > ^ Q CO
CJ) -1-
1— >
OO o
O X X O O O P > ; . 1^, o
d -==:
- Cuo
N o
d ==
-^ LU
S
o h-: CD _ - 0 0 CO CO •-!
Iv! CO T - T - T - T - T - T - C D ' ^ CN 1 ^ ^ r v r^ ^ .t-
p w

FTM(
3*(10
d T- CM" •*' d d 1^ °? co CO 5 ' 6 > ^ o O

TCS:
CR;
d" 2 2 2 2 2 5 ^ 5
CD _ -
•r-' O UO
CM
s^ <
>tt>tt^O
2UJ V d o
d uo g 3
CMC0->tU0CDrvoOCD
uo [^ <q o II T-CMCO^lOCDI^OO
A < t; > > St COCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCOCO
oo
UJ
_i •* < ..
?o <<<<<<<<<<<<<<<<<<<
V LULULUUJUJUJUJUJ LULULLILULULUUJLLIUJUJLLI
ivi Di d 3 o
> cc < 2
x 2
x 2
x 2x 5x 5x 5x 5x x5 x5 x5 x2 x2 x2 x2 x2 x2 x5 x5
O
TCC

M II II
•c ^!= < 0 5 ^ - ? CO CO o •D
c 05 3 j n < 3 3 c
tn Q5 3 0 0
0 0
0 0 ^

CO CO CO

CM CM CM

CD X O
o o o
-I- -I-
•¥
CN CM
CN

o 5
m §
2
S 1 OD
^
J^
X 1 ^ T—
^x d uo
j..^
T—
^~ ¥ ^ ¥
* -* o •^
—. .^. -—^
OOOO
)9V)

>
!i
273
*HI;

*HI

o < isT ..
< o uo i* N
73.1
000

•¥
* 00 -H 00 _ -1- 1 - -1-
*1 - CO
X
-H *1 - T—
X T — h-
II
•<-
II II
T
gCN J^
I - - X
II II II II II II II
co —
oo *
II
= 3.576

TM(6,1)

CN
3T(6,1);
ST(6,1)
H-R1

X X X X X X X
00
CD ~-' CO
CD • .^
x'
_ ^-1— o.^
CD .,- d' II
- '
-n r-^
uo
ty
c^
X
fO
^ ,,. 1 - II \— TJ II
^ II U. X H
c0 Di X
ST( 12,1)

CM d ' II X
II
rsj CN o X 2 0 X 2 0 CN
II
JLJLJL
II II -"- p i_^ II
II
H=

1^' rv" ,,_•


if ITY =
H=HST
HST(5,
if ITY =

T=TST
Z(1:8,1

ITY=0;
RI

0 > -D
end

end

cn TJ 1 - H CO CO
0 0
^ 0 X s? U. XH

256
Qi
_l
X

I
^^
CO
.- o l_-
0 Q:
^ ^ X

M(itei
R(iter
•K

5 o
1- CM

o p Qi
X O LL O
Qi u.
O ' ^i x" H
' ^ . CM
i_ . o P Di
-t- C D 0) i ;
CN
^ v ij" .»= 0 •H
. ,

) -1- FCM(il
X

2) - FCM(
FCM( iter,8
) - F C M(ite
[2

M(iter,6);
=iQ. o
o o o o o o 2 O Q
o o O O O CO
o o O O O
X JL •^ •<- o

,1
1 00 *-' *-' LL c CO
CO CO CO
ciCO rv 0
0 0 I
.*-• •*-> o + >
>
d IV.' d '.^cc^ I
FCM(i
M(iter

0 0 • ^ uo 2 5C«. CD
rr< 3 ^ Qi I

calci
O O fe ^ ^ ' "• - — » .
-1- Di
u. u. ..S X II-•^. X
cn cn cn cn cn cn m_UJ Q
X XXXXX
Q 5
5X X II II ^ 0 ^ ^ ^ •¥

JLJLJLJLJLJL CO
^l.
II P dPr -P ' Uo-
o
c
X
<,
CC
X
T - -^ P , - CM
CO * Q 00
P T - -D :z~d ^-^. T-1-- CM -(• 00 Q.
YP(iter,1

:M iter, 11

energy be
YP(iter-i-

t^ X Q

DHR=0.0
c oq -1- . - , cn . .
HR=0.0;

DN=0.0;
d rv.' d d o " P JL CO ZCO T - II
P o

ir 1=4:8;
0
CO^CO CO CO • * •.^ y_
S-S. 0
T- .i< II II II Qi
X
. TT
a. DrSToTQ. D. 2 II
Q- Q. S .
Jl -- cc z 33.
55 5 5 25 >- >- 5^ TO T- d : x Q
d^Qi z CO ^ • D.5^?x5i ril> X
<
o o o o o o 5r C rr
X c= X Q • - Q - •
.o o O 0^ 2 Z CO £ °^x
X r Q ; 0 Q Z i; c
X X X X X X 11
2 0

CO
UJ
rv .. 0 0 0 0 0 0 0
o
CO °.°.<=>.°.°.°.d dd d d d d
0 0 0 0 0 0 0 0 0 0 0 0 0
CD
CM 0 0 0 0 0 0 ' < - - < - ' *r - «T - *T -* T -* T -*
T— T— T— T— T— T— *

d «.^«.^*_j.^j.^*.^ooooooo
* rv_ rv._ iv._ h^_ rv rv .,-.,- T- T- T- T- •<-
P CN" d 1*' d d P CM' d •*" d d rv
X CD CO o
Q o o d 0 K H H H I - h - H H H H H H I -
°- 'd^ o o 0 0 COCOCOCOCOCOCOCOCOCOCOCOCO
O a> o • *
r^ CM
d
II II CO CM CM T—

A V
T -
x x x x x x x x x x x x x
II 11 II II II II 11 II II II II II 11
O •<-
. o
uo II
V . . A . .
uo 10
^- T - T - T - T - T - T - T - T - T - T - T - . r - - ^
^ •

f^i II
CO co"C i Q - . Q T J ^ Cl
T t II
? Q -p - Q -D ?A
•D ? Q TJ T— II ^^ T—
• *

Q
• * II _ C O ' < * - U O C D I ^ O O C D O ' < - C M C O i ; t U O
Q ^CMCMCNCMCNCNCMCOCOCOCOCOCO
<< g 0 c^CO
•; iii 5 2 . CO CO C O CO CO 0^ d• ")
w c o r v ^ ^^ (o
c ? •; )zi 0
UJ UJ uo CO — 10
< UO
uo LO _ 0 J5Q . 5Q . 5a C5L Q5. O5L Q5 . Q5 . Q5. C5L C5 L 5Q . 5Q .
CO -< CO
UJ
CO
CO
CO
CO tCO •\
CO
0 0 0 0 0 0 0 0 0 0 0 0 0 0
X X X UJ _l X X X X X X X X X X X X X
_l

257
o
-J X X
X * > J—»
<•¥
CO
CM CO
^
<
CM
< O Q
CM
^ "° 5
5
, CO > 0
O o -—^ ¥ O CD X
O (- C
1- o ••- X « CD CM
^-^ . c
o X '^. o <
>
o o ;3.co o
X
o
-I-
CM S^ ¥

+ Q o Pi
-1-
c^ S
*
CM CO o 5 - CD o
o X >
O CO
o o 00 H "^
f::
o-t-
J-^co
-I-
o +_ •.- II >
X o
1—
o CO -I- I ^Qi

f I
-I-
'CO
CO 0 )

^- 0
*
^ ^ • ^
>
« 0
CD •<-
P -^ 5 d: O X
^— i_
.^ o n

.57696'
396* le-
CQ

*(AG(I,
);%he
Z- ,i^ d
cu
"" o
1
3
* < cn H
• . IV.
PCN >'
X ~- *"
_ -I- T- X •K
X
<, • ^ .
D
'^ o rX 3 Q
o -I- o

i;
CO -1-
•ft

o X x" o
;-z
H > ^.^ X-(- >-
o > r v CO . ^
X O -1- X
o < ^ T < ;s>co

1V(I,1)=1.8*(
-I-
*

NDHV=ND
¥ Q 00, :3- > z
I-
« o 00
zII CO Q.
oq O «x X Q > Q 2
^II o .. >^ U. X

DN=0.0;
00 X -t- o d Z CO X Z 0
0 o "iT J-Q T— *

Jl ^ o o
X N
d 6S d" X ^ o Jl
cb"
JL'"- > z
II II Z II N
^^ Q ^
•^. Z
DX=

M > II
DXI=

for 1=1:
1=1:

II >
'1)01

Pd^X Q Q Jl.

IP
CM
- i O Z CO -a X > X d:§ X Q
z c Q TJ
CO H X Q Z CO X
"Xxr J.
p 0
z c
0 X 3 z z CO 2 > 5 Q '
0 z z
Q Q P 0
X X

CO
_l
X
CO
X
CN
< D
^—^ ^, <
2/3

CO
Oi
o
5 o
CO

<
CO 5
X
1- *CO
O * X

(- *CM ..
CN ^

^J- -
•^
, z -
CO
1

X <
CO <1
CO X d 3
o-f
•CS/2 •t-C (1.

o H o 5O
X 3 CM 1- J^
CN *^ .
1— -1-
LL ^
S z" CO
o
o x^ D *
o
-H
CO

*^"1
' •
1-
* sii
1-1-
1— CO ^"^
^, co u.
CD X X J~,
X
CQ
^
^
-^ o
H OQ
1 ^ _

•¥
x" « > ^
OQ
s°.c
>
ST(8,.1)*FTM
M(10 ,1)-HST
IDHS /UTLS;

•¥
^ X^ '". CO
1 x^
=1.8*TCS*(A .H(l,1

X
<, P'O)
OQ
CO 1- <,
+^ X 3
* ¥
¥
CC
.1—
Q cn
o CO ST o
X > X^ CO d H
* -t- -f
<, X
Q
00
CO z
00
S2. X D * z QT
+ . .0
d - . 2 •. S Z CO cq II >, X II J... X o d o 00
X >^ JL^?*^ 2d II II ji^ CO . . II d" Q if P-- Q d II d ^
00 Q ^ p o II O 0) S •CO z X 00 JZ- d aS do'Z II O II -r
I". II CO II [M ft- p ^ X Q
_- Q ' t rr II •if z X zz^cn O X z JL
M • 22.CO X z JL JL

P OTH-ij
• ^
- Z CO Z T J II ' ^ X Jl. XII P T J X Q Q Jr
J$ U.-0 Q. X Q Q X >r CO 55' c - - Q -D
Q Q P c > : CO 1 - z z CO £
co" _ l
Q P c > Z Z CO Q £
Z _- 0 X X
X
Q ,^
05 o
£
^ Z
0
z ^. 0 X 3

X *

258
0
-o
o

CD . 5 O •<t
CM
c H 3: CD 0 0 00
CM • * • < -
ScD" CO
CD
CD
00
IO
CD
•>-
rv CN £^ ?!?co CO '^
•* rv 1 ^ CM ? •;- C55
5) o •* CO CD & •^ CD rv 1^ CO t CO CD
CD t :
O)

•! Dl ^^- ^^ l - IV.
CD
O 00 CD CD i ^
• * CO CM • * 2 CD O
CO
CO
<;f
UO
CO
CD
CO
uo
uo
'^
•* 0 0
•^ CM
oo CN
o CO
° C D
o
O •<- r v o CO r: O CN ^ CD CO
O) 1 ^ 00 o •<t S CO O
•<-
•<-
CD
CD
00 CM ^c5 i - CM
' ^ CM

CO ' c tJ o
•«t
O
uo T - m
CD LO
•<* CM 2 O CD
•«— ^ ^
CD l^v (O
l-v
rv
uo
CN 1^ 2uo o CO
^ CM
CM CO
CN
CD
CO
• * UO
5:
• * CD O
CO o o uo SIS'"" 1^ 00
CO 1-
LO O CM 7^ 00 CD
O D LJ C d CD r v
•<t d
LO Tt
uo S O
^ CN .„
CM 2 o8
c x 0^ ^- co uo
o- 2 o CO < 2i Q C0.O — > -D o• ^ = II
•* 1^
^ CN „ 1 uo uo d d «5 S CN
d
UO ^ ^ ^
CO CN CO
" - Q > CO CD > CD CN c ^ ^ ^ .r^ UO . o •«t
_ (0 I - X D-
CO LU - C TJ 0 CD CM c O d
i-2
O J3 D.
CO H a. < T) ^i5D >
CO CO
Ml! CD

>
<
+^ 2 CO
id.

CO
CM X
<
Qi ^ • * -
oo
o
0/1.

CO d

CO | _ o
X iZ o
-1- * o
o T— ^ o
o o
CM
CM' <O"
^—
CO
3
Q
CO o LL ^ O
CO
rv CM• CD
i;^^
CN H 2 < I
CD CO I - p CIO
± OQ
-t- 0
^P>o
x' '^c c O
> -d5 t 3 » o
o
<,
i-ni^o
5 CO ^ uo ro -CO
2 H

X

i £ CO. zs m< CO
> .. tn 5 ^ o
•It

CO I D 3 ^^
o p^ 0
.> I o £r CN
it: Zhe
densi

o 0
t21,
Karl

CM 15 I ^
± .> CO Q-
CO I - Q t b 0 II w CO "3
CL •*• • ^
5.*^?i^ Q I co-° O
w F
CO 0)
I- o
X ci I £-^ < 0 •D Q O
Jl p z •^. •D TJ O 3 LJ C
Q. I "3 c E
OSIA

E
oje

X V X
§1 > I Q 3
"CO " 0
c X ..$
TO
2 "co
^ • Q
Q - Q TJ X X £2CO > ^ E Qi •S 5 II II C UJ sz • D . 0
tn 0 h - Q. < O
a (D a Z T- 0 Q. X X
CO g2>- ^ SSSS
> +z M= C D > - CO

259
CO.
0
CO c
I
o
CO
c o
o •D o
o o
-CJ O o
0 *- o
CD n >:. 0) o
c O £"2 0
CD c CD
.c O c o d
o o CO
-D • ^ CN CO •^t LO CD r v
O
0 O •" CM CN CM CM CM CM CN
CD 0 c -QJ •D_ TJ_ TJ_ -CJ -CO TJ T J
C >> o
o CO
0 o -CJ CN CM CM CN CM' CM' CM'
• *
• o TJ O O O O O to O O
— 0
CD . ^
CN - ^
CO
~?.5
O ) CD • - 8 S CN
.O . .
2 SCN E CN CM" CM' CM'
0 -R. -Cl -°. j q
CM' CM' CM'
.Q_ .Q_ - D
00 ' ^ •>- ^ CO
CO - - p
CM'O"
< o J5, O CN CM CM CM" CM" CM C N '
CD CD CD COCO CO CO CO
•>- O
_ 00 . . 1^ ZZ C -c JD E i -2.IV.-
T- P . .05
0) •>- p I L . . -CO ^ f c - 0 ••=£ ^•l§ ' C^ C^ CSI£'£'£'£'
^ cn CJD o^ I*^'
E°: w tn tn tnCM C N CM C N

ti
c n T - . i ^ ^ . ; J I _ ^ TTJ .. .. J-Q
3
CO CD s " >=. . i •§«- ? II • n CO -D<=. ^ . y E TS tn tn tn CO CO CO CO
gj^oTl^. •^ C M -35 , - — CM r v B II II II CO CO CO CO
CD .IL,
E ° ^ c N ?> •• • > - l ^ . i ^ ' ° - 0 - 0 1^ . ^
N JL 0 CM JLJL JLJL
:= ^ -i 5 S S CO •^ S^-=-^ i cn^-;^ S^P • ^ CM
CD ^ — "CJ E c c c
CD • ^ CD > • - > 0 •— r v - ^ - q-
C::,x ^ <s ^ ". CO CM" LJ 0 0
0 0 0 0
0 TJ -D -D -D
"cog 2 •g B
n i -Q O TJ ^IZ-t .^> > c CO oo E Ci £CO - o- .^r
-CJ -CJ
. « - • < * UO C D r v
N 0) • " . • p CM c ' - CM CO
> > II II II .><
^ ' II
^ .>
V, S
. r "o
t o .CO
5 . P II II II J L CM ^ 2 — »*— . S JJl
c j:. j;. X c 2 E E E E E E E
.y .i 5 o S S > S O CO . Q II Jl CM °2 ECN"
S? .y . £ .Q o TJ .o
5?
3^
^ ^ vO ^ vO
Q V o ^ 0-. QV (J^ d CD 9z.£ SS .CD. iS c c c 3 3 3 D
II u c c c c
•*-• vO
TJ o^~

00
0
o 3 c
o 1^ CD o
o o 0 I- "CD
uo •D i^' c
CD
uo O
CO E Q' .2>
O 5 CO o" 'i_
CO uo I O
CD o c CQ'
CM .9 <;
UO
O to o
CO
O CO
CO JO 2" • *

•* 00 «i2 CD CN CO CO CO r-v • * CM d CD c 3 CD
CD CO r^ OO CO •^ O CM 2 o CN
1^ CO
§CO CD CD oo CD r-v r^ 0 0 r^ o)se uo ^ 5 .2 w CO
00 CM UO •<- oo CO o •^ S2 CO
r^ CD UO • * uo uo
rv CO
•* CM S i ^ « CO r^ uo •* S'cSiS' 'c •o
r-v .^ O 1^ rv T- O
CD O • * rv CO CD CM CO CD rv CO CD UO CM • ^ co-c •=! CO 0 0 CD
rv- r ^ CD •<- CD CD CD 00 •<- CM LO CD CM "0 , ^
0
CD r ^ CD O CD ^ CM CM io ^ ^ CD O
•<- u o CO CO
uo <*
CD CO z Z T - CO CM r^ CO T- , > uo ^ uo f^CL
oo •* iS2
CD CO CN CN uo o
•* 00
t •<- LO CD •* o '* ^ ^•E E 0 - - 00^
r^v CM
0 0 r^ •«r CD CO CO s^ "^ •^ O 1^ CD CO CO _ c
o o • > *

uo 1 ^ o o CO
• ^

CM CO LO CD d 05 •* T-^
^ ID 1 - CD =
O ) CD 0 0 CM CO r ^ OO • * CD CO CN CD :I"°. 0 ^
CD u o oo oo d
CO o
d o < ^ d d CN " I '00
" y JL
uo U, o e t.
r^ o -i -^ C O C O
° CN oo CM CO uo
CO ^ 0 Q 3 y . ^-v — II
O CD 3 O < S- CO E •f? -^ T ; 1^ >
c OD S - S- -
T^ ^ CD TO I— n CD X >
p"rai^ y
Jloissss

260
CO
x
CO -1- 0
2 -I- TJ
SZl c c
CD CD co 0
CD 0 0
TJ .3
> .3 CD 3
•D O ^
U iUJ
S CL
0 £ Q > 1.1 C
c
3
Q.
£0 3 J:= 0
o 0
to 2 CO „ j •a c -D
'c CD O
3 In 2^

li-
CD J3
'•B •E 2 i_ E
E 3
CO to •a 0
o "w

ti
c c
Si
c= B
CO S ^.^^
.o
Q. <" O C^
c
U)
CD TJ
TJ
"co 2, CD _ O .2 0 0
•° ^ c JO Q. N. -D
3
CO o
g O CO c
"3 TJ 2 2 ?
*- CD 0
£ 0 •QL CO. E 0
jn E 'm
CO o
-r^ CD 2,
.^
,c CO 0 d) CD
TJ XI c c n? . 1
.•-•
ro ^ C
il "c
0
CO
o
IS
'in
CM
tn
c
3
CO
c
O
CD CD -S 3 -ffi 05 0 E -co o
§£ CO. CO. CO •*-
is 0)
,
ti
l _ E 3
o
0
O
E O
c
in .!2 E =
NAA
jOS

CD N 3 o 3 P5 CO. •D
CD -O o CO c
> -CO £- o 3 CO ,i.:; CO
"0
i^ 0

£
o £ 0o
"cn z
i^
•C3 o 3 CM

CD OO
3
CO.
CO.
c
•D
O
.o
c sS E

j ^ - - .i3 "K "5 c CO g E E


1^
CD . ^ UJ
CD CD .<<: o O
"CD ^. -•'~* ir\ ' ^ "— ^ br*".
"—' .> .
t) EE
t - CD i,§ 0
.c
O
II <
CO
3
. g "o
CD O
c
0
•o_

1
c CN^:^':^"^
^ £ £ c £ o
ro .ij
CD .
II .LJ. ll-l o
P ro „ c c •t- .E
S5 >. >
CO. 0
•¥
-1-
c r
_
CD
?i = ^
_ c ~
D) CO. CO. 3 M- O 0
CD
CD CO- • - E E •= -E .. -
E E M n if .!L g
E_ -D
ro,II.
II 0
x:
1^ g d CO .1 o cc io : ^ : ^ -SJ 0 t -o O CO II ' 5 ' 5 !!- ^ c- CD-D TO
CD
E 3 .!L O
5 5 x 3 sz Ote -^ c TJ TJ 'Z. uy 0) g
0 £ c c c E c t
c
0
> . >< > .
c c c
0

3
C
£
E c xo
>i 0 £
CO CO CO
c C ^ CO •o § •-
Q. CO c 3 •- £ o
0 S CO cr CO "o 0
co" £
<
^1.1 D)rn ro(J
0 O) CJ- 0
"c E 0 -D
JO CO. ^ -D
-D
c
0
CO
CO
-Q
CD
—C_
tl c
E" 22 CO. CO o
o ^ C0.-5 E ° c cn CO 3 :^ o
-TJ C _ i2
C 0 o roS " •D
0
. CO. o
CO o>'E 2
is
Io :§ C CO ro Q, c ^ .9 E -^
CO 0 o 3 ^
0 ^ CO Jo3 o2
:^ =1<D "H CD'S 0 '^
£
2 g £ 0) -S 0 •e" i2 C -D
-co
c" 0
o cn c •^ CO. P C > CO , > T3 C^ 0
o
CO
y "c
ro-S ^ c° - § o3 ^. >^ C c
o c
Iui
0
c
^
o-
c_
1 -t; CO.
^^ cn ^ w.
t
•D
"cn '.c
. ^ o
•^. ^ .
-I Q
£ B
m f^ M) .N
.L2 O
• b <« 0 ^ 0 85
0
o >^ 3 Z
"3
t c Z o
ii ££0 3- 1 . o
• ^
"0 i: tn C J - — ; o -j — o E o O ^^
2 C O 05 5
g.E
IMUI

Sfur

TJ rf .55
gi-D CO CO
sing

XO CO o TJ . S CO. CO =J c CD CD CO
co_ 6 £ 002i .9 O .£ •D
o-e
CL X O CO o S l to E 3 =. CO c . C .C 0 •i= CO C
E 00 "T 0 c — 0 ) £ ^ O ^y 0 C 3
.£ § < S 0 CD ^ c o LL cnC^ § Sj n m - 0
>> P
0
; = , Q-TJ .
^ >> 05 m CO co"
Oi •3 0 £ C "S-TJ •s.y.yE
0 0 0 „_
o E TJ S S o 0 . - S
i-fI U) 0 -D
ULE
itput!

CD .C 0 o
namic

C5 -55 E E-a
ses

CD C C S i
t o 0) j ) . •^•i O £ CO. cn 3
Elo o -^ c .- CD 0 0
.E 0 ) 0 - " E ^ ^
^ ^- ^ -^ ^ 0
y -c ~ .^ UJ 0 o c t CD CD -g ^ I 5 E 3 3
a N ro CM
CO C vJ O
.>•
yT
p
c
c — • D O TO
(c en
°i >. 0
CO
3
< >-=; CO)
CD
CO
JJ^
JD 0
CL c
C C E
0 0 3 "5) 2
CL D- Z C 3
•5
CO CO
CO CD
£ CO •.;= 0 0
CO 00 Q o is
CD 0 .«
CO j0 - CO
0
§-^ "5
0 — UJ
rn cn
3 X 0 -D 0
0 TJ E -tr ^ ro CO 5 lli E -o 0) ^^^."^
c 3 O £
E"
onIi

O 3 LJ C 1- CO E E CO
><
O "co CO O
^ "5 > -
Q •> S
- . X cn c
<= c ro 0 .E
o -g I Q CO••=-i- il c
O
z
cn
i2
<
-c • "
0) ^
C L £
3"
>i
2 d: £
— E 0
LJ "3 -^.^

LU .C -CO .0) . 5 . 2 TJ S^ Sv
I - CL < to

261
x:
o
CD
0 u
CD
co" .4—
0 CD
>
O
C

E !^
CO
o TJ
0 n c
0
-Q -D "x
E o 0 0
V TJ 0 ^—to
CO
3
C
£ > - • o
Q. C > v
* J
CD "co A 3 CO.
CO
CD CO CO 1 - A
x: ." d c 0 CO 5 0 ^
CO ^ . Q CO
.•-• "cn
0 c 'tn .9
IM 0 u
CD
xo
c
-t-
o ¥= -' >^ xoc
E 2 3 Q. .o
xo SS
Z CD
S2 c £ SZi T J A cn

c o
0
c
£"§
0 c 2 cn o
O
..
:?•
0
o CO " -
"0 -^ V
~s xo o
CD
O o O
c
L.
CO. xo
CLCC
o
V •^ -—• E
CO
£|) II1 £ 3 A <
o
xo
w
-Q
• ^ CD V Z II o
"c cn c o §
f."50 V "E
CO o
c:
9E i- CO O i
CO

t)
—c
II
CO
O oiD.
CO —
-)£
E T S |
g j£ o
•<- > -^ u r; ro .g o . 9 cn CO 3 xo CO >
CJ - c CO >
xo .o
"I £ ^ S "5 . . £ § .. to
0 o - ^ TO TJ
xo <" c •?? V

lumbl
J2 i j r II CO 0) -^ =-^CL-D V - II^ II cn H- II to Q .
II II M - CO. I .Q 3
5 o >. p •^o .i2 X) -0 .» io J
£o CO. c g6 CO CO 0 il" -3 .<« -• • D
£ i2 JO -co c 0 0 xo
2 t - o C LJ xo TJ 0 jn c xo -D ^
C 0) ^ CO 0) 0 ?!= 0 0
!fc 0 ^ 0

0
N
0
xo
to
3
E CD
CD

o c 0
cn CD c
c .c 0
c
E cn CD
olu

les

h-
to CO ^

'3 - c 14—
O
C .o
N CO
i_ • l _

tn o c
0 0
CM '0
sz E
_C co O-S
N 0 °-in .>
0
edicti

• . II CD CO
0
'll
5^^? 0
to o
3

pi
-—• CD
1— ,o
^
. — .
-3= cn
C
•*-> i^
Q,
t.% 2
•^5-5
o o
E og ^..^ CL
CO T-"

li
lU 0 c;.. V V CO 0
if ncol ~= nyi 1 1
error('YWT is
error('Specified

[nywt,ncol]=siz
error(['IMOD: fi

error('Oneor
ywt=ones(1 ,nyi
any(any(di(:,1:n

j<: ~— N
^.
t ii-
CO • - |_ O CO
O 05
tn
j^
if anyfanyO
isempty{ywl

o II
a§ X)
isempty(p)

3
3 2 o
Iseif p < 1

.£• 0 P c _ c
nywt=1;

CO. N II lr---?5 P ro.~=^ g


s o
"S" o ?^2 9--^ Q.
uwt

o
end

E y H
end

II •D
0 g 3 C ! S S"i 0 £ xo 05 fe
Ise

TJ -D .<» 3 c P -^ JO xo c JO • = •
CO.
C C is= 0 ^ 0
c0 0 0 0 0 0
!tr ^ ^

262
- p
c
3
Q. P
O XO
r-^ c i_
0
CL
Q.
^ E 3
A £
0 p
0
0 CO. V £ N
^"CD CO
3 O ? 0 CD
CD 0 E ts c
^_^ > i 0
p C
^1 c . : j , CD
E "5
~ CD
c •|.<2
D)
cn
0
"° C
5 -^
CO •o
o c 0
c
^s CO C iz i_
£ > 0 .05
p "x" >> c

.? 2 S- CO c p 2
CD Q.
c E o «- P .9 "c
>>-D
tn O
O CO
J
•.^ - ^ .>< - i r :
c c
E
0 CO
C=
(0
CD
O
o
O P
p '^ .>; IE •><

c 0
N
E E
>< CD
CO
•QT. ;>. w C CD c , c c
c
. 0
c JL« ^ c g • ^ 0) CO >. 3 .+ E 'c
E -CJ
^
.9 np
N
^CO r^i —T 0
cn C >^ c -.^ •3
>.
0 =^CN-i42. c 0 cn > ' c
P Sc
CD P •QTS 11 ">
CO
p II p >> CO 1,1 LU CD
0
3
-D CD ~>;.9 t ^— CD
m •^— S- 0 p S p" 0 P In 0
o OQ
c 0 ,c "Q. 2 t.
OQi cir EQ 2t
• p 1- .
2 ; I
II
c E
CD 0 0
C 0
£L 0 L_
0
N
•¥
•¥
+
CO. C l
. ^ ^ C0O 0 TJ E k_ JO I
cn CO c CO
.9 "5 TJ "g ^ • ^ 0 05 « S^"? c
0
0 0 0

X
.)£: CO
0 E 0
•Q- CO
3 3 3
p
: CD E CO
cn ^— X 0 o
0 ro 0 (5
TJ g c
die

c^ E - D • C >< C
0 CD

c
•i => a).9 g. C 3 E O
1 ?.9 E o) 0 P
XO £ 0
nsisti

^ .9 9 >< c
ome

t_ xo CD
nui)

CD C (0 C D C 0 p
• i ro •£ .c •= CO. i_
sof uilim con1

3 '
f ulim contain

3of y lim cont

p
ins of ulim CO
fylim contain

CO
CO. 0 P CO.
3
D. XO
Q.
ones

o
First set u

le user for

O
ylim matri ces.

0
0 .c
o
c 0 sz CO.
H V
N
CO V .9 0
•2 -s p
.p
0
j _
0 c E p c '5 CD
C cn E to c CD
1,n

CO
cn b 3 cn E p > .9 2 c
c 9 = p c 3 J2
_o E"P CO E p g O)
to
-p
c 3 0 0 3 0
-P
0
CO
0 -°'='¥« cn p
c
ts to col

•infoni
ts to col
ulim a

Points t
pecific

suppli
oints to

oints to

p V < = ro .9
O CO "uT
0
II
^•x-^i. N £ 0 0
c
CO CO i.Li °V 9- ro UJ X 3 'c p
0 .-^
. ^ J

c
x: 9 D- vp ^ Q-
0 ^0 0^ 0 „
0
3 E II
E
II E E Q 2 TJ
0 3 5- E
p^iV .122 . .
c
o
C
< C4—
3
*
% P

Q •-. -p
min-i-nyi; "A

ncol -= 3*nui 1 null


if is mpty(u
%P

>=^ ^ m -0 9 3 -n
min-i-nui; "/

lulim ncol]=size(ulii
col mns of

hec the va

CO
uli
lonstra

.:.;- c
£
umax-^nui;

0 0
E =1
x: "0 ~ P
ui)];

fc - r - cn - ^ 0 O) TJ TJ
i-j 3
^ 0 C 0
llsti c c
nui];

X
nyi];

0 CO
p p C CO.
CO
.c In <"
3
-D E II :=-
c 0 3 >'< > - ^ C
-^ •;^ . 9 iT - ^ . > • 0 . 3 • E
0 CD ^TT* II X 'TT' 11 g c "1^ CO ' t r ' CO " C
0
SZ ^ i o 5 1 .y 3 ?
Che

•e
5 gE
» X CO " X
0 . 9 CD E - 9 CD z^ P H •5 2
— iUJ
t 2— ^0 2 i.!L 0
• - CO <D m d) tn- P p .0
E E T3J ><
3 3 E E>, ^0 ^ 0N T- 0^ . ^ - . • 4 - 0 0 0 o£
gs OS? ^

263
Q
o UJ
. Oi
sz cz 0
< Q
g o •p
UJ
c it; CO CO 3 Qi
X
c
li= o
0 •p
c o <
0 'C ro 3
CO
ts "° to CO
3
o x
o
E c E
CO
ro ^ "o to i:
ngular

•^jn
identi
const

mns
P ro
3 T-
ll
ro
't-

L_
0
.9 °-
TJ CD
0 ^ i_I
3
P
U
CD
9 3
.r^
O
g
o
P

o P)
I ^2
•c 0
! othe
Sde is to be a bio k-low

lainin
ro -=
CO c L_
ro 'I > ro
3 ro
•*->
>.
c
I
CO >
! ^ 0)
•c
£ 8)p
o .><• o
c <u CO. O -c JD ro
i= CO E
0 P„: cn P 3 TJ
ro X 3 "3 jn .9-0
c .c
moves > 1, fill the
ckedo e on top 0
identity m
is a matri

CO : £ c

ing" at ie same ti
ro •"
3 P
0 E E ?
c P
p 0 c c
^ c= CO. c ^^ '"
^ j
CJ c T
1ro ^p
X •;s
ro 8
IBSj

nui)
aAa

E
r^ 55
(nyi

ro
0
I ?.,S g'=p
^%
-.5 0
CO cr- E =i-3 9 x: >
p >:. ro 0 ai • ^
P - o^ 1^ .9> c
el;i
ui)

a.
-Q • > , c to 0 1- p i^-9TS g
ii
% If numbe
lAa]

3
% doing"bl

c c 3? TJ ,5 p 'CD O )
0
^ 0^ g xo CO 3 c xo II^ S -^
C
-t-
II ¥ P
Sdel=[

CO. II c •_- M C^i II II 5


>, >> CO
EI "5g§ o .;: CO. P
(dimen:

eyep
eyep=€

for i=2:
for i=2:
Sdel=e

3 O
II 8 Z 2 2 w P "
each

0"i
end

"p 0
end

• g ^ - Q—j r pi CO . «
CO o .2£ P O

CO

c => cci c/i-g


0 -^
E
3
£ E 0 fo

P
•p E
T3 ro
B E
ro 3
u p CD E CO
c •^ c c/i
mns for meas. dist. ii
gamp, di, dp related

in the final projection


state \with the output

erof columns in final


e used to pick out certa

lasured outputs.

ctiom matrices +++

TJ_
trici38.

ro
._- 3 cu CD
0
E "o E •p ^E
augs:s(pt-

ro ro ro to p p 0 p 3
CD p - C ^ c
CO P E 2' »4—
Tota
isic p

al#c
olumns 0
ex V ector

1 index of
ite-s pace

% points

imen he intiernal

<
O
0 cu .4-. . 0 > <
CO. -Q P o^~
*_
"O CD
o
E
II x:
0
— c x: o
3? CO.
.9 to 3?^ 0 < c O
• ^

CO.X
^ •

CO.
^

z
^ j
AM,C,D,l
foliowing
IWS i nthe

ui-i-n'

O Q- O
Callculat

O 3 II
II * _ II
:nymi];

'3
• < > .
o -77 sz -rr > < >•^
X CL;

ti
C cn C C
3 5 . 0. . _II .
Q. O p . ; . -=; •t- •¥
3 "+ < O T- CN

0 s F.S 7-. •I- 0 •¥ bII "sr"


p
g.^o
2 > ,5 J<
O^ W"C
9 C CN .!L — 05 3 sz ^ i-
II
i—
II
.C i_ y~^ C II -1- ^J* -1- .L _ i- ._. 0 c CO CL X
\L =3 0 II II .oCO
[PH

H P -I- 0 O CO
II
3
II
>
E -S II S II N — sO ••-CM P3S;
CO. P Q. X N 3 ^ o
O CO CO 5^~ 3 -

264
0
0
c i^£ c
p . c 0
0 E'= C >NTJ
05 "c 05
CO
o .9 2 0
CO
0
c 121 ro KI X
c
2 ^B 0 3 xo
3
cj- tn • ^
ro
Q.
O o-£.9 p P ro 0
> > CO °^ 3
O 0!t= 2 C5 CD t o c ro —
.c £ CO to 0 C 0
-S< E c:
CO CO 0
£
-p r^ 3
E
£-g£
Ea^
x:
M—
ro oEp3
T) 2 CJ
i-g
o iz •p" O >• 0 p
0
ro£
=> •C
ro P
CO.-Q
• s ; 05
xo ro p
-9 p ^
»*- xo JC CO ro • o c 0
TJ
2 E o o ^ X ro g
0
0 £ co^ E£ ° Qi
CO P

°E n5 C 0 ro £ P .!«
CO P

J3 -p '*5
rows than
dispCWARNING: too many rows inY,

o £
is user spec ified

P roi P CO
^ 3 a ro CO o -C c
CD ^ : =
CO a o
•c
ro
§"E — p
J 9 ro
Extra row:s deieted.')

ni ^ CO p
c^c/i — ro
ro £ c -c ro ro El
l-l
C 3
to.gro -*- i : -P p cj-
nyi)
0 p 2 U 0

')];
g CO ro
' - X E^§ ^ 5 "o ^l
IN ro £ ^^'ij' 3 § ^ CO
p
CO
0
0
c
P CT
3
Es
^1 <—
* C CM --Z-
32 S. c5? 0 > , c
u p
Ei^ TJ<
c ^
I.leny];

ymax=[yma x;ymax
for i=1:round( (pny-le
ymin=[ymin ;ymin(r
ax=ymax( 1:pny);

0 0
•p 2 ""^ 9 •" .9 = > . i-ss ro o^
£ "5
if leny > pny % Ha

?. iS c
' II ro ro = •" 0
leny=length(ymin);

-S P CO
> •3- ro
9 £ •c-
X E CL
c "m £ ' X
£^l to t! X
in=ymin(1:

elsellf leny < pn

P
E
3II "X
^
TJ • > .
C
° <" ^.
CO - p 2
c ro
P E
•~ .9 roc
• ^ «
oof-2
•£ d) <o
•o5 £
to£
ro
E
X > ;

o c
X ro
c
>,
1 TJ
C
= P -s
p xo 2
C
3
>
0 ^ • P £ £
£ X
ro
o- z^-S
p
'— 3
- CM C
^E II
^i.i
gi
dispC

.05 0 '•- p P
-P -Q i_ 0 II it ro <2 0
end

"p to 0 P
E E II 0 P
"So
c
.9 ro 9 ?§
gl 8 siE CO .
end

3 TJ >< >> "if - ^ 0


Q E£ 05 9 'to
0 E E E E vp v? ^ -9
3
3 3 o ^ &•• o^ ro P II
JL JZ P

C^-
0
ra c
TJ o - ^ c p
0 £ x: E
CO . 4 - i_
3
0
o to
^ 9
"p 2 E
2O 2-^
3 £
0
c
£
P to 0 ro CO. o) CD c CO.
0 c c C •P ra p
2 S ^ .P P to
ro 8 2 P
•P
0 to
"5 "fe CO. CO
CO - £ c 0 TJ ^.^ 3
•£ ° 0 "° n => p C c -. E
i_ 3 X
•ro & £ ip £ £ o
"c
0
CD
P C -p"
0
to -ff o C -°tD •p
XO c x= ^ -° c^ p,_ P 2 E 0
0
ro P "co -P 05 S O p
CO ro P X
to £ •c li-
.-s-* P £:-
?3 •ro£ ^ Q - g-Ed p
^^
E c
C g-2 >-G» E o -
0
E
3
'c
2£to «
•-
•=
O 3 S
P f t M_
II i CO
0
E
0
p.
m ^^
g -.
CO o TJ
g
p
C E 2 > S^ p c.y £ 0
CO ,_ p 0
05 X . , 0
P T J CD x: 0
CO
p
CO c >%
0 0
g
S-S 2 N O 0 C o ro 3 ro " 0
CO S . £ d)
u < mnu % l f f i

0 - p ro <;,
l/VARNING: toom

3 .05 -p
Has

=dumax(1 :mnu);

II p 0 0 0 CO
CO Qi
^ Cvj"
umax(1:m nu);

CO
t o . t : •'^
X g
p 3 0 SJ
CX 3 | 0 E ro 3? "3" c
p£ >^ X
gth(umin);

Extra

0
iin=umin(1:mn

E . . •—^ X
£
fi
C
•e -I- . . p 0 p c ro c ro
cr §;E 3 ^
g 5 P > o
i §£ •¥

II
p.9
CO
2 f E
Q. P 0 Ci-L:- ro
I^ISE ' 3
mnu

X P E
2 ^ g cn • =

= .9S,
0 ro .9
c ro J i
-?r c c ro ^
C
1
...- CO .E P 3 •P 3
-(- xo -H 2 Qi >^ 0 P CO CO i : -.s
* - CO ^5 3 II II .1 E i E E c
0
.
A
II
X ro 0
X c C
T^ <n
§.<2 o
Q. II
"5, i , X X >> >> = CO. Q . £ .is C
P " S " 9 ro X ro ro N il II II ^ CO CO
ro E ^
' 0 II
.!!.E
CO x : co-x: E C 3
E E Pro E3 E3 .E
U- IL X X i_ ^ 3
3 H £ 8 2 c2 TJ TJ 3 3 -p io
CN
.0
3 .y £ p Q: 3 3 3 -P -P
.£ ro ro ro 2 S: 0
E E E E £
>^ > . > , > , O

265
3
C

0
0 c TJ 0
TJ
CO-
CO
P
CL
E CO 0
to < >. 3
0 C 3
c H ra" E P.
0 O O' c
•*-> >. 0 0
c 3 C 0 0

rban
CL

rban
TO CO CO

nee
£ 0 x" '- 2 .
X" H- . CO 3
"c c ro
.ip_
3 3 DB-
p to to CL 3
0 o 3 ^ CO
E tn TO TJ
CD .c .. • 1 . " ^ c£^- "in •p -p P -P
3 >- 3 co'o -n P
ro O CO C TJ
2
3
23
p
5cc o 0 ic .>•
•p
p J2 2 CO
ro ro0
CO

CO
0
Eo
CO X
t^-o-,9 E "3 3
CO. CO
c ro
0
E E
0 •fc 0 c
ts Q . CD g C P - I § .-- %. 3 c
0 E .E S •P E 3
O o •*-» .9 ro P • ^ xo B^
LU
CO
•*->

0
cn >» 3
0 -D p .
2 - E . 5 5 ro
- o" "P P
fE .9 E
Q. 3
ro P P
i_
0 Q-
p

ro X ^ ro < CO
§;p=.i .li ii
XO ' C
co"
^ O ro xo 3 ^ O E <=

5
£
£
to
c
p
I
E

E
3
CO
f N
^
J=
c
P
y -c: "^ ^
P S
C ru
0 '^
N ro CN
. cn cn _."

=".0 E I
•5 cn 3 .2
ro .ii
J2
ro CO
CO 0
c o^ ro
= " E —^ to
ii E CO
is?
+ • > .

c .>. cn c ij o
CO. p . c:->; CD 3
>.
E-5 29 -^
3 x
'c + X cn P D O • CO ^
. .. ^ E E p c
'c 0 TJ *-' c^i ro zs +

OJU|
CO ro ro t) 3 L: c
ro 1- o •££ CD .

0-
CQ N "oT E 2«S2 c ro ._- II. c ^ 'E
.11c>.
-I-
>> TJ c c

if nwi >
mi=nui
< .ro 0 II . . ^

nwi=m
-I- 0 3 g
ro
-I-
-t- 'E N
0
II >
ro °-Q •> ro to E p
E E E EII EII 9 E
»- ^
II
: E 3 ,_II
UJ - C T J P ^^ ro ro II 3 • > :>>>>><
£ O CO
h - Q- < o c
t) X 6 CD CO '^
1a).^Xi c c c I c c c
xo :=

CO
c
p .0
ro

c
p
o
c c
p c p
O
0
-p TJ ro
TO C 3 .c
c c 3 p-
3 P 0 -1-
P 3 XO
-P P l_ c
«•- -H
TJ
TJ
i_ XO p 0 ro
P X p CO. t_ Q-
CO. g CO.
CO. ro 3 X p 0
E 3 E p ro xo 0
3 3 E E
-(- E >. 3 sz E
X
I
X
>I ^ CO -H c •*-*
L_

C ro
CO
c X c X
to £
0
ro
E g ra g ra
E g -P "c
Save tot

3 3 E • * . *

ro E 0 ra
ro to 3
need

-p TJ 3 3 to
3 3 TJ
cj- cr
•p cj- c
p p
0 p
X
c -p ro TJ
-p X CO
o
CQ
•p ro
E •p E E < ro 0
< 3
•p
< E g CO
+j
.. p "0 X .. 3
ro
:=:-p -p E .Di DQ
•LCO ^-^acn ro ;=:co -?^ I - sz
max;

scon;!
x(iymi

CO
max,:'

c .1. 0 0 o

'9§ §P EE-E
c
P
o
. - ^ C T ^ .'.
c •£ c" c:
N
CO .c
0
as"
si'TO
ro
0
:—• CO ^ 3 , CO i:;—-
•= p . -
••zz- c
CpO
>^ ro >>xi Ji^ c -.ro
p +3 X CQ
r-XI
E >. E o
uma

IC
"%E '•^•^ E *3S« 3
Ei.
-is empi

>^ E a> 9-5,co IL II


3
•p Q
0
COO CO S±
)Clear

CO IL
II
c
X
ro
0 C < . CJ ?§i8 X
ro
E
3 -I-
i0^ 13- -p
*
'> II
. 9 CO

< 8 JOp i -p i ro< 05 E TJ E IT »


1- . > x : P
> , < t JO
E J EJO05 E -• •p -1- h- CO
3 II
m
II II <
I 3 < JO 3 ^ >< c CO CQ 3< ra CD H
3 g p
< -£ 0 0 0 0 0 0

266
> p
•p
c p
i_
E
tn
TJ CM 0
0 E -p
L_ 3 .3 p
3 c_ o >
cn ro
ro p
> c sz
0 ro •p "in
E JC c 3
p CO
c to p
E
cn 3 p
ro E •p

sz .X D
"p •&_
O
•p
p to
E Q- e.
E
3 p
XO o
xo 0
c
-p" ro
o p xo
-p' c i_
.05 ro IE
xo o 3
"Q.
P.
p "5
CO. TO
3 -p
cn -p
E 0 CO.
TJ 3 g Q.
E^ ro Q. 3
g g <» c g
CO CO N c ro
CO N "3 c •p CO '- 0 CO

ti CO. E II cS II E CO
CO E .9 I p
c ^2 .3 p 3"p o ~ J. c TO

o > 'c/i " P . o


p i—
0
p 3 9 - P
to i=: I CO
0
'^ 3
II ;.^ p p • . N 0 II t c ^ 3 -
•^ ><
c A "S.
II S y ^ N E ^E t2 >4- o S ^

iE
t
p
p
ra
xo
3
p
CO
P
P
P
P ^ 11
c 0 E £ -3 - p TO
V Jl,
o
II

b.<2
i
0)

I
9 c
_

•^ fc
g 0 I- C
vu w
_ P CM
. cn
i ; ~0
O
1/^
E
• . N
c E
2'$
CO. 3 T) E"H -P
05 « c E ^ E EE g c
C 0 3 P T-, E
TJ 0 0 JO c 0
0
c
05 JO C 3 ^ §
0 0 jn c
0

g
CL E
p
X
>,
c
.4-..
CO
ro ^ ra
0
g 9 §•" E tn
P CD CM
TJ CD E
t CD C
c ' c 3
=• . 9 c 'c
0 c9 > . 9 CD
E 'ra
c
p
' c £ "c c p
p
cn ro cp tp) p >
ro
c
p
CO-
3

"So
p
o li o x:

u
. cn
.i »3o- M_
P
cn
E
"Si ro CO c
2 to. u- E "p
p
o
c I"
ro c
ii
CO cn p >. C ^ O
.2
E "p oo .9
ro Z ro •p p op " p
x: c o • ^ cn
X
p-.y ro p CO "c
Xi
c
* j —

ro
E
I CO
S p a
.9 0 - ^
ro •" 3 -=• !2 2
t5 • ? 0 Q- =^ .. E '- 3 ;—;
CO-.9 •3 >> cn " E
0
E 2
P
c c ra i " >.
c CO
0 c 4L,tn
cn
c
3
C -H c .N E ^ i c
IM . . •»• -I- cn
p Z. § E =• C c TJ o
CO "5 ' 5 , 0 . .3 " II M CJ
II ^ *^ Q P •^ -£! p 1,1 c_. O
g p
o
"E
>, •^ '>•
• .
0
N O I ===.
p
p P II CO A "5.
N O , -^ c '11 ^."5 2 N
• -
II <"o ro X c E "P 0 i: -p
Jl, £ 5"p
0 to
2 O P •e ro P5<K
CO c
>^ c
> - cn i ^ ! t
P c
0
tu ro
CO §.
p C 0
0 •p E ro •
"p 0
CO c
£.•<- c •p x O *- " ra . ^ c
0 CO c
els

c CO P c
0 Q-.sS P3S E5S

267
O
CO
to 0
E o ro ra
c p
to ro E

ted
-Q ^4—
0 p
£ 0
3 >.
3
CO.
£ 3
3
"ro c
c
c>.
c E
to TJ > p
0
p
p p
to
0 CO •P TJ
i_ 3 •p c •p C •p
0 3 P c3 3 c 3 ro

revi
to in
P
P
XO
3
P
P
XO
CL
. ^ j
-p ro XO XO
CO. 0 ^0_ c
E c CO. t_ h- p
£
Q-E "c 'ro »—
*p 0 CO.
CO.
0 p. tn
g g CO.
cp
OS 0
k.
i_
to
t_

p
p 3 0 3
0
E E c 2\—
L-
i= 0
3
O p to p P £ 0

% Add on th
min) % Equationsf

min) % Equationsf
o p

max) % Equations

max) % Equations
i; 3
CO .>- >
ro 3S
P 0 to
to E

del(iumax,:)];
tt
p

ui)*ma nvold;

yO(iym ax,:)];

Dive th:eQP;
>

lel(ium in,:)];
ro cn
cn a
sz > ' 9 cz

'0(iymii
ro ro

nu,1);
£-p

hsc-t-i hiscon;
CD P - "0
•^•
.9 * -p
* 05 £
o
o
p-
11
tn ^ E >
o
> " ^ E,9 3 y .
^^ 0
3 .1.

0" .>. ^tS .>,


1

tS
cn

rhsi
rhsi

ipty
rhS'
•p

pty
ro CO CO. P > . CO
o
i=^ .- c^ p -
p
05 . ± •_- ir >
. -I- S,co 0 •^ £2.-2 '5. c
ro
"IT CO
o CO II ^ 0 X
P-
ro
ro . X X o — cc p P
E T0 II E E II E II CL
ir 2 E ^ 2 >,
•- X A ^ ro II 0 0 0 0 0
Q. jl,
3 O
II O 0 ^1 1?.
II CO
0
.CO CO CO CO CO
0
cn cn cn
3
i 5 ^ CO - 5 II P p II H £

pu:
U II , X I TJ ' , sz • p 1' . c
0
ts i« "5) ^ •*-* • •
ro --rroII .^c 9,05 1 x : •cP 0
vars.
del

> -p W £
rhs

> TJ > I 1- C ' L. c 1


3 - p II O i2 c t, ^- p *- CO
CO
0 CO 05 E '0 0 p raro
-p «^ 0 rt 0 f= ;t 0 ^
CO 0 S: II CO. 0--
ro "3
CO -'

0
N P
CO N
ro
c TJ
0 C •P
3
C ro P ro
CO ro
CO
CM Q
"c
E p
3 > •p p.
c c c •p
+ ro -p
c >, "p
'3 c CO
0 ro
> c
CO 'c
ro
> 2
CM i—
3
3 E en
o
E 3
c
0 '•p
X .3 p
'\— ro 3
to 'c2 > CM
E -I- o
.50 E .• - O
0 -rro
o c ,-;cvj
c t s CO
ro II I CO o
cn
TO
xo
i— . — .
o
_3 ,
' E
CO ^
CO.
0 -ZL-CD
'3 3 3 c-^
0 g CO "coT-Z «? C ^
olumns
erro WUdis

c 0 3
.N . _ c
N P 3 P
^
> fV
C LL- "cn'II-z
o 0 3 < 2><C
if ncol -= nu
[nud.n 0l]=8

II
udist= ros(

1- o 3 N CO > p 3 < P <.. CO > ,


CD2;-§ II 3 II P > N CO >
II
0 izi CO P -H II p > .^ p 0 - p
• - IN 0 t
&_ - ^ g-8 I p N + 2 0-1- CO-
0 > II s . -
--- g
g 2 M a>--
CO 0 ..
nud=1

- N P N -I-
II c C - • CL
c= S 65 o
CO S
P5 -P > II = ^ 0 3 - S c II
end

•J •g,.!" ^ ro c CO £ ro II
!2 P -iii P - p CO- >
else

0
end

> TJ
TJ - p ro ' E ro-o^ ro c CO.
>,
ro
0
0 .c z
CO o s=
3 C ^ TJ • p ±i p.
C
P
P >
c p >- E ssss
0 •p

268
£
to
•4-'
tn o
o
0 CO
CO
E
ro O)
TJ CO.
CO. c p.
3
3 TJ c
C o CO.
P
0 o CO. IO
JD
ro TJ CO. CO. CL
C X >;
55 ro o"c=. p o in
CO.
•St
CO.
xf o
0 p.

ize.
pas
CO CD
o c Z CO.
• * " co"
o CO.
CO.

is'
'•C CO
CM
ro co" CM" CO
CO. CO. CO. ro

ste
CO.
O 55 X £ 0
CM"
CL CL p
O c^i p . xo
c .c" TO

ik 3 CO. CI) p

hfixi
0,uO

erst
iO,h,
xo CO.
-p Q- P
I- E E ro i_
ra CO J2 ro o XO
N
cn c'i
p y ,
B 00
CL
3
CO o_>
"
x_
X
g CM,
0
'+ to o oo o
+ "^1
E p E
o 9 CO ro
p 'c ^c
•*-•
ro
t_
_ c . CO E X ro o

lr_eul er( Ian

r(pl

pla
CO ro
c In p Ico '+ CD ro < CO CO-
-I-
p
c fTJ Ec' o
"iT
P 3
05§
CO. p
-P
•4—
•—-
to
c
0
> ro ^. L.-£
ro 3 gc ra o
CM
o
3
P E o
-H
^
CM"
E'E_ ><
xo
3)
V_ 0
p
0 "^1 c p • ^

=nlr.

ratio
JJS|
CM C
<
CD >%
xo cn E ^ri 3
t7
-L
C
o 3 rN rocN
0 4.:
CO.
p

^ 'X
-(- 0 P :
CD > ,
2
p
•I- -!= 9
CO. c g
5 <z to c _x. CD c 2
ro
DX. x c TII- N p CO P DO II 0 (-1
O
CD;3.
• I
*X ro II D-O 9 > p -p
to 3 L : C . ^ CD CO.
.c CL P- CO. c o . £ c
ra E •P CL 2 o >- 3 3 X CO ro 2 to pCO ,_P c
C >s II ro CLE c ^ Q > ro g CO
c £ §>•
c0
^ x E > , II liJ . c TO P
H Q- < "0
"o 3 ml"
CO c
0
£ S<

CO
CN
E
sa]

3 ^^
^
JC 1. JO II 0
• !P . 1 0) 3
3
in 'ro E to
c to H E
ro E tn
^
CO r; ro cz 0 ;c5
',int2str(i),',
Check COl

minating pr

. C T— -P X
i-. P CQ' ro
E
<
11
^1 E
"S
3
3
•p
t
>f
-p
p
>
CO
0
-p
3" . ^ E X
m c to ^ E
leltau(j,1)=-dumi

-p ro _r 3
iOl ) Q. II 0 "co^
c 0 p--" CO
TJ
3 E
-p
CO- S"
3
P
13. ?•- :9
ro >
C E •p
II
7> 0) C
-52 CO .9
ro
-p 3 -H
3
3
0 ro
C C E ^§
u '!_' ji^ -I" A c:
c
-t-
3
0
-p - ^
0
ro
"0
-p
ro
•p
-p
to
-p
•p
-p_
3
t i 5 A (0

0
1
C ' 3 II 3 II II c ro i r O -o P)
_ CO E ^" 0 £ CO CD c V ro 3 •p ro .!» A E
.!L-£ !c C/J
V
^ CO- ro
II
3 0 .4-.
-P
ro p
> "3
"0
2,
"P CL 3 C3
II E.:?2E-i
basis

TO CO -0P c c
i?|g
1..
CO CO 0 II "0
II
1
1
ii_ ro
CO
£ TJ
•p
TO xo c £ fc 0
-p
0 c -p ro
p.
c
M.
^E | >;*: 0
I9 xo 0
•0
TJ £ p E •3 •D c: >
3 !t
0 ^

269
c
p
ro
£ to
3 0
'£c E C15

*p cn
c
ro
c CO 0
p 0
O c
>
p "3
CL E
P 2
o c
O Q. g
Q.
^ to
^
»4—
"p .N
O ra
0 0
p xo c
to E
3 E
p

p
g CO CO
TJ rt- COo CO
O 05 > i
CO-
ts •^ 00 « J UO CO CO 00 LO
CD
T- uo gJcMOO
r^ CM iLJ^ •f— ^— s; 00 •^ 00 5^2 CD CN CO CO
CD CO 1^ CD
CO 1 ^
CO •<3^
0 CM • * CD CM 1* S oo c^ CO
CM g CO CD CD 00
CL "« o .c TJ CD • * •<-
CO
CD 1^
CN
r^
CO
r^ CO C I CO CD
uo LO 3 o CO CD
UO •<- 00 CD 1 ^ CO
uo CO S ^ oq
9 Q. jn P CM O CD CM 1^ oo 1 ^ •"3-

Q- _ l
0
•p
E
CO
•<-
CD
1^
O
• *
1 -
00 CN
CO CO
CO
CD
O
• ^
CD
T-
CO
CD
CO
•^
•<* •<- oo CM
oo T- ?5 00 CM
CD
1^
CM oo
O
1^
r^
?o LO •>* UO UO
CO CD
CD •<- O) CD
CM CO
C D CO
CD O uo •"d^
p CD 00 t uo o
• *
.1 CD •*
ts> r - »^ 00 CD CD •^ uo ,? : CD CO CD

11
T- •* 00
E C
o CO O 1^ LO 1^ 5 00 CM CO
CD „ CO CD C O ; IO CN CM 00 UO
-^
O l-~ CM
CD CD in 05 1^ T^ CN CM O O , 00 l-~ •^ CD
-co •>* CM
0
X 0
ra • * CD
o c^
^ CO
CO
CM
S "^ 1^
•±L OO LO
'^ CM uo
t^
O UO
•* 00 CD
r^ CO
O CN
CN UO ^. CN g§ CD
CD
CD
uo
UO t^ •

00 CN CO CO
*

CO 1 ^
• ^

CN
CO
CO
q
•^ £ •^ CO r^ o
ir II'
-p
p
CO p
r< CO
CM ,
• *

: ^ ' * 1^ , ^ CM CO
15 !i CO
CD
CD cd CM UO <°
CN •* CO '^ '^ ^5 o •^ O
00 ^
CD ,
CJ) u o
CO C D
OC)
CO
CO
CM
S oo5P
. "5< O "5 0 c CO So
^ ^ £ "5
p "Cro
3 CO
CN •<-
t ; = <|C : = : = o"- E£

0
T)
P
E
•CO
0
X

E
0 9 CO
to ° 0
CO TJ TJ
-p 0 p
c cn p
0
CO p
g 3
TO ra t
P N
to P_ 0 CO
- £
c C
c^ c
3 2 CM
P £ p •fc 0
0 o"
*—
. ro CO -.5
I
cy
> 3
x" cn rol §E
^ E
5 r>
c P
ro p
-p
•p
CO ro CO.
£ p .9 £ p X
i_ "c P" £
> O CO
Udd

.p E to 'm ° ro <• CO
0 0 >> <to c p 3 '^ o j^
c 3~.- ro TO .c 0 1-1
E process MPC tr

*-.
learonOct. 21,21
dvisor: Dr. Karlen
hD student: Zhen
ransition from mo

TJ
;ep=round(te nd/dt

JO ro ro
0 0 E xo
p.
E to 3? -p E
£ to g
bal ubar upp
Q; U=D; CC=
lain program

to ro
ro
£ > p
sz
P
CO
CO
3
uo ;:.
MPC=0.1;

CO-
cn £ :» 3 x:
.9£ Jl, "3 . 2. CL^f t>
P) 3
< P
d=45;

J ro P > ^ CO ro X ..§
ar all;

0.01;

CO. X 0 .'p
o
cf c
II
3 -p L_
3 : : ; F . 3 y TT
CO .;.:
II 0 P)
p
•^^ -r—
• - II V ro X ^
-• C11

cn CO LL
ji. o 0 .!L > II E -p ^ 1- 1- Q- < to 0 p II c II . tn
?< c ^ 0 X ^ cp
X
.o ^ ^ ^ ^ ^ o P)>- p S c
for

•p
s| 3^ 3^ 3^ 3^ 3^ o^
ilc-E£

270
0 cn
•CO •*->

c
0 3 ,1.; 'ro
•• ro i_
c o o tn
CD c
2 uo p
o
oo >- £ CM
sz

CO CO CD •<a^ CN •<a^ 1 ^ C O UO 1^ CO CN •^ CO o
CN

«
£
^.9
P TJ '
ro
O)
p
g
^1.1
CO OO CM C D 1 - •* CN OO T- 1^ CN UO T- . 9 oS? 2
TJ C D ;
•<a^ UO o o •* 00 t !•-- O •* O ro ; X cn
o CM 00 CD T- CN CD CO OO T- •<- 00 5 .9 '
CD
CO
CM CD
CD r^
0 0 CM C O T-
O •>* • ^ 00 CM
•<ir C O 1 ^ LO 1-
O r^
uo
o
CO
CD
O
00
O
CM
1-
0 uo ' ; ' ~ -CO ,
E.ro O P -^ ^
Si T- T-
Ei
CN CO CD
CM C N CD CO 1-^ 1^ CM u o 00 CO
xo X 3
••a- uo CM CD CD ^ ro
' l _
^ o tD CO UO C O o 1^ O i:; !•- t ^ CM CD ,:_. ra *-
CO
IO 5 CO CN LO O ) •>- • ^ CM •* CD
t
O
00
CD
CO
O
00
. - ro •p
^
P CD 0 0
g'.y ^ P ^ ^ o
if
1^ 1^ CM 00 LO CD CO CD UO CO > . ^ 1 ^
l-~ CD UO CN t^ CD 1^ CO CO 00 CN CN < TJ o^ UO t ^
CN UO CD CO CD UO UO CO •<t O r-~ CO LU 0 T - LO CD ro
3 l ^ CN
CO
CD CD ® cPcsi
1- CO
CO CO CM 00 CM 00 CN oq § CO CO 2 p
0 0 CO CO.
CM, — CO.
<r~ CSl
^
>—' t7~
—' -sJ^ o"" ^ ^ ^ II II .9S ^
•<- CN • < - uo •* X i
CO CD I L i IIi L c IT 11 II 3 ^ 1 . - ^ 0 II !!. U,-TT" II
00 CM II c II II JL ..
ro • < - CM E:"
ro 8 II II CO E > > 3.
^^ •<- CN > E E 3 3
•^ •= B
3 -CO 3 > , i ^
»
N
=.11
g >
ss

o
o
CD
CO
O
CO
CD • *
CM
UO CM
o CO
CO
CM CN CM • * f^ T—
CO •<«• • < - CD -^ CM _ UO •>t CN
•* CN CO

CO
^

CO CM 00 t t^ 00 1^ •* CD
• * • < -
CN CN 1^ o O
O
CO
CM
t^
O
O
•^
CD CO uo
CO
uo
•<-
•* S- CO 0 0 CD o • > * ^— • * CO uo
UO
CD
UO
• * • CD CD
*

CD UO t ^ 5S CD
CO
CD
O
1 ^ u o •>* CD CD uo CD CD CD CD O CD CM uo r^ •*
O •<- •^ O _ 1 ^ - LO •^
. IO CO CN CM O 1^ CN CO N- O CO CD
•*
CD
CM
1^
r^
O
00
CO
CD CD 1^ '-
CD
CO
UO
•*
O
CD
CM
CD T- 00 O CM CO CO ^— UO CO CD
CO
CO 1^
UO
uo O
00 O
CD
1^ S o •<-
CO
CN
CD
O CN
CO O UO CM •>-
CM S2 CD rr UO CD CM •t- O CD
i^^
•^ CN CD uo f^ CO CO •<- O O T- CD
O t^ CO CD CM uo oo CO CO O ) 1 ^ CD T— CO r^ C D •<- CO CD ii
CM CM •*
r- CO
o
CO CD CO •<- CM
UO
uo
r^
uo
O
O
CO
CD O CO 0 0 CM CM
CO 00 o O
O
CM CD
CD
CD CD 1 ^ «!^ r^
1^
uo
CO
O CD u3
CD CM •<-
S 2 "^ uo •>-
CD
CM
r^ •>«• o £3
CD CD CO CN • * • *
O
O
•*
CO uo
CD • * •>;t- 0 0
o CM r^ CM 00
CD o
CD o O
•*
oo -^ CD t^ O CJ>
gcM
^ o
CO
CO
•<*
O
O
CD g
O) S
" " c N •uo * o CD C O ^
704.
6.90

5.00

UO _< .^ • • * - ^
2.33

CM CM ~
.347
509.

CM O O CO ^J O
oE^
• * • ^
UO CD S CM 't •t- CD CO ^ CD CN d •r^
OO • * CO) uo 1- /—) CO 'T ^^ C O •'"• O <D CN CJ) CD UO •* 1^
• * • ^

CO C> CD COO CO •* CD t^
00 CN CM
c s i " ^ ; : "^ CD CD• LO CM CO CO 0 0 >* CM CO
CD uo LO oo CO
CM OO
^- • * O) CM • * CM I--

ra
xo
<
3 UJ

271
0
CO
p p •p. •p_ T3
c 'o
c •o_ 'o_
p
p
c
c 1 1ro E
c
c
ro ra
p X O) > ; CD
p .c - ~ - CD CN . - CO - •

2 "S -'= "S ^


2 ^ 2 - p> 1
E cn
.9 - E^
. 9 CO .9 cn
CO
CD ,-r <U ri p 0 — - CO •—• cn £
"0
!5 05 !2 CD
•^ §• ';! 2 Q. 3
CO 3 CO 3 E
2 % Sfi I ra ?l
P ro
o
C > (I)
ES 2
ra
3 f
I3 f n E l CO.

.gg; E i^^it^^ 1 to £
tn II II
P CM p CO
Ooj 2 co.CLD.CLco. ;r SS
c c
•«£
«
S
. P P P 0 0
tototototo
2
p
o
o
il E?;
cZ.
' E CM
'c ^. c
p
p
CO c
CN g - O
? ; 9 ! r
• - 2 S
^
^3)
^
C ^ C ^ C ^ ^ > ^ 0 . Q
TJ-p-p^PTjCN.COi.
c c c c c > p p fe
^
- p
0
•5
^
0 35
cn •
id."?-
b'3S
I- ^•^
ra •^_
TJ
J.O
-TT
o •<-" to CM
Is o
II
^ ^ E g; 22222-^.-^-g £ .se 'P 5
0
p.ro3^r* UOT-UOLOCNS^93-I-, ll o co" Sc? >
p e g E<
« p c o •TJ-
> > E P . ; : : ^
j i ^ j ! ^ j i ^ j ! ^ j ^ 5 P - c ; i <|j>
.<-_COUO. l ^ o o j p — P . ; : ; ^
^ 3 1
3 P . II
S «
P) .
-^"
lc'5_r
l to II
.05
0
0
_ , - r , - r , < N ' 0 ^ " . ! L , i i - - „ - ^ - ^ - ^ - ^ - : - i c M ' 0 £ II iL C O . 3 TJ . £2
^_
2 2 2 Q^COit
S SS§,3S3S£i,£^^^^^^3Sp£E §
^ S ^ T J - P T J - P - P - C J COM-'-^-P-CJ .9 P P
^ ^ E
^,1 x:
H
C CO
'E co-
E 0

•* >5
T*- ^ ^ Oi. ^T^ ^ ^t- ^ > ^ rr\
CO Qi... CO
5CO 5 J o S~ CO > .
^

>, 0
. • ^

^ CO
^co pcop S ^ ^ p T to CL
CO. c
T- CO.''- 0

ciL£ t i
CO. 1
0 CO. £E 0) ~r
0 CO 0 to£

••=,.1--Xi
to .£- to
c .\ c
c cn
c si CO.
X
0
- CO.T- CO.
c
0 CM CO ^ 1 - 1 CO. T «"5:^ C L ^ - X "r"
X
0
X CO.
E 0
•P
0 0 X 05 CO
0 •p
P p 0 T- 0 1 0
L_ .•"''od
3 CO
CO E E 1 ^ !•-
o .
. 1^ ^
CD
ro CO
0 O CD O CD O CO CO op o
•h -I- LO
O
E :, ci ;i - ^ c N
p
cMcM~si
^^gg^s-^ i - _ CM_ C0_ • * _ UO_CD_ N._ 00_ CD ^ - t
-^co
1^
tt(i)

TO
-exp( -tt(l

>- cTco' co"co" CO > .


tt(i

CM CO. CO CO CO CO
P 1
CO X
E
exp(

1
p(-tt

0
0
E 1
"£ CO.
X
1
co.co.co.co.co.co.co.co.co.
p X " S P X X 0 0 0 0 0 0 0 0 0
X J - CL X n 0 0 1
p m
P Cl) ^^ V Cl) X *Cl) ^
L_ tr\ C
cn irt in C
O cn tn in tn
O tn tn C
tn in
O C in
O CO f—
c
CO.
0
0 0
-42.0

1
* * * ¥ cn c c c c c c c- c- c ^ -
•c r. uo CO .9 • p • p - p • p - p • p TJ TJ • p c
0 p * CM CO
CD
0 c3 c3 c3 c3 c3 c3 t-3 C C 3
•p
p
0 CN 0 CO 0 r^ -I 3 P
to •k- CJ CO P 0 0 0 0 0 P >- c
c 0
-t- 1

0 3
ro'co"c.£i£2.S.i2.S£.!i:.SS.£-T^i>
'ro'! (Q T— T— T— T— T— T - CO.T - T— 1 ^ P
r - •<- T - T - T - CO.CM }-; n n n n n n n n CO. CO
CO.CO.C0.CO.CO.CO.CO.CO.CO. > . - - ' tn CO CO CO CO CO CO CO CO > >
nee

CM > , > . > > > , > . > . > , > , > , II • ^ >< II
CO..'-'
JL JJL JL JL JL JL JL Jk iL o" if >, >. >, >, >< >< >< >>
II II II II II II II II 3
.9 "5 0 .. £
II 0
"io-t "c o
ro --zz, TJ
-o o to ^
^ ^ CN co_ i^^ L q c q h - oo_ CD_ T - - ~ - 0
0
'- CN CO • * i n CD f ^ 0 0 CD • ^
. CM
.0
X
ra fcT
- Q ro xo T - II o ^ ~—~-' ^—^-' ~—-^ ^-' ^—^^
II 3 xo >< CL CO. .^ co.Q.c:i.p.co.O-Co.co.co. co.'^ S; C 0 . C L C L C L C L C L t O . C L C 0 . CO-Sii
II £ j cncncococococncncocn*^
O II 3 E 2 •- c J > , > , > , > , > , > , > . > , > . > , 3
O
p.
CO. II
CO.T-
'S-ILii ro «=
X 3 3
£ 32

272
CO
0
o
£ TJ c
ra "c^
0 C o
tn to P in
^ ^5 o CO.
. 0 c 0
CM CO ro
8.<2 E o
0
E o
c
.«E^-
-p p o
0
CO.
£
•rr P ~=-

0 T-" c
c ._ CJ II >y II
X p TJ, Cl
o u 0 ^^ II • p S^'x x
ro II
3
c to ro •>< 0 •-TJ ' I CO
>.
*ro
CO .:_- 3 cn
"tn •;-" ro
T .== E ro £
xo
.c
CO.
o £;;-
CM CO 0" ^ C N " C O " C ' I
g tn o JL 0
o to
rm(yp-y
rm(yp-y
rm(yp-y

a E 5-TO
Ifl
0=mini

< < TJ CO V

CD O ^9^ 0" 5 P £ . . C M "5


. . CM
I?
E? _^ + ^^±
if- CO
c
Po
P P P
E .E ". E
0) 0 0 • p t o
to
TJ
• ^ 0) Aj-

°iE
CO
•p
p
^.^ oo

;3, o
^
•l-

^ . 4?* C N .X
E
=imo
Stanc
ampI

c cz c i^ 0 'c CM p .
II CL p ^ 1^ CN 1 ^ CO

Si II II II ^ xo E£ E
II II •P
>,

Ipha'
E I -^x-^SE ••- CM CO £ 0 1, TJ P • p 3'CL'g- -P
TJ Q- P 0 0 tn .c "co* P ^ p
•p
p
II. S^ p- 9- >.
•t-
o o o = = cn • p
0 II
:; °- s: °- xo
• ^ ^
0
X p c C C " i • p ..- ro 0 E X TJ g >??. CO.
JD ra ro . - 1 _ l cn c ro
c*-
00 -Li S-Ji^S- II CO >J3
tn to to .9
en
0 -rr
0
^
o'E. §E0 C II II
>.
II II
TJ TJ TO E E3? C>Z> CO. CL
' X CM. g Jo
.11 CJ- II C i
>,5^ >^ >>
T- X CM X
>, X >, X

0
c
•p 2
C0_ CO.

CL ro C
0 o 0 0
>^ o c E
0 CD
ro" CO "c 0
p 3
c c
-K'
CO. o" CO. S8S
m' ir \-3 CO.
3 c »
<• CO CO o" CO
E p CO
k- 0)
x' JO
o c£ *^ o ' 3
CO. CO. c >> ro
o' : E CO CO- - 3 ro ;;_
^ II ~
Tj"
P EE ra o o"-^. o 0 CM
- - ' x ' =t
CO ro c E sE 0
C .:
c£ 05 C0.O
CO.
0 CD

o" ^. §-s- tn CO S
0 E •- 3
i<: 3 3 ;= > DQ c t^ p

p N:< c !fi o 0 o E
CO. - p CO. ro
8?| -I-
c
i_ o • ^ 0 0
0 CO ro <2 9ro 0« p.- X P X CO
CL
E E cLX
1- TJ ^ T - 00
0 *- 0 s 2 >• to •>*
-p O O -. D Jc o lei ro _lro55-
to
O) *cn
= CO
p ro c- 9 "S ^ ~- JQ I P O
— c "p'E I, E,E5
X
E 3 T
o •.^ + -S •?? eN.^?
o" c^ ' ^ >^^^>i
ro
c '2?
'6) o W x"E £0-3 E
3
5? 1-!^
>^ o b ZZUCiSi
"o XQ- "cP 0-9 0-9 —
CO. ra E 41^ C X •P » - ;
r^ 0 cn 0 CO ' " 3 to 0
b E ^EE- .9''S £ 0 ::=->; t -D -o -p
. . 2 ?. ._- TJ • 5 o1" :^ p
:^ i>^XXX
Ed ¥|§
E 2 0 .9_ ^ E E
CO-
ro" c" c ^s,g 9 ro fj c?l^ « C0--5.*. ::^co.S
—"' cEf^
p
. f^ '4-5^ 0 £ _- " F CD CD CO i r _
'* CO.
CO uo ^
"Jo"-^ : ^ ? " . u 7
..
CO- c
0 :=: 5; 3
..o'iS) o"
3
o ^ ro -^^ Q . O 5c'l
c .0%
p
g;2S
£ iL r=-0
i=- >% 0
c
P
II CO V
j n -rr-^
„ „ ^
o 3 3 3

9. ,L .r- oo"'^ - ro f ^CO


«V ^" E
t o 1 - II il " "toil "3 cn ^ 5 . £ - c . 9 : : ^ 2 . S
0"?"^(^CN c ra o
c 5 o X c I II CN C CO. c^ ^ § c: c
CO. C L £
to CO.
p cn II "3) t 0 T - T - •<-
^ £ o ^ E 0' X i i IC 3 E
II S:'r;:z.oo
•^11 CO II v .!L'ra<g.-- - >•.
O
p -^ . 0
> 3
3 3 CO °X £to ° p. p
o P
>< o
CL CO 0
0.
-P 3 3 3

C CO • = > II
t o 9 c > •S .P P 3^
0 i^ £ .9 .9

273
c
o
ra
£ ro
a) 3

nt
E
CO
P r
c tn
u (\i
>
n
a.
O
F
O
CO Q.
Q. ^
^ fs
c p
o 0)
o n

at
o
0 E
0
0 II
o CM
9 c p TJ = )
dist urb£
hua Tia

p
X
< CO
^a O
p.
0
^-^ Cl)
CO f •»
u.
' •

P 8 TJ " TO

Eg c ? n
r. Ka rIen

CO
ct. 2 1,2

CD CD COCDCDCDUO-^COCNIICOCN
p TO , ,1o ? E CO O I ^ L O T - C D C D U O ^ C N S O O O O
p o sz
nd/

foZ 2, Q. CO OO UO
:= r^ooo'^i^i^iOT-Or^CN
Dst ude nt:Z
pro ces s A I

x o •'^ 1 CD • *
in p rog ram

S- II 0) •<- 0 0 •• **X J C•"^•0O0O'<-0OCDCO't-^CD0O


O C N r . ; C O C D C D U O U O r ^ C D ' < - ,ri
1r 1 ^ u-i fN
CNCM r-l PO o _ . . . . . r^•*»4.CO
o
§-o •J o ro CD CO •«» uo O 00 •*
CO.
ao 2o TJ
^

C
O xo OO • ^ CO Q U O C N C N C O ' > * U O O O ' I - | _ ; C O - ^
L: C ra j.^
. . -CO c 3 .;_ II
o II ^ 0 tl) O
_MPC=
inc MPC
MPC=[

CO TO 00
OSjA
OJB

tep=ro

CN = 3 II ^ ^ - O P _ CD
iL II
ro _ D o j ; Q . X O b
TO UJ . C-p 0 >- ra . . II S CO !L
« Q.
oad
TJ 3
C P) 2 h- Q- < o ro -P C3TJ o CO 5^E
0 1^ > s " - S " ^ N,p >,,P
o ^ O^ O^ O^ O^
05 £ II c \i ^
c
._! Z 3- X
13 P)>- £ ^

C~C"^\?^^^CC°
^CN'c?5^iio'cqi^oo'5r^f-

>>>>>>>>>&
££^£££££ ^
£C0-CO-C0.CO.CO.C0.C0.C0.C0-C'
p
c c c c c c c z c c ^ CM
P P P P O P P P P S 0
<
Sp 2p S 2 2 2 2 ^ 5 E-
p p p p p p p
0
O) ^^
.c.c.c.csz.c.c.c.c:^ ro ;^
0 >-
^Lv
-| '1 "i -"i ~ i '1 '1 "1 ~i ^ - ^ >
ro .•

0 ^
•r-_ CN C0_ •<* U0_ CD_ r--_ 00_ CD_ .j; o h CO. ^z^
T- .. CO 5 ^ UO CD_ r--_ O0_ CD_ •<-•<-_ i 5 C/J
• "
•>^ r* to
CO-CO-CO-CO-CO-CO-CO-PLP-CO CN_
-J^CM O.Li^-Li^>Lio-Li-Li^OO'g >—' -I p
4-. CO 0
cototototococococo>> ^3,
integr
10,1);

costs

u
c " ts » " r T e i£ s£ t£ t£ ^ %^ • . 6 " _+^
5=-5=" 5 = ' 5 = - i ^ 5 ^ 5=" 3 = ' i ^ O . . . ^ S O ££S££S££££££ h" :C3
£ £ £ £ £ £ £ £ £ • 5 - ^ 0 - - - S ' ^ 0 0
CO.CXCO.CO.CO.CO.C0.CO.CO.CO.CO.CO. P ^n 0 £8
roC L C L C O - C O - C 0 - C O - C L C L C O - ^ _ . O ) 2 ' A J L
•3- 1- CM CO •^C O C D I ' ^ O O C D O - ' - C N ro 2 0 CO II £ ro .. i!.'1i
S S S S S S S S S c ^ ^^cvT^M
tcost
for i=1:

g T - T - T - T - T - C M C M C M 3 0 T— T— iLJ -3 0
0 0 0 0 N ll__ 0 0 II
X
for i=

0 0 0 0 0 0 0 0 0
tcost

"aT^'Hr'ar 0 0 " a r 0 0 0''i7cN:3 ra


%ca

3 3 3 ro !l>
i_ 1— I—
end
end

"0 3 3 3 3 3 3 3 3 3 3 - - i M r • P 3 3 3 3 3 3 3 3 3 p S
C CDCDCDCDCDCDCDCDCDCDCDCD ..p ra
P [ ^ ( ^ t ^ ( ^ ( ^ ( ^ i 4 = ( ^ t ^ ( £ = C ^ C 4 _ 0^ ."ti
E o D)tDtDO)CDP)P)P)CDCDri
1:— I ^ 1 ^ I ^ I ^ 1:— I?— t ^ l ^ r ^ .>^

0 u

274
0
•p

0
-p ro
c
O 'O)
•<t >
CD O V. p
CM • - 0
E
00 E "2

ii
OO
uo 1- CN t^ CD CD 1- uo CN O 1^ 00 •<t C D CM CD CO •>a^ CM 1^ O) CD 1 ^ CM c»!5
CO 3 CD CO 2 P
o uo 1^ O CM CN T - • * CD l-~ CO oo 1- O T- uo CD I^ •* CM CO O S UO CO CD
uo uo O ) •^ CD r^ CD CO CN 00 T- UO CO UO •>* CD CO t^ CD UO 2 CM r^ CO
1^ 1^ 1^ CO CD •* uo CD uo N- •^ CN UO CD r^ r^ CN CO CD •<- CM
T- O • < - 1 ^ CO t^ CM CN t^ CD ^ uo ^ CM CD """ CN CD CM CD
UO •^ t ^ ••a^ oo •>* r^ o O) r^ 00 o•>- E•
CO CD UO CM in •<- O •* 00 CD CD CD 1^ •^ oo 00 00 r^ CD UO CM CO o
CO •>a- OO CM CO 00 •<- CD ^^ r.^ ir\ oo r^ CM O ~ p
CO •* CD O •<a-
O CM IO to
CD CD
CN

C O OO
O T-
* • < -

CD
CO
CD 1^
_^ 00
S CD
CM
O
CO
CO CD CD
00 CO o
CM •<-
CO
oo CN CO
•r-
to T-
';r CO
O)
"^ s •* CO
UO
LO
CO
•t-
o
o CM
CD - t
0C5 SS
CD ,^
O ^ IO O) •>- O ^ CO °5 _^ 1^ T- t^ 1 ^
o co I O •<- o o CO 00 UO t^ oo
tD OO
o •<- UO LO •<«• O CD CD ff. MJ fJ^ 5 CD •<- CD 1 ^
o • * • * •<- > * CD o ^ •^ •>3^ CO " " r^ , ^
O CD CD OO
O .r^ CD CO PS
IO O
UO O
S •>- m ~ UO ^ CD r^
•<r t ^ CD CD uo
CD CD r^ CD O
oo o •<- 00
: r-^ uo CM T -
CM C^ CD
•<t
OO C^ OO
s- CD
O
CO
CD < '- uo CD
CO • *
UO
•*
r^
CM
UO CM gco O 1^ h^ d CD OO CJ) rvi h-i c s i c o
CM • * CJ) Cvi CO <»co CO ' ^ LU • ^
CD • i - H 00 uo CN CM •>- CM CM T - 1 - CO CD 00
S « 5
r-,CN,
• ^ CJ) II II
II II
X tl CM CO CM
!L II
ro • r
> > >
o o E
^.9

o
<
tl)

P
to
.p
o
p
.>
ro UO
CD tD
o >
o 1^
O TO
•<- P in
O) CM OO t ^
1^ • * CO t^ .0) LO
O
CM
CM
f^ CM
CN CD
tJ) O r^ UO
o CM CN CO - ^ in CO '_ -
CD -^ CM CM • ^
CO 1^ CM S 1^ •^ OO O CM
CO
_ f CO r^ • . - o o u o £ 2 o o f 2 c M U O CO ^ T-C0CDCDCOtD'<-rn r < T- _ CD uo
o
tD
O
OT
S>^
m
O)
CD
CD
-^
CD
CO
CD CD
O ) OO
~ CM CM • ^ C M I ^ _ 0 ) L : i ^C !Oi a^O- i ^; C M O O U O C N L O - < - C O C N S r < CD * ^
CM j ; • * CM O J2 CO t^ CM CO N -
S ^ r^
CO C ' o p r C i . i i t t D O O O O O C D o g 00 0 •<ir to [?; CM O CD o g
• ^ CN
1^
o o o ? o ) ^ ;Cuo5
o •<- uo CM r^ o tD
1^
C M •<- CO O t D C p c O ^ < t C O - ^ §
^ cn 0 0 cpg
m CD CD
CM y i2 OO
a> S •^ •* o o
CD ••- t^ O
o
S S i S u o o p c p f c u o S •^ 05 tD •* CD t ^ O CN CO - ^ uo 1 ^ C55 CM CO
O CO CD ^ O O ) CM ; 1^ i ^ ^ •t- t D uo •* O
OO 1 ^ 0 0 CD 00 UO • * - ^ CN - g • CD r i CN CD CD C-;
05 S o •-: o CM a i ^ o CO CD O g
CO o CM tD II r ? ; ° ° °
t ^ >*< CD • CM 00
CD 00 r>- •<- CO CN
CO CO " 5
oo <
ro UJ
xo
3

275
0
TO
CO.
CL
0
0 0
o
c
>, o ro
c ..H 3'
p. CT- 3 c
TJ_
E ^
•p. •p. CD ^ X-
'P •5 •5 < : c ro
E-6

n
• - . 11- Q-E
j_^
1ro 1ro 1ro
- ^ CD ^< CD
CN • -
X CD
CO . - -
^ 'i' ;2E
in v ; ro
tn 2 S • 5 •£= TJ I c £ 1 ^
.i-^ 0 P D. P CL P CL Z-
« E o!£2.
'-. 0 -5
^ Q. P N < E
CO.
CD
p
.E-ST
- _ . CO
.!"«
•— tn
.•~-'i ^tn 0 ^. X ^" o to . .>•
-« o
0 3
0 C CO a> tn cn tn CD 1- •p *r. ro 0 CO. --- to > ;
CO. CO 3 cn 3 c ro •S 2 ^ ><.9
^. 3 05 !=; P E to 'S'
cn
c CM ro CM ^ ?J ro -p o o
c
2 t) 2P to 2 to o ro
-c
CO '~- =1 o ' § O > . roG.
"c" c P Q. CL P D. "H .9 1 o. 8 ^ '-.
•p p E E E E E E — c o E S, E to —. 5
t5
c c .2' c
c= > , •D. .„ l-c:. O
'.^ II II II II II II
"^ ro
E
ro ro '5) p -•p- • =x"
? T J 0 ' '-. 3 E 8 J?:
,'Simul

b_
p •^ p CM p CO
-p ro E JL c: •5(-E
Ill
,D1,N

,D2,N

.D3,N
)/100'

, minf

. -
, minf

, minf

p E
w E E-OCN g . 9
E 2 . . to. 3 •^ . CO- g E
0 , CD ^ P ''- •^ CL w > 3 0 CM
^ ^.0 ^.S ^.S II . r^ *4- S^ £ P 'E ro ^ - >• >
9 >^ - £-i- / •C-T H? P •^•
CD P ' ^ •*- ^ -
ro CO LO ^ .. C M . P < ^
-P
^ P T-" 0 CM" 0 co" 0 i-~." CDO
3
CO
T J r> 3^ - 2 - 2 - 2 c
ro ci)
"co^r^ p r . U O " • I "".i o 3
CO. . O •^ 3 3 S^i. >=•
'II2 .
Hwait=wa

T- O P E < E < E < ^— 2 ' 00 -^ S "^ ?.


• . ?1.- II
T: JL E cn ro CD ro 0 t o II CM O CO.
£co E E 3
ro CD
11 P
k_
C D ^ .
°?CM" . CO
c
TJ . p S"?^i-5! 3 II p.
II •zz- •p 0 1 »^YzZa> ro x" 0 'x"
• - • • p •D p N 1 X !c X 1 X c 'in E " '5 > T 5 CO
rS f
£ 3 0
C .E II
X
P-Q. P-Q. CLQ.
E 0
p. t o 9 c >
0 ^ £ .9 .9 3E

o
0

0
o
CM c
3 ro
xo
•P
C
ro
cn
TJ
o
o
CD £ p.
c uo 'c £
CM to
oo uo
o" £
'c c
O)
p
•p p 0 ^• p
g '^ o . . cn CO c
ro . l i ra p ro
3
. LU 0 0
"
psf CO
0
0 ..
c
. ^ J

c
«
0
0
reme
icv2)

' - IX) b c
oise

goo o E_ CN •<- • r , 1 ^
Z^
0
0
••zz>

CL
s
3
3
CO-
CM"

s c
°•<-" O
^ X3 c£P 2 j >.
^ j!^
zz.
^
3
to ZZ-
o"' c L.-..lii<5! .. 0
>< .*...
i=1:nst(
tt(i)=(i-1
efer ene

ndu!
% keep

^ ra 0 0 •p
•^ CO •^ o o •= T3
cb" l i CH •p
•<- 0 ) . ^ ZZ\£L E ro L. —, ;3- ^ P *II;
X -p ra ro io -
II II £ , o ra I- 1- ra ^3- T)
CO- P. II
ZZ O II JS ?s II
c ft 11
"S
O
O
i? £
xo
II ra
3
CL II
•'^
ro
3
II
i ^ P-
xo
II T-
> . o IIE
- ^ II V m
1^ CO
3 •p
c
-p
c
CO. ^
M.
'^ CN
TJ TJ
TJ C • p
0
c
ill ^ £ CO ^
M 11 •g 1 p. CLT- O CO. P - A " £
5 Q- E "5 II > II i X 3 3 3 >< > < » a p 0 ;><3- P 0 ^

3 3 .9 p N g > g ^
3 •P 3
">-^
276
10)
L_ -^ i_ l_ L_ -.- k_ k_ l_

- CM CO •>r UO CD r^ 0 0 CD
>-

on, p ot(tt,
> > > > > > > > > •
t£ c" t£ tt £• 3=:" «" c" «

, plot
, plot
, plot
, plot
, plot
, plot
, plot
, plot
, plot
C C C C C C C C
p p p p p p p p p
i=x>

X p p p p p p p p p
X
II
sz.c.c.cszszszs:sz
X X
I I I I I I ! I I .
CN CO .1 . 1 . 1 . 1 . 1 . 1 . 1 . 1 _ l I
II II
"c\rco"5^uo"tD"i^oo"5o"
.CO^UOtDf^OoS^'-'"-:
g g g
C/) CO C0.C0-CO.C0.C0.C0.C0.C0.C0.CO
tn
t ^ t ^ t ^ t ^ t*
^-i*
^-t*
^-t*
^.t i J-:Er5=-:
£ £ £ £ . £ £ £ £ £ £ £ £&i
CM CO
TO TO
o o g g ._. iSiiriiis'S'S'S'S'^^'p'p'p'p'p'p'p'p'p'p'p'p 2 c
LU

LU

CO CO CM
II
II II ZZ- -P •p-2 2 2 2 2 2 2 2 2 "P.'P.'O.'P.'P.'P.'P.'P.'P.'P.'P.'O. CO.:
TJ TO X ; ^ - p
-t-l X 'CL 9- •(5CO.CO.CO.CO.C0.C0.CO.CO.CO.
O O >r >^
xi=

yp-l-
8Wi

E 0) E g g ,.;,.:; .-c ,-c ,-1—c,-;—c ,.;. o • < - C N C O ' > a ^ u o c D i ^ o o c D O T -


g;E X ZZ-Zi-Zl'S-'il-^^&Z.ZZ.ZZ-ZZZZZZZZZZZZZZ-ZZ^Zi-
end
els

CO
•p II II
c c p. "nT 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 c >> II II • 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
^ P)P)P)P)P)P)P)P)P)P)P)P)P)P)P)P)OP)P)0)P)_.
> 3 U i ^ i ^ i ; = i ^ ! ^ t ^ t ^ c ^ i ^ ( ^ i ^ t ^ ( ^ t ^ t ^ ( ^ t ^ ( ^ t ^ c ^ t ^ t ^ :

o
o
CD
CO

CO. CM,
CO.
3 to CO
o" co_ p 0
o CL CJ 3 o
c
CO.
X - 3
p.
>^ ro ro
o "w
0 - T . O
TO CL
d. 05 C L < 2 CD
0
a. •>^ . 3S CXO- *•* 5.". CM"
A^
3 0
CO S , 0 o O
o" IQ + c 0
O 0 o E ^o §p c ro O
CO.
X
TJ
P
CO. ro
X jn + ><
'« c
c£ E dX IT- CO TJ £
E CO E2
^ — CL 0 .r-' TJ.
ro
cn
IroS-
p £ I
5to CO
o
E
ro
C5 0
9 p X
S 'S .!5
£ --TJ
T •E T p '^ P
o-H 0 0 "Z. ^^^--^^^ CO .; ro c en T "
TJ - = - 9
o CO o " P CN *
> f S t ::^CNco
CO JD to

TT 0
._- • P
c
£ "i E
t n p'co
iZ.O
. C D CO
1^ h -
• ' " • * CO
..
r p
<5 ==- P .3 .3 ,3
§ : IZ 0 0 0
i- CM

< <
CO 1-
I I
CN CO
I
CO. CO. CO.
TO CO
.-I'-P
c Szi
• i i ii
E to II
E

O? p o ^ • - . ^ t "P " P "P


.2• g £
o O F II • - ' ; ^
•C3 £ I|§ ;^co
"1^
"c 05
>.
CD
•><

T' . S ^ & ' c o ^ ^ ^ E 9


. . CM
o
•t- . • ( -
. -I-
, X CN , X CO
E¥E
p p P
o
II

a) Cl)
b
II CO
TO
II T - 0
.iL T3 CO
CO
O C M CO ^ ? [ f n^ i1 C^ CM IV.'
1 ^ CO rv."
r^ c c C) to P P CO 9
Ei p uo O
UO
<d o £ "rr II JLJLJL
T ;

I
— = ^ = •^
•?•. X •?: X •?:
cII
II II c C- E O E £
^ CM CO ro ro c •== to
"c.9to
> * II
O ^, 5.£-c5:^£2-S £
II II '3) t
^ a-zzcLzza-zz 0 0
O O O
0 CO CO II
TO
.2 p t
p -^ •^ •^ •p "c E 0
I- p . c c c ^1 P
JL ^ CO. CO 0 TJ 3 3 3
0 >, 25CM g J o g ^ - JO
"lu

X CO ^ ro ro ro
lU LU

CO. .9 A s=
t o 5=" 11 o II• - II
'w 'm "ffi
0
^ C M "J?
p
p
cn
p >, > , "X >, X
CO
TJ TO TO E
>, o >.

277
p. ..O
tn
CO >
p
o
i^ o
is
•p &a P . . _ , -
-I- 0 ^ 0 - ^ 5
a. 2 C^ o co-.-i-^ c _
. £ .•§ -.c^ ^ E °
cb" tn II
r 93 £ 8 crsii-3p.z)
T- •<-
II II ro
0

— • • - .t; TJ TJ JL ^ •a-o
-° > >
C!.2 II 0 0
5 ^ 3' zO) CO - in
0
p
££ c c £cn £• - C ID- ) ^r-n ' ^ - ^ -sP
o .vP
0 0 P

278
c c
p 0
•p TJ
uo" uo"
E E c
3 .p
3
C c
to
• * " •*" 3
E E cr
3 p
3 0
C c
o
co" co" ro
CO.
E E
3 3 c . .
C c
CN CM" in c" '^. c^. LL
- E E 2'«SS-p
TJ
E i P
E ^- E 0 0 CO
N_ N_ P
c E E ^
05 > i 9 E 05 .iA 9 0
•p C - C , -p £ ^ c N
C ^-tL^A
u o ^ . ro c i n T3. ro
p CM ro 0 •STR, 9.
fM E S "- N 2 S S
= '°- E
C CM H 1" i _.. CO c -I-
0
N P
CO CO
P • * 00 5S
ta 2(:,1:n*

. l_ k_
c ^ . .3- E ;r- 0 0 CM
•*
: : 1-^
CD
^ ".s
c CM uo
• E C2 'O
C:L 1 5. 2
. . c ^ c CO ro
LL N

c_ c
N
.,CD'
C M
T— 0
0 ^
t -P 0 O) •Tf
D _ r t— " l ^ i ^ l c" c". rv T —
c= c^ ro 0 . CD rv
»« ro .c £ £ § "p £ ro ro ro to^"cir E .N j ~ je,o 0 uo
p 0 0 c "P £ 0 2 CO I O) CD C o

Hi
CO P
sz . c XI ,_, p cn p 0 E' .;-- •>a^ CD
0 CO
o
1- H H CN E CM ro p ' O •— _^ .10!
N CO
II II II E |2= II II II N N_ '•= JL • * CD CM
CM CM, CM, 3 TJ II CO CO CO ro
II m0 'c'c CO , „ . cn d CO uo
E^lS 1 1 C p CO I I I •t= 2 c ^ JL N , 2 ^ 2
T— • *

0 c^ .^ •>< 1 ••- O CM ^ -I-


'inln
3 T J II
C p CM £ JO JD ^ c^ JO ro ro ro II —-
C .r-"
o o 0 II 0 CO il
•^ X _l "p "O) "P £ J L 0 tu "0 '0 T j S t N (JJ N CO ro
c - ^ II 0 0 • ^ xo
c- *=
^ JL"a5 1 -
£ -C x : -c ^ c - c • ^ • ^ • ^ ^c
H 1 - £ 4 ro 1 - H H H S^ 0 LL LL N N 0 £ 0 o 5^ X
? c -c
£ 4 ro H

C
c cn P
p 0 -p
ro •p
£ 2 p uo"
0 0 3 E
•p
P E 3
c

u
E a c
2« 0
-p +j — -P • * "

0 c 0 P E
p TJ
i_
ro o
p
> P E
sz p TJ
Q. E 2 CO E ro 0 CO
•p
II O •^ ro ro 0 O C E
CO O JO 0) CO. Q. P 3
I Q. ro c
Q.
O
Q-
0 fe "3 -C
to
c 0
c
o
- p
>-
CO
CO
I"
TJ «*^
O toc
TJ
p.
"3
p
0
cn
1 3
i_*-
0 T3
.
£ •^ T-' ro
£
CO
in
CM"
E
3
0
CD
"p 0 Sro :a £ c
CO o xo 3 to
ro II
to E roB CO-
c ra ~
JO
-P
^1 3 p-£ c "c E
O CN Q. Z .9 0 TJ
i_
^ 0) . . 0 3
0 £TJ c_
>-
•p 0
5 "P
R p
CO
CO
01&
-O P
3 P
C
ro
"p
xo
E | |
?l ra"
ro
•<- p
^
.|£i?5
E c P T3
•§.
113
I S CL .9 2
-p
p
E
•p
0
e- •p
•<-"
o
p IF -t-
E
^=>5 "«^>' . . O £ >; E " to 05?
i 0 5< s •r- Q . CO O to £ O c
ro 3 Sg
" - ra *C_
0 0 CO. c ZZ, ro .;= ro .L:. ,LJ,
X^ F. Q- -D P c ro o ra .c ,-
]; U=D; CC= D;SS

CO TO C
.C CP CN0 CO
bal ubar upp ybar

i= P
^-
bal FF GG Theta

f, E 05 P . k- "5 CO 1
£ E JO uo 3 to 1 1
C-5
c ^
a
^ x:
E N
P iJ
^ T-
rocN
- ^ »J S?^l£
i- 0
c
O) to t=
0 -p c r 0
ro 3 TJ 0 "" ro
"c to ^
ro £ CO
ti5 ' 0 0)
sz
.£ ^
1=^ il
ro u, ifc c ij 0 . ^ 3 ^ | ) CO \- H
"0
£ >£= E' C5
0 CM I -

I-,:'
•.- - p p
E procesi

hD stude

lear on 0
idvisor: D
lain progr

0 c S : II
ransition

o t - .:-• P 0 £ p 0 TJ p 3
•p ro C II to c: •D I P"5 I I
d=15;

..II p o r I I r PTJ O i: CO
arall;

T-C-" ir Q. f 0 CJ C T- O CM
§ ^ £ CO ro ro £ ro
E ° •. ;^ ro 2 E ro -0 -0 % 0
0 ^ 0 ! Q- p c -o iguo"lo.!L ro • p
c *" 3 05 -c .c .c .c
S H 1 - D- < : tj 0 p p II 9 JL ^ i ^w p ' ^ -^ •* II ro ._ ro o-
^p ^ vP ^ ^ ^
5 ^ 0 ^ tf^ 0 ^ 0 ^ C3^
CO • o ) " p ) > - £ •p -p c .cJz' ' — 5^ S^ -^ I ESS£
0 ^ £ 4 E 1- 1-

279
CN
CO CO
•* CM CN CM •* 1^ CD •<- CN CO UO •* O CN CN CO CD CD oo •<ir CM "d^ rv CO uo r^ C•.-
O CN C O
CO CD 00 00 CO CM C D r ^ •*
r^ CO o 00 CD r^ •* O CM tD CO
• < - • > *
1^ CO CM CN 1- r^ O O 0 0 •rr
tD O O CO CN •^ uo O
• ^ • *
CN C O tv o rv
C5 5 CD CO OO CD O •>* •>t CO CD CD •<- o rv. CD O CD •>* C D CO CD uo CM 00 O)
o •>*
oo •* CO T- rv
r^ •>«• CD in CD tD
• * • ^

•* C D LO T- CN
CO UO g 1^ 00 CD O CD CN in r^ CO o CN CD CD CN CD 00 O) CO
CO CD o oo uo CM o r^ CO CD |v O
UO O S CO UO •<- CO CM CM r^v C O tv o CD CO CO rv C O CM C O rv o T-
• * 1 -
T- O
•* CD g ^— OO O CM CO CO uo CO
CM 00 CD •* •* UO CD CM
uo
SM
C••O •u•o)iiO
-^ CO o
CD •^ o uo
rv •* rv o
T- CN O CO CO •* 00 to •^ CO CD •<:r
• *

CO rv CO
^

CN UO 00 uo
CO CO i2 CO CD O CM O CD CM O r^ uo CM CM CM CD CO rv CM uo
r^ o X5 U O 00 CO CO CD 1^ CO CO r ^ CD •<- CO • < - CO •<- C D O CD T- UO 00 CM CO uo CO o co 1-
rv CD o) rv
uo o S o CO OO CM
uo O CD trv CM
CM CO 00 o
•* 0 0 CD O
CM C D CD
•»t t D CM
IV CD •^ rv r^ uo CO CD
•<- tD CM 00; ^or^ CO O CD CD r^ CM -^ O CD
o CO CM uo CD T - •>* rv o tD O •*
•«t 00 uo
•* o 2 0 0 O) o OO t D rv r^ CM CO rv CN 00 tn CN •>3^ tD uo tD
CN CM l-v o CO o o) CM S CO O CO O CD CO CM CD r^ uo CM r^ tD
• *
O tD CO O CD CO CO
CO oo (V tD C D C O CO oo CO
•* O -r- O , CD O Tt CD CO W
CD CD
goo
o 1^ •<- CD CO S •<- oo rv uo CD 00 tD in r^ CO
CM CO CO LO CO CD
_ CM
CO
CO O CD CD
io T CJ> o 1- CM
uo CD CO CN
°; 1^CO •* CM CM
CO •r^ •^ h^ csi«5 cd 'P odcq CM CO ciCM •* CD 1^
u o C D 00 CN •<-
•^ CD CN •^ C M t v '^ ^ CO Tf CM CN •^ C O •^ O) IV CO 0 0 CN CD CO •^ CN •<- O t i C M rt: fvi o
CM C O

o
o

O)
CO
o
CO
CD
CN
m
CO CO
q rv .
O CO C O t^ •* CN ir, CO
CO CD CN uo T- uo SCMOO $2S •>!t 0 0 £1^ CD
tD
CM CO CO CD
CO r^ oo 1^ CO •<* rt^
• *

O CMrv S"^o -^
- ^

CD CO I
co2 C
r-^ «
O)C N C D
r^
t^ CM
t^ C O
CO CD ^ rv
tv CO
00 CN
tD
uo
CD CO CD •^
•<- oo CD •*
1 ^ tv
1^ C O c_) T -
O CD
•<- o
in •*
r^
uo •<t
CO
r^ s
SCM
?CD
CO ^
CO uo CO uo uo ^ 00 oo r^ CD
CD O c^o
uo
"d^
-^r uo m
1^ CO CD CD
o _i r ^ •"i^ •* CM
CM CN C O t o 1 ^
rv 00 CD CD rv T- CD
CO o UO CM •<- •<;r
CD in CO T- CN to o CO
CD O 00 CM r^ r^ rv CD T- CD O) tv 9 ? C D o o •<- CM CD uo uo O )
S CO O CN OO •^ •<- 00 CM CO CD 1^ CD O CD •* o uo •>* CM CM •* o 2 1^ CO T- rv CM uo
OO o •t- CD •<- •<t 0 0 t D C O T- CO CO o o •^ o ^ : C O C O
•<- CD 00 uo o CN T- m CO CD CO •* CN
^?
uoS
O CD
t-~ ID rv
r^
in
CM
1^
CM
CN
oo
•^
CO
CD
CM
CM
CD
CO
o o
O) CD
CD CO CM
00
uo
CN uo O CD
rv •^ T-
r^ CO CO tv
uo
r-~ CM S n C M in -^
•>«• C D •>* o
CM C O uo tD S uo CM
CD r ^ CD CO
CM C D • * T ^
C2CN C O •^ C N uo o uo (ri O CM o ^ o CD uo CO CM CO l ^ t - ^ CO o
00 •* °? in T- uo
Sco CN CD
^ . • * •* C D K ^ uo •* OO S cuoM g CM 1^ o
'^ CO O tD °° 00 oo uo o 00 CO
r^ r^ CO CN 00 CM c s i ^ j : C5 CD
•<^ tD
uo uo [:: CO cb CD ;^ ..- "5 Tf 00 P .^ CO to -^ tD uo uo 00
CM CM
CD CN •* ro
xo
3

280
O)

TJ
c
ra

in"

T- 1 - ^ CM
^- 2 £-- S.
j<,i<CM jv CO
0
i_
CM csT^i^EM CD 0
co. 1- TO
2
5,*! ^5"5-2"
^ x " I FS X
CO.
^ CO.
to.
CO. X
X
0
0
1
CL
C

p ra
0 vS- ^ 1X- •*r'
(-1 § • -0
X- . X
I ^ CD
- O « CD — c
-rL . J - 0 -A "P r^
J-pCN^j-^ CM
UO CO t i • * rv
• < -

CM ^
• ^

ro --^ c !9>
CM CO CO •p) o
o> 2 •<- CO 1^ o CM c ) CO ; uo • r ^ CCJ
r^ E u. 0
•^X.jiX-.^X.X
•^•^ CN CO • * uo CD r v OO CD
CD
-I-
"2.1UO O )
CO _ ^ ^ 0)
•p
E
E
2 n
CM
C O - T - T - T - T - T - T - T - T - T - CO.
><P.CO.C0.CLC0.C0.C0.C0.C0.>^
> . rLli •*- O^ 0
II > ^ > ^ > ^ > , > , > , > . > ^ > . l l o ro CO UO ^ . . CO
Q. c_
^JLJLJLJLJLJLJLJLJLo" CO. .. 0 "in^ ^%.^ 0 ;r^
^ •!-_ CN_ co_ •*_ i n CD_ |v._ C0_ CD T - Q.
ro CO o 0 II P (A ro
E|.-
>,P.CO.C0-CO.CO.P-P-C0-CO.C0.
0
CO
>,
II ^° S-^-roJ^ II 2L'r;z.oo
CO
ra
cncocococococococnco P 0 " JD II fc T-
TJTj'2. ^
CO
C
0
C CO
0 >,
0 N o i
N v. .9
£ c= E II
" 'roroQ-
5^ CD cnQ-
E^IIT L_
C5

.IL c^ 0 ;^ £ .9 .o
X CO

CM
3
TJ
C
ro
0 3
•p
l_ uP

p
CD CO
S 0) "ra C 0
^ TO .9 1_
CD fc 1- CD p
CM C3 P - c £P) ..
o'
o o r "2 CO 'p o
to
0
CO CD
S CM T - CO • ^ O C3 E
CD • " •<- o
5 '"
uo . . .L^
ra
i_
2 CO CM uo —
1;% fn
1 from

0 50]
Equa

DO 12

dumx
m lev
15 1

•* o 0
O CM T - 0 0 o
S CD CD O ^ CO.
c
O CN 0
i—
OO •<- CO vs; p ; ^
^^ oo CO ^ ^~ ^- o roX
• * "

£0
S..*^
" ^ ^" ^- o^ OO CO
umin=f1 1 1 1

1 ^ CM
..CM o __ >^ o ^ E
- If s^L z^
2 4 6]; 1

•" • ^
1..
[umin Ul

CD O a.-p
1 357i

[34 6 1
7811 1

=[50 50

§^
=[100 1
ines(1,5
KM EAS

[1278

CO 0 0
i.5*[1 1

CN CN
^ h - CO
0
•p o
. .B Pto 1
^
uo
g
oq o CO CO
1- . . t C 13- > CO TT
xra is:3';3-'=.y
xII o. 3P
p ri---Poi r-. Praox>-.-o—
p 9:
i ^ Nc?t?
o T c '•—
u o •<* I^^lp CO. ...
0 o^, . .
CO.
— *:• T 7 T T
^ II
c^ ci !L I f irir.)L II o u to M^ JL ^
P=10;

X X II II •!!- - . r ^ iz: o II ^ = II > - II ' T T ' b E i—


II II
M=4;

CM E CO C 3 C p o P - II II • c
ra - r CNCO > > II § • " II ro «•- t_
O > >
•^ u o a h.
> CT
E 3 ill i 0) II U,
a" p.
X
O.T- o
3 3 3
P
£
3 TJ 3

281
ro
E
E
ro
cn
c"
'ro
O)
Q."
P Q-
TJ
P
E
T3 £0.
0 >,
p. CO. p. t_ CO
><
. CO X >,
cn X
ro CO
x : a.
CO
CO "5 rvT cn
I., l,^" I
cn CM -CM JD
CO CO. 0 "p.
CM CL IT- CM CO to
i-2r I I 1=5 to •ro
cn > - l-S- S^ t^fcN p
O TO O TJ CO. CO. CO. . I I .<2 I I c •p
X "5 ro « >< >< ><.r- . T - CM •^ CM "l
« ra CO CO CO * - TJ •^ CM ro ro • . 6" g-ro
> ; T C M "0 5 n CO 'p 5 CO CO CO CO „ra ra
.,_ _ . ilII ro •K CM •^ •« CO
H >> CL a. d o - S t o P P i; -p C O "-i^!
tii ^1 0 0 1-: ro 4--.a
II • ^ I ' p £ co- CM,"0 II II p^-^pp'S CO. -C XI •p p. JL to £ CO-^O 0
II II to^co >• E H H P Q..I-. •"
P- p.
E E E -E II t V E -if CO ."„£
' - ' - ' - C I L T - C N - J F I I
..
•^
..
II
CN
E
-n-
CM
II
m"
«
II
T-
II
CM
E
-^
CO ST
II CO
>,+
II O
0
> £•0 1?
>. >< W -T ^ ^ P P P | | . 9 r o r o l l : = - CO — ro
II ^ ro ro
ro II
" r::^
_ ..II ro ro II ; = - II ?;|| -S- 05 + ro
TO
CO
CO
CO T J tn
c ^ c c c c - s t - s t T J i ^ II - ^ .*-. • p i j - CO.
0 0 p •p 2 ra x : Q. ^ Q- ra
T-
'c £ 9 9 9 -5
X X
cn CO
• < - C M c o E t o £ £ E >
.^-i . ^ •*-'.*-' •.^ \— I— ^ CO
g;S||Ef §;
<" n^ F F E > "5
p
CO
1- H .9
•5
5 CO
>•
CO CO T3 • P
TJ
ro 10 Jl ^
9; Q- -c
CO 0 I— h - . £ CO CO 0 SQ. H
cncnmcoTJ
TO TO T J TJ fc

0
zz, 0
CD
ico" CO
•it -t-'
0 ci. CM
3_
>; >; 05 3" CO.
3 '—-
•*-,
tn
•° C CD -*. CO 0
Co-
CO . K
0
"1 ^.-
05 0»^ X ^^
0
0
Q-
_-
9-
9-
0
>^
*CM
,P,ulim,ylim
est.lKC .TA

>. c ro 3
> i X ^ =
0 CO. E 0 (J •<- 0 o
cL 0 P . O 0
3:4)

ra" _- 3 CJ)
>
:, duma:

TAB, tc
max, d
t,z,v, ...
,SuTQ,

p. > p. 5^ *
3 r^ 3 X. • * CT 0
• ^ —
0 - 1 0 g- a^ C O to^ -I- TJ.
3
.^~z
0 P 0 c CD ^ P
X CO . .iT
co-Tj OL ro
X p X jn
T- 0 0

^. as 52- c£ E P- -1- .•!->> ro


^ . ^ §;.9 0^ S -oo x:
8.11 0 c to 9
3_

LfT
E CO E 2
ro ,_! ro is-
CN ZZzz

!^- SS
0
•P
mnu, iumin,i uma: Jymin,

re(i,im

max,i5
u0,IK(
,rhsco
uTQ,ia,eyep ,Sde nc,rh8

co 9 "5 1 P
e_mp cgaini 1(im d,ywt.

xoul

X
+ -2 +• 05 ^ 0 CO 'Z. > i ^ . i A E CO
cn
0 0 0 ^ 0 4C -1-
i^ c i:, 0 ^o t Z^Zi.^ T3
S>-- *
—- X P ro p -r; 3
.c c X. • - .
3
"[2
0 CO '"1 E
0 CO
5^S
c • * to
I =—' 00 . 3 . 3 ^
i §• e!: 0 0 0
0 •^
1—
ro LL ^ 0 N
uo

X
" 0 " ' •.
0
1
1

9? ro
ulerC

p •^ p : >; t - p - p - p x : u. >,-o "77 •P


mod
mod

"iCM i - ^ .- CO L 1 + j
tion

c: i u CJ ' iiS^XXX
0(1

> ^ CO
tsamp]

p
p S- * . E >>CO > , J L 3 .c
>•
; ^ ^ ? .9
Cl
.. 3 CO 0 CO 0
II 1 ^ *
Ji. CD CD
•g^f^-r- CO 1 *
.a tn • £ CO ^ ^ • ^
c'3£
t .9 ro fe ^ IIr?-°X ^

CM.fC^
1 1 c= " UO CO
P . • UO c II 05 O ^ 3 3 05 " S t o °> ro ^ C X •• pP 'II^ 1
d £' C 1-' c 3
£-¥ » » »
x=d
cost(i)=7
yc

II CL 0
xp00=nl

ynonl=sf
p=[u1(1::

-1-
sfunctio
sfunctio

0.0
2)=u11(i

•dx,

P CO
^B- H : i-cTs B c^
CO. 3 JL
0
>. ' 5 i ir ro
0 t 0 ^T- T-
CO. 3 J^ <" "x C "5 E >>
II
o 'x 3
'D

TT
II
P-
0
CO- CO 0 -P 3 3 3
t
0 >,U IM CO l i . .E, cn
ro X

CO — CO. "0
CO >. o X
CO
x" >%. > . T0J 0 _ CO. CO
>

282
£
tn
_ c
0 ro
•p i :
§2
ro ro 0
•p
CO CT p
tioii E
•p
ss
c E
C
P
0
ro
-C
•P cn
p 2
uo" -2
li
x; P
3
C
E £
to
c
p
ro 0
^
J3
i TOE
0 0 ,uc
c P E S
3 ro_
C5 E
c: c
c "C c P
p 2 ro P CO c i l 9 2 E
. ^ ro fcroCD0
\r
.2 S S
CO ro<g 0 •P i : •p :z-
C CO
:=;i; <^ i=' C^ ro r c ro £—T
2 tl) CM H
i^oqoTT- ^ jf. ^ cn •c c § ro E " E p
P
O P
o
S P^ Fe 0 t p CN

Q-.:2 -c - c .r-"
N ro CN -) CN
C" a> o
•p R c ro
10 T - - - r •p
+^ 2 p ID I— . r T— T3

tUJ
£ £ £ £ £ £ o" ^ o to JO "C tJ to -C
°'i
II
CLCo.co.co.co.co.'^ C L 9 ii'm a. to c to 0 .~-^^
^ ^ ^ ^ ^ ^ t o ..£.-2 £ 8 T a) c JD JO
CM
I V O O C D O T - C M 9 0 mil
c II
^ cn
CO
CM
§'8 3 L: c C
c- CO
ro 0 CO.
P JD
o) "0 ' 0
to . c . c
ro
ro
II
. . -H
c c
CC^CiCiCLo3'^93 o . 9 Q •> ro P II P H H- ;
•p 11 II ! _ _ c
0 0 0 0 0 " a r N ' T 7 T r S JL LU P C5 i ^ 5 - 9 ra ro ro II " t o " ^ 0
T3 3 I - O c D- < o EK ro -55 -53 -3 ro TJ -o •p
t- i - >- i - I - k_ II II II ro •^ C P)
3 3 3 3 3 3 0 --"'r-t^TJ-p" 0 ii= 3 vO ^ vO
CDCDPOCDCDCDronn c c 9 H - O^ O^ O^ :sS£££ g
>fCSiClClCif.t;>SM= P 0 £

JO
0
'o c
p
0 to
p C: i-r
o
3 C^
c •^ •p
p
0 cf
to H= 0
3 c "^.
c cr ro uo"
p 0 •t E
c SS
0 .> ^
E : o)E
2'E
3 0 >>->>>->->->->-
c to -o £££££££.9.9 .
• - ro
Suo" CO.CO.CO.CO.CO.CO.CO.CO.CLC'
3 p
E Z
« 0 0
c c c c c c c c c c — ,
P P O P P P P P P S
."= ro c CN
E 55555PPPP.C
CN
ro
CM

E -1- ro
3
ll 3
c
p p p p p p p p p .
« C CO•o i •>-CNCO'*U0tDI^0OeD
0
ro
2
9 < F to ro .
co'
E CM CO ^ uo CO
Cl T- C • 3
'"'. X m .r . r u o c
to
>> ~_'_'33 co.co.CLCO.co.co.co.co.co.to:
ro^Sg 1 to .. ro to _. t o t o t o t o t o t o c o c o o * ' ^ ^ ^ ^ ^ ^
> . > < > . > . > , ; » . > . > , > . ss" i r s r i r is" 55" 5:-
JSro-CJ CO. ro "5) "5) 2 £ is-is-55-55-i:-is-ir i r i = - p p p p p p p
•0 ro "5 to 0 ro CM" "1
£ 0 ) 0
>.
E . . .c
•p • * 1 -
II
^^? II to
to E
c 3 _l
,TJ ro
P TJ
^ ^ £ £ £ £ £ £ . 9 . 9 . 9 co.co.co.co.co.co.co.
'ro c o . C L C O . c o . c o . o . c o . c o . c o . ^ . . ^ ^ ^ ^ ^ ^ ^ ^ ^ . . ^ ^
1II , 1—
- ^ c^ A II I I 1 - CM 0 0 c ^ E CO 'CL 9 -
>, p P .E p 5^-i^i'-i.-i^-;^<..-;^-^^-^O'<-CMC0^*U0"cD
ro n 11 c E
^zz ro ro ro •s > . E II . 9 X c. £i £2. S-S2-£. t . S2.2-C C C C d l - C
ro ro ro II ••= P 0 0 -S P ) ' ^ •£ ro II .,-,•-_,
•K CO. P- ro to < sz -c .c <gS ? E SS TJ -p C > - Z) "nT "oT "0"0"0"0"0'"oT "oT "HT "0" 0 "HT 0 0 "0" 0
05 > . > , in ^- H 1- SS
ist

•p ° p p TJ o - v i r
.C -to
H 0 to
CO TJ c C C C CL II Jl C 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
.9 . 9 0 > , > - 3 -i: C D C D P ) 0 ) P ) 0 ) C D C D P ) P ) D ) 0 ) 0 ) 0 ) D ) t D

283
£
E 'c
0
c _ p
0 it c
TJ 0 0
X P P -p
to E CJ
to

2-1
ra ra 0
-p
cn p- 0
E
-p
X 0
tn 0 i_
cn c E CO •p
p .cn
c
ro
p 2 E E 0
I
-p
ro ^
ra E^0 CN 0 to
CD xo L_
-I- — E ro
T- p .0
2 x:
ro ;— ^ to
m 0
E
E 8 E '55
ro C P 3
0
0
E
CD
E c
p ro P c L_
ro
i_
.i^>;,>;

-H c :•§ £ ro" CD ro : - ~ C N CM CM
ro 0 CO. . . 1, -1- -t- -t-
-P
3<S E C TO ^^
CN C
c c c
-3>>Z3NC0
-9 P o ro 0
c c ,CM c"
to -H ._:,C0 • * UO
05 ^ 5 . : 0
0 .05
9 . ^ ED E E
CL £ •z:^cz D D 1
^
Nroj ; ; ll' CD 'co 0 ^ 9 p p c CM
tn
, C
£ ^£ £^ E c JLJLJL -1-

•n;
II .;: i_ C
'0 !2 " - 'C LJ to 0 0 2 ^p 0 3 II C C C
sz X 'ro8 cD) i f M C CM CO • * r
ri)
cn
8i|

theta
1—i cn

)=d

j=1:
cn .. - JL -t- -t- -f -1-
3 L: c
cn o ^ tn c" E
05 Q .
II
lei p p
C CM
.9 * 0 E

d
sz « ro
to "^ % • p F II •^'zz>'Zi.:z>^:z>
-:<: - ^ - ^ . ^ .y: TO X— ; 3 ,
^II
'0 c m ?co cn ,_ ro II Q
C 11 TO
• - "C ^ a > ro E i ^ ro — ' 0 TO TO T )
"— £ 0 TO
• —

ro c i : 'ro l - ' 0 ) C " . c •p 0 c C C C


P) 0 TJ CD SS3S.9 Q- < o 3 0 £ 0 £ 0

0 0
TJ TJ
P P
E E c
•0 -p E
0 p
JBq

i_
ro"
ro
.p E
tn CO
E
0 0 ro
CD
ro
£ to c"
tn
p c 'ra
p p CD

TJ C TJ 0."
0 P 0 x"
cn 'i= CO CO
ro ro ro CO
xo 3 xo .zz.
_
p
cr
p >.

i_ 1 0)
V- 05 •£ P
S CO X
'p-
0 ro CO R "3 ro
P CL c p co_ c^ P p P •0
c cn ro p ro P ro
.. c
^^ * * * c c
.11
E proci s MPC transitic
tate-sh ed model state

I X
C CN CO • * i- •p,
1
ro 1 •m " ro < CO ro
lear on ct. 21,2003

i f . + .+ .+ .± 3
< 0 c c 3 c—» ra
dvisor: r. Karlene

-p 0
hD stui nt: Zhenh

ro P 0 co-
.^ . ^ . ^ . ^ j<: ro '3 •5= '•S P P
CM il
JLJL JLJL to £ 05 £
._ ._.._ ._ JL
..- " to 0 CO.-P £
0 3,"' Q- ro N ro CM 'p
CM CM CM CM CM S TO
ro •H -(- -I- -I- -f ro S8O ^l_l £
E ^ C C C C C tn fn 0 ^ ™ "p to S
cesi
eter

0 0 QO
.. <£>•<£>-zii-zi'^ S ro QO II )2 ••- •p Q."
C II TJ L: C
=FF*ss

3
2^
ction Y

C ^ CM CO ^ uo
Q. 0 X
balFF

E-^ E E E E E 2 E to 0CO p c
11 E17S f^ II 3 3 3 3 3
p. ro Q '> to p >.
CO.
• " - • - C C C C C T J
TJ
^C, II
•- £
0 c:
0 -p .!L p cz UJ
H
ro - P TJ 0
Q- Q- < 0 to
p '>;
C 0 H CO Q. < 0 C 0 Q. II
^Mi 0 -P i S iS sS. iS 3
0 -P £ 0 •~s ^ 0 ^ SS 0 ^ £ "PO^
iS b^ M— 0
£ S

284
CO
2
0 .. c c CM
- ro
N,-c ZZ^ZZ P
CO CO £
p -^r- P P.'-i CO t:
c_ p p 2 2^
c" 0 N 0 0 C
In N.-E -pCM
N N _
CO-
p F. ra
Si O
i_ O ^P 0)
0 10 S
P ~;s- P . - - ^ -N CO p i= N
C_ p 0
0 'c'cz
c" 0 H
to^ N .r-" .r-'
p C_ T-" CM "uT'w'
\— •<- "co £ p p
0 £ N N CM
N
-p ^.c.^-z^z. ra
TJ P 0 C C C "0
0IM.5 r;J'•'-zizizie
V CO cn r .
ra E CM £ P P P ,-
ro £ o> ^ S 5 JD
II
E" .;-- 0 £ IM_ N N 0
-7;r-^ V ro ro p
cn J L ra ro t p_ "c] c_ S..JL x :^ i^
^_j
: c
i__t
CM 2 F. P 11 II 0) c" c" p" II II
£ 2 ~ J- -^ CN _ "3r^^£
ros

"53 0 T- -I- :=- CO CO


x: N II ~ . c: p_ u. ^ 2 p N.l-O-O P P 2 p p p 0
-O II - : 3 . i ^ T J - 3 - : ^ , 0
0
2
0 II ^ C .P -P 0 0 0 0 ^
N O £ 0 I- I- N N N N 1—
C T- 'X,^ T- CT- 11 N N
0 L L £ L J . L L 0LLU.

285

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy