dynamic modeling and control of single and multi ... · dynamic modeling and control of single and...

207
Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C. W. Bullard, B. P. Rasmussen, and P. S. Hrnjak ACRC TR-216 August 2003 For additional information: Air Conditioning and Refrigeration Center University of Illinois Mechanical & Industrial Engineering Dept. 1206 West Green Street Urbana, IL 61801 Prepared as part of ACRC Project #123 Strategies for Improving Operation and Reliability of Vapor Compression Systems (217) 333-3115 A. G. Alleyne, N. R. Miller, P. S. Hrnjak, and C. W. Bullard, Principal Investigators

Upload: others

Post on 22-Mar-2020

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical

Vapor Compression Systems

R. Shah, A. G. Alleyne, C. W. Bullard, B. P. Rasmussen, and P. S. Hrnjak

ACRC TR-216 August 2003

For additional information: Air Conditioning and Refrigeration Center University of Illinois Mechanical & Industrial Engineering Dept. 1206 West Green Street Urbana, IL 61801 Prepared as part of ACRC Project #123 Strategies for Improving Operation and Reliability of Vapor Compression Systems (217) 333-3115 A. G. Alleyne, N. R. Miller, P. S. Hrnjak, and C. W. Bullard, Principal Investigators

Page 2: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

The Air Conditioning and Refrigeration Center was founded in 1988 with a grant from the estate of Richard W. Kritzer, the founder of Peerless of America Inc. A State of Illinois Technology Challenge Grant helped build the laboratory facilities. The ACRC receives continuing support from the Richard W. Kritzer Endowment and the National Science Foundation. The following organizations have also become sponsors of the Center. Alcan Aluminum Corporation Amana Refrigeration, Inc. Arçelik A. S. Brazeway, Inc. Carrier Corporation Copeland Corporation Dacor Daikin Industries, Ltd. Delphi Harrison Thermal Systems Embraco S. A. General Motors Corporation Hill PHOENIX Honeywell, Inc. Hydro Aluminum Adrian, Inc. Ingersoll-Rand Company Kelon Electrical Holdings Co., Ltd. Lennox International, Inc. LG Electronics, Inc. Modine Manufacturing Co. Parker Hannifin Corporation Peerless of America, Inc. Samsung Electronics Co., Ltd. Sanyo Electric Co., Ltd. Tecumseh Products Company The Trane Company Valeo, Inc. Visteon Automotive Systems Wieland-Werke, AG Wolverine Tube, Inc. For additional information: Air Conditioning & Refrigeration Center Mechanical & Industrial Engineering Dept. University of Illinois 1206 West Green Street Urbana, IL 61801 217 333 3115

Page 3: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

iii

Abstract

The focus of this research is on the development of a dynamic modeling capability for subcritical vapor

compression systems with one or more evaporators. The modeling methodology is developed with the multiple

objectives of prediction, control and design.

Firstly, the individual component models for a typical subcritical cycle are developed based on the best

published theoretical and empirical literature. Modeling methodology for a general multi-evaporator system follows

this discussion. The approach developed, especially for air conditioning systems, is conceptually new and can be

used with modifications to a variety of multi-component system applications. The component models are then

integrated and the model predictions validated against the data from various experimental test systems.

Secondly, the dynamic analysis of the model suggests the presence of a few fast dynamic modes. The

model reduction was conducted and the reduced order model was used as a basis for the design of a multivariable

adaptive controller for performance and efficiency control of a single evaporator system. Furthermore, the physics-

based nonlinear component models can be linearized about a set point to obtain a linear model for the integrated

system. A complete linear model was developed and used for the design of a model based control of a dual

evaporator vapor compression cycle. Both these control schemes showed good results on implementation on the

validated system models.

Thirdly, the component models developed in this research were used to simulate the system response to

varying component parameters. This was done to demonstrate the efficacy of the modeling structure for system

design based on a desired response.

The primary objectives of prediction, control and design are met to a good extent by the work presented in

this research. Furthermore, the results and methodologies are modular for use in a variety of applications including

transcritical vapor compression systems also.

Page 4: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

iv

Table of Contents

Page

Abstract ......................................................................................................................... iii

List of Figures..............................................................................................................vii

List of Tables ...............................................................................................................xii

List of Symbols...........................................................................................................xiii

List of Abbreviations...................................................................................................xv

Chapter 1. Introduction .................................................................................................1 1.1 Background .....................................................................................................................................1 1.2 Motivation for Control Systems Research ...................................................................................2 1.3 Research Plans and Methodology ................................................................................................3

Chapter 2. Component Modeling .................................................................................6 2.1 Introduction and Motivation...........................................................................................................6 2.1 Dynamic Model of a Condenser ....................................................................................................8

2.1.1 Modes of Operation................................................................................................................................8 2.1.2 Modeling Assumptions for the Heat Exchangers ...................................................................................9 2.1.3 PDE Method for Condenser Modeling .................................................................................................10 2.1.4 Energy Method for the Condenser Modeling .......................................................................................21

2.2 Condenser with High Side Receiver ...........................................................................................30 2.2.1 Modeling Challenges............................................................................................................................30 2.2.2 Modeling Methodology ........................................................................................................................30 2.2.3 Dynamic Model of a Condenser with High Side Receiver...................................................................31

2.3 Evaporator with Accumulator......................................................................................................40 2.3.1 Dynamic Model of an Evaporator with Accumulator...........................................................................41

2.4 Modeling of the Counterflow Heat Exchangers .........................................................................44 2.4.1 Temperature Profile in a Counterflow Evaporator ...............................................................................45 2.4.2 Temperature Profile in a Counterflow Condenser ................................................................................46 2.4.3 Heat Transfer Profile in a Counterflow Heat Exchanger......................................................................47

2.5 Modeling for Expansion Valves with Variable Cv.......................................................................48 2.6 Refrigerant Pressure Drop in Internal Flow ...............................................................................51

2.6.1 Physics Based Modeling and Model Calibration..................................................................................51 2.7 Summary........................................................................................................................................54

Chapter 3. Multi-Evaporator System Modeling .........................................................55 3.1 Introduction ...................................................................................................................................55 3.2 Complex Multi-Evaporator Systems ...........................................................................................55 3.3 Physical Model Description .........................................................................................................58 3.4 Modeling Challenges in Multi-Evaporator Systems ..................................................................59 3.5 Modeling of Multi-Evaporator Refrigeration Systems...............................................................60 3.6 Modeling of Multi-Evaporator Air Conditioning Units...............................................................62

Page 5: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

v

3.6.1 Computationally Simpler Model for Multi-Evaporator A/C Units.......................................................64 3.7 Summary........................................................................................................................................68

Chapter 4. Model Validation........................................................................................69 4.1 Significance ...................................................................................................................................69 4.2 Parameter Estimation ...................................................................................................................70

4.2.1 Heat Exchangers: Evaporator and Condenser ......................................................................................70 4.2.2 Receivers and Accumulators ................................................................................................................72 4.2.3 Static Components................................................................................................................................72

4.3 Model Validation: Subcritical Air Conditioning System............................................................73 4.3.1 Step Inputs to the Expansion Valve Opening .......................................................................................76 4.3.2 Improved Validation.............................................................................................................................78 4.3.3 Step Inputs to the Expansion Valve Opening .......................................................................................80 4.3.4 Step Inputs to the Compressor Speed ...................................................................................................82 4.3.5 Step Inputs to the Condenser Air Flow Rate ........................................................................................84 4.3.6 Step Inputs to the Evaporator Air Flow Rate........................................................................................86

4.4 Model Validation: Subcritical Dual Evaporator System ............................................................88 4.4.1 Step Inputs to the Compressor Speed ...................................................................................................91 4.4.2 Step Inputs to Expansion Valve 1.........................................................................................................99 4.4.3 Step Inputs to Expansion Valve 2.......................................................................................................104

4.5 Subcritical Cycle with High Side Receiver ...............................................................................107 4.5.1 Simulation Studies for a System with High Side Receiver.................................................................107 4.5.2 Effect of Step Input to the Condenser Air Flow Rate .........................................................................107 4.5.3 Parametric Study: Initial Mass in the Receiver ..................................................................................109 4.5.4 Parametric Study: Receiver Volume ..................................................................................................110 4.5.5 Receiver Model Validation.................................................................................................................111

4.6 Subcritical System with Low Side Accumulator......................................................................114 4.6.1 Effect of Step Input to the Evaporator Air Flow Rate ........................................................................114

4.7 Summary......................................................................................................................................115 Chapter 5. Linearization and Interconnection.........................................................116

5.1 Introduction .................................................................................................................................116 5.2 Linearized Condenser Model .....................................................................................................116

5.2.1 Individual Function Linearization ......................................................................................................118 5.2.2 State Linearization and Matrix Formation..........................................................................................119 5.2.3 Output Linearization and Matrix Formation.......................................................................................122 5.2.4 Linearization in Other Representations ..............................................................................................126 5.2.5 Linearized Model Evaluation .............................................................................................................127

5.3 Linearized Mass Multiplexer ......................................................................................................128 5.3.1 Linearization of Algebraic Model ......................................................................................................129 5.3.2 State Space Form for the Linear Pressure Dynamics Model ..............................................................132 5.3.3 Interconnection of Algebraic and Dynamic Models ...........................................................................132

5.4 Summary......................................................................................................................................135

Page 6: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

vi

Chapter 6. Modeling Library Development..............................................................136 6.1 Background .................................................................................................................................136 6.2 Thermosys Library and the Condenser GUI ............................................................................136 6.3 Pipe Loss Blocks ........................................................................................................................138 6.4 Modular Multi-Evaporator System Design................................................................................140 6.5 Quick Launch of Multi-Evaporator System Model...................................................................141 6.6 Summary......................................................................................................................................145

Chapter 7. Multivariable Adaptive Control for Single Evaporator Systems .........146 6.1 Introduction and Motivation.......................................................................................................146 6.2 Model Order Selection................................................................................................................147 6.3 Estimation Algorithm..................................................................................................................149 6.4 Controller Design ........................................................................................................................152 6.5 Results and Discussion..............................................................................................................154

6.5.1 Reference Tracking ............................................................................................................................155 6.5.2 Disturbance Rejection.........................................................................................................................158

6.6 Summary......................................................................................................................................160 Chapter 8. Multi-Evaporator Cycle Control .............................................................161

8.1 Introduction .................................................................................................................................161 8.2 Control Challenges in Multi-Evaporator A/C Systems ............................................................161

8.2.1 System Parameters..............................................................................................................................161 8.2.2 Study 1: Step Decrease in the Airflow Rate over Evaporator 1..........................................................162 8.2.3 Study 2: Step Increase in the Compressor Speed ...............................................................................164 8.2.4 Study 3: Step Increase in Valve 2 Opening ........................................................................................165

8.3 Closed Loop Control Strategies ................................................................................................166 8.4 Linearized Model-Based Control ...............................................................................................167

8.4.1 Linearized Model: Inputs, Outputs and States....................................................................................168 8.4.2 Control Inputs, Disturbances and Controllable Outputs .....................................................................170 8.4.3 Controller Design ...............................................................................................................................171 8.4.4 Linear Model Based Controller Applied to the Nonlinear Model ......................................................180 8.4.5 Linear Model Based Controller for Disturbance Rejection ................................................................185

8.5 Conclusions.................................................................................................................................187 Chapter 9. Conclusions and Future Work ...............................................................188

9.1 Outline of Results .......................................................................................................................188 9.2 Future Work .................................................................................................................................188

9.2.1 Model Validation................................................................................................................................188 9.2.2 State Identification in Linearized Models...........................................................................................188 9.2.3 Controller Design and Implementation ..............................................................................................189 9.2.4 Modeling of Other Multi-Component Systems ..................................................................................189 9.2.5 Modeling Library Development .........................................................................................................189

References .................................................................................................................190

Page 7: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

vii

List of Figures

Page

Figure 1.1 Distribution of Projects Based on Research Area at ACRC, UIUC .............................................................2 Figure 1.2 Schematic of a TXV .....................................................................................................................................4 Figure 1.3 Advantages of a Mathematical Model for Physical Systems........................................................................4 Figure 2.1 Subcritical Vapor Compression Cycle (Source [16]) ...................................................................................6 Figure 2.2 Three Region Condenser (Source [16])........................................................................................................8 Figure 2.3 Two Region Condenser (Source [16])..........................................................................................................9 Figure 2.4 Single Region Condenser (Source [16]) .......................................................................................................9 Figure 2.5 Development of a Compact Heat Exchanger to a Unidirectional Pipe.......................................................10 Figure 2.6 Description of the Energy Based Modeling Approach...............................................................................21 Figure 2.7 Two Equivalent System Representations ...................................................................................................29 Figure 2.8 Different Possible Regions in a Condenser (Source [16]) ..........................................................................30 Figure 2.9 Description of the Effect of a Receiver ......................................................................................................31 Figure 2.10 Two Region Condenser and a Receiver....................................................................................................32 Figure 2.11 Heat and Mass Transfer Through the Receiver ........................................................................................33 Figure 2.12 Two Different Flow Conditions at Condenser Outlet...............................................................................40 Figure 2.13 Description of the Effect of an Accumulator............................................................................................40 Figure 2.14 Single Region Evaporator and an Accumulator (Source [16]) .................................................................41 Figure 2.15 Schematic of a Concentric Tube Counterflow Heat Exchanger ...............................................................44 Figure 2.16 Counterflow Evaporator Modeling...........................................................................................................45 Figure 2.17 Temperature Profile in a Counterflow Evaporator ...................................................................................48 Figure 2.18 Valve with Coefficient of Discharge Characteristics (Source [30]) .........................................................49 Figure 2.19 Comparison of Correlations for Valve 1 ..................................................................................................50 Figure 2.20 Comparison of Correlations for Valve 2 ..................................................................................................51 Figure 2.21 Comparison of Pressure Drop Correlations: Experiment 1 ......................................................................53 Figure 2.22 Comparison of Pressure Drop Correlations: Experiment 2 ......................................................................53 Figure 2.23 Comparison of Pressure Drop Correlations: Experiment 3 ......................................................................54 Figure 3.1 Classification of Multi-Evaporator Systems...............................................................................................56 Figure 3.2 Typical Heavy Load Residential Air Conditioning Unit (Source [1])........................................................57 Figure 3.3 Two stage Compression and Single Compressor Systems (Source [1]).....................................................58 Figure 3.4 Dual Evaporator Air Conditioning and Refrigeration Systems ..................................................................58 Figure 3.5 Multi-Evaporator Single Compressor Refrigeration System......................................................................61 Figure 3.6 Multi-Evaporator Single Compressor Air Conditioning System................................................................62 Figure 3.7 Transition from Algebraic System to Time Varying System .....................................................................64 Figure 3.8 Evaporator Pressures for a Dual Evaporator System..................................................................................66 Figure 3.9 Evaporator Mass Flow Rates for a Dual Evaporator System .....................................................................66 Figure 3.10 Parametric Study for System Accuracy for Different Values of V...........................................................67 Figure 4.1 Flowchart for the Process of Model Validation..........................................................................................70 Figure 4.2 Schematic of a Similar R134a Automotive A/C System (Source [56])......................................................75

Page 8: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

viii

Figure 4.3 PRBS Input to the Expansion Valve...........................................................................................................76 Figure 4.4 Refrigerant Pressure at the Condenser........................................................................................................76 Figure 4.5 Refrigerant Pressure at the Evaporator .......................................................................................................77 Figure 4.6 Air Outlet Temperature at the Condenser...................................................................................................77 Figure 4.7 Air Outlet Temperature at the Evaporator ..................................................................................................77 Figure 4.8 Refrigerant Superheat at the Evaporator Outlet..........................................................................................77 Figure 4.9 Variation of the Coefficient of Discharge for the Data set .........................................................................78 Figure 4.10 Refrigerant Pressure at the Condenser......................................................................................................79 Figure 4.11 Refrigerant Pressure at the Evaporator .....................................................................................................79 Figure 4.12 Air Outlet Temperature at the Condenser.................................................................................................79 Figure 4.13 Air Outlet Temperature at the Evaporator ................................................................................................80 Figure 4.14 Refrigerant Superheat at the Evaporator Outlet........................................................................................80 Figure 4.15 PRBS Input to the Expansion Valve.........................................................................................................80 Figure 4.16 Refrigerant Pressure at the Condenser......................................................................................................81 Figure 4.17 Refrigerant Pressure at the Evaporator .....................................................................................................81 Figure 4.18 Air Outlet Temperature at the Condenser.................................................................................................81 Figure 4.19 Air Outlet Temperature at the Evaporator ................................................................................................81 Figure 4.20 Refrigerant Superheat at the Evaporator Outlet........................................................................................82 Figure 4.21 PRBS Input to the Compressor Speed ......................................................................................................82 Figure 4.22 Refrigerant Pressure at the Condenser......................................................................................................82 Figure 4.23 Refrigerant Pressure at the Evaporator .....................................................................................................83 Figure 4.24 Air Outlet Temperature at the Condenser.................................................................................................83 Figure 4.25 Air Outlet Temperature at the Evaporator ................................................................................................83 Figure 4.26 Refrigerant Superheat at the Evaporator Outlet........................................................................................83 Figure 4.27 PRBS Input to the Condenser Air Flow Rate ...........................................................................................84 Figure 4.28 Refrigerant Pressure at the Condenser......................................................................................................85 Figure 4.29 Refrigerant Pressure at the Evaporator .....................................................................................................85 Figure 4.30 Air outlet Temperature at the Condenser..................................................................................................85 Figure 4.31 Air Outlet Temperature at the Evaporator ................................................................................................85 Figure 4.32 Refrigerant Superheat at the Evaporator Outlet........................................................................................86 Figure 4.33 PRBS Input to the Evaporator Air Flow Rate ..........................................................................................86 Figure 4.34 Refrigerant Pressure at the Condenser......................................................................................................87 Figure 4.35 Refrigerant Pressure at the Evaporator .....................................................................................................87 Figure 4.36 Air Outlet Temperature at the Condenser.................................................................................................87 Figure 4.37 Air Outlet Temperature at the Evaporator ................................................................................................88 Figure 4.38 Refrigerant Superheat at the Evaporator Outlet........................................................................................88 Figure 4.39 Dual Evaporator Experimental Setup at SNU, Korea...............................................................................89 Figure 4.40 Step Inputs to the Compressor Speed .......................................................................................................91 Figure 4.41 Refrigerant Pressure at Evaporator 1........................................................................................................91 Figure 4.42 Refrigerant Pressure at Evaporator 2........................................................................................................92

Page 9: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

ix

Figure 4.43 Refrigerant Mass Flow Rate at Evaporator 1............................................................................................92 Figure 4.44 Refrigerant Mass Flow Rate at Evaporator 2............................................................................................92 Figure 4.45 Refrigerant Superheat at Evaporator 1 Outlet...........................................................................................93 Figure 4.46 Refrigerant Superheat at Evaporator 2 Outlet...........................................................................................93 Figure 4.47 Refrigerant Pressure at the Condenser......................................................................................................93 Figure 4.48 Condenser Outlet and Compressor Outlet Pressures ................................................................................94 Figure 4.49 Compressor-Condenser System................................................................................................................94 Figure 4.50 Method for Oil Separator Dynamics Identification ..................................................................................95 Figure 4.51 Input and Output Data for the Identification ............................................................................................95 Figure 4.52 The Output Error Model Structure ...........................................................................................................96 Figure 4.53 Comparison of the Identified Models for Oil Separator Dynamics ..........................................................96 Figure 4.54 Refrigerant Pressure at Evaporator 1........................................................................................................97 Figure 4.55 Refrigerant Pressure at Evaporator 2........................................................................................................97 Figure 4.56 Refrigerant Mass Flow Rate at Evaporator 1............................................................................................97 Figure 4.57 Refrigerant Mass Flow Rate at Evaporator 2............................................................................................98 Figure 4.58 Refrigerant Superheat at Evaporator 1 Outlet...........................................................................................98 Figure 4.59 Refrigerant Superheat at Evaporator 2 Outlet...........................................................................................98 Figure 4.60 Refrigerant Pressure at the Condenser......................................................................................................99 Figure 4.61 Mass Flow Rate at Evaporator 1...............................................................................................................99 Figure 4.62 Mass Flow Rate at Evaporator 2...............................................................................................................99 Figure 4.63 Variation of External Heat Transfer Coefficient for Evaporator 1 .........................................................101 Figure 4.64 Variation of External Heat Transfer Coefficient for Evaporator 2 .........................................................101 Figure 4.65 Variation of External Heat Transfer Coefficient for the Condenser .......................................................101 Figure 4.66 Refrigerant Pressure at Evaporator 1......................................................................................................102 Figure 4.67 Refrigerant Pressure at Evaporator 2......................................................................................................102 Figure 4.68 Refrigerant Mass Flow Rate at Evaporator 1..........................................................................................102 Figure 4.69 Refrigerant Mass Flow Rate at Evaporator 2..........................................................................................103 Figure 4.70 Refrigerant Superheat at Evaporator 1 Outlet.........................................................................................103 Figure 4.71 Refrigerant Superheat at Evaporator 2 Outlet.........................................................................................103 Figure 4.72 Refrigerant Pressure at the Condenser....................................................................................................104 Figure 4.73 Refrigerant Pressure at Evaporator 1......................................................................................................104 Figure 4.74 Refrigerant Pressure at Evaporator 2......................................................................................................105 Figure 4.75 Refrigerant Mass Flow Rate at Evaporator 1..........................................................................................105 Figure 4.76 Refrigerant Mass Flow Rate at Evaporator 2..........................................................................................105 Figure 4.77 Refrigerant Superheat at Evaporator 1 Outlet.........................................................................................105 Figure 4.78 Refrigerant Superheat at Evaporator 2 Outlet.........................................................................................106 Figure 4.79 Refrigerant Pressure at the Condenser....................................................................................................106 Figure 4.80 Subcool Index (0-Two phase, 1-Subcool) ..............................................................................................108 Figure 4.81 Refrigerant Enthalpy at the Condenser and the Receiver Outlets...........................................................108 Figure 4.82 Refrigerant Mass Inventory in the Receiver ...........................................................................................108

Page 10: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

x

Figure 4.83 Refrigerant Pressure in the Condenser ...................................................................................................109 Figure 4.84 Subcool Index (0-Two Phase, 1-Subcool) ..............................................................................................109 Figure 4.85 Refrigerant Mass Inventory in the Receiver ...........................................................................................110 Figure 4.86 Subcool Index (0-Two Phase, 1-Subcool) ..............................................................................................110 Figure 4.87 Refrigerant Mass Inventory in the Receiver ...........................................................................................110 Figure 4.88 Step Inputs to the Expansion Valve........................................................................................................111 Figure 4.89 Refrigerant Superheat at the Evaporator Outlet......................................................................................113 Figure 4.90 Refrigerant Pressure at the Evaporator ...................................................................................................113 Figure 4.91 Refrigerant Pressure at the Condenser....................................................................................................113 Figure 4.92 Superheat Index (0-Two phase, 1-Superheat) ........................................................................................114 Figure 4.93 Refrigerant Mass Inventory in the Accumulator ....................................................................................115 Figure 4.94 Refrigerant Pressure in the Accumulator................................................................................................115 Figure 5.1 Different Inputs and Outputs of a Condenser Model................................................................................117 Figure 5.2 Comparison of Linearization Errors for Different Input Signals..............................................................128 Figure 5.3 Component Model for Mass Multiplexer Described in Chapter 3............................................................129 Figure 5.4 Mass Multiplexer as a Combination of Two Models ...............................................................................129 Figure 5.5 Analysis Paths for the Mass Multiplexer..................................................................................................133 Figure 5.6 Linearized and Nonlinear Model Responses for Evaporator 1 Pressure ..................................................134 Figure 5.7 Linearized and Nonlinear Model Responses for Evaporator 2 Pressure ..................................................135 Figure 6.1 Thermosys Library Toolbox in Simulink Library Browser......................................................................137 Figure 6.2 Condenser GUI.........................................................................................................................................138 Figure 6.3 Pipe Loss GUI ..........................................................................................................................................139 Figure 6.4 Mass Mux GUI.........................................................................................................................................140 Figure 6.5 Underlying Simulink Based block............................................................................................................141 Figure 6.6 Modular Four Evaporator Air Conditioning Unit Model .........................................................................142 Figure 6.7 Mass Multiplexer Parent Block ................................................................................................................144 Figure 6.8 Evaporator Pressure Response to the Step Disturbances..........................................................................144 Figure 6.1 Proposed Control Design Scheme ............................................................................................................147 Figure 6.2 Hankel Singular Values of the Linearized Model ....................................................................................149 Figure 6.3 Input-Output Convergence of the Identified Plant ...................................................................................154 Figure 6.4 Parameter Convergence............................................................................................................................155 Figure 6.5 Dual SISO Control Design Results (Source [54]) ....................................................................................156 Figure 6.6 Reference Tracking of the Evaporator Pressure .......................................................................................157 Figure 6.7 Reference Tracking of the Evaporator Superheat.....................................................................................158 Figure 6.8 Disturbance Sequence ..............................................................................................................................159 Figure 6.9 Disturbance Rejection by the Adaptive Controller...................................................................................159 Figure 6.10 Parameter Convergence..........................................................................................................................160 Figure 8.1 Superheat Response of the Two Evaporators ..........................................................................................163 Figure 8.2 Surface Temperature of the Two Evaporators.........................................................................................163 Figure 8.3 Evaporation Temperature Response to Increase in Compressor Speed...................................................164

Page 11: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

xi

Figure 8.4 Mass Flow Rate Response to Increase in Expansion Valve 2 Opening...................................................165 Figure 8.5 Superheat Response to Increase in Expansion Valve 2 Opening ............................................................166 Figure 8.6 Linearized Model for the Dual Evaporator A/C Cycle............................................................................168 Figure 8.7 Complete Linearized Model with Inputs and Outputs.............................................................................169 Figure 8.8 Control Design Scheme for the Linearized Model ..................................................................................172 Figure 8.9 Eigenvalue Map for the Closed Loop and the Open Loop System...........................................................173 Figure 8.10 Effect on Dominant Eigenvalues Due to State Feedback .......................................................................174 Figure 8.11 Reference Tracking of Evaporator 1 Superheat for the Linear Model ...................................................175 Figure 8.12 Required Modulations in the Four Inputs for Superheat Tracking .........................................................176 Figure 8.13 Reference Tracking of Evaporator 1 Pressure for the Linear Model ......................................................177 Figure 8.14 Required Modulations in the Four Inputs for Pressure Tracking ...........................................................177 Figure 8.15 Superheat Reference Tracking with Aggressive Control........................................................................178 Figure 8.16 Actuator Modulations Required for Aggressive Control........................................................................179 Figure 8.17 Pressure Reference Tracking with Aggressive Control ..........................................................................179 Figure 8.18 Actuator Modulations Required for Aggressive Control........................................................................180 Figure 8.19 Dynamic Observer Based Controller Design for Nonlinear Model........................................................181 Figure 8.20 True and Observed States (1 and 14).....................................................................................................182 Figure 8.21 Reference Tracking of Evaporator 1 Superheat (Nonlinear Model).......................................................183 Figure 8.22 Required Modulations in the Four Inputs for Superheat Tracking .........................................................183 Figure 8.23 Reference Tracking of Evaporator 1 Pressure (Nonlinear Model) .........................................................184 Figure 8.24 Required Modulations in the Four Inputs for Pressure Tracking ...........................................................184 Figure 8.25 Disturbance Sequence ............................................................................................................................185 Figure 8.26 Comparison of Controlled and Uncontrolled System Responses ...........................................................186 Figure 8.27 Actuator Modulations for Disturbance Rejection...................................................................................186

Page 12: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

xii

List of Tables

Page

Table 2.1 Elements of the Nonlinear PDE Based Condenser Model...........................................................................20 Table 2.2 Transformation Relations between the PDE and the Energy Approach ......................................................28 Table 2.3 Elements of the Nonlinear Condenser with Receiver Model.......................................................................38 Table 2.4 Elements of the Nonlinear Evaporator with Accumulator Model................................................................43 Table 2.5 Comparison of the Coefficient of Discharge Correlations...........................................................................50 Table 2.6 Description of the Four Pressure Drop Correlations....................................................................................52 Table 4.1 Parameters of the Single Evaporator System...............................................................................................74 Table 4.2 Parameters of the Dual Evaporator System .................................................................................................90 Table 4.3 Parameters of the High Side Receiver System...........................................................................................112 Table 5.1 Matrix Transformations for the Three Modeling Approaches ...................................................................127 Table 5.2 Elements of the Linearized Mass Multiplexer Model................................................................................131 Table 6.1 Operating Conditions Considered for the 4 Evaporator System Model.....................................................143 Table 8.1 Parameters of the Air Conditioning System ..............................................................................................162

Page 13: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

xiii

List of Symbols

Variable Definition A Area A,B,C,D State Space matrices Cv Coefficient of discharge D Pipe diameter E Energy transfer H Enthalpy J Cost function K State feedback gain L Kalman gain matrix ; Length P Covariance matrix ; Pressure Q State weighing matrix ; Heat transfer R Input weighing matrix Red Reynolds number S Slip ratio T Temperature U Internal energy V Volume ; Velocity Z Regression vector cp Heat capacity f Friction factor coefficient f, gi , go Functions in mean void fraction formulation

g Acceleration due to gravity h Specific enthalpy m Refrigerant mass r Reference signal t Time u Input ; Specific internal energy x States ; Quality y Output z Length Dimension α Heat Transfer Coefficient ; resetting variable γ Mean void fraction ε Innovations Vector, Pipe roughness λ Eigenvalues ε Aposteriori error θ Parameter vector ϕ Regression vector ρ Density ? Gradient ω Compressor speed

Page 14: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

xiv

Subscript Definition a Air acc Accumulator c Condenser comp Compressor e Evaporator f Liquid refrigerant g Vapor refrigerant high Condenser side low Evaporator side n Observability index kro Compressor outlet o , out Outlet kri Compressor inlet ss Steady state 1,2,3 Regions of heat exchange i , in Inlet int Interface j jth Output k Compressor kri Compressor inlet o Outlet r Refrigerant ro Reduced order rec Receiver ss Steady state t Total v Valve w Wall

Page 15: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

xv

List of Abbreviations

AC & R Air conditioning and Refrigeration ACRC Air Conditioning and Refrigeration Center ARX Auto Regressive Exogenous Inputs ARMAX Auto Regressive Moving Average Exogenous Inputs BTU British Thermal Units GUI Pipe diameter MIMO Multi Input Multi Output OE Output Error PID Proportional Integral Derivative PRBS Pseudo Random Binary Sequence RBA Recursive Bootstrap Algorithm RPEM Recursive Parameter Estimation Method SNU Seoul National University SISO Single Input Single Output TXV Thermostatic expansion valve TR Technical report R134a Refrigerant C2H2F4

R22 Refrigerant CHF2Cl

Page 16: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

1

Chapter 1. Introduction

The best way to become acquainted with a subject is to write a book about it.

Benjamin Disraeli (1804 - 1881)

1.1 Background In the early days of mechanical refrigeration, the available equipment was bulky, and the technology too

inefficient resulting in limiting its use to a few large scale ice plants, and food preservation industries only [1,2].

However, within a few decades of research and creative indulgence, refrigeration has grown in to a giant and rapidly

expanding industry with direct applications like air-conditioning, food storage and transportation, marine

engineering etc., to name a few. Alongside, various indirect applications have also emerged, like manufacturing

processes where raw materials are supposed to be used in a controlled environment, or mining operations, where

maintenance of a controlled environment is important for human safety [2,3]. Among all these applications, the most

visibly obvious is air-conditioning. As the name implies, it is concerned with the condition of air in a designated

area or space, which can be a room, a residential, commercial, industrial area, or an automobile. Extreme climatic

conditions have rendered residential air-conditioning as a basic requirement in almost whole of North America and

Western Europe. Similarly, air conditioning is becoming a must-have feature in most of the new automobiles too.

According to a latest survey [4], 75-80% new automobiles in Europe are fitted with air conditioning as compared to

a meager 12% in 1990, which is a sharp increase. Similarly, surveys by the Department of Energy in USA [5]

suggest that the yearly energy expenditure for residential air-conditioning in 1997 was 0.42 Quadrillion BTU, which

is substantial, and is constantly increasing.

Due to excessive demands and increased market competition, lot of research activity is being promoted in

this field of engineering. In recent decades most of the research orientation for improvement in air-conditioning

systems was focused on individual component design, primarily the heat exchangers. This has resulted in quick

progress from concentric tube heat exchangers to microchannel type compact heat exchangers with better

performance, efficiency and ease of use. Another major focus of research has been on identification of better

performance refrigerants with lesser detrimental effects on ozone layer thickness or global warming. Recently, more

attention has begun to be directed on design and improvement of a complete system rather than individual

components separately. This has resulted in better flexibility in system design with synergistic improvement in each

component. Similarly, possibilities of better design of auxiliary components like compressor, valves, piping,

receivers etc. has attracted the orientation of many researchers lately. Furthermore, till recently, most of the research

work in air conditioning was directed towards improvement of refrigerant side characteristics of the system.

However, with the knowledge that the air side heat transfer resistance is much higher than the refrigerant side,

research has begun to be focused on this field too.

In other words, an inferential statement can be made that the field of refrigeration and air-conditioning has

been explored very intensively and as saturation is reached in one field of design improvements, research labs and

industry have continuously shifted their focus over to other directions for incessant progress. The Air Conditioning

and Refrigeration Center (ACRC) at the University of Illinois, Urbana Champaign, is an active research center in

this field since 1990, with state-of-the-art research labs and various industry funded projects. Since its inception,

Page 17: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

2

almost 212 projects on various fields in air conditioning and refrigeration have been researched at ACRC [6]. Based

on the discussion presented above, Figure 1.1 shows the distribution of those projects based on particular areas of

study in air conditioning and refrigeration. It might be worth noting here that this distribution is representative of the

last decade only and hence we see the maximum interest in integrated system design improvements, followed by

heat exchanger design, identification of new refrigerants and air side design improvements. The fifth category

plotted in the chart here is the percentage of projects focusing on Control aspects of an air-conditioning cycle. There

are reasons as to why this field has not been explored till now by the industry as well as the academia and how the

perception is changing lately. In this thesis, the work presented is based on the need for advanced control of vapor

compression systems and hence, a motivational aspect of the problem is important and is presented in the following

section.

Figure 1.1 Distribution of Projects Based on Research Area at ACRC, UIUC

1.2 Motivation for Control Systems Research On observing the research trend shown in Figure 1.1, the first thought that comes to the mind is to identify

reasons for the lack of past interest in the work on control systems design for air conditioning and refrigeration

cycles. The primary reason can be stated as the generation gap between classical field of mechanical design and

relatively young field of control engineering. Basically, there can be two ways of improving the performance of any

mechanical system. Improvements in individual component design or improvement in operation of the integrated

system, i.e., better control of the system. The choice between the two approaches depends on the tradeoff that an

engineer has to consider between the controls of any plant as against its better design. As an example, the first steam

powered engines developed by James Watt were designed to have maximum possible volume of steam entering the

cylinders for rated performance. However, as requirements changed, a mechanical governor [7] for speed control at

changing loads was designed for better performance and efficiency. In general, for any mechanical system (also

known as Plant), certain levels of performance can be obtained by over-designing a system rather than using a good

controller and this has been one of the reasons for slow improvement in control systems design for vapor

compression cycles too. However, with recent advances in better system actuation and improved hardware, a steep

System & AuxiliaryComponents

Heat Exchagers

Refrigerants

Air Side Design

Controls

8%

12%

17%

27%

36%

Page 18: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

3

improvement in performance and efficiency can be obtained by employing the control systems strategies. As an

example, recently the automotive industry has been a witness to very fast advancements in vehicle technology which

include ABS, steering control, fuel cell powered vehicles etc., most of which can be attributed to its welcoming

attitude to the new research in control systems. The need for better controls was felt in automotive industry because

of increased attention towards safety, environmental factors and efficient performance.

In a similar manner, the latest trends in research orientation for air conditioning and refrigeration systems is

on better unit efficiency and performance. The latest survey conducted by NREL [4] projects the annual

consumption of 10.6 billion gallons of gasoline just to power the air conditioning units in automotive applications in

USA. Even a slight improvement in performance of these systems can result in heavy savings in energy input. As

another example, newly designed cars have very low gross weight to rated horsepower ratio, which implies that

installation of a very big compressor is not preferable in order to have the required degree of climatic control. Better

air conditioning cycle control is hence an important direction of research. Furthermore, as presented in Chapter 7 in

this thesis, adaptive control is a viable approach for air conditioning applications because of its modularity to

inherent system differences. Denso is working on a similar neural-networks based control technology for automotive

applications [4]. Another major field of research is control and optimized design of multi-component systems which

enjoys applications in various residential, automotive air conditioning applications, as well as supermarket and

transport refrigeration. All of these applications can be designed by combining the basic building blocks of a simple

air conditioning or refrigeration system however optimized performance requires a good controller design, which

makes this research field important.

1.3 Research Plans and Methodology Based on the motivational aspects of the problem, this section presents the planned control targets and

methodology followed to achieve them. As already described, the focus of this research is on the development of

control strategies for vapor compression cycles. By this, we mean the identification of efficient methods to modulate

different system actuators in order to obtain the desired performance.

The two basic methods of closed loop control employed for a general plant are input-output based

controllers, and model based controllers. The former are tuned with respect to experimental results of the open loop

characteristics of the plant. Their primary advantage is simple implementation however the design is constrained by

a low degree of freedom. Commonly employed input-output based controllers are Proportional (P), Proportional-

Integral (PI) and Proportional-Integral-Derivative (PID) controllers. A relevant example is a Thermostatic

Expansion Valve (TXV) [56] which is commonly used as a superheat controller in automotive applications.

Depending on the superheat at the evaporator outlet, a pressure feedback is sent to the expansion valve spindle

through the connecting tubes from evaporator inlet and outlet, as shown in the Figure 1.2 below. The valve spindle

modulations can then be proportional, proportional-integral or proportional-integral-derivative to the incoming

pressure feedback depending on the design.

Page 19: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

4

Figure 1.2 Schematic of a TXV

Because of various advantages of implementation and design, these input-output controllers have been used

traditionally for vapor compression system. Thus, various SISO control loops, like the superheat-expansion valve

loop, have been identified and PID controllers have been used to a great extent. However, intuitive understanding

suggests that the advantages of this control scheme cease to be justification enough for its employment in a system

with very complex true dynamic characteristics, such as a vapor compression system. For the case of SISO control

presented in Figure 1.2, various research studies, [8,9,10], have shown the resulting unstable behavior Thus, the

transient characteristics depend a lot on the internal dynamics and hence a black-box description of the cycle is not

sufficient for good control design. Classical PID tuning strategy like Zeigler-Nichols consider most of the plants as

linear with a time delay, which results in undermining all of these higher order, but still important system

characteristics. Here comes the requirement of a dynamic model based control strategy for these cycles. In this

method, a dynamic model of the cycle is obtained from physical characteristics and once available, it can be used for

prediction, design and control of different plant outputs.

Figure 1.3 Advantages of a Mathematical Model for Physical Systems

Air Conditioning System

Fully known Mathematical Model

SuperheatPressure SuperheatPressure SuperheatPressure Outputs:Superheat

Evaporation Pressure

Inputs:Valve opening

Compressor speedAir flow rates

DesignControlPredict

Air Conditioning System

Fully known Mathematical Model

Fully known Mathematical Model

SuperheatPressure SuperheatPressure SuperheatPressure Outputs:Superheat

Evaporation Pressure

Outputs:Superheat

Evaporation Pressure

Inputs:Valve opening

Compressor speedAir flow rates

Inputs:Valve opening

Compressor speedAir flow rates

DesignControlPredict

DesignControlPredict

Evaporator TXV

Evaporator Inlet Pressure

Remote Bulb Pressure

Page 20: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

5

Figure 1.3 shows the key ideas behind dynamic modeling of an air conditioning system. Here we see that

once a dynamic model has been designed and validated for the required set of inputs and outputs, it can be used very

easily for prediction, control and design of the complete cycle. The Figure shown thus demonstrates the idea of

model based control and why it is so well acknowledged by the academic and industrial community.

In this thesis, we begin with the introduction of the dynamic models for subcritical vapor compression

system components which include condenser with and without receiver, variable coefficient of discharge expansion

devices, and dynamic pipe loss correlations. Separate modeling methodologies for the subcritical multi-evaporator

refrigeration and air conditioning systems are also presented. These physics based models are further validated

against five different experimental data sets for a subcritical single evaporator air conditioning system and three

different data sets for a dual evaporator system. The validation results show good match between the dynamic

characteristics of the model and the experimental system.

The physics based models for an air conditioning system are highly nonlinear and in order to implement

advanced linear algebra based control strategies, operating point linearization is presented for condenser model and

the mass multiplexer model. Linear Quadratic Regulator (LQR) control strategy applied on the linearized models is

introduced for disturbance rejection of dual evaporator vapor compression cycles. An exercise in multivariable

adaptive control for subcritical single evaporator systems was also done and is presented in this thesis.

The main contributions of this work are related to the subcritical systems but the methods and the ideas

discussed are portable to a variety of vapor compression cycles and other dynamic systems, in general. The

following chapters describe the completed work with necessary details. The studies conducted revealed a number of

areas for future research exploration too which are also presented in detail.

Page 21: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

6

Chapter 2. Component Modeling

2.1 Introduction and Motivation In this chapter, mathematical models of different components of a vapor compression cycle are presented.

The operation of a typical such system can be divided primarily into two time regimes, namely steady-state and

transient. In steady-state, the system input-output parameters are constant over time, whereas transient response can

be analyzed in the presence of time varying inputs, disturbances acting on the system. The cause of these

disturbances and inputs can be environmental factors, as well as feedback control of these systems. Typically,

feedback controllers for any dynamic system are designed based on its mathematical model. In the present case too,

the motivation for the dynamic modeling of vapor compression systems lies in the possibility to use those models

for prediction of system’s response and for the design of advanced control strategies.

A typical single evaporator subcritical vapor compression cycle is shown in Figure 2.1. The refrigerant

absorbs heat as it evaporates, and then is compressed to a high pressure where heat is rejected as it condenses [1].

The difficulty of modeling the complex thermofluid dynamics associated with these phase changes has restricted the

development of advanced controllers for these systems [11,12]. Recently, variable speed and variable displacement

compressors, electronic expansion valves, and variable speed fans and blowers have become more commonly used

cycle components. These actuators provide more control authority however, for their effective use towards a better

system performance, a well designed control scheme is necessary.

volts

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

2

1

3

4

P

h

1

23

4

Liquid Vapor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

2

1

3

4

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

CompressorCompressor

2

1

3

4

P

h

1

23

4

Liquid Vapor

P

h

1

23

4

Liquid Vapor

mc air

me air

rpmvolts

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

2

1

3

4

P

h

1

23

4

Liquid Vapor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

2

1

3

4

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

Compressor

Condenser(Receiver)

Evaporator(Receiver)

Expansion Valve

CompressorCompressor

2

1

3

4

P

h

1

23

4

Liquid Vapor

P

h

1

23

4

Liquid Vapor

mc air

me air

mc air

me air

rpm

Figure 2.1 Subcritical Vapor Compression Cycle (Source [16])

Generally, air conditioning units and their control systems are designed with a focus on system efficiency

and control of sensible and latent capacity. Efficiency depends on refrigerant superheat at evaporator outlet. A unit

with no superheat would be ideal because heat transfer efficiency reduces as superheat increases. However, a

minimum positive superheat is essential to avoid liquid carryover that could damage the compressor. Sensible and

latent capacities are affected by modulating the evaporator air and refrigerant mass flow rates. Traditionally, these

objectives have been achieved by implementing single input-single output (SISO) control schemes in which the

control action is based solely on the input-output data. Advanced robust control theory can also be applied to SISO

controllers as illustrated by Kasahara et al. [13]. However, recent works [15,16] have shown that, due to highly

coupled dynamic behavior of air conditioning cycles, multi input-multi output (MIMO) control is advantageous

since it is based on the knowledge of the complete system characteristics. The significance of the MIMO control

Page 22: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

7

increases further for a multi-evaporator air conditioning scenario because the presence of more evaporators increases

the severity of the dynamic coupling phenomenon.

The design of a MIMO or a multivariable controller requires a fairly accurate dynamic model of the system

which can be obtained either by physics-based first principles modeling or by data-based identification. A detailed

survey of various works on dynamic modeling of vapor compression systems is available in [11]. Decoupled SISO

identification of a direct expansion air conditioning plant was done by Deng and Missenden [14]. Work presented by

[15,16] shows that very low order black-box models can be obtained by system identification, which are sufficient

for the complete information of a vapor compression system dynamics. Although knowledge about the dominant

dynamic modes is gained, the black-box model makes it difficult to relate the identified model with the physical

characteristics of the actual system. Physics based models are, however, based on such relations and hence prove

more modular for controller design and system analysis.

Finite difference techniques and Lumped Parameter methods are the two primary approaches for the

physics-based modeling of vapor compression systems. Finite difference methods have been successfully used by

[20,23] for simulation work. However, a very high-order system representation is obtained by these methods which

is not conducive to the design of advanced controllers. On the other hand, Lumped Parameter methods generate

relatively low order models which are preferred from a controls perspective. Development of this method can be

accredited to the work by Wedekind et al. [18] on generalized mean void fraction models for heat exchangers.

Various works [12,21] have since been done based on that idea, and the same approach will be used in this thesis

too.

Dynamic model for a complex system is preferably obtained by modeling each of its individual

components and integrating them together. Design of component models requires knowledge of complete

underlying physics of the system and the integration step is also facilitated by that knowledge. For subcritical vapor

compression cycles, the four primary components are the evaporator, the condenser, the expansion valve, and the

compressor as shown in Figure 2.1. Nonlinear models for the evaporator, the expansion valve and the compressor

have already been presented in [12,15,16]. In this chapter, we will begin with a nonlinear model description of a

condenser using three methods. The first approach is PDE based, which requires knowledge of underlying physics.

Moving boundary approach, [17,18,19,20] and [21] for heat exchanger modeling is followed in this method. The

other two approaches based on energy methods are motivated by the similar methodology used for evaporator and

gas cooler models described in [16]. The dynamical equivalence of these three modeling approaches is discussed

after the modeling. In industrial systems, a receiver or an accumulator [22] is usually used with the heat exchangers

in order to improve the system’s operation efficiency as well as to avoid damage to critical components, like, by

preventing liquid flow into the compressor. In this chapter, the nonlinear models for these components are

developed such that the complexity of switched modeling described in traditional approaches is removed by

considering a variable heat transfer coefficient of the refrigerant dependent on the mass in the receiver and

accumulator. This is followed by physics based modeling of temperature profiles over counterflow evaporator and

condenser. The dynamic models for these heat exchangers [23] are intrinsically different from that of cross-flow

heat exchangers and an analytical approach for their formulation is presented. This is followed by a physical model

Page 23: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

8

for variable coefficient of discharge expansion device. This study was motivated from the experimental data from

various systems, where it was observed that the expansion devices, in general have a variable coefficient of

discharge. The last section of this chapter is on the modeling of pressure losses in pipes connecting different

components of the cycle, which is important for modeling accuracy. The knowledge is used extensively in the

following chapter for multi-evaporator systems model analysis and design.

2.1 Dynamic Model of a Condenser A subcritical system condenser is a higher pressure side heat exchanger through which the refrigerant loses

energy to the external environment. Typical industrially available condensers have varied designs and geometries

[24], like, microchannel, plate-fin, tube-fin etc. Numerical techniques and computational fluid dynamics methods

have been extensively used for modeling of these systems [23,25], however, they are not useful for controller design

because of very high order system representation. In the following subsections, we present a lower order modeling

approach based on the moving boundary methods for a condenser without receiver.

2.1.1 Modes of Operation A subcritical vapor compression system condenser can operate in three different conditions, which in turn

decides the number of different fluid regions, it accommodates. The inlet condition to the condenser is always

assumed to be superheated vapor and the most typical operational condition occurs when the fluid at the condenser

outlet is subcooled. Thus the condenser has three different fluid regions, superheated, two phase, and subcooled,

namely, as shown in Figure 2.2.

Two-PhaseSuperheat

)(thm outout&ininhm& P(t)

Twall,2(t) Twall,3(t)x = 1

Subcool

Twall,1(t)x = 0

L2(t) L3(t)

LTotal

L1(t)

Two-PhaseSuperheat

)(thm outout& )(thm outout&ininhm& ininhm& P(t)

Twall,2(t) Twall,3(t)x = 1

Subcool

Twall,1(t)x = 0

L2(t) L3(t)

LTotal

L1(t) L2(t) L3(t)

LTotal

L1(t)

Figure 2.2 Three Region Condenser (Source [16])

In such a flow condition, the lengths of different regions form important dynamic variables of interest.

Figure 2.2 shows a complex condenser design, developed in to a unidirectional tube with equivalent geometric

characteristics, a description of which is presented later in this section. Another flow condition that usually occurs in

systems with high side receiver results in two phase outlet flow from the condenser whereas the inlet can still be

assumed to be superheated vapor [22]. A properly designed system with high side receiver always runs in this

condition and the outlet from the receiver is always saturated liquid. In this case, the condenser has two regions as

Page 24: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

9

shown in Figure 2.3. This is the most well known and energy efficient flow condition because the maximum heat

transfer occurs over the two phase fluid region.

Two-PhaseSuperheat

L1(t) L2(t)

LTotal

ininhm&)(thm outout&

xout(t) > 0P(t)

Twall,1(t) Twall,2(t)

x = 1

Two-PhaseSuperheat

L1(t) L2(t)

LTotal

L1(t) L2(t)

LTotal

ininhm&)(thm outout&

xout(t) > 0)(thm outout&

xout(t) > 0P(t)

Twall,1(t) Twall,2(t)

x = 1

Figure 2.3 Two Region Condenser (Source [16])

A third flow condition may arise in situations where adequate heat transfer is not performed over the

condenser and the outlet condition is also superheated fluid. This happens in case of undercharged system or

systems with low overall heat transfer coefficient at the condenser. The flow region in this case is shown in Figure

2.4.

Figure 2.4 Single Region Condenser (Source [16])

2.1.2 Modeling Assumptions for the Heat Exchangers For modeling simplicity, the typical crossflow design of a heat exchanger is developed to form an

equivalent axial tube heat exchanger [15,20] by considering the thermal mass, heat transfer area, and mass flux

equivalence with the actual component. An example of an equivalent unidirectional design for a tube-fin heat

exchanger can be understood from the following figure.

Supercritical

LTotal

ininhm& )(thm outout&P(t)

Twall(t)

Supercritical

LTotal

ininhm& )(thm outout&P(t)

Twall(t)

Superheated

Page 25: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

10

Figure 2.5 Development of a Compact Heat Exchanger to a Unidirectional Pipe

This assumption simplifies the resulting dynamic problem to a great extent. The axial conduction in the

unidirectional pipe can now be assumed to be negligible as compared to the heat transfer through the condenser

surface. Thermal resistance of the heat exchanger metallic components is also considered to be negligible in

comparison with their thermal capacitances. Further, for the condition without a high side receiver, the condenser is

assumed to accommodate three fluid regions and it is assumed that the fluid mean void fraction is time invariant

[18]. Time variant mean void fraction will be used in the modeling of a condenser with high side receiver which has

only two regions of heat transfer. Another important assumption is that the pressure drop within the condenser is

assumed to be negligible which renders the momentum conservation equation redundant. This results in significant

simplification in heat exchanger modeling and is followed in the model derivation.

2.1.3 PDE Method for Condenser Modeling Generalized Navier-Stokes equations [26] can be used to express mass and energy conservation for the

three different fluid flow regions for the condenser shown in Figure 2.2. The governing Newtonian PDEs for the

three regions are given by,

Refrigerant mass balance: ( ) 0=∂

∂+

∂∂

zu

tρρ

(2.1)

Refrigerant energy balance: ( ) ( ) ( )rwalli

i

TTiLDz

uht

Ph−=

∂∂

+∂

−∂α

ρρ 4 (2.2)

Condenser Wall energy balance: ( ) ( ) ( )wallaoowallriiwallwallp TTATTATVC −+−= ααρ & (2.3)

In the next few subsections, these generalized equations for each region of the condenser are presented to

obtain the system model in terms of the specific dynamic modes which include the fluid as well as the heat

exchanger properties.

Length per pass z

Number of passes P

Number of parallel paths N

Hydraulic diameter ø

External Surface Area Ao is calculated based on geometry

External Surface Area = Ao

L = z P

Diameter ø

Internal Surface Area = (p ø L) N

˜

Page 26: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

11

2.1.3.1 Refrigerant Mass Conservation: Superheat Region After multiplying the Navier-Strokes relation by the cross sectional area, the PDE for conservation of the

refrigerant mass is given by

0=∂∂

+∂

∂zm

tA &ρ

(2.4)

The spatial dependence of Equation 2.4 can be removed by integrating each term of this equation over the

length of the superheated region (say, L=0 to L=L1). Applying Leibniz’s rule on the first term of the Equation 2.4,

−∫=∫

∂∂

100

11

Ldzdtd

AdztA

g

LL&ρρ

ρ

[ ]11111 LLLA g&&& ρρρ −+= (2.5)

Now, in the superheated condition, the density can be expressed as a function of pressure and enthalpy as,

( )11 , hPρρ = (2.6)

The enthalpy in the superheated region can be assumed to be an average of the inlet and the outlet

enthalpies as,

21gi hh

h+

= (2.7)

Thus,

+= P

dP

dhhh g

i&&& 5.01 (2.8)

Using the relations of enthalpy, pressure and density, time derivative of refrigerant density in the Equation

2.5 can be expressed as,

+

∂∂

+∂∂

=∂∂

+∂∂

= PdP

dhh

hP

Ph

hP

Pg

i&&&&&& 5.0

1

111

1

111

ρρρρρ (2.9)

Substituting Equation 2.9 in Equation 2.5, we can write,

( ) 1111

11

1

11

0 21

211

LAhALh

PALP

h

hPdz

tA

gig

L&&& ρρ

ρρρρ−+

∂∂

+

∂∂

+∂∂

=∂

∂∫ (2.10)

Now, integrating the second term of the Equation 2.4,

∫ −=∂∂1

0int

L

immdzzm &&&

(2.11)

Thus, the mass conservation equation in the superheated region is given by,

( ) 021

21

1int1111

11

1

11 =−+−+

∂∂

+

∂∂

+∂∂

igig mmLAhAL

hPAL

P

h

hP&&&&& ρρ

ρρρ (2.12)

Page 27: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

12

2.1.3.2 Refrigerant Mass Conservation: Two Phase Region The same PDE for mass conservation given by Equation 2.4 can be used for this region too. Spatial

dependence of this equation can again be removed by integrating along the length of the two phase region (say, L=L1

to L=L1+ L2). Applying Leibniz’s rule to the integral of the first part of Equation 2.4,

( )∫

++−∫=

∂∂+ +21

1

21

1121

LL

Lgf

LL

LLLLdz

dtd

AdztA &&& ρρρ

ρ (2.13)

( )

−−+=

∂∂

∫∫++

21

LL

L

21

1

21

1

LLdzdtd

AdztA

ffg

LL

L

&& ρρρρρ

(2.14)

Using the principle of mean void fraction, the density in the two phase region can be expressed as

( )γργρρ −+= 1fg and can be used in Equation 2.14 as,

( )( )[ ] ( ) 121

1212∫

−−++−=

∂∂+ LL

Lffggf LLL

dtd

AdztA && ρρργργρ

ρ

( )( ) ( )( ) ( ) ( )[ ]21222 11 LLLLLA ffgfggfgf&&&&&& ρρργρργργργργρ −−+−++−++−=

( ) ( ) ( ) ( )

−+−+

+−+−= 1222 1 LLLP

dP

d

dP

dLA fgfg

gffg

&&&& ρργρργρ

γρ

γρρ (2.15)

Integrating the second part of Equation 2.4, and substituting Equation 2.15, the resulting complete equation

for mass conservation is given by,

( ) ( ) ( ) ( ) 01 1int2int1222 =−+

−+−+

+−+− mmLLLP

dP

d

dP

dLA fgfg

gffg &&&&&& ρργρργ

ργ

ργρρ (2.16)

2.1.3.3 Refrigerant Mass Conservation: Subcool Region The PDE for mass conservation is again represented by Equation 2.4 over the subcooled flow condition.

Integrating the equation over the length of the subcooled region and using Leibniz’s rule results in,

( ) ( )∫

++++−∫=

∂∂++

+

++

+

321

21

321

2121321

LLL

LLfo

LLL

LLLLLLLdz

dtd

AdztA &&&&& ρρρ

ρ (2.17)

Since the total length of the condenser remains constant, the Equation 2.17 simplifies to,

( ) ( )∫

++=

∂∂++

+

321

212133

LLL

LLf LLL

dtd

AdztA &&ρρ

ρ (2.18)

because,

0321 =++ LLL &&& (2.19)

Thus,

( )[ ]∫++

+

+++=∂

∂321

21

213333

LLL

LLf LLLLAdz

tA &&&& ρρρ

ρ (2.20)

The density in the subcool region depends on pressure and enthalpy, such that,

( )33 , hPρρ = (2.21)

Page 28: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

13

and

23of hh

h+

= (2.22)

Thus,

+

∂∂

+∂∂

= of hP

P

h

hP

P&&&&

21

3

333

ρρρ (2.23)

The resulting mass conservation equation is,

( )( ) 021

21

2int21333

33

3

33 =−++−+∂∂

+

∂∂

+∂∂

mmLLAhALh

PALP

h

hP ofof &&&&&& ρρ

ρρρ (2.24)

2.1.3.4 Refrigerant Energy Conservation: Superheat Region The dynamics for the conservation of refrigerant energy in any internal flow condition can be represented

by the Navier-Strokes law [26] given by,

( ) ( ) ( )rwii TTAzhm

tAPAh

−=∂

∂+

∂−∂

αρ &

(2.25)

We will again follow the method of removal of spatial dependence through energy balance equations in

each of the fluid flow regions by integrating over the length of superheated region and applying Leibniz’s rule.

( ) ( )

−=

∂∂

∫ 11110

1

LhLhdtd

AdztAh

gg

L&ρρ

ρ (2.26)

Using the expression for density defined in Section 2.1.3.1

( )11 , hPρρ = (2.27)

Substituting the average enthalpy given by, 21

gi hhh

+= and 2.9 in Equation 2.26,

( )

−+

++

+

∂∂

+∂∂

=∫∂

∂11111111

1

11

05.05.0

1

LhLhLPdP

dhhLhP

dP

dhh

hP

PAdz

tAh

ggg

ig

i

L&&&&&&& ρρρ

ρρρ

( ) 1111111

1111

1

11

21

21

21

21

LAhhhALhh

PALdP

dhh

dP

dh

hP ggigg &&& ρρρ

ρρ

ρρ−+

+

∂∂

+

+

∂∂

+∂∂

= (2.28)

Now, consider the integration of the second term of Equation 2.25,

( )∫∫ ∂

∂=

∂∂ 11

00

LL

dztP

Adzt

AP (2.29)

Applying Leibniz’s rule on this equation, we obtain

( )

=

∂∂

∫∫ 100

11

LPPdzdtd

Adzt

AP LL&

( ) 11 LAPPLdtd

A &−=

Page 29: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

14

1LPA &= (2.30)

Substituting equations 2.28 and 2.30 in the integration of Equation 2.25, we obtain,

( )

( )111

11int

11111111

1111

1

11

21

21

21

21

rwtotal

iiiig

ggigg

TTLL

Ahmhm

PALLAhhhALhh

PALdP

dhh

dP

dh

hP

−=−+

−−+

+

∂∂

+

+

∂∂

+∂∂

α

ρρρρ

ρρρ

&&

&&&&

(2.31)

On simplification, this results in the energy conservation equation as,

( )

( )111

11int

1111111

1111

1

11

21

21

121

21

rwtotal

iiiig

ggigg

TTLL

Ahmhm

LAhhhALhh

PALdP

dhh

dP

dh

hP

−=−+

−+

+

∂∂

+

−+

∂∂

+∂∂

α

ρρρρ

ρρρ

&&

&&&

(2.32)

2.1.3.5 Refrigerant Energy Conservation: Two Phase Region For conservation of refrigerant energy in the two phase region, Equation 2.25can be integrated over the two

phase refrigeration region and again the term by term expansion can be written in the following form,

( )∫∫++

∂∂

=∂

∂ 21

1

21

1

LL

L

LL

L

dzth

AdztAh ρρ

(2.33)

By applying Leibniz’s rule on this equation,

( ) ( )

++−

=

∂∂

∫∫++

121

21

1

21

1

LhLLhhdzdtd

AdztAh

ggff

LL

L

LL

L

&&& ρρρρ

(2.34)

Now using the concept of mean void fraction to characterize the density and enthalpy in the two phase flow

region this equation can be expanded as,

( ) ( ) ( )( )( ) ( )

−−++−=

∂∂

∫+

212121

1

LhLhhLhhdtd

AdztAh

ffffggggff

LL

L

&& ρρργργρρ

(2.35)

( ) ( )( ) ( ) ( ) ( ) ( ) ( )

( )

−−+

−+

+−++−

=

21

222 11

LhLhh

LhhPLdP

hd

dP

hdLhh

A

ffffgg

ffggggff

ggff

&&

&&&

ρρρ

γρργρ

γρ

γργρ (2.36)

( ) ( ) ( ) ( ) ( ) ( ) ( )

( )

−+

+−+−+−

=∫∂

∂+

2

221 121

1Lhh

PLdP

hd

dP

hdLhhLhh

AdztAh

ffgg

ggffffggffgg

LL

Lγρρ

γρ

γρ

γρρρρρ

&

&&&(2.37)

Similarly, integrating the other terms of Equation 2.25for the two phase flow region, the resulting

conservation of energy equation can be written as,

( ) ( ) ( ) ( ) ( ) ( ) ( )

( )222

21int2int2

2221

1

rwtotal

iigf

ffggggff

ffggffgg

TTLL

AhmhmPAL

LhhPLdP

hd

dP

hdLhhLhhA

=−+−

−+

+−+−+−

α

γρργρ

γρ

γρρρρ

&&&

&&&&

(2.38)

Page 30: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

15

2.1.3.6 Refrigerant Energy Conservation: Subcool Region The energy conservation equation for the subcooled region can also be written in the form of Equation

2.25and on integration of the first term, we obtain

( )∫∫

++

+

++

+ ∂∂

=∂

∂ 321

21

321

21

LLL

LL

LLL

LL

dzth

AdztAh ρρ

(2.39)

On application of Leibniz’s rule, this equation reduces to

( ) ( ) ( )

++++−

=

∂∂

∫∫++

+

++

+21321

321

21

321

21

LLhLLLhhdzdtd

AdztAh

ffoo

LLL

LL

LLL

LL

&&&&& ρρρρ

(2.40)

Since the length of the condenser is constant, 0321 =++ LLL &&& ,

( ) ( ) ( )

++=

∂∂

∫++

+21333

321

21

LLhLhdtd

AdztAh

ff

LLL

LL

&&ρρρ

(2.41)

Differentiating the first part of this expression,

( ) ( )( )[ ]2133333333

321

21

LLhhLhLhAdztAh

ff

LLL

LL

&&&& +−++=∂

∂∫

++

+

ρρρρρ

(2.42)

and using the definition of time derivative of density from Section 2.1.3.3,

+

∂∂

+∂∂

= of hP

P

h

hP

P&&&&

21

3

333

ρρρ (2.43)

Also, the average enthalpy in subcooled region is, 23

fo hhh

+= , which means

∂+= P

P

hhh f

o&&&

21

3 (2.44)

( )

( )( )2133

333

3333

21

21321

21

LLhhA

LhhPP

h

hP

PP

P

hhLAdz

tAh

ff

off

o

LLL

LL

&&

&&&&&

+−+

+

∂∂

+∂∂

+

∂+=∫

∂∂++

+

ρρ

ρρρ

ρ

(2.45)

Similarly, integrating the other terms of the Equation 2.25 the conservation of subcooled region energy can

be written as,

( )( )

( )333

32int3

2133333

3333

21

21

rwtotal

iifoo

ffoff

o

TTLL

AhmhmPAL

LLhhLhhPP

h

hP

PP

P

hhLA

−=−+−

+−+

+

∂∂

+∂∂

+

∂+

α

ρρρρ

ρ

&&&

&&&&&&&

(2.46)

2.1.3.7 Pipe Wall Energy Conservation For one dimensional conduction through the tube wall the wall temperature can be assumed to be spatially

uniform over each fluid flow region. The wall temperature gradient depends on incoming and outgoing heat flux

represented by,

Page 31: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

16

( ) ( )11111, waoowriiw

wpw TTATTAt

TCm −+−=

∂∂

αα (2.47)

The air temperature flowing on the heat exchanger can be assumed to be constant over the length for the

cross-flow heat exchanger and can be calculated as the average of the inlet and the outlet air temperatures.

Integrating equation 2.47 over an arbitrary length of the wall tube,

( ) ( )( )∫∫ −+−=∂

∂ 2

1

2

1

1111,

z

zwaoowrii

wz

zwpw dzTTATTAdz

tT

Cm αα (2.48)

Applying Leibniz’s rule for integration

( ) ( )( )[ ]12111121

,21

2

1

zzTTATTAdt

dzT

dtdz

TdzTdtd

Cm waoowriizwzw

z

zwwpw −−+−=

−+

∫ αα (2.49)

( ) [ ] [ ] ( )[ ]

( )[ ]

121

1211121

12,122121

zzTTA

zzTTAdt

dzTT

dtdz

TTdt

dTzzCm

waoo

wriizzwzwzzwzww

wpw

−−+

−−=

−−−+−

−−

α

α

(2.50)

Since the heat transfer behavior of the external fluid (air, water etc.) is considered uniform over the

complete wall length, Equation 2.50 can be used for conservation of wall energy in all the three regions of fluid

flow. For superheated region, the limits of integration change to 0 to L1 and the equation can be expressed as,

[ ] ( ) ( )( ) 111111

121

1, LTTATTAdt

dLTT

dtdT

LCm waoowriiwww

wpw −+−=

−− αα (2.51)

Similarly, for the other two regions, the wall energy balance is represented by,

( ) ( )( ) 222222

2, LTTATTAdt

dTLCm waoowrii

wwpw −+−=

αα (2.52)

and,

[ ] ( ) ( ) ( )( ) 3333221

233

3, LTTATTAdt

LLdTT

dtdT

LCm waoowriiwww

wpw −+−=

+−− αα (2.53)

2.1.3.8 Algebraic Combination of the Model Equations The condenser model thus comprises of one equation each for refrigerant mass, refrigerant energy and wall

energy conservation for each of the three flow condition regions. Some of the variables appearing in these equations

cannot be measured in an actual experiment, nor can they be calculated using mathematical relations, like the mean

void fraction or the length of different flow regions. Also, the variables of interests from a condenser model are

lesser than nine and hence some of these equations can be algebraically manipulated to get rid of the redundant

variables and to form explicit system dynamic model using the rest of the variables. For this purpose, all the

equations are rewritten here for ease of use in the algebraic operations. The three conservation of mass equations

are,

( ) 021

21

1int1111

11

1

11 =−+−+

∂∂

+

∂∂

+∂∂

igig mmLAhAL

hPAL

P

h

hP&&&&& ρρ

ρρρ (2.54)

Page 32: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

17

( ) ( ) ( ) ( ) 01 1int2int1222 =−+

−+−+

+−+− mmLLLP

dP

d

dP

dLA fgfg

gffg &&&&&& ρργρργ

ργ

ργρρ (2.55)

( )( ) 021

21

2int21333

33

3

33 =−++−+∂∂

+

∂∂

+∂∂

mmLLAhALh

PALP

h

hP ofof &&&&&& ρρ

ρρρ (2.56)

The conservation of energy equations are,

( )

( )111

11int

1111111

1111

1

11

21

21

121

21

rwtotal

iiiig

ggigg

TTLL

Ahmhm

LAhhhALhh

PALdP

dhh

dP

dh

hP

−=−+

−+

+

∂∂

+

−+

∂∂

+∂∂

α

ρρρρ

ρρρ

&&

&&&

(2.57)

( ) ( ) ( ) ( ) ( ) ( )

( ) ( )222

21int2int22

221

1

rwtotal

iigfffgg

ffggggff

ffgg

TTLL

AhmhmPALLAhh

LhhPLdP

hd

dP

hdLhhA

=−+−−+

−+

+−+−

αγρρ

γρργρ

γρ

ρρ

&&&&

&&&

(2.58)

( )( )

( )333

32int3

2133333

3333

21

21

rwtotal

iifoo

ffoff

o

TTLL

AhmhmPAL

LLhhLhhPP

h

hP

PP

P

hhLA

−=−+−

+−+

+

∂∂

+∂∂

+

∂+

α

ρρρρ

ρ

&&&

&&&&&&&

(2.59)

Solving for the intermediate mass flow rates from the first and third conservation of mass equations, we

obtain

( ) 1111

11

1

111int 2

121

LAhALh

PALP

h

hPmm gi

gi

&&&&& ρρρρρ

−−

∂∂

∂∂

+∂∂

−= (2.60)

( )( ) ofof mLLAhAL

hPAL

P

h

hPm &&&&&& ++−+

∂∂

+

∂∂

+∂∂

= 21333

33

3

332int 2

121

ρρρρρ

(2.61)

Substituting these in the second conservation of mass equation,

( ) ( ) ( ) ( )

( )( )

( ) 021

21

21

21

1

1111

11

1

11

21333

33

3

33

1222

=

−−

∂∂

∂∂

+∂∂

−−

++−+

∂∂

+

∂∂

+∂∂

+

−+−+

+−+−

LAhALh

PALP

h

hPm

mLLAhALh

PALP

h

hP

LLLPdP

d

dP

dLA

gig

i

ofof

fgfggf

fg

&&&&

&&&&&

&&&&

ρρρρρ

ρρρρρ

ρργρργρ

γρ

γρρ

(2.62)

Collecting the dynamic terms in this equation together,

( ) ( )

( ) ( )[ ] ( ) 021

21

21

121

33

321

1

123

13133

3321

1

11

=−+∂∂

+−+

∂∂

+−+−+

−+

∂∂

+∂∂

+

+−+

∂∂

+∂∂

ioofgiffg

fgfg

mmhALh

ALhALh

LA

LAPLP

h

hPL

dP

d

dP

dL

P

h

hP

&&&&&&

&&

ργρρ

ρρργρρ

ρρρρ

γρ

γρρρ

(2.63)

Page 33: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

18

Substituting the expression for the interface mass in the equation for conservation of refrigerant energy in

the superheated zone,

( )

( ) ( )111

1111

1111

11

1

11

1111

1111

1

11

21

21

21

21

121

21

rwtotal

iiiigg

ggig

i

igg

TTLL

AhmLAhh

hLAhALh

PALP

h

hPm

hALhh

PALdP

dhh

dP

dh

hP

−=−−+

−−

∂∂

∂∂

+∂∂

−+

+

∂∂

+

−+

∂∂

+∂∂

αρρ

ρρρρρ

ρρ

ρρρ

&&

&&&&

&&

(2.64)

Again simplifying this equation by combining alike terms together,

( ) ( )

( ) ( ) ( )111

1111

1111

1111

1

11

21

21

121

21

rwtotal

iiigig

igg

gg

TTLL

AhhmLAhh

hALhhh

PALdP

dhhh

dP

dh

hP

−=−+−+

+−

∂∂

+

−+−

∂∂

+∂∂

αρ

ρρ

ρρρ

&&

&&

(2.65)

Now substituting the expressions for the two interface masses in the conservation of the refrigerant energy

in the two phase zone we get,

( ) ( ) ( ) ( ) ( ) ( ) ( )

( )( )

( ) ( )222

21111

11

1

11

21333

33

3

332

2221

21

21

21

21

1

rwtotal

iiggig

i

fofof

ffggggff

ffggffgg

TTLL

AhLAhALh

PALP

h

hPm

hmLLAhALh

PALP

h

hPPAL

LhhPLdP

hd

dP

hdLhhLhhA

=

−−

∂∂

∂∂

+∂∂

−−

++−+

∂∂

+

∂∂

+∂∂

+−

−+

+−+−+−

αρρρρρ

ρρρρρ

γρργρ

γρ

γρρρρ

&&&&

&&&&&&

&&&&

(2.66)

( ) ( ) ( )[ ] ( )

( ) ( ) ( ) ( )

( )222

211

1

33

3321

1

11

33

32231131

21

21

1121

21

rwtotal

iigifoig

ffggff

gg

offfggfffggfg

TTLL

AhmhmhhALh

PALhP

h

hPL

dP

hd

dP

hdLh

P

h

hP

hhALh

ALhhLAhhhLAhh

=−+

∂∂

+

∂∂

+∂∂

+

−+−+

∂∂

+∂∂

∂∂

+−+−+−+−

αρ

ρργ

ργ

ρρρ

ργρρρργρρρρ

&&&

&

&&&&

(2.67)

Substituting the expression for mass flow rate at the interface of two phase and subcooled region in the

energy conservation equation for the third region, we obtain

( )( )

( )( ) ( )333

321333

33

3

33

32133333

3333

21

21

21

21

rwtotal

iifofof

ooffoff

o

TTLL

AhmLLAhALh

PALP

h

hP

hmPALLLhhLhhPP

h

hP

PP

P

hhLA

−=

++−+

∂∂

+

∂∂

+∂∂

+−

+−+

+

∂∂

+∂∂

+

∂+

αρρρρρ

ρρρρ

ρ

&&&&&

&&&&&&&&&

(2.68)

Page 34: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

19

( ) ( ) ( )( )

( )333

3

21333333

3333

3

33

21

21

121

21

rwtotal

iioofo

foff

ff

TTLL

Ahmhm

LLhhAhALhhh

PALdP

dhhh

P

h

hP

−=+−

+−+

+−

∂∂

+

−+−

∂∂

+∂∂

α

ρρρ

ρρρ

&&

&&&& (2.69)

2.1.3.9 State Space Representation With this analysis, the overall condenser model can be represented by the equations 2.51 to 2.69. The

complete system can be presented in a nonlinear state space block representation given by,

( ) ( )uxfxuxZ ,, =& (2.70)

State Space form is a preferably used method for model representation of dynamic systems because of the

availability of a large source of research work conducted on mathematical analysis of this form. After linearization,

this form can be used very easily using methods from Linear Algebra and widely available user-friendly software for

stability analysis, controller design etc. in various ways. In the present case too, the model of a condenser is

presented in state space representation as,

( ) ( ) ( )

( )

( ) ( )

( ) ( )( )( ) ( )( )( ) ( )( )

−+−−+−−+−

∂∂

−−

−+−

∂∂

−−+−

+−

∂∂

−−+−

=

3333

2222

1111

11

1

333

3

11

122

22

1111

111

11

3

2

1

2

1

777271

66

5551

44434241

34333231

24232221

1311

21

21

21

21

00000000000000000000000000000

waoowrii

waoowrii

waoowrii

ioi

rwtotal

iiofo

igrwtotal

iifogi

igrwtotal

iigii

w

w

w

o

TTATTATTATTATTATTA

hALh

mm

TTLL

Ahhm

hALhh

TTLL

Ahmhm

hALhhh

TTLL

Ahhm

TTThPLL

zzzz

zzzzzzzzzzzzzz

zz

αααααα

ρ

α

ρα

ρρ

α

&&&

&

&&&

&&

&&&

&&&&

(2.71)

Here, it has been assumed that the mean void fraction is time invariant [16,18] and hence the terms

containing its time derivative are zero. The elements zij of the matrix Z are nonlinear functions of the fluid and heat

exchanger properties and are presented in detail in the following table. With this, the physics based modeling for a

condenser can be concluded. In the next section, the other approaches for condenser modeling will be studied.

Page 35: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

20

Table 2.1 Elements of the Nonlinear PDE Based Condenser Model

z11 ( )Ahh g−11ρ

z13 ( ) 111

1

11 121

21

ALdP

dhhh

dP

dh

hPg

gg

−+−

∂∂

+∂∂

ρρρ

z21 ( )Ahh fg 31 ρρ −

z22 ( ) ( )[ ]Ahhh fffgg 31 ρργρρ −+−

z23 ( )( ) ( ) ( ) ALhP

h

hPL

dP

hd

dP

hdLh

P

h

hP ffggff

gg

∂∂

+∂∂

+

−+−+

∂∂

+∂∂

33

3321

1

11

21

1121 ρρ

γρ

γρρρ

z24 fhAL

h 33

3

21

∂∂ρ

z31 ( )33 hhA f −ρ

z32 ( )33 hhA f −ρ

z33 ( ) 333

3

33 121

21

ALdP

dhhh

P

h

hPf

ff

−+−

∂∂

+∂∂

ρρρ

z34 ( ) 3333

3

21

21

ALhhh f

+−

∂∂

ρρ

z41 ( )A31 ρρ −

z42 ( ) ( )[ ]Affg 3ρργρρ −+−

z43 ( )

∂∂

+∂∂

+

+−+

∂∂

+∂∂

33

3321

1

11

21

121

LP

h

hPL

dP

d

dP

dL

P

h

hPfgfg ρρ

γρ

γρρρ

z44 3

3

3

21

ALh∂

∂ρ

z51 -

1

12, L

TTCm ww

wpw

z55 wpwCm ,

z66 wpwCm ,

z71 -

3

23, L

TTCm ww

wpw

z72 -

3

23, L

TTCm ww

wpw

z77 3, LCm wpw

Page 36: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

21

2.1.4 Energy Method for the Condenser Modeling As seen in the last section, the governing PDE approach for condenser modeling results in a 7th order

dynamic model with modes being,

[ ]Twwwoutc TTThPLLx 32121 = (2.72)

Another approach for condenser modeling, based on explicit energy dissipation through the condenser

during the transients, also presented in [16] for gas cooler and evaporator modeling, is developed in this section. The

motivation for pursuing another approach can be explained by comparing with the similar practice in the field of

solid mechanics. For static and dynamic analysis of mechanical elements, two methods are followed [27]. The

method based on the first principles, where individual stress-strain analysis is carried out is similar to the PDE

approach for condenser modeling presented earlier. The second method where strain energy conservation is

followed for obtaining the same results with good engineering intuition is similar to the energy method, which we

will present in this section. In this method, the energy balance and the mass balance for the refrigerant and

condenser wall for any of the three regions can be expressed based on the conservation equations and are shown in

the Figure 2.6.

Figure 2.6 Description of the Energy Based Modeling Approach

This approach is more intuitive than the PDE approach because of the explicit use of energy and mass

balance and definition of the dynamic modes in terms of energy rather than lengths of different regions, as we will

see in the upcoming analysis.

2.1.4.1 Condenser Representation Using the Energy Approach In the energy based method, the refrigerant internal energy change is expressed in terms of inlet and outlet

enthalpies, wall energy loss and adiabatic work done by the refrigerant [16]. The work done by the refrigerant is due

to the volume change caused by the pressurized liquid when the lengths of the regions change.

inH outin

aww

woutin

mmm

EQQE

WQHHU

&&&

&&&&

&&&&&

−=−−=

−−−=

int

outH

wQ

W is the work done for volume change

aQ

intE

inm& outm&

3-region Condenser

Page 37: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

22

−−+−−

+−−

−+−−−+−−

−+−−

=

2int,33

2int,1int,22

1int,11

3332int,

2222int,1int,

1111int,

3

2

1

3

2

1

EQQEEQQ

EQQmm

VPVPQHHVPVPQHH

VPVPQHH

EEEmUUU

aw

aw

aw

oi

wout

w

win

w

w

w

c

&&&&&&&

&&&&&

&&&&&&&&&&

&&&&&

&&&&

&&&

(2.73)

The interface energy between the regions is based on the wall energy change due to change in the length of

regions and can be expressed as,

( )T

wwp

L

TLVCE 21

1int,

&& ρ

= , ( )

T

wwp

L

TLVCE 23

2int,

&& ρ

= (2.74)

In this expression, we have made an assumption that the temperatures at infinitesimally close distances

with respect to the interface are same and are equal to the condensing temperature. This buys an added simplicity by

reducing the number of elements in the differential equation for wall energy balance considerably. Also, the

assumption can be justified by the fact that the length of different regions won’t change by a very large amount

during transients.

The volume of the superheated flow region can be expressed as 11 LAV cs= and similarly for the other two

regions. Heat flow rate through the wall and from air to the heat exchanger for the three regions can also be simply

expressed by the explicit relation with specific heat and temperature gradient as shown for the superheated region,

( )111

11 wrT

iiw TTLL

AQ −= α& , ( )awT

ooa TTLL

AQ −= 11

1 α& (2.75)

Enthalpy gradient across the interface between different regions can also be expressed using its relation to

specific enthalpy and the mass flow rate as,

iiin hmH && = , ( ) gig hmmhmH 11int,1int, &&&& −== (2.76)

and,

ooout hmH && = , ( ) fof hmmhmH 32int,2int, &&&& −== (2.77)

Thus, all the terms on the right hand side of equation 2.73 can be expressed very simply using the energy

approach for the condenser modeling. The expressions are all very intuitive and don’t require differential fluid

dynamics or thermodynamic relations as used in the PDE approach. In the following work, the relations for system

states which include internal energy of the refrigerant, wall energy and refrigerant mass as the salient dynamics are

presented.

2.1.4.2 Derivation of the Refrigerant Internal Energy and Mass Equations The net internal energy of the refrigerant in the first region is expressed as,

1111 LAuU csρ= (2.78)

Page 38: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

23

Time derivative of this internal energy can be obtained as,

( )1111

111 LAuLA

tu

U cscs&& ρ

ρ+

∂∂

= (2.79)

Now, the internal energy and density in the superheated region are dependent on the pressure and the

average enthalpy, thus

( )

+==

2,, 1111111

gi hhPuhPuu ρρρ (2.80)

Thus Equation 2.79 can be expressed in terms of partial derivatives with respect to pressure and enthalpy

as,

( ) ( ) ( )1111

111

11111 5.05.0 LAuhLA

hu

PLAP

h

hu

pu

U csicsi

csg

g

&&&& ρρρρ

+

∂+

∂∂

+∂

∂= (2.81)

Similarly, the internal energy of the refrigerant in the second region is,

( )( ) 22 1 LAuuU csffgg γργρ −+= (2.82)

Since, the saturated fluid properties are solely dependent on the fluid pressure, the time derivative of the

fluid internal energy in the second region is represented as,

( ) ( ) ( ) ( )( ) 222 11 LAuuPLAP

u

P

uU csffggcs

ffgg &&& γργργρ

γρ

−++

∂+

∂= (2.83)

Progressing further to the third region, i.e. the superheated region,

3333 LAuU csρ= (2.84)

Similar to the superheated region, the refrigerant density and internal energy are dependent both on its

pressure as well as the average enthalpy. Thus, the time derivative of the fluid internal energy in subcooled region

can be expressed as,

( ) ( ) ( )3333

333

33333 5.05.0 LAuhLA

hu

PLAP

h

hu

pu

U csocso

csf

f

&&&& ρρρρ

+

∂+

∂∂

+∂

∂= (2.85)

As in the case of internal energy, the mass accumulation and the rate of mass accumulation in each region

can also be expressed as,

111 LAm csρ= (2.86)

( ) ( ) ( )111

11

111 5.05.0 LAhLA

hPLA

P

h

hpm csics

ics

g

g

&&&& ρρρρ

+

∂∂

+

∂∂

+∂

∂= (2.87)

For the second region,

( )( ) 22 1 LAm csfg γργρ −+= (2.88)

Page 39: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

24

and the time derivative solution follows the earlier approach for time derivative of the internal energy, resulting in,

( ) ( ) ( ) ( )( ) 222 11 LAPLAPP

m csfgcsfg &&& γργργ

ργ

ρ−++

∂+

∂= (2.89)

Similarly, for the third region, the mass accumulation and its time gradient are given by,

333 LAm csρ= (2.90)

and

( ) ( ) ( )333

33

333 5.05.0 LAhLA

hPLA

P

h

hpm csocs

ocs

f

f

&&&& ρρρρ

+

∂+

∂∂

+∂

∂= (2.91)

The expression for the time derivative of wall energy balance follows the representation introduced in the

PDE approach for system modeling as,

( ) 11

1 wT

wpw TLL

VCE ρ= , ( )

+= 1

11

11 w

Tw

Twpw T

LL

TLL

VCE &&

& ρ (2.92)

( ) 22

2 wT

wpw TLL

VCE ρ= , ( )

+= 2

22

22 w

Tw

Twpw T

LL

TLL

VCE &&

& ρ (2.93)

( ) 33

3 wT

wpw TLL

VCE ρ= , ( )

+= 3

33

33 w

Tw

Twpw T

LL

TLL

VCE &&

& ρ (2.94)

Further, since the length of the condenser is constant, the time derivative of subcooled region length can be

expressed in terms of the other two as,

( )213 LLL &&& +−= (2.95)

All these terms can be coupled together to obtain the system model in the other representation as,

( ) ( )

( ) ( ) ( )

( ) ( )

( ) ( ) ( )

( ) ( ) ( ) ( )

( ) ( ) ( )

+−−−

+−−−−

+−−−

−+−−−+

−+−−+−−

−+−−−−

=

T

wwpaw

toowr

tii

T

wwpaw

toowr

tii

T

wwpaw

toowr

tii

oi

cscswrt

iioofo

cscswrt

iifogi

cscswrt

iigiii

w

w

w

c

L

TLVCTT

LL

ATTLL

A

L

TLLVCTT

LL

ATTLL

A

L

TLVCTT

LL

ATTLL

A

mm

LPALAPTTLL

Ahmhmm

LPALAPTTLL

Ahmmhmm

LPALAPTTLL

Ahmmhm

EEEmUUU

233

333

33

2312

222

22

211

111

11

33333

33

22222

231

11111

11

3

2

1

3

2

1

&

&&

&&&

&&&&&

&&&&&&

&&&&&

&&&&

&&&

ραα

ραα

ραα

α

α

α

(2.96)

By taking some of the terms to the left hand side of this equation, it can be seen that the system

representation becomes exactly similar to that obtained from the PDE approach.

Page 40: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

25

( )

( ) ( )

( )

( ) ( )

( )

( ) ( )

( ) ( )

( ) ( )

( ) ( )

−−−

−−−

−−−

−−−

−−−

−−−

=

++

+−−+−−+

+−−

=

awt

oowrt

ii

awt

oowrt

ii

awt

oowrt

ii

oi

wrt

iiofo

wrt

iifogi

wrt

iigii

T

wwpw

T

wwpw

T

wwpw

c

cscsf

cscsfg

cscsg

w

w

w

c

TTLL

ATTLL

A

TTLL

ATTLL

A

TTLL

ATTLL

A

mm

TTLL

Ahhm

TTLL

Ahmhm

TTLL

Ahhm

L

TLVCE

L

TLLVCE

L

TLVCE

mLPALAPhmU

LPALAPhmhmULPALAPhmU

E

E

E

mU

U

U

33

333

3

22

222

2

11

111

1

333

3

222

2

111

1

233

2312

211

3333

22312

1111

3

2

1

3

2

1

~

~

~

~

~

~

αα

αα

αα

α

α

α

ρ

ρ

ρ&&

&

&&

&

&&

&&&

&&

&

&&&&&&&&&

&&&&

&

&

&&

&

&

&

(2.97)

Comparing this vector-matrix equation with Equation 2.71, it can be observed that the expressions in right

hand side match exactly, which implies that an equivalent dynamic representation with different dynamic modes can

be obtained for this system. In order to show that the representation on the left side is also equivalent, we may use

the expressions for 11, mU && etc. obtained above in the equations here. This will result in the second representation for

the condenser model, represented with the prime notation as,

( ) ( )uxfxuxz ′′′=′′′′ ,, & (2.98)

Here the modified states, or dynamic modes are [ ]Twwwc TTTmPLLx 32121 =′ . Thus, the new

representation has one dynamic mode replaced for another. Choice of mass accumulation in the condenser as a

dynamic mode is advantageous because of the added intuition obtained with it. Furthermore, refrigerant charge

balance and charge migration are studied with great interest by the research community. In this representation, the

refrigerant energy balance equation in the superheated region becomes,

( ) ( ) ( )

( ) ( ) ( ) ( ) ( )111

11111

111

11111111

11111

5.05.0

5.05.0

wrt

iigiigcsicsi

csg

g

cscscsicsi

csg

g

TTLL

AhhmhLAhLAh

PLAP

h

hp

LPALAPLAuhLAhu

PLAP

h

hu

pu

−−−=

+

∂+

∂∂

+∂

∂−

+−+

∂+

∂∂

+∂

αρρρρ

ρρρρ

&&&&

&&&&&

(2.99)

On algebraic manipulations and combination of terms, this simplifies to,

( ) ( ) ( ) ( ) ( )

( ) ( ) ( ) ( )111

11111

11111111111

5.05.0

15.05.0

wrt

iigiiicsgii

csgcsgg

g

g

g

TTLL

AhhmhLAhhh

u

LAhPuPLAhP

h

hpP

h

hu

pu

−−−=

∂−

∂∂

−++

∂∂

+∂

∂−

∂∂

+∂

αρρ

ρρρρρρ

&&

&&

(2.100)

Page 41: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

26

For the two phase flow region,

( ) ( ) ( ) ( )( )

( ) ( ) ( )

( ) ( ) ( ) ( )222

23333

333

1111

111

2222

5.05.0

5.05.0

11

wrt

iifcsocso

csf

f

fogigcsicsi

csg

g

cscscsffggcsffgg

TTLL

AhLAhLAh

PLAP

h

hp

hmhmhLAhLAh

PLAP

h

hp

LPALAPLAuuPLAP

u

P

u

−−=

+

∂+

∂∂

+∂

+−

+

∂+

∂∂

+∂

++−−++

∂+

αρρρρ

ρρρρ

γργργρ

γρ

&&&

&&&&&

&&&&

(2.101)

Or on simplification the equation results in the expression as,

( ) ( ) ( ) ( ) ( )

( )( )[ ] ( ) ( )

( ) ( ) ( ) ( )222

2131333

33

11

23

2111

2

5.0

5.05.01

5.01

wrt

iigicsfgcsff

f

ofcso

igcsi

csfffgg

focsgg

g

ffgg

TTLL

AhmLAhhPAhLP

h

hp

hhLAh

hhLAh

LAhPuu

hmPALhLP

h

hpL

P

u

P

u

−−=−+

∂∂

+∂

∂−

∂∂

−∂

∂+−+−++

+

∂∂

+∂

∂+

∂+

αρρρρ

ρρργργρ

ρργ

ργ

ρ

&&&

&&&

&&

(2.102)

Lastly, for the subcooled region, the energy balance equation on simplification is,

( ) ( ) ( ) ( ) ( ) ( )

( ) ( ) ( ) ( ) ( )333

33333

33

3333333333

5.05.0

15.05.0

wrt

iiofoocsfoo

csf

cscsff

f

f

f

TTLL

AhhmhLAhhh

uLAh

LAPuPLAhP

h

hpP

h

hu

pu

−−−=

∂−

∂∂

+−

++

∂∂

+∂

∂−

∂∂

+∂

αρρ

ρ

ρρρρρ

&&&

&&

(2.103)

Now, mass balance in the entire condenser can be represented by comparing the mass accumulation in the

condenser with the difference between incoming and outgoing mass flow rate through it. The individual mass

accumulation of the three regions is obtained by the expressions derived above.

( ) ( ) ( ) ( ) ( ) ( )

( )( ) ( ) ( ) ( )

oicscs

ocso

csf

fcsfg

csfg

icsi

csg

g

mmLALA

hLAh

PLAP

h

hpLA

PLAPP

hLAh

PLAP

h

hp

&&&&

&&&

&&&

−=++

∂+

∂∂

+∂

∂+−++

∂+

∂+

∂+

∂∂

+∂

5.05.01

15.05.0

3311

33

333

2

211

111

ρρ

ρρργργρ

γρ

γρρρρ

(2.104)

This can be simplified to,

( ) ( ) ( ) ( ) ( ) ( ) ( )

( ) ( ) ( ) ( )( ) oicsfgcsocso

icsi

csf

f

fgg

g

mmLALAhLAh

hLAh

PALP

h

hpL

PPL

P

h

hp

&&&&&&

&

−=−−++−+

∂+

∂+

∂∂

+∂

∂+

∂+

∂+

∂∂

+∂

2313133

11

333

2111

15.05.0

5.015.0

ργργρρρρρ

ρργ

ργ

ρρρ

(2.105)

Page 42: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

27

Now, using the expressions for wall energies are obtained as,

( ) ( ) ( ) ( )awt

oowrt

iiT

wwpw

Tw

Twp TT

LL

ATTLL

AL

TLVCT

LL

TLL

VC −−−=−

+ 1

111

11

211

11

1 ααρ

ρ&

&&

(2.106)

( ) ( ) ( ) ( ) ( )awt

oowrt

iiT

wwpw

Tw

Twp TT

LL

ATTLL

AL

TLLVCT

LL

TLL

VC −−−=+

+

+ 2

222

22

2312

22

2 ααρ

ρ&&

&&

(2.107)

( ) ( )( ) ( )aw

toowr

tii

T

wwpw

Tw

Twp TT

LL

ATTLL

AL

TLVCT

LL

TLL

VC −−−=−

+ 3

333

33

233

33

3 ααρ

ρ&

&&

(2.108)

Thus, the new representation and the previously obtained PDE representation are,

( ) ( ) ( )

( )

( ) ( )

( ) ( )( ) ( )( ) ( )

−+−−+−−+−

∂∂

−−

−+−

∂∂

−−+−

+−

∂∂

−−+−

=

′′′′

′′′′′′′′′′′

′′

3333

2222

1111

11

1

333

3

11

122

22

1111

111

11

3

2

1

2

1

777271

66

5551

44

34333231

24232221

1311

21

21

21

21

00000000000000000000000000000000

waoowrii

waoowrii

waoowrii

ioi

rwtotal

iiofo

igrwtotal

iifogi

igrwtotal

iigii

w

w

w

TTATTATTATTATTATTA

hALh

mm

TTLL

Ahhm

hALhh

TTLL

Ahmhm

hALhhh

TTLL

Ahhm

TTTmPLL

zzzz

zzzzzzzzzzz

zz

αααααα

ρ

α

ρα

ρρ

α

&&&

&

&&&

&&

&&&&

&&&

(2.109)

and

( ) ( ) ( )

( )

( ) ( )

( ) ( )( ) ( )( ) ( )

−+−−+−−+−

∂∂

−−

−+−

∂∂

−−+−

+−

∂∂

−−+−

=

3333

2222

1111

11

1

333

3

11

122

22

1111

111

11

3

2

1

2

1

777271

66

5551

44434241

34333231

24232221

1311

21

21

21

21

00000000000000000000000000000

waoowrii

waoowrii

waoowrii

ioi

rwtotal

iiofo

igrwtotal

iifogi

igrwtotal

iigii

w

w

w

o

TTATTATTATTATTATTA

hALh

mm

TTLL

Ahhm

hALhh

TTLL

Ahmhm

hALhhh

TTLL

Ahhm

TTThPLL

zzzz

zzzzzzzzzzzzzz

zz

αααααα

ρ

α

ρα

ρρ

α

&&&

&

&&&

&&

&&&

&&&&

(2.109)

In order to derive the equivalence between the two representation, in other words to identify the similarity

transformation [16] that converts one representation to the other, the left side of each representation can be

compared term by term such that the equivalence of the right sides is maintained.

Since the fourth equation in the x′ representation is trivial because of the choice of mass in the condenser

as a dynamic mode, we can obtain,

144 =′z (2.110)

On comparison with equation 2.71, the mass accumulation in the condenser is,

ohzPzLzLzmz &&&&& 444324214144 +++=′ (2.111)

Page 43: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

28

Comparing equation for refrigerant energy balance in the three regions and using equation 2.111, we can

get,

mzPzLzLzhzPzLzLz o &&&&&&&&34332321313433232131 ′+′+′+′=+++ (2.112)

( )oo hzPzLzLzzz

PzLzLzhzPzLzLz &&&&&&&&&&&4443242141

44

34332321313433232131 +++

′′

+′+′+′=+++ (2.113)

( )oo hzPzLzLzzz

PzLzLzhzPzLzLz &&&&&&&&&&&4443242141

44

24232221212423222121 +++

′′

+′+′+′=+++ (2.114)

This leads us to the transformation relation between the two representations as,

Table 2.2 Transformation Relations between the PDE and the Energy Approach

11Z ′ 11Z

13Z ′ 13Z

44Z ′ 1

21Z ′

44

244121 Z

ZZZ

′−

22Z ′

44

244222 Z

ZZZ

′−

23Z ′

44

244323 Z

ZZZ

′−

24Z ′

44

4424 Z

ZZ

31Z ′

44

344131 Z

ZZZ

′−

32Z ′

44

344232 Z

ZZZ

′−

33Z ′

44

344333 Z

ZZZ

′−

34Z ′

44

4434 Z

ZZ

51Z ′ 51Z

55Z ′ 55Z

66Z ′ 66Z

71Z ′ 71Z

72Z ′ 72Z

77Z ′ 77Z

Page 44: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

29

The equivalence can also be observed from Figure 2.7, where the different modes which can form a

meaningful system representation are together shown in one color.

Figure 2.7 Two Equivalent System Representations

2.1.4.3 Another Representation Based on Energy Approach A third model representation can also be written for the condenser based on the original derivation of the

energy approach. The state space representation is given as,

( ) ( )uxfxuxz ′′′′′′=′′′′′′′′ ,, & (2.115)

=′′ 321321

~~~~~~www EEEmUUUx &&&&&&&& (2.116)

such that,

( ) ( )

( )

( ) ( )

( ) ( )

( ) ( )

( ) ( )

−−−

−−−

−−−

−−−

−−−

−−−

=

awt

oowrt

ii

awt

oowrt

ii

awt

oowrt

ii

outin

wrt

iiofo

wrt

iifogi

wrt

iigii

w

w

w

c

TTLL

ATTLL

A

TTLL

ATTLL

A

TTLL

ATTLL

A

mm

TTLL

Ahhm

TTLL

Ahmhm

TTLL

Ahhm

E

E

E

mU

U

U

33

333

3

22

222

2

11

111

1

333

3

222

2

111

1

3

2

1

3

2

1

~

~

~

~

~

~

αα

αα

αα

α

α

α

&&

&

&&

&

&

&

&&

&

&

&

(2.117)

This representation shows promise as the easiest expression for model analysis and simulation of the

condenser model. Furthermore, it can be used to analyze the energy distribution in the condenser during transient

responses explicitly.

2.1.4.4 Comparison of Different Model Representations In this section and the one before this, three model representations for dynamic characteristics of a vapor

compression cycle condenser are presented. The three approaches are also shown to be similarity transformations

however the respective complexity of model derivation is different for each of them. Thus, one approach can be

used to develop a model and all the states can be obtained with the transformation. The energy approach is

particularly appealing because of simple and intuitive procedure.

Pressure and Enthalpy

Length Space

(L1 , L2)

Temperature Space

(Tw1 , Tw2 and Tw3)

Pressure and Mass

Page 45: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

30

2.2 Condenser with High Side Receiver A 7th order model for a subcritical system condenser is presented in the earlier section with dynamic modes

being length of the two condensation zones L1 and L2, refrigerant pressure Pc , refrigerant mass flow rate m& , and the

wall temperatures in the three zones, Tw1, Tw2 and Tw3 respectively.

[ ]Twwwcc TTTmPLLx 3212 1 &= (2.118)

The work presented below describes a methodology for dynamic modeling of a condenser with high side

receiver. It is worth mentioning here that the receivers are effective to enhance the system efficiency and are

commonly used in commercial as well as domestic applications of subcritical vapor compression cycles.

2.2.1 Modeling Challenges The primary challenge in modeling of condenser with receiver is that during transients [22], the system

may have subcooling at the condenser outlet at certain instants, and may not in other as shown in Figure 2.8.

If the condenser has two phase flow at its outlet, there are only two different zones in the condenser, which

results in shrinking the number of dynamic modes to six. On the other hand, suppose the outlet state at some instant

is subcooled, then we need to consider a 7th order model.

Figure 2.8 Different Possible Regions in a Condenser (Source [16])

For a properly designed system, it can be assumed that the receiver volume is large enough to contain such

transients of the system. Although the incoming fluid condition may temporarily be subcooled or saturated, the

outlet from the receiver is always saturated liquid, as shown in the figure below.

2.2.2 Modeling Methodology The theory for the effect of receiver [22] on the system response can be explained as follows. At

equilibrium, mass and energy balance for the receiver requires saturated liquid at the condenser outlet.

Two-PhaseSuperheat

L1(t) L2(t)

LTotal

ininhm&)(thm outout&

xout(t) > 0P(t)

Twall,1(t) Twall,2(t)

x = 1

Two-PhaseSuperheat

L1(t) L2(t)

LTotal

L1(t) L2(t)

LTotal

ininhm&)(thm outout&

xout(t) > 0)(thm outout&

xout(t) > 0P(t)

Twall,1(t) Twall,2(t)

x = 1

Two-PhaseSuperheat

)(thm outout&ininhm& P(t)

Twall,2(t) Twall,3(t)x = 1

Subcool

Twall,1(t)x = 0

L2(t) L3(t)

LTotal

L1(t)

Two-PhaseSuperheat

)(thm outout& )(thm outout&ininhm& ininhm& P(t)

Twall,2(t) Twall,3(t)x = 1

Subcool

Twall,1(t)x = 0

L2(t) L3(t)

LTotal

L1(t)

xout(t)>=0 xout(t)<0

Page 46: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

31

Figure 2.9 Description of the Effect of a Receiver

Assume that, suddenly a very dominant disturbance acts on the system which results in creating a small

subcooled liquid section at the condenser outlet. This can happen if the air flow rate over the condenser is suddenly

increased to a very high value, thus resulting in more heat transfer and hence a small region of subcooled flow can

occur. Now, because of this subcooled liquid zone, cold fluid will enter the receiver and mix with the two phase

fluid in the receiver. This will bring the temperature and pressure of the receiver-condenser system down until

another equilibrium condition is reached with two phase flow at the condenser outlet.

2.2.3 Dynamic Model of a Condenser with High Side Receiver To obtain the dynamic model of a condenser with a receiver, the PDE approach will be followed here. The

condenser in this case has two regions, one superheated and the second saturated flow region with outlet enthalpy

more than the saturated liquid enthalpy thus allowing some amount of heat transfer through the receiver. In case, the

receiver is fully insulated the equilibrium condition will have saturated liquid condition at the condenser outlet and

the receiver will just act as a buffer for the refrigerant. The modeling equations for this system can be expressed

based on the equations obtained in the derivation of a condenser without receiver in Section 2.1.

Saturated liquid

Two phase flow

Superheat Two Phase Subcool

Cold fluid mixes with saturated fluid and pressure decreases, which reduces the saturated liquid enthalpy and subcooled region is eventually lost.

gV

gV

fV

fV

Saturated liquid

Superheat Two Phase

Condition 1: Outlet from the condenser is two phase

Condition 2: Outlet from the condenser is subcooled

Saturated liquid

Two phase flow

Superheat Two Phase Subcool

Cold fluid mixes with saturated fluid and pressure decreases, which reduces the saturated liquid enthalpy and subcooled region is eventually lost.

gV

gV

fV

fV

Saturated liquid

Superheat Two Phase

Condition 1: Outlet from the condenser is two phase

Condition 2: Outlet from the condenser is subcooled

Page 47: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

32

Figure 2.10 Two Region Condenser and a Receiver

2.2.3.1 Refrigerant Mass and Energy Conservation in the Superheated Region The mass and energy conservation equations in the superheated region follow directly from the equations

derived in the development of a condenser model with three regions. Those equations are rewritten here as follows.

( ) 021

21

1int1111

11

1

11 =−+−+

∂∂

+

∂∂

+∂∂

igig mmLAhAL

hPAL

P

h

hP&&&&& ρρ

ρρρ (2.119)

( )

( )111

11int

1111111

1111

1

11

21

21

121

21

rwtotal

iiiig

ggigg

TTLL

Ahmhm

LAhhhALhh

PALdP

dhh

dP

dh

hP

−=−+

−+

+

∂∂

+

−+

∂∂

+∂∂

α

ρρρρ

ρρρ

&&

&&&

(2.120)

2.2.3.2 Refrigerant Mass and Energy Conservation in the Two Phase Region Similarly, the energy and mass balance equations for the refrigerant in the two phase region can be

expressed similar to the way as presented earlier, with a difference that in case of a realistic system with receiver,

the fluid quality at the end of two phase zone in the condenser can be greater than zero too. The equations are

obtained by integrating the differential energy and mass conservation equations and are presented here as,

( ) ( ) ( ) ( ) 01 1int2int1222 =−+

−+−+

+−+− mmLLLP

dP

d

dP

dLA fgfg

gffg &&&&&& ρργρργ

ργ

ργρρ (2.121)

( ) ( ) ( )[ ]( ) ( ) ( ) ( ) ( )22

221int2

2int2int2221

1

rwtotal

iigggff

ffggffggffgg

TTLL

AhmPALdP

hd

dP

hd

hmPALLhhLhhLhhA

=−

+−+

+−−+−+−

αγρ

γρ

γρργρρρρ

&&

&&&&&

(2.122)

Further, since the condenser with receiver has only two different fluid flow regions, condenser length

conservation equation results in,

( )021 =

+dt

LLd, or 21 LL && −= (2.123)

Two-PhaseSuperheat

L1(t) L2(t)

LTotal

ininhm&)(thm outout&

xout(t) > 0P(t)

Twall,1(t) Twall,2(t)

x = 1

Two-PhaseSuperheat

L1(t) L2(t)

LTotal

L1(t) L2(t)

LTotal

ininhm&)(thm outout&

xout(t) > 0)(thm outout&

xout(t) > 0P(t)

Twall,1(t) Twall,2(t)

x = 1

Saturated Vapor

Saturated Liquid

xout = 0

Page 48: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

33

Thus the conservation equations reduce to,

( )( ) ( ) ( ) 011 1int2int221 =−+

−+

+−+−− mmLLP

dP

d

dP

dLA fg

gffg &&&&& γρργ

ργ

ργρρ (2.124)

( )( ) ( )[ ] ( )( ) ( ) ( ) ( ) ( )22

221int2

2int2int221

11

1

rwtotal

iigggff

ffggffggffgg

TTLL

AhmPLdP

hd

dP

hd

hmLAhhLhhLhhA

=−

−+−+

+−+−+−−

αγρ

γρ

γρργρργρρ

&&

&&&&

(2.125)

2.2.3.3 Pipe Wall Energy Conservation The heat exchanger tube wall energy transfer in the two regions remains the same as obtained in the case of

condenser without receiver and can be directly obtained from the Section 2.1.3.7.

[ ] ( ) ( )( ) 111111

121

1, LTTATTAdt

dLTT

dtdT

LCm waoowriiwww

wpw −+−=

−− αα (2.126)

( ) ( )( ) 222222

2, LTTATTAdt

dTLCm waoowrii

wwpw −+−=

αα (2.127)

It should be noted here that the equations for wall energy balance are exactly similar as those on case of the

three region condenser, because the external fluid is still considered single phase and with the same characteristics

as in the previous case.

2.2.3.4 Refrigerant Mass Conservation in the Receiver

Figure 2.11 Heat and Mass Transfer Through the Receiver

A model for the receiver can be obtained separately from the condenser and the two can later be integrated

together. In this study, the real receiver is modeled for which the provision of heat transfer to and from the outside

environment is allowed. The ideal receiver can be considered as a special case of this when there is no such heat

Saturated Vapor

Vg , mg , ug

Saturated Liquid Vf , mf, uf

Vrec

mrec urec

2int2int , hm&

fo hm ,&

Tamb

Trec

UArec

Page 49: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

34

transfer. Mass accumulation in the receiver depends on the mass inflow and outflow rates and can be expressed in

two ways as,

orec mmm &&& −= 2int (2.128)

fgrec mmm &&& += (2.129)

The individual vapor and liquid refrigerant masses in the receiver depend on the saturation condition in the

receiver [3] as,

ggg Vm ρ= , fff Vm ρ= (2.130)

On substituting this expression in the equation for net mass accumulation in the receiver, we can obtain,

( )dt

VVdm ffgg

rec

ρρ +=& (2.131)

Simplifying,

ffffggggrec VVVVm &&&&& ρρρρ +++= (2.132)

Also,

recfg VVV =+ (2.133)

( ) ( ) gfgffggrec VVVm &&&& ρρρρ −++= (2.134)

Solving for change in gas volume with respect to time, we obtain

( )fg

ff

gg

rec

g

PVP

VP

m

Vρρ

ρρ

∂+

∂−

=

&&& (2.135)

2.2.3.5 Refrigerant Energy Conservation in the Receiver The source of energy for the receiver is the inflowing refrigerant from the condenser and the energy is lost

by mass outflow to the expansion valve at the downstream and to the atmosphere through heat transfer [3]. The

value of the overall heat transfer coefficient for the receiver-atmosphere interface dictates the amount of heat loss to

the atmosphere, which in turn results in controlling the refrigerant condition at the condenser outlet. This also

constitutes the main advantage of having a receiver in the air conditioning system. With a properly designed system,

the receiver can operate between the conditions of full flooding and full drying, thus resulting in providing the

system with a physical dead zone of efficient operation dependent on receiver volume and initial charge in it.

Systems with receiver are designed on the basis of the knowledge that a very large receiver will be able to contain

all the system transients, thus keeping the unit within the realm of efficient operation for all conditions and realistic

disturbances. With this knowledge, we will study the refrigerant energy conservation through the receiver.

( ) ( )ambrecrecoorecrec TTUAhmhm

dtumd

−−−= && 2int2int (2.136)

Outlet condition from the receiver is saturated liquid, thus

fo hh = (2.137)

Page 50: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

35

Also, the refrigerant internal energy in the receiver can be expressed as the sum of the internal energy of

the gas and the liquid phases as,

ffggrecrec umumum += (2.138)

Substituting this expression in the conservation of energy equation we get,

( ) ( )ambrecrecfofffggg TTUAhmhm

dt

uVuVd−−−=

+&& 2int2int

ρρ (2.139)

Simplification and algebraic manipulations result in,

( )ambrecrecfofffffffffggggggggg TTUAhmhmuVuVuVuVuVuV −−−=+++++ &&&&&&&& 2int2intρρρρρρ

(2.140)

Using Equation 2.135 and the knowledge that the time derivative of the saturation properties can be

expressed with their dependence on the pressure, the conservation of energy equation can be simplified to,

( ) ( )

( )ambrecrecfo

fg

ff

gg

rec

ffggf

fffffg

ggggg

TTUAhmhm

PVP

VP

m

uuP

uVuV

PP

uVuV

P

−−−=

∂+

∂−

−+

∂+

∂+

∂+

&&

&&

2int2int

ρρ

ρρ

ρρρρ

ρρ

(2.141)

2.2.3.6 Algebraic Combination of Equations The various equations available for formulating a model for condenser with receiver are first presented here

again for the sake of clarity and ease of algebraic operation and understanding.

( ) 021

21

1int1111

11

1

11 =−+−+

∂∂

+

∂∂

+∂∂

igig mmLAhAL

hPAL

P

h

hP&&&&& ρρ

ρρρ (2.142)

( )

( )111

11int

1111111

1111

1

11

21

21

121

21

rwtotal

iiiig

ggigg

TTLL

Ahmhm

LAhhhALhh

PALdP

dhh

dP

dh

hP

−=−+

−+

+

∂∂

+

−+

∂∂

+∂∂

α

ρρρρ

ρρρ

&&

&&&

(2.143)

( )( ) ( ) ( ) 011 1int2int221 =−+

−+

+−+−− mmLLP

dP

d

dP

dLA fg

gffg &&&&& γρργ

ργ

ργρρ (2.144)

( )( ) ( ) ( ) ( ) ( ) ( )

( ) ( )222

21int2int2int2

221

111

rwtotal

iigffgg

ggffffggffgg

TTLL

AhmhmLhhA

PLdP

hd

dP

hdLhhLhhA

=−+−+

−+−+−+−−

αγρρ

γρ

γρ

γρργρρ

&&&

&&&

(2.145)

[ ] ( ) ( )( ) 111111

121

1, LTTATTAdt

dLTT

dtdT

LCm waoowriiwww

wpw −+−=

−− αα (2.146)

( ) ( )( ) 222222

2, LTTATTAdt

dTLCm waoowrii

wwpw −+−=

αα (2.147)

Page 51: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

36

( )( )

( ) ( ) ( )ambrecrecfofg

recffgg

fg

ffggf

fg

gfffff

fggggg

g

TTUAhmhmm

uu

Puu

VP

VPP

uVuV

PP

uVuV

P

−−−=

−−+

∂+

∂−

∂+

∂+

∂+

&&&

&

2int2int ρρ

ρρ

ρρ

ρρρρρ

ρρ

ρ

(2.148)

The Equations 2.142 to 2.148 can be simplified and combined together to form the complete model of a

condenser with receiver system by solving for the value of interface mass from the mass conservation equations and

substituting for them in the other equations.

( )

−+

∂∂

+

∂∂

+∂∂

−= 1111

11

1

111int 2

121

LAhALh

PALP

h

hPmm gi

gi

&&&&& ρρρρρ

(2.149)

orec mmm &&& +=2int (2.150)

( )

( ) ( )111

1111

1111

11

1

11

1111

1111

1

11

21

21

21

21

121

21

rwtotal

iiiigg

ggig

i

igg

TTLL

AhmLAhh

hLAhALh

PALP

h

hPm

hALhh

PALdP

dhh

dP

dh

hP

−=−−+

−+

∂∂

+

∂∂

+∂∂

−+

+

∂∂

+

−+

∂∂

+∂∂

αρρ

ρρρρρ

ρρ

ρρρ

&&

&&&&

&&

(2.151)

Combining similar terms this equation simplifies to,

( ) ( ) ( )

( ) ( )111

11111

1

11111111

11

21

21

121

21

rwtotal

iiig

giigg

gg

TTLL

AhALhhh

hhmLAhhPALdP

dhhh

dP

dh

hP

−+

+−

∂∂

−=−+

−+−

∂∂

+∂∂

αρρ

ρρρρρ

&

&&&

(2.152)

Now consider Equation 2.144,

( )( ) ( ) ( ) 011 1int2int221 =−+

−+

+−+−− mmLLP

dP

d

dP

dLA fg

gffg &&&&& γρργ

ργ

ργρρ (2.153)

( )( ) ( ) ( ) ( )

( ) 021

21

11

1111

11

1

11

221

=

−+

∂∂

+

∂∂

+∂∂

−++

−+

+−+−−

LAhALh

PALP

h

hPm

mmLLPdP

d

dP

dLA

gig

i

oreefggf

fg

&&&&

&&&&&

ρρρρρ

γρργρ

γρ

γρρ

(2.154)

This can also be simplified to,

( )( ) ( ) ( )

( ) ioifg

reeggf

gf

hALh

mmL

mLPP

h

hPLP

dP

d

dP

dLA

&&&&

&&&&

11

12

11

11211

21

21

11

∂∂

−−=−+

+

∂∂

+∂∂

+

+−+−−−

ργρρ

ρργ

ργ

ργργρρ

(2.155)

Page 52: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

37

Substituting the values of the first interface mass from 2.142 in Equation 2.145,

( )( ) ( ) ( )( ) ( )( )

( )( ) ( ) ( )

( ) ( )222

22

2int2212int2int

221

11

111

rwtotal

iiffgg

gfggf

fg

ggffffggffgg

TTLL

ALhhA

hmLLPdP

d

dP

dLAhm

PLdP

hd

dP

hdLhhLhhA

=−+

+

−+

+−+−−−+

−+−+−+−−

αγρρ

γρργρ

γρ

γρρ

γρ

γρ

γρργρρ

&

&&&&&

&&&

(2.156)

Combining the terms, we can obtain,

( )( ) ( )( ) ( )( ) ( )

( ) ( ) ( ) ( )222

22int2int2

21

1111

rwtotal

iigogrecffgf

ggfggff

ffgf

TTLL

AhhmhhmLhhA

PLhdP

d

dP

d

dP

hd

dP

hdLhhA

+−=−−−+

+−−+−+−−

αγρρ

γρ

γρ

γρ

γρ

γρρ

&&&

&&

(2.157)

2.2.3.7 Two Phase Region Mean Void Fraction The Equations 2.146 -2.157, can now be arranged together in a vector-matrix form. In the condenser model

without receiver, it was assumed that the mean void fraction is invariant w.r.t. time. On following the same

assumption in this case, we will be restricting the fluid level in the receiver on the basis of the value of time

invariant mean void fraction in the system. This is not possible because depending on the inputs and the disturbances

the mass and energy accumulation in the receiver change and that can be reflected only by a corresponding change

in the value of the mean void fraction in the two phase flow region. Another explanation for the use of a time variant

mean void fraction lies in the fact that the mass in two phase region is governed by the mean void fraction. Now, a

receiver can also be considered as a two phase flow region and for its accumulated mass to be time dependent the

mean void fraction should also be time variant. The work on variable mean void fraction was done by [29] and

according to that study, the time derivative of the mean void fraction in any region is given by,

exitoentrancei hghgPf &&&& −+=γ (2.158)

Thus, it can be expressed as a relation of time derivative of pressure and the inlet and outlet enthalpies in

the two phase flow region considered. The terms oi ggf and , are dependent on fluid properties are presented in

detail in [29]. In case of the condenser with receiver, this expression can be written as,

2int

2int

hgPP

hgf

hghgPf

og

i

ogi

&&

&&&&

∂+=

−+=γ

(2.159)

This term can be substituted in the model equations for the time derivative of the mean void fraction and

used hereafter in the model generation and simulation.

2.2.3.8 State Space Representation of the Condenser with Receiver Model On combining all the equations and substituting the expression for time variant mean void fraction, a sixth

order model for the condenser with receiver is given as,

[ ]212int1 wwrec TTmhPLx &&&&&&& = (2.160)

Page 53: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

38

( ) ( ) ( )

( ) ( )

( )( ) ( )( ) ( )

−+−−+−−−−

∂∂

−−

+−

−+

+−

∂∂

−−

=

2222

1111

2int

11

1

222

22int

111

11111

1

2

1

2int

1

66

5551

4442

34333231

24232221

1211

21

21

21

000000000000000000000

waoowrii

waoowrii

ambrecrecfoo

ioi

rwtotal

iigo

rwtotal

iiiggii

w

w

rec

TTATTATTATTATTUAhmhm

hALh

mm

TTLL

Ahhm

TTLL

AhALhhh

hhm

TTmh

PL

zzz

zzzzzzzzzz

zz

αααα

ρ

α

αρρ

&&

&&&

&

&&

&&&

&&&

(2.161)

Table 2.3 Elements of the Nonlinear Condenser with Receiver Model

z11 ( )Ahh g111 ρρ −

z13 ( ) 111

1

11 121

21

ALdP

dhhh

dP

dh

hPg

gg

−+−

∂∂

+∂∂

ρρρ

z21 ( )( )Ahh ffgf γρρ −− 1

z22 ( ) ( ) ( ) ( ) ( )

( ) 2

2111

ALhhgdP

dhf

ALhdP

d

dP

d

dP

hd

dP

hd

ffgfig

ggfggff

ρρ

γρ

γρ

γρ

γρ

++

+−−+−

z23 ( ) offgf gALhh 2ρρ −−

z24 ghh −2int

z31 ( )( )Agf γργρρ −−− 11

z32 ( ) ( ) 21

1

112 2

11 ALg

dP

dhfAL

P

h

hPAL

dP

d

dP

dfgi

gggf ρρρρ

γρ

γρ

++

∂∂

+∂∂

+

+−

z33 ( ) ofg gAL2ρρ −

z34 1 z42 ( )

( )

∂+

∂−

∂+

∂+

∂+

fg

ffggf

fg

gfffff

fggggg

g uuV

PV

PP

uVuV

PP

uVuV

P ρρ

ρρρρρ

ρρ

ρ

z44

2inthuu

fg

ffgg −

ρρ

ρρ

z51 ( )1

21,

L

TTCm wwwpw −

z55 wpwCm ,

z66 wpwCm ,

Page 54: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

39

This 6th order model is capable to predict the behavior of a condenser with receiver in case the condenser

has two regions of different flow conditions. However, during the presence of disturbances or feedback control, for a

short time interval, a subcooled flow region in the condenser can emerge too. In that case, the three region condenser

can be represented by the 7th order model developed in the earlier section. However, as cold fluid enters the receiver,

the pressure in the condenser receiver system drops, which reduces the saturated liquid enthalpy and the subcooled

region is eventually lost. Thus, this can result in a hybrid model for the system which switches between 6th and 7th

orders. Designing a model based controller for such a model is non-trivial and hence an easier approach is pursued

in this case, where a compensation for switching is done by change in a physical parameter resulting in an

equivalent effect on the system.

2.2.3.9 Heat Transfer Coefficient Compensation for Subcooling The physical understanding of the system tells us that subcooling affects the system only by changing the

refrigerant heat transfer coefficient in the condenser. Thus, we can see that when there are two zones in the

condenser the heat transfer coefficient has some value and with three zones, the value is different. Now again, with

the underlying assumption that for an ideally designed system, the subcooled zone is much smaller than the total

length of condenser, we can use a two zone model and keep monitoring the outlet enthalpy of the condenser.

Whenever, the enthalpy ( outh ) drops close to saturated liquid enthalpy ( fh ) or below, we consider that the heat

transfer coefficient of the lumped two phase and subcooled zone changes as given by,

subph

subsubphph

LL

LL

+

+=

,2

,2,2 ααα (2.162)

Thus instead of adding a dynamic mode because of the third length, we are assuming a compensatory effect

due to change in equivalent heat transfer coefficient. This can be justified from a separate study conducted under

ACRC Project #123 [6] and published in ACRC TR-204 [16], wherein it was established that the most dominant

dynamic modes for a vapor compression cycle are refrigerant mass and the wall temperatures. Thus, in case of

instantaneous subcooling, the dynamic terms in the refrigerant energy and mass balance in the subcooled zone can

be neglected and an algebraic steady state energy balance can be used for calculation of length of subcooled zone.

Also, for the small time interval when subcool remains in the system, it can be assumed that the difference between

the wall temperature and the refrigerant temperature is same in the subcooled zone as in the two phase zone. With

this knowledge, we can develop an algorithm for an appropriate modeling of a condenser with receiver.

2.2.3.10 Algorithm Using the set of dynamic equations (5), all the dynamic modes of the system including 2inth are obtained.

The algorithm is based on the idea of monitoring the outlet enthalpy 2inth . Thus, if fhh <2int , the condenser exit is

subcooled. Hence, we can use the steady state energy balance equation in the subcooled zone to get the value of L3 .

( )( ) ( )2int33 hhmTTdL foutwr −=− &πα (2.163)

Using this value of L3, equivalent heat transfer coefficient is given by,

32

3322

LLLL

eq ++

=αα

α (2.164)

Page 55: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

40

Figure 2.12 Two Different Flow Conditions at Condenser Outlet

An important point to be noted here is that since the refrigerant in subcooled region is liquid and hence

incompressible, we can assume that the mass accumulation in the subcooled region is zero. This is important

because refrigerant charge balance is the most dominant dynamic of vapor compression systems [16]. With this

method for the dynamic compensation for switching behavior, a model capable to predict the response of a

condenser with receiver to different disturbances and inputs can be obtained and used for analysis and controller

design. Simulations and model validation of the receiver system will be presented in chapter 4. In the same manner,

a dynamic model for a system with low side accumulator can be obtained and is presented in the next section.

2.3 Evaporator with Accumulator Dynamic modeling of an evaporator with accumulator also faces similar challenges as those for the

condenser with receiver described in the last section. A 5th order dynamic model of an evaporator was presented in

[16] with the dynamic modes being, length of the two phase region, evaporator pressure, refrigerant outlet enthalpy

and the wall temperatures in the two regions.

Figure 2.13 Description of the Effect of an Accumulator

Superheated Vapor

Two phase fluid Subcooled fluid

22 , Lα 33 , Lα

fout hh ≥

Superheated Vapor

Two phase fluid

22 , Lα

fout hh <

fhh >2int

fhh <2int

Saturated Vapor

Two phase region Saturated Vapor

gV

Saturated Liquid

fV

Two phase region

Superheated

region Saturated Vapor

gV

Saturated Liquid

fV

Case 1

Case 2

Saturated Vapor

Page 56: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

41

The modeling methodology for the accumulator follows the same approach as that for the condenser with

receiver. For a properly designed system, the outlet from the receiver will always be saturated vapor. This happens

because of the thermal equilibrium of saturated vapor and liquid refrigerant in the accumulator volume. In case 1 in

Figure 2.13, refrigerant in two phase condition enters the accumulator and exits as saturated vapor. In case 2, when

due to sudden disturbance, there is a small superheated vapor region in the evaporator hot fluid enters the

accumulator, thus increasing the refrigerant pressure. Due to increase in pressure, the saturated vapor enthalpy also

increases till the time it reaches the same value as the refrigerant enthalpy at the evaporator outlet and the system

reverts back to the condition where evaporator doesn’t have any superheated region.

2.3.1 Dynamic Model of an Evaporator with Accumulator To obtain the dynamic model of an evaporator with accumulator, the PDE approach will be followed here.

The evaporator in this case has a single region of two phase fluid, thus allowing some amount of heat transfer

through the accumulator, which will be considered in the final model also, similar to the receiver model. The

derivation of the energy and mass balance equations for the evaporator in the two phase region is done in the same

manner as in [16] and hence here only the final equations are presented.

Figure 2.14 Single Region Evaporator and an Accumulator (Source [16])

2.3.1.1 Refrigerant Mass Conservation in the Two Phase Region The net mass accumulation rate in the two phase region is equated to the difference between the incoming

and the outgoing mass flow rates. The equation can be expressed as,

( ) ( ) ( ) 01 int =−+−+

+− itotalfgtotal

gf mmALPALdP

d

dP

d&&&& γρργ

ργ

ρ (2.165)

2.3.1.2 Refrigerant Energy Conservation in the Two Phase Region The sum of the energy gained due to incoming refrigerant flow and that due to the heat transfer through the

evaporator wall is equated to the energy lost due to the refrigerant mass exiting the evaporator. This can be

expressed as,

( ) ( ) ( ) ( ) ( )rwiiiitotalffggtotalggff TTAhmhmALhhPAL

dP

hd

dP

hd−=−+−+

−+− 1intint11 αγρργ

ργ

ρ&&&&

(2.166)

Two-Phase

LTotal

ininhm&xin > 0

P(t)

Twall(t)

)(thm outout&xout(t) < 1

Two-Phase

LTotalLTotal

ininhm&xin > 0

ininhm&xin > 0

P(t)

Twall(t)

)(thm outout&xout(t) < 1

)(thm outout&xout(t) < 1xout(t)<=1 Saturated

Vapor

Saturated Liquid

xout=1

Page 57: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

42

2.3.1.3 Refrigerant Mass Conservation in the Accumulator Following the method for mass and energy balance in the high side receiver presented in the last section,

the mass accumulation rate in the accumulator can be related to the change in saturated vapor volume in it. The

result can be expressed as,

( ) ( ) P

VP

VPm

Vfg

ff

gg

fg

accg

&&&ρρ

ρρ

ρρ −

∂+

−−

= (2.167)

Note that the mass and volume of each region in the accumulator required for this relation can be obtained

using the following identities.

Mass of saturated vapor: ggg Vm ρ= (2.168)

Mass of saturated liquid: fff Vm ρ= (2.169)

Volume of the saturated vapor region: gf

accaccfg

mVV

ρρ

ρ

−= (2.170)

Volume of the saturated liquid region: fg

accaccgf

mVV

ρρ

ρ

−= (2.171)

2.3.1.4 Refrigerant Energy Conservation in the Accumulator In the same manner, the conservation of refrigerant energy can be expressed for the receiver after taking

into account the incoming energy, energy due to heat transfer and the outgoing saturated vapor energy. With this, the

conservation of refrigerant energy can be expressed as,

( ) ( )ambaccaccgogffggf

fg

gfff

ggg TTUAhmhmVuuP

P

um

P

umuV

PuV

P−−−=−+

∂+

∂+

∂+

∂&&&&

intintρρρρ

(2.172)

2.3.1.5 Pipe Wall Energy Conservation The tube wall energy balance can be carried out by considering the heat transfer to the refrigerant and from

the air flow over it. The resulting equation is expressed as,

( ) ( ) ( )waoowriiwwp TTATTATVC −+−= ααρ & (2.173)

2.3.1.6 Algebraic Combination of the Equations The Equations 2.165 to 2.173 can be combined to form a 4th order dynamic model which can be expressed

in the state-space form as shown below. Here we have used the expression 2.159 for the time derivative of mean

void fraction in the two phase region.

( )( ) ( )

( )( ) ( )

−+−−−−

−+−+−−+−

=

waoowrii

ambrecaccgoo

iiggfftotalrwiioii

iigftotaloi

w

acc

TTATTATTUAhmhm

hghhALTTAhmhmhgALmm

Thm

P

aaa

aaaaaa

αα

ρραρρ

&&

&&&

&&&

&

&&

&

int

int

int

44

3231

232221

131211

0000000

(2.174)

The elements of the matrix on left hand side of the Equation 2.174 are the nonlinear functions of the

thermophysical properties of the evaporator and the receiver and are expressed as,

Page 58: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

43

Table 2.4 Elements of the Nonlinear Evaporator with Accumulator Model

a11 ( ) ( ) ( ) fALAL

dP

d

dP

dtotalfgtotal

gf ρργρ

γρ

−+

+−1

a12 1 a13 ( ) ototalfg gALρρ −−

a21 ( )( ) ( ) ( ) fALhhALdP

hd

dP

hdtotalffggtotal

ggff ρργρ

γρ

−+

−+− 11

a22 inth

a23 ( ) ototalffgg gALhh ρρ −−

a31 ( )( )

∂+

−−

∂+

∂+

∂+

∂f

fg

g

fg

ffggff

ggff

fgg

g VP

VP

uuP

P

um

P

umuV

PuV

P

ρρ

ρρ

ρρρρ &

a32 ( )( ) inth

uu

fg

ffgg −−

ρρ

ρρ

a44 ( )wp VC ρ

Equation 2.174 gives a 4th order dynamic model for an evaporator with an accumulator. The evaporator

model presented by [16] is however a 5th order model. Thus, in presence of any disturbance input, if the system

migrates from no superheat condition to a condition with superheat, the order of the dynamic model switches from

5th to 4th order, which is not preferable for dynamic modeling or controller design. The next section presents a new

methodology for modeling of systems with low side accumulator based on the similar methodology introduced for

systems with high side receivers.

2.3.1.7 Heat Transfer Coefficient Compensation for Superheat The physical understanding of the system tells us that superheating affects the system only by changing the

refrigerant heat transfer coefficient in the evaporator. Thus, we can see that when there is a single zone in the

evaporator, the heat transfer coefficient has some value and with two zones, the value is different. Now again, with

the underlying assumption that for an ideally designed system, the superheated zone is much smaller than the total

length of the evaporator, we can use a single zone model and keep monitoring the outlet enthalpy of the evaporator.

Whenever, the enthalpy ( inth ) increases close to saturated vapor enthalpy ( gh ), we consider that the heat transfer

coefficient of the lumped two phase and superheated zone changes as given by,

sup,2

supsup,2,2

LL

LL

ph

phph

+

+=

ααα (2.175)

Thus instead of adding a dynamic mode because of the second length, we are assuming a compensatory

effect due to the change in equivalent heat transfer coefficient. Thus, in case of instantaneous subcooling, the

dynamic terms in the energy and mass balance in the superheated zone can be neglected and an algebraic steady

state energy balance can be used for calculation of length of superheated zone. Also, for the small time interval

when superheat remains in the system, it can be assumed that the difference between wall temperature and

refrigerant temperature is same in the superheated region as in the two phase zone. With this knowledge, we can

Page 59: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

44

develop an algorithm for an appropriate modeling of an evaporator with accumulator. It should be noted here that

the approach discussed here is focused on controller design because of the simplicity gained against using a

switching based model.

2.3.1.8 Algorithm Using the set of dynamic equations, all the dynamic modes of the system including the enthalpy at the

evaporator-accumulator interface can be obtained. The algorithm is based on monitoring the outlet enthalpy from the

evaporator and comparing it with the saturated vapor enthalpy. If the interface enthalpy becomes close to or

increases beyond the saturated vapor enthalpy, the system can be assumed to have superheat. The superheated

region length can then be obtained as,

( )( ) ( )goutoutwri hhmTTdL −=− &22 πα (2.176)

And using this value of superheated region length, the equivalent heat transfer coefficient can be obtained

using Equation 2.175. Simulation studies for the model introduced in this section are presented in Chapter 4.

2.4 Modeling of the Counterflow Heat Exchangers Shell and tube heat exchangers are widely used in industry, in large scale air conditioning units based on

chiller systems and in various other applications [24]. Furthermore, because of their intrinsically simple design as

compared to cross-flow, compact heat exchangers they enjoy wide applications in various heat exchange processes

where simplicity is more important than say, overall efficiency. The primary objective for industrial research on

these heat exchangers is to determine the overall heat transfer coefficient for various operative conditions. However,

in academia too, these simple heat exchangers are used because their dynamic behavior is also a very good

representative of a general class of heat exchangers.

Figure 2.15 Schematic of a Concentric Tube Counterflow Heat Exchanger

Hence, analysis and research oriented treatment, research conclusions of these heat exchangers have been

used on other more complex heat exchangers also. In Chapter 4 we talk about validation of a multi-evaporator air

conditioning system for which the experimental data was obtained from dual evaporator lab in Seoul National

University, Korea with counterflow heat exchangers. Since the design of a counterflow heat exchanger is to

facilitate the heat exchange between the two fluids, it was assumed that geometric profile of the temperature of the

Refrigerant Inlet

Refrigerant Outlet

Water inlet

Water outlet

Page 60: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

45

external fluid (air, water) plays an important role in the dynamic behavior of these heat exchangers. The following

analysis is to derive the geometric profile of the external fluid along the length of the heat exchanger.

2.4.1 Temperature Profile in a Counterflow Evaporator

Figure 2.16 Counterflow Evaporator Modeling

In the following analysis, we will consider the spatial dependence of the temperature of the other fluid in a

counterflow heat exchanger, as opposed to the fixed incoming temperature assumption made for the cross flow heat

exchanger design [23].

Consider, first a counterflow type evaporator. Over a small length dz, we know that, aw TT < and

aza TTdzz

<+

, because of the heat transfer. Now over dz, we can write the energy balance equation as,

( ) ( )wzatotal

oodzzazap TTLdz

ATTmc −=− + ,,, α (2.177)

Simplifying to the easily integrable ordinary differential equation form as,

p

oo

wza LmcdzA

TTdT α

=−

,

(2.178)

Integrating the equation within limits, we get

∫=∫−

− =

=

=

=

Lz

z p

ooTT

TT wza LmcdzA

TTdTaoza

aiza 0,

,

,

α (2.179)

This gives the solution for the temperature profile as,

( )

−−+=

p

oowaiwza Lmc

zATTTT

αexp, (2.180)

Using this equation for finding air temperature distribution in a counterflow evaporator, we can write the

boundary temperatures in the two regions as,

Refrigerant Inlet

Refrigerant Outlet

Air inlet

Air outlet

z dz

dxxaT +, xaT ,

wallT

refT

Page 61: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

46

( )

−−+=

p

oowaiwam Lmc

LATTTT 2

22 expα

(2.181)

To find the average temperature in the superheated region, let’s find the average temperature from the

solution in Equation 2.180

( )

−−+

= =

=

=

=

2

2

0

0

,

exp

Lz

z

Lz

z p

oowaiw

avea

dz

dzLmc

zATTT

T

α

(2.182)

Thus the average temperature in superheated region is,

( )

−−

−+=

p

oo

oo

pwaiwa Lmc

LALA

LmcTTTT 2

2222, exp1

αα

(2.183)

Similarly in the saturated flow region,

( )

−−+=

p

oowamwoa Lmc

LATTTT 1

11, expα

(2.184)

And the average temperature,

( )

−−

−+=

p

oo

oo

pwamwa Lmc

LALA

LmcTTTT 1

1111, exp1

αα

(2.185)

Using this temperature distribution, the lumped energy transfer over the saturated region can be written as,

( ) ( )∫

−−=∫ −=

=

=

=

=

11

01

0111 exp

Lz

z p

oowamoo

Lz

zwaoo dz

LmczA

TTAdzTTAEα

αα (2.186)

This on integration results,

( )

−−−=

p

oowam

p

LmcLA

TTL

LmcE 1

11

1 exp1α

(2.187)

and the superheated region,

( )

−−−=

p

oowai

p

LmcLA

TTL

LmcE 2

22

2 exp1α

(2.188)

2.4.2 Temperature Profile in a Counterflow Condenser The model for a counterflow condenser can be developed in a similar way and the temperature profile,

energy profile are expressed by the following equations.

General temperature profile: ( )

−−+=

p

oowaiwxa Lmc

zATTTT

αexp, (2.189)

Subcooled region: ( )

−−+=

p

oowaiwam Lmc

LATTTT 3

332, expα

(2.190)

Page 62: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

47

Saturated flow region: ( )

−−+=

p

oowamwam Lmc

LATTTT 2

22,21, expα

(2.191)

Superheated region: ( )

−−+=

p

oowamwoa Lmc

LATTTT 1

11,1, expα

(2.192)

The average temperatures in each of the regions can be written as,

Subcooled region: ( )

−−−+=

p

oo

oo

pwiawa Lmc

LALA

LmcTTTT 3

33,33, exp1

αα

(2.193)

Saturated region: ( )

−−−+=

p

oo

oo

pwamwa Lmc

LALA

LmcTTTT 2

222,22, exp1

αα

(2.194)

Superheated region: ( )

−−−+=

p

oo

oo

pwamwa Lmc

LALA

LmcTTTT 1

111,11, exp1

αα

(2.195)

Also, the energy transfer in each of the three regions can be written as,

Subcooled region: ( )

−−−=

p

oowam

p

LmcLA

TTL

LmcE 1

11,1

1 exp1α

(2.196)

Two phase region: ( )

−−−=

p

oowam

p

LmcLA

TTL

LmcE 2

22,2

2 exp1α

(2.197)

Superheated region: ( )

−−−=

p

oowai

p

LmcLA

TTL

LmcE 3

33

3 exp1α

(2.198)

From the derivation presented here, we can say that the same component models for the counterflow heat

exchangers can be used as for the cross flow ones with the exception that the wall temperatures will be different in

different regions.

2.4.3 Heat Transfer Profile in a Counterflow Heat Exchanger Consider a simple counterflow heat evaporator. The temperature profile for the two fluids over the

evaporator [24] would look something like the figure below,

Page 63: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

48

Figure 2.17 Temperature Profile in a Counterflow Evaporator

By choosing the same value of average air temperature throughout the evaporator, we add more energy into

the system because the length of two phase region is much larger than the length of the superheated region in the

evaporator. Thus, it would be more accurate to divide the air temperature profile into two parts each having an

average temperature. The air temperature can be obtained in each region for heat transfer as,

( ) ( )222

, watotal

oomidaaipaa TTLL

ATTCm −=− α& , 2

,2

midaaia

TTT

+= (2.199)

ttotaloopaa

wttotal

ooaipaa

a

LL

ACm

TLL

ATCmT

2

22

2

2

2

α

α

+

+=

&

&

,

ttotaloopaa

wttotal

oomidapaa

a

LL

ACm

TL

LATCm

T1

11

,

1

2

2

α

α

+

+=

&

&

(2.200)

In a counterflow heat-exchanger the air doesn’t reach the complete heat transfer area at the same

temperature as in a crossflow heat exchanger. Thus the heat transfer should keep decreasing along the length of the

heat exchanger. This knowledge is important for a proper and accurate modeling of counterflow heat exchangers.

Although not used in the subsequent study, this model was presented here for completeness.

2.5 Modeling for Expansion Valves with Variable Cv

As described in [16], the time constant for the dominant dynamics in valve and compressor are much faster

than those in the heat exchangers, which implies that static equations can be used for these two components.

Heat transfer between refrigerant and wall

Heat transfer between air and wall

Tri or Tr1

Tro

Tr2

Tw1

Tw2

Tao

Tai

Ta1

Ta2 Ta

Refrigerant Movement

Saturated region

Superheated region

Page 64: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

49

Figure 2.18 Valve with Coefficient of Discharge Characteristics (Source [30])

For valve modeling, we use an orifice equation, such that mass flow rate depends on area of orifice opening

and pressure gradient between the inlet and the outlet of the valve, and the density at the inlet port. The equation for

the orifice model is given by,

PACm vv ∆= ρ& (2.201)

In commercial as well as domestic applications of these orifice type metering devices, the mass flow rates

change over a wide range during operation cycle. Figure 2.18 shows a commercially available Hoke metering valve

(model number 1315G4B) [30] and its coefficient of discharge characteristics are presented in the figure too with

respect to change in the opening area. Stearns [31] suggests that choice of a proper value for coefficient of discharge

Cv depends on the evaluation of the flow Reynolds number, which in turn depends on the flow rate. For a given flow

condition, the Reynolds number is given by,

µπdm

d

&4Re = (2.202)

According to [31], a simple correlation can be used for calculation of a dynamic or variable coefficient of

discharge can be represented by,

+= ∞

dv

CCC

Re1 1 (2.203)

[Correlation defined as inv reynolds]

Here, ∞C is the coefficient of discharge for infinite Reynolds number (i.e. the minimum value of vC for a

particular orifice and the pipe size. For the system design, it is obtained on the basis of pipe size and diameter ratio.

Based on this relation, a few more empirical correlations were tried for calculating the coefficient of discharge and

they are presented as below. The second correlation to be tried was a natural development over the correlation

Page 65: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

50

obtained from [31]. The coefficient of discharge in this case was assumed to be dependent to the inverse square of

the Reynolds number too.

232

1 ReRe ddv

CCCC ++= (2.204)

[Correlation defined as quad]

The choice of the other two correlations is based primarily on the empirical analysis of the data and the

knowledge that the flow Reynolds number and hence the mass flow rate depends on the higher and lower side

pressures at the expansion valve. These correlations are given by,

( )lowhighv PPCCC −+= 21 (2.205) [Correlation defined as delP]

Generalizing Equation 2.205 further, a new correlation can be represented by,

lowhighv PCPCC 21 += (2.206)

[Correlation defined by PcPe]

The correlation constants can be calibrated based on an experimental data stream at some points and the

approximation error can be obtained for each of the correlations by applying a complete data set input to it. For this

study, an experimental data for step changes in expansion valve opening and compressor speed was considered for a

R22 residential air conditioning system. As described above, the correlation coefficients were calibrated first and the

error norm for the complete data set was obtained as given in the table below.

Table 2.5 Comparison of the Coefficient of Discharge Correlations

Correlation Denoted by Error norm – Data Set 1 Error norm – Data Set 2 1 inv reynolds 0.25242 0.27089 2 quad 0.28049 0.2767 3 Pc Pe 0.086939 0.099743 4 del P 0.061083 0.083374

Following graphs show the variation of Cv over the complete data stream for a dual evaporator system. The

data shows the comparison between Cv from data and from different correlations and the correlation denoted by del

P seems to be the best approximation for this case. The disturbance applied is increase in the compressor speed.

100 150 200 250 300 350 400 4500.5

0.55

0.6

0.65

Time [sec]

Coe

ffici

ent o

f Dis

char

ge V

alve

1

inv rey noldsquaddel PPc PeData

Figure 2.19 Comparison of Correlations for Valve 1

Page 66: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

51

100 150 200 250 300 350 400 4500.5

0.55

0.6

0.65

Time [sec]

Coe

ffici

ent o

f Dis

char

ge V

alve

2

inv rey noldsquaddel PPc PeData

Figure 2.20 Comparison of Correlations for Valve 2

From the above study, we see that correlation 4 shows very good comparison with the data. Furthermore,

using the orifice equation and the definition of the flow Reynolds number, the correlation 3 can be related to

correlation 1, which is a proven method for coefficient of discharge calculation as described by [31]. With this

understanding, the model validation study presented for multi-evaporator systems in Chapter 4 is done with the well

proven and documented method of variable coefficient of discharge calculation provided by [31] and here denoted

as inv reynolds.

2.6 Refrigerant Pressure Drop in Internal Flow One of the classic problems in mechanical engineering is to design piping for fluid flow, given a pressure

head available through a pump [26]. In case of air conditioning systems, (or reverse Carnot cycles), the heat energy

is dissipated to a higher temperature environment from a lower temperature environment by energizing a fluid,

known as refrigerant with certain properties. A compressor is available in these cycles to pressurize the working

fluid, and the classic problem still remains but has different objectives. Accurate knowledge of the pressure drops

between different components of a vapor compression cycle play an important role in system modeling and design.

The effect is predominant in systems with large number of evaporators because depending on different pressure

drops between evaporator outlet and compressor suction, the evaporation temperature can be different in different

climatically controlled environment. Various fluid properties including viscosity, heat transfer coefficient, as well as

pipe properties like smooth or rough, play an important role in pressure drop properties. Furthermore, depending on

the flow condition, turbulent or laminar, these pressure and enthalpy drops vary over a large range. In this section,

physics based models for pressure drop in pipe flow are presented for further use in model validation and analysis in

the forthcoming chapters.

2.6.1 Physics Based Modeling and Model Calibration A pipe head loss obtained by Darcy-Weisbach equation [26,36] is presented as,

gV

DL

fh f 2

2

= (2.207)

and is valid for duct flow of any cross section and for laminar and turbulent flow. Based on this value of the head

loss, the pressure drop can be obtained.

Page 67: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

52

+

+−

=−

range)n (Transition correlatio Halland

range)n (Transitiorelation Colebrook

Flow) (Turbulentrelation Prandtl

Flow) (Turbulentrelation Blassius

FlowLaminar

Re9.6

7.3log8.1

Re

51.27.3

log2

8.0Relog2

Re316.0

Re64

11.1

2

21

22

1

41

d

d

d

d

d

d

f

d

f

f

ε

ε

The friction coefficient f has been modeled in the literature by various methods and is dependent factors

like pipe roughness and flow condition. Various correlations for the friction coefficient available in the literature

[26,36] are presented here, Of these correlations, the most well known is the Colebrook relation, also commonly

known as the moody chart. Since, the friction factor is implicit in that correlation, an explicit solution obtained by

Haaland [36] given in the fifth correlation is usually used and it stays within 2% of the value obtained from Moody

chart [36].

For a subcritical vapor compression system, the flow condition at various channels in the system is usually

turbulent and hence the most general form given by Haaland is used in the present study. Now, according to the

Moody chart [26], for very rough pipes the friction coefficient can be assumed to be a constant, which simplifies the

problem significantly. Hence, the effect of considering an ideally rough pipe is also considered in the studies

presented here.

Furthermore, in order to quantify the effect of roughness, the pipe is also modeled as ideally smooth by

considering the roughness to be zero. Lastly, in the studies with ideally rough pipe, the pressure drop correlation

presented a small steady state error between the experimental value and the calculated value, however on adding a

constant bias to the ideally rough model, the error is removed and a very simple model is obtained. Although

empirical, the accuracy and simplicity of use available with this model makes it a good choice for controls oriented

modeling.

These different correlations were compared for experimental data on pressure drop between evaporator

outlet and compressor inlet for a dual evaporator R22 vapor compression system. The system description is provided

in detail in Chapter 4. Briefly, in each experiment, step changes were applied to one expansion valve and the other

was kept constant. The pressure drop correlations compared in this study are in the Table 2.6.

Table 2.6 Description of the Four Pressure Drop Correlations

Correlation Description Denoted in graph by 1 Most general form general 2 Considering completely smooth pipe ideally smooth 3 Considering completely rough pipe ideally rough 4 Completely rough plus constant rough modified

Page 68: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

53

Pressure sensors were used at the evaporator outlet and the compressor inlet, and the measurements

recorded at a sampling period of 2 sec. Since step input is applied only to one expansion valve in an experiment, the

data presented here shows pressure drop for only the pipe flow between the respective evaporator and the

compressor for each experiment. More detail of the experimental setup and the testing procedure will be described

in Chapter 4, where these models were used for better validation.

100 150 200 250 300 35020

40

60

80

100

Time [sec]

Pre

ssur

e [k

Pa]

Datageneralideally smoothideally roughrough modif ied

Pressure drop (Ev aporator 1 to Compressor) -Experiment 1

Figure 2.21 Comparison of Pressure Drop Correlations: Experiment 1

100 150 200 250 300 35020

30

40

50

60

Time [sec]

Pre

ssur

e [k

Pa]

Datageneralideally smoothideally roughrough modif ied

Pressure drop (Ev aporator 2 to Compressor) -Experiment 2

Figure 2.22 Comparison of Pressure Drop Correlations: Experiment 2

We see from the graphs shown here that the best correlation for predicting mass flow rate from pressure

drop is the most general form with some degree of roughness. However, it is a transcendental equation with

logarithmic function which results in a very ill posed problem for mass flow rate calculation during simulation. Also

noticeable is the fact that the rough modified model, which is an algebraic relation between mass flow rate and

pressure drop approaches the general model to a good degree of accuracy. Although empirical in nature, it is a

computationally attractive model for objectives of control design and system simulation. The pipe loss correlation

plays an important role in the model design for multi-evaporator air conditioning systems as presented in detail in

Chapter 3. In order to ascertain that the rough modified correlation is a good approximation for pressure drop

calculations, one more data set for step changes in compressor speed was used for comparison of correlations and

the results in the Figure 2.23 again show that the rough modified correlation matches with the data fairly accurately.

Page 69: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

54

60 80 100 120 140 160 180 200 220 24020

30

40

50

60

Time [sec]

Pre

ssur

e [k

Pa]

Datageneralideally smoothideally roughrough modif ied

60 80 100 120 140 160 180 200 220 24020

25

30

35

40

45

50

Time [sec]

Pre

ssur

e [k

Pa]

Datageneralideally smoothideally roughrough modif ied

Pressure Drop (Ev aporator 1 to Compressor)

Pressure Drop (Ev aporator 2 to Compressor)

Figure 2.23 Comparison of Pressure Drop Correlations: Experiment 3

2.7 Summary In this chapter, the modeling background for various components of a subcritical vapor compression cycle

was developed. The modeling approach was physics based and can be used for correlating between actual system

design and the model response to various inputs. These models will be used for the development of advanced

integrated models, and controller design in the forthcoming chapters. Validation of these models is important for

gaining confidence in their use and is presented in detail in Chapter 4.

Page 70: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

55

Chapter 3. Multi-Evaporator System Modeling

3.1 Introduction In many refrigeration or air conditioning installations, different temperatures are required at various points

in the plant. This is true in case of supermarkets, food storage plants etc., where food products of all kinds are

received in large quantities and stored at different conditions. Similarly, in some other cases, a large number of

spaces have to be maintained at almost similar temperature. This occurs in the case of air conditioning of big

residential complexes. Depending on the system requirements, various arrangements of vapor compression systems

can be made that can serve that particular purpose with respect to environmental and energy conservation. A basic

vapor compression system can thus be used as a building block to develop complex air conditioning and

refrigeration units. In this chapter, we will talk about various kinds of designs of multi-evaporator systems and

possibilities and potential advantages of their dynamic modeling.

The primary objective of this chapter is to demonstrate the necessity and feasibility of advanced model

based control for multi-evaporator air conditioning systems. Few research studies have been conducted till date on

this issue. Static modeling and analysis work was done by [32] which is not helpful for research on dynamic and

control. Lee et al. [33] did work on control of a dual evaporator system using online system identification methods

and their results showed good controller performance but analysis of the cycle dynamics was not presented. Stack

and Finn [34] worked on multi-evaporator systems however their model was useful for refrigeration applications

only. Václavek et al. [35] also proposed a strategy applicable only to refrigeration systems by using electronic

pressure regulating valves. With this background, in this chapter, we contribute uniquely by introducing and

validating first principles based modeling methodology for multi-evaporator air conditioning systems, which are

dynamically more complex than the refrigeration systems. The resulting model provides significant insight into the

system dynamics which is useful for the design of advanced control strategies.

3.2 Complex Multi-Evaporator Systems Numerous arrangements of system components are possible when more than one evaporator is required in a

system [1,2]. Classification of complex air conditioning system can be done in the way shown in Figure 3.1. The

evaporators can be arranged in series or parallel. There can be just a single expansion valve catering to all the

evaporators or there can be an individual expansion valve for each evaporator.

Page 71: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

56

Figure 3.1 Classification of Multi-Evaporator Systems

In the similar way, a single compressor (staged or non-staged) can cater to all the evaporators or their can

be multiple compressors in the system too. In certain cases, the system can have different outdoor units also,

depending on the condensing requirements. The choice of the system arrangement depends on application, initial

and operational costs. The most common of these arrangements is one with multiple evaporators connected in

parallel, each with an individual expansion device, a variable speed compressor or a staged set of compressors and a

single outdoor or condensing unit.

Expansion valve

Classification of Multi-Evaporator Systems

Series

Evaporator

Compressor

Single

Multiple

Single

Staged

Individual

Parallel

Page 72: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

57

Figure 3.2 Typical Heavy Load Residential Air Conditioning Unit (Source [1])

In other arrangements, more commonly available in residential units, there are two air conditioning circuits,

a primary and a secondary. In the primary circuit a high performance refrigerant is used to produce a certain baseline

cooling effort which is transferred to the secondary circuit through the other refrigerant, usually water which is

circulated to the air conditioned spaces. The flow rate for secondary refrigerant is controlled separately for each of

the space rather than controlling the primary cycle. Many times, it is advantageous to use dual or higher stage

compressor stacks where initial cost of a variable speed / variable displacement compressor is not tolerable. It is

however not particularly evident, whether, in a new design, one big compressor should serve all evaporators or their

should be an individual compressor for each evaporator or their should be an intermediate number of compressors.

One basic disadvantage of a single compressor catering to all evaporators is that maintenance shut down affects all

refrigerated spaces. However, there are some advantages of single compressor systems that more than shadow this

disadvantage. In a residential air conditioning system, a big capacity compressor can cater to large number of rooms,

each having its own evaporator, thus avoiding complex high voltage electrical circuitry for more than one

compressor. Also, a multi-evaporator system with single compressor can be designed to work more efficiently than a

number of single evaporator systems [32]. Figure 3.3 shows typical two stage compression and single stage

compression multi-evaporator systems [1].

Chiller or

Boiler

Constant speed pumps

Variable speed pumps

By Pass Heat

Exchanger Heat

Exchanger

Primary Centralized Plant Air handling Unit or Terminal unit

Secondary Actuators

Page 73: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

58

Figure 3.3 Two stage Compression and Single Compressor Systems (Source [1])

Multi-evaporator systems are particularly advantageous in airconditioning of residential systems because

comfort requirements of users are nearly similar. Another important application of multi-evaporator system is in

case of refrigerated food trailers where space and weight of vehicle to power ratio are important parameters for

profitable business.

3.3 Physical Model Description Figure 3.4 show typical configurations of a multi-evaporator vapor compression cycle [1]. The system has a

condenser and a variable speed compressor catering to all the evaporators, each having an individual expansion

valve. The outflows from all the evaporators meet at the compressor suction. This is where the main difference

between a multi-evaporator air conditioning cycle and a refrigeration cycle lies. In the refrigeration cycle a pressure

regulator is used as shown in the figure, which permits different evaporators to exchange heat at quite different

evaporation pressures. It should be noted here that the presence of a pressure regulator helps in decoupling the

dynamics of different evaporators and hence a multi-evaporator refrigeration cycle is much simpler to model than

the corresponding air conditioning cycle.

Figure 3.4 Dual Evaporator Air Conditioning and Refrigeration Systems

Refrigeration system

Air conditioning system Condenser

Evaporator 1

Evaporator 2

Valve 1

Valve 2

Compressor

Pressureregulator

Condenser

Evaporator 1

Evaporator 2

Valve 1

Valve 2

Compressor

Pressureregulator

Condenser

Evaporator 1

Evaporator 2

Valve 1

Valve 2

Compressor

Condenser

Evaporator 1

Evaporator 2

Valve 1

Valve 2

Compressor

Single Stage compression system

Two Stage compression system

Page 74: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

59

Further, a check valve is installed in the suction line of lower pressure evaporators in case of refrigeration

cycles to prevent the higher-pressure refrigerant from warmer evaporators from backing up into lower pressure

evaporators (shown in the Figure 3.5). Other complexities usually associated with multi-temperature system include

compressor short cycling and improper oil return [6]. The compressor is usually controlled by a rule-based algorithm

dependent on the pressure feedback from individual evaporators. Usually, even a slight increase in pressure in the

higher-pressure evaporators starts off the compressor even though their refrigeration requirements are satisfied [1].

Similarly, slight decrease in pressure of colder evaporators shuts off the compressor even though they still require

refrigeration. Compressor oil return is another area of concern in multi-temperature systems. If the control systems

for refrigerant mass flow in system are good, then the system can be flushed any time for recovery of the compressor

oil. However, ususally, defrost action is used to recover compressor oil, because of absence of efficient control

system[1,6]. Compressor staging also makes the system more complex because of inclusion of intercooler between

the compressor stages. The improvement in efficiency also occurs only if proper pressure stages are used. The

objective of the following sections is to introduce methodologies for dynamic modeling of multi-evaporator

refrigeration as well as air conditioning systems.

3.4 Modeling Challenges in Multi-Evaporator Systems In a vapor compression system, refrigerant mass and energy distribution in different parts of the cycle

affect the system steady state. Similarly, the system response to time varying inputs and disturbances is also

dependent on the dynamics associated with the refrigerant mass and energy transfer. Experimental results by [12,33]

corroborate that refrigerant charge balance through different cycle components affects the system dynamics heavily

during transients as the system approaches a new steady state. In order to understand the predominance of mass flow

rate balance on cycle dynamics, a quick review of the vector-matrix form of evaporator model [16] in Equation 3.1

is useful. It can be observed that the system is at steady state only when all time derivatives are zero and for that, the

expressions on the right hand side of the equation should be identically zero. On close observation, it may be noted

that the vector on the right hand side of Equation 5 quantifies the steady state energy and mass imbalances of the

system.

( )

( )

( ) ( )( ) ( )

−+−−+−

−+−

−+−

=

2222

1111

222

2

111

1

2

1

1

5551

44

333231

232221

1211

00000000000000

waoowrii

waoowrii

oi

rwtotal

iioogo

rwtotal

iigiii

w

w

e

TTATTATTATTA

mm

TTLL

Ahmhm

TTLL

Ahmhm

TThPL

aaa

aaaaaa

aa

αααα

α

α

&&

&&

&&

&&

&&&

(3.1)

Another observation is that the time-domain solution of Equation 3.1 requires, among many other variables,

the instantaneous knowledge of incoming (i

m& ) and outgoing (o

m& ) mass flow rates from the evaporator. This

evaporator model clearly indicates the two primary challenges involved in the modeling of multi-evaporator air

conditioning systems. Firstly, in a single evaporator case, mass outflow rate from the evaporator can be obtained

directly from the compressor model. However, in a multi-evaporator case, a mass distribution algorithm is required

at the compressor suction to calculate the mass outflow rate from each evaporator. This is a non-trivial modeling

Page 75: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

60

challenge for a situation where different evaporators maybe running at almost equal pressures but different mass

flow rates and is dealt with by the methodologies presented in the next two sections. Secondly, since the relative

humidity setpoints of different air conditioned spaces are usually comparable, no pressure regulator is needed to

maintain different evaporating temperatures. Therefore the evaporation temperature and hence the evaporation

pressures of the two evaporators get dynamically coupled with each other, resulting in a complex differential-

algebraic system representation. This is a true system complexity and will remain in the resulting model too. Since

the theory can be extended to any number of evaporators, the simplest dual evaporator cycle is used for model

validation in Chapter 4 since the experimental data is easily available for such systems.

3.5 Modeling of Multi-Evaporator Refrigeration Systems As a first step, we will model a simple multi-evaporator refrigeration system with different evaporation

temperatures, as shown in Figure 3.5. This system has n evaporators, each with an individual expansion device at

upstream and a check valve at the downstream that allows refrigerant to only flow out of the evaporator from that

side. This is required for multi-temperature systems in order to prevent high pressure refrigerant from one

evaporator to enter into the other evaporators. Furthermore, the system is supposed to have pressure regulating

valves from the outlet of each high pressure evaporator to the compressor suction. This is important in case of a

system with single stage compressor because the compressor suction can occur at one pressure only. Thus

refrigerant flow from each evaporator expands to suction line pressure, or the lowermost evaporation pressure

through these pressure regulating valves. Comparing this system with a model of a single evaporator system, we can

observe that:

1. The same model for condenser and compressor can be used as in a single evaporator cycle.

2. The models for evaporator are also the same however the mass outflow from each evaporator is not

known separately. We just know the mass outflow from the compressor.

3. Each expansion device can also be modeled in the same way as before.

Page 76: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

61

Figure 3.5 Multi-Evaporator Single Compressor Refrigeration System

Thus, the main modeling challenge left for this system is to figure out the mass outflow rate from each

evaporator and the compressor suction pressure while in operation. This can be done by using the mass conservation

principle in the suction line region of the cycle.

compenooeoe mmmm &&&& =+++ ..........21 (3.2)

The individual masses from each evaporator can further be modeled with the model of pressure regulator

and compressor model presented in [15] can be used for mass flow rate through the compressor. Assuming

superheated outflow condition from each evaporator the single phase orifice equation can be used for mass flow rate

calculation from each evaporator which results in,

( )enooeevvoe PPACm −= 111 ρ& (3.3)

This same expression can be used for mass outflow rate modeling for all the other evaporators too except

for the one with lowest evaporation pressure or the evaporator n, for which the mass flow rate can then be calculated

by using the mass conservation principle, or Equation 3.2. The suction pressure at the compressor can be assumed to

be close to the lowest evaporation pressure in the cycle, the difference being due to the pressure drops in the pipe

flow for which we already have a model as described in Chapter 3 and can be incorporated in the complete system

model. This model can be used very effectively for the design and simulation of supermarket, trailer refrigeration

applications by integrating the modeling Equations 3.2 and 3.3 with the modeling library available with Thermosys

[29].

enoP

oeP 1

oeP 2

oem 2&

Expansion Valve 1

Expansion Valve n

Condenser

Evaporator n

Evaporator 1

Check Valve

Pressure Regulator

Compressor

oem 1&

enom&

compm

Expansion Valve 2

Evaporator n

Page 77: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

62

3.6 Modeling of Multi-Evaporator Air Conditioning Units

Figure 3.6 Multi-Evaporator Single Compressor Air Conditioning System

Figure 3.6 shows a multi-evaporator air conditioning system [1], which will be studied in this section. From

a first observation, this system appears to be simpler than the refrigeration system model because of the absence of

pressure regulators and the check valves. However, dynamically this system is much more complex because the

absence of pressure regulators couples the thermo-physical variables of the two evaporators and hence the

evaporators and their evaporation temperatures are no longer independent. A new approach based on pressure drop

between evaporator outlet and compressor suction will be used here for the modeling of this system. For a pipe flow

condition, mass flow rate can be related to the head loss through the flow [26,36] if pipe parameters and friction

factor are known. Thus, in the present case, pressure drops in the refrigerant suction lines from each evaporator to

the compressor can be written by using Darcy-Weisbach equation [26,36] as,

( ) 8

1

21

51

21

111oe

oekrioe

m

D

LfPPP

ρπ

&=−=∆ (3.4)

( ) 8 2

52eno

eno

n

nnkrienon

m

D

LfPPP

ρπ

&=−=∆ (3.5)

enoP

oeP 1

oeP 2

Expansion Valve 1

Expansion Valve n

Condenser

Evaporator n

Evaporator 1 Compressor oem 1&

enom&

compm

Expansion Valve 2

Evaporator n

oem 2&

kriP

Page 78: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

63

Here, fj is the friction factor coefficient for pipe loss and is given by the general Colebrook function

[26,36], also known as the interpolation formula for the Moody chart. An explicit formula for friction factor by

Haaland [26] can be written as,

7.3Re

9.6log8.1

1 11.1

5.0

+−≈

df

ε (3.6)

Thus, the friction factor and hence the pressure drop depends on flow condition as well as pipe

roughnessε . The last piece of the solution comes from the knowledge that the sum of outflow rates from each

evaporator should be equal to the mass flow rate computed by the compressor model [15] as,

compenooeoe mmmm &&&& =+++ ..........21 (3.7)

The refrigerant density at the compressor inlet (required for compressor model [15]) can be obtained by

considering adiabatic mixing of the flow streams from different evaporators at the upstream of the compressor.

Using Equations 3.4-3.7 along with the compressor model for mass flow rate, mass outflow rates from both the

evaporators and the compressor suction pressure can be calculated dynamically, which solves the first of the two

modeling challenges introduced in the last section. The significance of this approach also lies in the fact that it can

be used for a system with any number of evaporators. Thus for a system with n evaporators, this approach provides

(n+1) equations for (n+1) unknowns, namely mass outflow rates from each evaporator and compressor suction

pressure. Once an initial steady state condition for the system is known, all the transient variables of the system are

observable using this modeling method and the already introduced models of the individual components. It should

be noted here that in the case of a refrigeration system this challenge does not exist because the mass flow rate

calculation can be trivially done using the simple orifice equation for the pressure regulator between higher and

lower pressure evaporators. A simplification of this differential-algebraic model can be further done with the

knowledge of the flow condition at the evaporator outlet and the pipe parameters. For turbulent flow in very rough

pipes, the friction factor is a constant [26]. For an available data set, (described in Chapter 2), the flow condition was

known to be turbulent, however a complete knowledge of the pipe roughness was not present. On using the constant

friction factor formula for pressure drop calculation in the data set, a constant offset from the experimental data was

observed. The offset can be added to the constant friction factor formula and a very simple, though empirical,

correlation is obtained as already presented in Chapter 2.

( ) 1

2

1

21

oe

oe

krieo

mKKPP

ρ

&+=− (3.8)

This correlation is computationally simpler than the theoretical correlation, and hence, may be favored over

the Moody chart, for the purpose of dynamic modeling and real-time controller implementation. The validation for

this correlation has already been presented in Chapter 2. The modeling methodology presented in this section is the

main contribution of this work and can be used widely for the analysis of multi-evaporator systems.

Page 79: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

64

3.6.1 Computationally Simpler Model for Multi-Evaporator A/C Units The solution methodology presented in the last section requires simultaneous solution of equations on

which the value of mass flow rates and pressure at compressor inlet depends. For an n evaporator system, (n+1)

equations can be obtained as presented below. For this system of equations, an explicit analytic solution exists up to

the case for three evaporators. For systems with n number of evaporators, the method requires solution of 2(n-1) order

equations, which requires slow numerical solution.

krienn

ennn

kriee

kriee

ppm

KK

ppm

KK

ppm

KK

−=+

−=+

−=+

ρ

ρ

ρ

2

,2,1

22

22

2,22,1

11

21

1,21,1

.

.

&

&

&

(3.9)

and

−+==+++

n

kri

krokkkktotalenee p

pDCVmmmm

1

21 1........ ρω&&&& (3.10)

Solution of this system of equation will be very tedious in any real application. Hence, real-time control of

a multi-evaporator system with such a computationally intensive model can have serious implementation challenges.

The need to solve simultaneous equations makes this a computationally ill-posed problem. In this section, a method

to solve this problem by the addition of a dynamic state in this algebraic system of equations is presented.

Figure 3.7 Transition from Algebraic System to Time Varying System

It is possible to theoretically assume the presence of an infinitesimally small volume V at the upstream of

compressor with the pressure same as compressor suction pressure but dependent on mass inflow and outflow to and

from it. With this, we can write the dynamic equation for change in pressure in that volume as,

compenee mmmmdtd

V &&&& −+++= .........21ρ

(3.11)

1em& 1em&

Small Volume V

Evaporator 1

Evaporator 2 2em& krip

˜ Evaporator 1

Evaporator 2 2em& krip

Page 80: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

65

Since the fluid is superheated at the compressor inlet, its density depends on both pressure and enthalpy, we

can write,

∂∂

+∂∂

=dt

dhhdt

dppdt

dV kri

p

kri

h

ρρρ (3.12)

At the compressor inlet, adiabatic mixing of the fluid streams can be assumed and hence, hkri, which is the

enthalpy at compressor suction, can be expressed as,

( )enee

eneneeeekri mmm

hmhmhmh

&&&&&&

++++

=........

.......

21

2211 (3.13)

This enthalpy can be numerically differentiated in the simulation to find its time derivative. With this, the

time derivative of pressure in the small volume can be written as,

∂∂

∂∂

−−+++

=

h

kri

p

compenee

kri

p

dtdh

hV

mmmm

dtdp

ρ

ρ&&&& .........21

(3.14)

As an approximation, if we neglect the time derivative of enthalpy in this equation, we are left with an even

easier computation. Numerical analysis shows that the effect of derivative of enthalpy on the complete system

accuracy is negligible and hence the assumption is practical. The effect on modeling accuracy due to this assumption

is also shown in the graphs in Figures 3.8 and 3.9. The time derivative of compressor suction pressure obtained from

Equation 3.14 can be integrated over time and can be used in the equations above for finding the mass flow rates

from each evaporator directly. By using this method, the solution procedure has simplified and is very easily

modular to systems with large number of evaporators.

The value of V is important for an accurate emulation of the exact system. Intuitively, it should depend on

the parameters of particular system for which the model is being used. The knowledge of the system is important

because the total mass flow rate in a system with more than two evaporators will be higher than that with only two

evaporators. The higher mass flow rate can result in instantaneous filling of a wrongly chosen volume V, and the

model won’t be able to emulate the system characteristics. The graphs presented in the Figures 3.8 and 3.9 show the

comparison of simulation results for algebraic model, differential model without the time derivative for h and that

with the time derivative of h for a particular value of V (choice described later). In these simulation studies, a

particular R22 dual evaporator residential air conditioning system (system details are presented in Chapter 4) is

modeled. For that system, the two evaporators are similar and for the particular experimental condition, a value of

0.0001 cu.m. for V was found suitable for correct system emulation after trying different values and comparing the

model results for evaporator pressure against data as shown in the Figure 3.10.

Page 81: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

66

110 120 130 140 150 160 170 180 190 200580

585

590

595

600

605

Time [sec]

Pre

ssur

e [k

Pa]

algebraicdif f erential without h deriv ativ edif f erential with h deriv ativ e

110 120 130 140 150 160 170 180 190 200560

565

570

575

580

585

Time [sec]

Pre

ssur

e [k

Pa]

algebraicdif f erential without h deriv ativ edif f erential with h deriv ativ e

Figure 3.8 Evaporator Pressures for a Dual Evaporator System

110 120 130 140 150 160 170 180 190 2008

8.2

8.4

8.6

8.8

9

Time [sec]

mas

s flo

w r

ate

[g/s

ec]

algebraicdif f erential without h deriv ativ edif f erential with h deriv ativ e

110 120 130 140 150 160 170 180 190 2005

5.2

5.4

5.6

5.8

Time [sec]

mas

s flo

w r

ate

[g/s

ec]

algebraicdif f erential without h deriv ativ edif f erential with h deriv ativ e

Figure 3.9 Evaporator Mass Flow Rates for a Dual Evaporator System

Page 82: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

67

110 120 130 140 150 160 170 180 190 200580

585

590

595

600

605

Time [sec]

Eva

pora

tor

1 P

ress

ure

[kP

a]

V=0.0001V=0.001V=0.01True

110 120 130 140 150 160 170 180 190 200560

565

570

575

580

585

Time [sec]

Eva

pora

tor

2 P

ress

ure

[kP

a]

V=0.0001V=0.001V=0.01True

Figure 3.10 Parametric Study for System Accuracy for Different Values of V

The graphs presented in the Figures 3.8 and 3.9 show that for the chosen value of V, the simplified model

matches the results of the actual system very well. Further, it can be observed that the degree of accuracy achieved

by considering the value of time derivative of enthalpy is very small and hence it can be assumed unnecessary. With

this, we see that it is possible to achieve the same degree of accuracy for solving a multi-evaporator system with the

additional dynamic state method as compared to the algebraic solution method in a relatively computationally

friendly way.

The value of V can be considered similar to the value of a perturbation factor in singularly perturbed

systems. Its value, hence, is dependent on other parameters of the system too. With this modeling methodology,

systems with any number of evaporators can be simulated (further described in Chapter 6 also). For the sake of

simulation, successively more evaporators were added to the R22 system model described above and the value of V

suitable for correct results from each of the resulting models was noted. The simulation studies were conducted for

two, three and four evaporators and using mathematical induction, an empirical relation between V and the number

of evaporators, n, was obtained and is presented here.

( ) ..0001.0 where32 0 mcuVVnV on =−= (3.15)

For different systems, it will be required to calibrate this formula according to the known system responses

from experimental data. This mathematical analysis is the one-time cost for the simplified modeling approach

described previously. Once a value for V or an empirical relation based on number of evaporators for a particular

system is chosen, it should be possible to use it without any changes for that system.

Page 83: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

68

3.7 Summary In this chapter, physics based models for multi-evaporator systems were presented which can be used for a

variety of industrially and commercially used air conditioning and refrigeration units. Validation of this modeling

methodology is presented in the next chapter. Further, a simplified modeling methodology is introduced by use of a

dynamic approximation for the original algebraic system which will result in making the model structure modular

for any number of evaporators.

Page 84: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

69

Chapter 4. Model Validation

4.1 Significance The physics based models described in [16] and Chapters 2 and 3 encompass the necessary knowledge

from different sciences like fluid dynamics, thermodynamics, heat transfer, and control theory to develop a possible

model structure for a vapor compression system. The crucial question that still exists is whether this “possible”

model is “good enough” and the required procedure to answer it is called “Model Validation” [37]. This question

has several aspects, which include:

A. Does the model agree sufficiently well with the observed data?

B. Is the model good enough for its purpose?

C. Does the model describe the true system?

As described in [37], the method to answer these questions is to confront the model with as much

information about the true system as available. This includes apriori knowledge, experimental data and the

experience of using that model. In general, model validation procedures are designed to focus on the first aspect,

since the experimental data can be made readily available if the plant with necessary instrumentation is present.

Aspect B is important from a practical viewpoint because, with it the specific use of a model is analyzed

and its suitability for a purpose evaluated. Different possible objectives of modeling include simulation, prediction,

control, and design. The ultimate validation then is to conclude whether the model can fulfill the objectives for

which it was initially developed.

Aspect C is important for modeling using system identification. An important validation in that case is to

compare the estimated values of different parameters with their true values to develop confidence in the model.

In the case of physics based modeling, the model is parameterized on the basis of the true plant and hence

aspect C is already taken care of and the attention can be focused on the other two important criteria.

The component models for vapor compression system, as described in [16], and earlier chapters have been

designed for prediction and control of a general system. As shown in [16], once all the parameters are available, the

model can predict the true system to a good accuracy. Furthermore, the actual nonlinear models can be linearized

and used for the design of model-based controllers as shown in Chapter 9. Thus, the practically important criterion

of model validation, i.e. aspect B, is also taken care of.

In this chapter, attention is focused on the comparison of the model predictions for subcritical single and

multi-evaporator cycles with data obtained from various experimental systems. Once the model predictions are

found within a certain range of accuracy, we can have confidence in the model for the prediction of unknown system

responses, and for controller design. The steps followed for model validation can be detailed in the following

flowchart. This procedure is followed for all the cases and data sets considered in this chapter.

Page 85: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

70

Figure 4.1 Flowchart for the Process of Model Validation

We begin with the description of various physical and empirical parameters required for the validation

process of various system models. Validation of subcritical single evaporator model for an automotive air

conditioning unit constitutes the section after that. This is followed by the validation of a dual evaporator air

conditioning cycle against data obtained from Seoul National University, Korea. Simulation studies for system with

high side receiver and low side accumulators are separately presented in the subsequent section. Data based

validation is also presented, however, only for intermittent steps because of some experimental difficulties that will

be explained.

4.2 Parameter Estimation There are many parameters, in a vapor compression system, which need to be fed into the dynamic model

to bring the model and the experimental system to a similar ground for comparison. As described in [12,16], these

parameters can be divided into three categories, namely, measurable, empirical and tunable. The measurable and the

empirical parameters, once known, can be fixed and the tunable parameters can then be tweaked over their domain

of existence to improve simulation results and thereby understand their effect on the complete system response.

Further, the tunable parameters can be different over different experimental conditions for the same setup, however

this is not so in the case of measurable and empirical parameters. In the following subsections, the three kinds of

parameters for different system components are presented and, based on this knowledge, the validation procedure is

extended. It might be noted here that these parameters for the evaporator, the expansion valve and the compressor

have already been described in detail by [12,16] and are presented here, only in brief, for the sake of completion.

4.2.1 Heat Exchangers: Evaporator and Condenser The heat exchangers play an important part in determining the dynamic characteristics of a typical vapor

compression system. The three kinds of parameters for the heat exchangers are presented here as follows.

Yes

Obtain information about the experimental system,

its design and its physical parameters

Feed the model with this information and the

inputs

Model outputs

y

True outputs

y

Is yy ≈ˆ ?

Recheck the parameters

Success! Model Validated for this data set

Yes

Discard the model

Similar trends

No

No

Page 86: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

71

4.2.1.1 Measurable Parameters Heat exchanger material composition: This information is usually furnished by the manufacturer of the heat

exchangers. If the material of the refrigerant tubes is different from that of the fins it should be taken into account in

order to calculate the overall heat transfer coefficient for the heat exchanger.

Mass of the heat exchanger: Once the heat exchanger material is known, its mass can be obtained by using

material property data. This is necessary in order to obtain the net heat capacity of the heat exchanger material.

Heat exchanger type: Whether a particular heat exchanger has a fin-tube geometry, or plate-fin, or

microchannel, plays a significant role in its overall heat transfer coefficient. This knowledge can be furnished by the

manufacturer or can be obtained by observation too.

Hydraulic Diameter: This parameter determines the mass flux of the refrigerant. For different heat

exchangers, it can be measured differently or can be obtained from the manufacturer’s data too. For the single

evaporator systems, considered in this study, the value was obtained from the manufacturer and verified with

measurements. For the dual evaporator system, the data for the counterflow evaporators and the condenser was

obtained from the experimental system lab directly.

Fluid flow length, cross sectional area, and internal surface area: Since, in our modeling methodology, the

heat exchanger was considered as a unidirectional pipe with uniform cross sectional area, these parameters are

important for comparable match between the assumed and the actual geometry. The method of calculating them is

presented in Chapter 2 and requires data from manufacturer data sheet too.

External surface area: This parameter can be measured with known fin geometry and heat exchanger

dimensions. Also available in the manufacturer’s data, it plays an important role in the total air side heat transfer and

is an important design concern for automotive applications with space and mass constraints.

Internal volume: The refrigerant charge accumulation in various parts of the cycle depends on their

respective volumes. It also determines the time required for a system to reach the steady state if, suddenly, started up

or shut down. It can be obtained from manufacturer or can be measured before assembling the system.

4.2.1.2 Empirical Parameters Mean void fraction: Various available correlations [38] can be used to obtain the mean void fraction for a

given operating condition

Single Phase heat transfer coefficient: For the present case, a simple Dittus-Boelter correlation [24] for

single phase heat transfer coefficient was used which can be expressed as,

333.08.0 PrRe023.0=KDiα

(4.1)

Here Di is the internal diameter, or the characteristic length of the pipe, and Re and Pr are the Reynolds and

the Prandtl numbers for the refrigerant flow.

4.2.1.3 Tunable Parameters The various tunable parameters for the heat exchangers are,

Slip ratio: Defined as the ratio of vapor to liquid velocities in a two phase flow condition, it is a measure of

initial charge in the heat exchanger [38]. The accepted bounds for slip ratio are obtained by the homogeneous

correlation (slip ratio =1) and the Zivi correlation given by,

Page 87: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

72

3

1

=

g

fSρ

ρ (4.2)

According to the literature [38], for most of the commonly available fluids, the value of slip ratio lies

between 1 and that obtained from Equation 4.2.

Two phase heat transfer coefficient: For subcritical fluids, the two phase heat transfer coefficient has been

experimentally measured [39] for R134a and R22 for various operating conditions and can be chosen within the

ranges defined.

4.2.2 Receivers and Accumulators A receiver or an accumulator is used in a vapor compression cycle to slow down the fast dynamics by

providing a capacitive volume, or to prevent damage to some of the components, like by avoiding the liquid

refrigerant from entering the compressor. Some of the important parameters for these components are,

4.2.2.1 Measurable Parameters Material properties: These can be made available from the data and are important to determine any heat

exchange with the environment.

Volume: This can obtained from the manufacturer or can be measured too.

4.2.2.2 Empirical Parameters There aren’t any empirical parameters for the receiver and the accumulator.

4.2.2.3 Tunable Parameters Initial refrigerant mass: This initial mass can be considered as a tunable parameter and it can vary between

the bounds determined by the saturated liquid and vapor densities for the refrigerant at the condenser pressure.

4.2.3 Static Components In this section, we will consider the important parameters for the components described by static models

[16], which include the expansion device, the compressor, the pipe loss block and the mass multiplexer for multi-

evaporator systems.

4.2.3.1 Measurable Parameters Compressor Displacement: This can be obtained from the manufacturer. In this study, we have used

variable speed compressors at fixed displacement only and hence this parameter remains constant for the same

experimental setup.

Valve opening area: This parameter is also usually available from the manufacturer or can be obtained

experimentally also, if the mass flow rate is accurately known.

Pipe dimensions: Connecting pipe length and diameter can be obtained either by measurement or by the

manufacturer’s data sheet. This knowledge can be useful in order to compare the theoretical pressure drops and

enthalpy drops with the experimentally observed values.

4.2.3.2 Empirical Parameters Compressor isentropic efficiency: This data can be obtained using the experimental steady state data or

from the manufacturer.

Compressor volumetric efficiency: This parameter can again be calculated from the steady state data or

from the compressor manufacturer.

Page 88: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

73

Rate limit on the compressor speed change: This can be obtained from the data.

Expansion Valve Discharge Coefficient: The Reynolds number dependent discharge coefficient introduced

in Chapter 2 has two parameters which can be obtained from the experimental data using two different steady state

conditions from the data.

Expansion valve rate limit: This determines the speed at which the expansion vale opening can change and

can be obtained from the data.

Pipe parameters: The parameters in the rough modified correlation for pressure drop in a pipe can be back

calculated from two different steady state conditions. They can also be obtained by comparison with the physical

parameters of the pipe.

4.2.3.3 Tunable Parameters There are no tunable parameters for the static components.

4.3 Model Validation: Subcritical Air Conditioning System The various parameters described in the previous section are important to know before any meaningful

model validation against experimental data. For the subcritical automotive system, from which the experimental data

was obtained, these parameters are shown in the following table. The hydraulic diameter was used to calculate the

internal surface area, the cross sectional area, and the internal volume for the heat exchangers. The value of two

phase heat transfer coefficient was chosen to be 2 kW/m2K which lies within the range available from the literature.

The value of the slip ratio was chosen as 2 and it lies between the bounds given by the homogeneous correlation

(slip ratio of 1) and the Zivi correlation [38] (slip ratio of 2.6) values. This system has a high side receiver but it was

kept full for all the experiments and hence the parameter for initial mass in the receiver becomes redundant.

Page 89: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

74

Table 4.1 Parameters of the Single Evaporator System

Component Parameter Unit Value Comment

Heat Exchanger Type [-] Plate Manufacturer Data SheetMaterial [-] Aluminum Manufacturer Data SheetSpecific Heat [kJ/kg.K] 0.89 Material StandardsMass [kg] 1.863 Manufacturer Data SheetInternal Volume [cu.m.] 1.936E-06 MeasuredExternal Surface Area [sq.m.] 4.248 CalculatedCross Sectional Area [sq.m.] 4.524E-06 CalculatedInternal Surface Area [sq.m.] 3.227E-03 CalculatedTotal Length of Fluid Flow [m] 0.428 CalculatedHydraulic Diameter [m] 0.0024 Manufacturer Data SheetAverage Number of Ports per Plate [-] 4 MeasuredAverage Number of Plates per Pass [-] 20 MeasuredNumber of Passes [-] 2 MeasuredLength of Fluid Flow per Pass [m] 0.214 MeasuredNumber of Identical Parallel Paths [-] 1 MeasuredTwo Phase Flow Heat Transfer Coefficient [kW/sq.m./K] 2 Tuned ParameterSuperheated Flow Heat Transfer Coefficient [kW/sq.m./K] 0.2402 Dittus Boelter CorrelationExternal Fluid Heat Transfer Coefficient [kW/sq.m./K] 0.3703 CalculatedSlip Ratio [-] 2 Tuned ParameterExternal Fluid Specific Heat [kJ/kg.K] 1.007 Material Standards

Heat Exchanger Type [-] Microchannel Manufacturer Data SheetMaterial [-] Aluminum Manufacturer Data SheetSpecific Heat [kJ/kg.K] 0.89 Material StandardsMass [kg] 2.808 Manufacturer Data SheetInternal Volume [cu.m.] 2.484E-06 MeasuredExternal Surface Area [sq.m.] 7.204 CalculatedCross Sectional Area [sq.m.] 6.362E-07 CalculatedInternal Surface Area [sq.m.] 0.011 CalculatedTotal Length of Fluid Flow [m] 3.905 CalculatedHydraulic Diameter [m] 0.0009 Manufacturer Data SheetAverage Number of Microchannel Ports per Plate [-] 14 MeasuredAverage Numbe rof Microchannel Plates per Pass [-] 7.6 MeasuredNumber of Passes [-] 5 MeasuredLength of Fluid Flow per Pass [m] 0.781 MeasuredNumber of Identical Parallel Paths [-] 1 MeasuredTwo Phase Flow Heat Transfer Coefficient [kW/sq.m./K] 2 Tuned ParameterSubcooled Flow Heat Transfer Coefficient [kW/sq.m./K] 1.423 Dittus Boelter CorrelationSuperheated Flow Heat Transfer Coefficient [kW/sq.m./K] 1.427 Dittus Boelter CorrelationExternal Fluid Heat Transfer Coefficient [kW/sq.m./K] 0.0938 CalculatedSlip Ratio [-] 2 Tuned ParameterExternal Fluid Specific Heat [kJ/kg.K] 1.007 Material Standards

Internal Volume [cu.m.] 0.00029 MeasuredUA value of Receiver [kW/K] 0 Full insulation assumed

Expansion Base Area [sq.m.] 1.00E-06 Manufacturer Data SheetEmpirical Parameter Dv [-] 0.6 CalculatedEmpirical Parameter Ev [-] 0.1 CalculatedEmpirical parameter n [-] 0.5 CalculatedRate Limit [-] 1 Calculated

Compressor Displacement [cu.m.] 9.17E-05 Manufacturer Data SheetEmpirical Parameter Ck [-] 0.988 CalculatedEmpirical Parameter Dk [-] 0.1681 CalculatedEmpirical Parameter n [-] 1.4 CalculatedEmpirical Parameter Ak [-] -0.0357 CalculatedEmpirical Parameter Bk [-] 0.9227 CalculatedRate Limit [-] 50 Calculated

Receiver

Exp

ansi

on

D

evic

eC

om

pre

sso

rE

vap

ora

tor

Co

nd

ense

r

The experimental testbed was comparable to a subcritical automotive air conditioning unit and different

experiments were conducted on this system by applying excitations to different system inputs, including air flow

rates to the heat exchangers, the valve opening area and the compressor speed. The refrigerant used was R134a. The

complete system information cannot be imparted here because of proprietary issues and hence a similar automotive

system present in ACRC labs is shown in Figure 4.2.

Page 90: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

75

Figure 4.2 Schematic of a Similar R134a Automotive A/C System (Source [56])

For model validation, the complete system model was simulated in Matlab® as described in [16]. The

component models for condenser, valve and pipe blocks introduced in Chapter 2 were also included in the complete

modeling library discussed in another chapter. For comparison of the model responses with the experimental data,

EVAPORATOR SIDE

JI ill ',-

l! J . ~n ! !

V ! Ii .!

JI .J I.li

•• J! '" " Ii ,

" I I-, , I 0 -.

H , I I,

30JS lI35.'I3(L,"0:>

Page 91: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

76

the model was fed with the component parameters and all the inputs applied to the experimental system were

applied to the model too.

The output variables that are compared with the data are the refrigerant pressures in the evaporator and the

condenser, refrigerant superheat at the evaporator outlet and the outlet air temperatures for the two heat exchangers.

These variables are important for evaluating and controlling system performance and efficiency, as well as for

effective system design too. The mass flow rate is not compared in this experimental system, because the mass flow

meter captures its filtered measurement and hence efforts to match it affect the accuracy of match for other variables

of interest.

4.3.1 Step Inputs to the Expansion Valve Opening A PRBS (Pseudo Random Binary Sequence) input signal is applied to the expansion valve as shown in

Figure 4.3 below. The base area specified in Table 4.1 is the valve area corresponding to the initial value of valve

voltage and the area at all the other times of the experiment can be calculated as a linear relation (calibrated

according to the manufacturer’s data) with the instantaneous value of voltage signal.

0 100 200 300 400 500 600 700 800 900 10003.6

3.8

4

4.2

4.4

4.6

Time [sec]

Val

ve in

put [

Vol

ts]

Figure 4.3 PRBS Input to the Expansion Valve

The response of the model to this input signal and the data are plotted in the following few figures. Here,

we can see that the model is able to predict most of the dynamic characteristics of the data, however the steady states

were found to be quite off from the values measured in the data. The transient response for all the outputs is

however met very closely by the model. The steady state errors, however, need to be removed in order to have a

correct estimation of the plant gains for further control design exercise.

0 100 200 300 400 500 600 700 800 900 10001500

1520

1540

1560

1580

1600

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationData

Figure 4.4 Refrigerant Pressure at the Condenser

Page 92: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

77

0 100 200 300 400 500 600 700 800 900 1000240

260

280

300

320

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

SimulationData

Figure 4.5 Refrigerant Pressure at the Evaporator

0 100 200 300 400 500 600 700 800 900 100050

50.5

51

51.5

52

52.5

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.6 Air Outlet Temperature at the Condenser

0 100 200 300 400 500 600 700 800 900 10009

10

11

12

13

14

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.7 Air Outlet Temperature at the Evaporator

0 100 200 300 400 500 600 700 800 900 100010

15

20

25

Time [sec]

R13

4a S

uper

heat

[o C]

SimulationData

Figure 4.8 Refrigerant Superheat at the Evaporator Outlet

Page 93: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

78

The change in the condenser outlet air temperature for this particular experiment is not substantial as we

can observe from the scale of the y-axis in Figure 4.6. This signifies that the expansion valve opening can be used as

a control input for the automotive air conditioning system over a wide range without the necessity to design a very

big condenser.

With these figures, we can infer that the initial model validation shows promise in modeling the salient

dynamic characteristics of the experimental system. While trying to understand the reason for poor steady state

match, it was observed that the expansion valve model used in this case had a constant coefficient of discharge. In

order to ascertain whether this was true for the experimental system also, the coefficient of discharge was back

calculated from the data using the inverse Reynolds correlation introduced in Chapter 2. For sake of clarity, the

correlation is again presented here in Equation 4.3 below.

( )outvinvinVv PPCVAm ,, −= ρ& (4.3)

When calculated over the complete data set, the coefficient of discharge VC does not turn out to be constant

as shown in Figure 4.9 below and hence the inverse Reynolds correlation (Equation 4.4), described in Chapter 2,

was used for further modeling.

+= ∞

dv

KCC

Re1 (4.4)

0 100 200 300 400 500 600 700 800 900 1000

0.65

0.7

0.75

0.8

Time [s]

Val

ve C

d

Figure 4.9 Variation of the Coefficient of Discharge for the Data set

Furthermore, it can be observed from the graphs shown above that the model behaves much faster than the

experimental data. This mismatch can be taken care of with the flexibility to vary the rate limit of the valve

according to the experimental data. In this case, we have kept the rate limit as 0.01 divisions per unit simulation time

for the range of inputs shown in Figure 4.3.

4.3.2 Improved Validation With the variable coefficient of discharge model incorporated in the static expansion device model, the

various outputs of interest look as shown in the following graphs. We see that along with the dynamic characteristic

match, the steady states are also matched to a good degree of accuracy in this case. The variable discharge

coefficient model will be kept included in the further validation against other data sets for this as well as the other

experimental systems.

Page 94: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

79

The rate limit tuning of the valve also will be kept at the same value for other data sets from this

experimental setup.

0 100 200 300 400 500 600 700 800 900 10001500

1520

1540

1560

1580

1600

Time [sec]

Con

dens

er P

ress

ure

[kP

a]SimulationData

Figure 4.10 Refrigerant Pressure at the Condenser

0 100 200 300 400 500 600 700 800 900 1000240

260

280

300

320

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

SimulationData

Figure 4.11 Refrigerant Pressure at the Evaporator

0 100 200 300 400 500 600 700 800 900 100050

50.5

51

51.5

52

52.5

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.12 Air Outlet Temperature at the Condenser

It can be observed that the results of model validation obtained with the modified models are much better

than those previously obtained. Although, an exact match is still not achieved, the results can be considered good for

control oriented modeling.

Page 95: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

80

0 100 200 300 400 500 600 700 800 900 10009

10

11

12

13

14

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.13 Air Outlet Temperature at the Evaporator

0 100 200 300 400 500 600 700 800 900 100010

15

20

25

Time [sec]

R13

4a S

uper

heat

[o C]

SimulationData

Figure 4.14 Refrigerant Superheat at the Evaporator Outlet

4.3.3 Step Inputs to the Expansion Valve Opening With the modifications to the model, described in the previous section, this section presents the validation

results for step changes (PRBS input) to the expansion valve opening for another experiment. The input is shown in

the following figure.

0 100 200 300 400 500 600 700 800 900 10003.6

3.8

4

4.2

4.4

4.6

Time [sec]

Val

ve in

put [

Vol

ts]

Figure 4.15 PRBS Input to the Expansion Valve

The model outputs and the experimental data can be compared in the following figures. The parameters for

expansion valve coefficient of discharge and valve rate limit in this case are same as in the previous section. We can

observe that the model behaves very close to the actual data in dynamic as well as steady state response.

Page 96: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

81

0 100 200 300 400 500 600 700 800 900 10001500

1520

1540

1560

1580

1600

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationData

Figure 4.16 Refrigerant Pressure at the Condenser

0 100 200 300 400 500 600 700 800 900 1000240

260

280

300

320

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

SimulationData

Figure 4.17 Refrigerant Pressure at the Evaporator

0 100 200 300 400 500 600 700 800 900 100050

50.5

51

51.5

52

52.5

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.18 Air Outlet Temperature at the Condenser

0 100 200 300 400 500 600 700 800 900 10009

10

11

12

13

14

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.19 Air Outlet Temperature at the Evaporator

Page 97: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

82

0 100 200 300 400 500 600 700 800 900 100010

15

20

25

Time [sec]

R13

4a S

uper

heat

[o C]

SimulationData

Figure 4.20 Refrigerant Superheat at the Evaporator Outlet

From the figures shown in this section, it can be inferred that the same model is able to predict the system

response with a fair degree of accuracy for two different experimental data sets. There are some discrepancies in the

steady state match however all of the salient dynamic characteristics have been captured by the model very well.

4.3.4 Step Inputs to the Compressor Speed

0 100 200 300 400 500 600 700 800 900 1000800

850

900

950

1000

Time [sec]

Com

pres

sor

spee

d [rp

m]

Figure 4.21 PRBS Input to the Compressor Speed

In this subsection, we present the validation results for step changes in compressor speed. The various

simulated outputs of interest along with their measured values are shown in the following figures.

0 100 200 300 400 500 600 700 800 900 10001580

1590

1600

1610

1620

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationData

Figure 4.22 Refrigerant Pressure at the Condenser

Page 98: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

83

0 100 200 300 400 500 600 700 800 900 1000280

290

300

310

320

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

SimulationData

Figure 4.23 Refrigerant Pressure at the Evaporator

0 100 200 300 400 500 600 700 800 900 100052

52.2

52.4

52.6

52.8

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.24 Air Outlet Temperature at the Condenser

0 100 200 300 400 500 600 700 800 900 10008

8.5

9

9.5

10

10.5

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.25 Air Outlet Temperature at the Evaporator

0 100 200 300 400 500 600 700 800 900 100010

11

12

13

14

15

Time [sec]

R13

4a S

uper

heat

[o C]

SimulationData

Figure 4.26 Refrigerant Superheat at the Evaporator Outlet

Page 99: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

84

In this comparison, we can observe that most of the dynamic characteristics are again captured very well by

the model. However, the steady state match, especially in the condenser pressure, is off by a small amount. This can

be explained as follows.

The changes in compressor speed affect the mass flow rate entering the condenser, which in turn changes

the refrigerant pressure in the condenser due to the rate of mass accumulation in it. Now, the true condenser is of

microchannel design with a very complex geometry and the refrigerant flow in it is not as straightforward as in the

unidirectional pipe model considered in the modeling approach. Due to the constrained flow in the true system, the

mass accumulation is much faster and hence the dynamics in the condenser pressure are faster in the experimental

data with the steady state values higher. This can be explained for the case of step input to expansion valve too. In

that case, a similar behavior of evaporator pressure, as shown in Figures 4.11 and 4.17, was observed whereas the

condenser pressure matched very well.

4.3.5 Step Inputs to the Condenser Air Flow Rate As a fourth data set for validation, effect of step changes to condenser air flow rate on the various output

responses was considered. This response is important especially in automotive air conditioning units, where

depending on the vehicle speed the air flow rate over the condenser changes. The input signal is shown in Figure

4.27 as,

0 100 200 300 400 500 600 700 800 900 1000520

540

560

580

600

Time [sec]

Con

dens

er A

ir F

low

Rat

e [g

/sec

]

Figure 4.27 PRBS Input to the Condenser Air Flow Rate

After applying this input signal to the subcritical system model, the output responses were plotted with their

experimental data counterparts in the following figures. From the comparison plots, we can infer that the model is

able to capture the dynamic as well as steady state characteristics for all the outputs to a fair degree of accuracy.

The evaporator pressure response of the model shows some high frequency content at the steady states

because of some low amplitude noise content in the measured air flow rate over the evaporator in this particular

experiment.

Page 100: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

85

0 100 200 300 400 500 600 700 800 900 10001460

1470

1480

1490

1500

1510

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationData

Figure 4.28 Refrigerant Pressure at the Condenser

0 100 200 300 400 500 600 700 800 900 1000245

250

255

260

265

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

SimulationData

Figure 4.29 Refrigerant Pressure at the Evaporator

0 100 200 300 400 500 600 700 800 900 100049.5

50

50.5

51

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.30 Air outlet Temperature at the Condenser

0 100 200 300 400 500 600 700 800 900 10004

4.5

5

5.5

6

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.31 Air Outlet Temperature at the Evaporator

Page 101: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

86

The refrigerant superheat measurement at the evaporator outlet however doesn’t match very well in its

steady state with the model responses as we can see from the Figure 4.32 below.

0 100 200 300 400 500 600 700 800 900 10008

9

10

11

12

13

14

Time [sec]

R13

4a S

uper

heat

[o C]

SimulationData

Figure 4.32 Refrigerant Superheat at the Evaporator Outlet

The high frequency noise in the model output is again due to the noisy mass inflow of air to the evaporator.

The experimental data shows somewhat faster superheat response too as compared to the model outputs. The

dynamic characteristics and the hills-and-valleys in the data are however matched to a fair degree of accuracy by the

model outputs.

4.3.6 Step Inputs to the Evaporator Air Flow Rate Finally, we will conclude the section on single evaporator subcritical model validation with the comparison

of the model outputs against the system response for step changes in the air flow rate over the evaporator. This

disturbance can be used as a control effort too and research on its use for performance and efficiency control [40], is

being carried out both in academia as well as in the industry. In Chapters 7 and 8, the use of this actuator for

multivariable control of single and dual evaporator systems respectively is presented. In the present case, the input

signal is given by,

0 100 200 300 400 500 600 700 800 900 1000165

170

175

180

185

190

Time [sec]

Eva

pora

tor

Air

Flo

w R

ate

[g/s

ec]

Figure 4.33 PRBS Input to the Evaporator Air Flow Rate

Page 102: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

87

0 100 200 300 400 500 600 700 800 900 10001560

1570

1580

1590

1600

1610

1620

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationData

Figure 4.34 Refrigerant Pressure at the Condenser

0 100 200 300 400 500 600 700 800 900 1000295

300

305

310

315

320

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

SimulationData

Figure 4.35 Refrigerant Pressure at the Evaporator

From Figure 4.35, we can observe that changes in air flow rate over the evaporator do not affect the

refrigerant pressure in the evaporator and the condenser by a large value. The knowledge of this decoupled behavior

is useful in the design of better control systems for vapor compression systems as described in [40].

0 100 200 300 400 500 600 700 800 900 100052

52.1

52.2

52.3

52.4

52.5

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.36 Air Outlet Temperature at the Condenser

Page 103: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

88

0 100 200 300 400 500 600 700 800 900 10009

9.5

10

10.5

11

11.5

12

Time [sec]

Air

outle

t Tem

pera

ture

[o C]

SimulationData

Figure 4.37 Air Outlet Temperature at the Evaporator

0 100 200 300 400 500 600 700 800 900 100011

12

13

14

15

Time [sec]

R13

4a S

uper

heat

[o C]

SimulationData

Figure 4.38 Refrigerant Superheat at the Evaporator Outlet

Again, in this validation also, we see that there is some difference between the steady state response of the

model and the experimental setup however the model is able to capture most of the dynamic characteristics of the

data very well.

With this, we have compared the responses of the subcritical single evaporator system model with the data

for five different experiments, for all the four primary inputs to the system. The idea behind comparing the model

against all the five experiments was to develop confidence in the model for further validation or application. With a

large number of separate validation sets supporting the model results, its use for further controller design or a/c

system design is justifiable. Furthermore, with the complete system validation we have, in fact, validated each of the

individual component models too. This implies the possibility to use these models for the design of multi-component

system models too, which is a topic of interest for the next few sections.

4.4 Model Validation: Subcritical Dual Evaporator System The dynamic model for a subcritical dual evaporator system with individual expansion devices for each

evaporator was presented in detail in Chapter 3. Currently, there is no dual evaporator systems laboratory in ACRC

from which data could be obtained for the validation of that model. Some of the ACRC industry sponsors were very

helpful in providing data sets for their in-house experimental systems however the objectives of their experiments

were quite different from those of a typical dynamic model validation oriented experiment, and hence those data sets

could not be used either.

Page 104: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

89

Seoul National University (SNU), Korea has a dual evaporator system laboratory [33] which is well

instrumented for transient analysis of a general dual evaporator air conditioning unit. Experimental data set for the

system was obtained from Kim et. al. [33]. The comparison of the model outputs and the actual experimental data

for the three data sets are presented in the following few sections.

Before proceeding to the step of model validation, the complete detail of the experimental setup at SNU,

Korea is presented here. The system has two concentric copper tube counterflow evaporators and a similar

condenser as shown in Figure 4.39. The refrigerant used is R22 and the external fluid is water. The system also has

a high side receiver, but for all the experimental data sets, the receiver was kept full of saturated liquid and hence it

can be considered just as a connecting pipe.

Metering valves from Hoke (model 1315G4B) [30] are used as expansion devices. The mass flow meters

are of Oval make [41] and a single compressor from Bock [42] caters for vapor compression of both the evaporators.

It might be worth noting here that even though this system does not resemble any industrially or

commercially used multi-evaporator unit, the dynamic characteristics of this setup can be used as a representative of

that of any typically available system. The use of counterflow evaporators brings the unidirectional pipe model for

the heat exchangers closer to the actual system. Above all, the ease to use this setup, with water as the external fluid,

highly increases its advantages for dynamic analysis oriented experimentation over any rigorously designed testbed.

Figure 4.39 Dual Evaporator Experimental Setup at SNU, Korea

The various system parameters for this experimental unit can further be described in Table 4.2 below. It

might be worth noting here that the empirical parameters of heat transfer coefficients in the table are for the first

experimental data of step changes in compressor speed.

Indoor unit 2Indoor unit 1

Mass flowmeter

Metering valvestepping motor

4-way valve

Outdoor unitheat exchanger

Accumulator

Ball valves Receiver

Motor

Compressor Oil-separator

Filter drier

Strainer

Cooling mode

Heating mode

Torque meter

60Inverter

PT

PT PT

PT

PT

PT

PT

T

T

PT

Indoor unit 2Indoor unit 1

Mass flowmeter

Metering valvestepping motor

4-way valve

Outdoor unitheat exchanger

Accumulator

Ball valves Receiver

Motor

Compressor Oil-separator

Filter drier

Strainer

Cooling mode

Heating mode

Torque meter

60Inverter

PPTT

PPTT PPTT

PPTT

PPTT

PPTT

PPTT

TT

TT

PPTT

Page 105: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

90

Table 4.2 Parameters of the Dual Evaporator System

Component Parameter Unit Value Comment

Heat Exchanger Type [-] Counterflow Manufacturer Data SheetMaterial [-] Copper Manufacturer Data SheetSpecific Heat [kJ/kg.K] 0.385 Material StandardsMass [kg] 5.5149 Manufacturer Data SheetInternal Volume [cu.m.] 4.520E-04 MeasuredExternal Surface Area [sq.m.] 0.271 CalculatedCross Sectional Area [sq.m.] 5.027E-05 CalculatedInternal Surface Area [sq.m.] 2.260E-01 CalculatedTotal Length of Fluid Flow [m] 8.9923 CalculatedHydraulic Diameter [m] 0.008 Manufacturer Data SheetAverage Number of Ports per Plate [-] 1 MeasuredAverage Number of Plates per Pass [-] 1 MeasuredNumber of Passes [-] 1 MeasuredLength of Fluid Flow per Pass [m] 8.9923 MeasuredNumber of Identical Parallel Paths [-] 1 MeasuredExternal Fluid Specific Heat [kJ/kg.K] 4.18 Material Standards

Heat Exchanger Type [-] Counterflow Manufacturer Data SheetMaterial [-] Copper Manufacturer Data SheetSpecific Heat [kJ/kg.K] 0.385 Material StandardsMass [kg] 8.6225 Manufacturer Data SheetInternal Volume [cu.m.] 7.060E-04 MeasuredExternal Surface Area [sq.m.] 0.424 CalculatedCross Sectional Area [sq.m.] 5.027E-05 CalculatedInternal Surface Area [sq.m.] 0.353 CalculatedTotal Length of Fluid Flow [m] 14.0454 CalculatedHydraulic Diameter [m] 0.008 Manufacturer Data SheetAverage Number of Microchannel Ports per Plate [-] 1 MeasuredAverage Numbe rof Microchannel Plates per Pass [-] 1 MeasuredNumber of Passes [-] 1 MeasuredLength of Fluid Flow per Pass [m] 14.0454 MeasuredNumber of Identical Parallel Paths [-] 1 MeasuredExternal Fluid Specific Heat [kJ/kg.K] 4.18 Material Standards

Expansion Base Area [sq.m.] 1.00E-06 Manufacturer Data SheetEmpirical Parameter Dv [-] 0.00089531 CalculatedEmpirical Parameter Ev [-] 0.0011287 CalculatedEmpirical parameter n [-] 0.5 CalculatedRate Limit [-] 1 Calculated

Compressor Displacement [cu.m.] 3.21E-05 Manufacturer Data SheetEmpirical Parameter Ck [-] 1.13 CalculatedEmpirical Parameter Dk [-] 0.26064 CalculatedEmpirical Parameter n [-] 1.15 CalculatedEmpirical Parameter Ak [-] -0.0357 CalculatedEmpirical Parameter Bk [-] 0.9227 CalculatedRate Limit [-] 50 Calculated

Between Condenser and Valve 1 [-] -51.096 CalculatedBetween Condenser and Valve 2 [-] -51.096 CalculatedBetween Valve 1 and Evaporator 1 [-] 8.4599 CalculatedBetween Valve 2 and Evaporator 2 [-] 12.781 CalculatedBetween Evaporator 1 and Compressor [-] -9.322 CalculatedBetween Evaporator 2 and Compressor [-] -7.5313 CalculatedBetween Compressor and Condenser [-] 33.534 Calculated

Between Condenser and Valve 1 [-] 3.40E+08 CalculatedBetween Condenser and Valve 2 [-] 3.40E+08 CalculatedBetween Valve 1 and Evaporator 1 [-] 3.49E+07 CalculatedBetween Valve 2 and Evaporator 2 [-] 3.49E+07 CalculatedBetween Evaporator 1 and Compressor [-] 1.88E+07 CalculatedBetween Evaporator 2 and Compressor [-] 2.18E+07 CalculatedBetween Compressor and Condenser [-] 4.29E+06 Calculated

Pip

e L

oss

P

aram

eter

K2

Co

nd

ense

rP

ipe

Lo

ss

Par

amet

er K

1C

om

pre

sso

rE

xpan

sio

n

Dev

ice

1,2

Eva

po

rato

r

1,

2

The three available experimental data sets are for step changes in compressor speed and the two expansion

valve openings. The model based on using pressure drop correlations for mass flow rate calculation presented in

Chapter 4 will be used for all the data sets.

Page 106: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

91

Another point to be noted is that the available data sets have only a sequence of step changes to the inputs

and not a persistently exciting signal, such as a PRBS input, as used for the validation of the single evaporator

system model. It might however be noted that this constraint does not compromise the accuracy of validation since

the only new component and new methodology being validated in this exercise is that of the mass multiplexer

described in Chapter 3. The validation for all other components has already been presented in the earlier sections.

Further, use of three different experimental data sets is sufficient to confide in the model.

4.4.1 Step Inputs to the Compressor Speed The first data set used for the model validation had a series of step inputs applied to the compressor speed

as shown here in the Figure 4.40 below.

0 50 100 150 200 250 300 350 400 450200

400

600

800

1000

1200

Time [sec]

Com

pres

sor

Spe

ed [r

pm]

Figure 4.40 Step Inputs to the Compressor Speed

The model needs an initial equilibrium condition to begin with, and for this data set, it was observed that

the first true equilibrium for all the variables was obtained at time T=110 seconds. Thus the validation shown in the

following figures is only for the later two steps, as shown in the Figure 4.40.

The various outputs of interest in this case included the refrigerant pressures at the outlet of the three heat

exchangers, and the superheats at the evaporator outlets. Furthermore, the mass flow rate through the two

evaporators was also considered as an output of interest because its match is a measure of accuracy of the multi-

evaporator modeling methodology. This can be stated because the new component i.e., the mass multiplexer,

contributes to the system dynamics by affecting the mass outflow rate from each evaporator. The comparison of

model outputs with the data is shown as follows.

150 200 250 300 350 400 450500

550

600

650

700

750

800

Time [sec]

Eva

pora

tor

1 P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.41 Refrigerant Pressure at Evaporator 1

Page 107: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

92

150 200 250 300 350 400 450500

550

600

650

700

750

800

Time [sec]

Eva

pora

tor

2 P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.42 Refrigerant Pressure at Evaporator 2

150 200 250 300 350 400 4507.8

8

8.2

8.4

8.6

8.8

Time [sec]

Eva

p 1

Mas

s F

low

Rat

e [g

/sec

] SimulationExperimental

Figure 4.43 Refrigerant Mass Flow Rate at Evaporator 1

150 200 250 300 350 400 4506.4

6.6

6.8

7

7.2

Time [sec]

Eva

p 2

Mas

s F

low

Rat

e [g

/sec

] SimulationExperimental

Figure 4.44 Refrigerant Mass Flow Rate at Evaporator 2

Figures 4.41 through 4.47 show the comparison of the model outputs with the true experimental data for

changes in the compressor speed. We see here that the model is able to capture the dynamic characteristics to a fair

degree of accuracy however the steady state response does not show a very good match with the experimental data.

Page 108: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

93

150 200 250 300 350 400 4505

10

15

20

25

30

Time [sec]

Eva

pora

tor

1 S

uper

heat

[o C]

SimulationExperimental

Figure 4.45 Refrigerant Superheat at Evaporator 1 Outlet

150 200 250 300 350 400 4505

10

15

20

25

30

Time [sec]

Eva

pora

tor

2 S

uper

heat

[o C]

SimulationExperimental

Figure 4.46 Refrigerant Superheat at Evaporator 2 Outlet

150 200 250 300 350 400 4501430

1440

1450

1460

1470

1480

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.47 Refrigerant Pressure at the Condenser

Furthermore, in the experimental data, the refrigerant pressure at the condenser outlet shows a slight decay

after reaching the maximum value. This particular dynamic is missing in the model outputs as can be observed in

Figure 4.47. An analysis of this particular behavior is presented in the next section.

4.4.1.1 Decay in the Condenser Pressure To understand the discrepancy in the dynamic behavior of the condenser pressure, the experimental system

shown in Figure 4.39 and the data may be closely observed. Compressor outlet pressure was also available in the

data set and it is plotted along with the condenser outlet pressure in the figure below.

Page 109: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

94

0 50 100 150 200 250 300 350 400 4501350

1400

1450

1500

1550

Time [sec]

Pre

ssur

e [k

Pa]

CondenserCompressor Outlet

Figure 4.48 Condenser Outlet and Compressor Outlet Pressures

It can be clearly observed that the condenser pressure is simply following the incoming pressure from the

compressor. Thus, the focus of study in this section was shifted from just the condenser to the overall compressor-

condenser system, Figure 4.49.

Figure 4.49 Compressor-Condenser System

Figure 4.49 shows that the compressor and the condenser are separated by an oil-separator and a 4-way

valve. Also, the compressor outlet pressure is actually measured at the downstream of the oil-separator. This means

that the oil separator adds some dynamic characteristics which result in the pressure decay shown in Figure 4.48.

4.4.1.2 Oil Separator Dynamic Identification Since the characteristics of the oil separator in the actual experimental system were not known it was not

possible to physically model its response. Hence, it was decided to empirically identify its characteristics for this

data set. The method followed was to simulate the complete model by applying the condenser pressure from the data

to all the components outside of the condenser, wherever required. The resulting simulated condenser pressure and

4-way valve

Outdoor unitheat exchanger

Accumulator

Motor

Compressor Oil-separator

Strainer

Torque meter

60Inverter

PT

PT

PTT

T

4-way valve

Outdoor unitheat exchanger

Accumulator

Motor

Compressor Oil-separator

Strainer

Torque meter

60Inverter

PPTT

PPTT

PPTTTT

TT

Page 110: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

95

the data can then be considered as the input and the output of the identification procedure. This method is also

shown in the figure below with different values of condenser pressure applied to different system components.

Figure 4.50 Method for Oil Separator Dynamics Identification

The proposed method was followed to generate the data from simulation model for SISO identification of

oil separator dynamics. Since, the condenser model has pressure as one of the dynamic states it was decided to use

the identified model as the transfer function between condenser pressure and the pressure observed after the oil

separator.

The input-output data used for the identification process is shown in the following figure.

150 200 250 300 350 400 4501430

1440

1450

1460

1470

1480

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.51 Input and Output Data for the Identification

The system identification toolbox in Matlab® was used for the offline identification of the oil separator

dynamics. Of the different possible model structure, an output-error (OE) model structure [37], Figure 4.52, was

chosen because of its relative accuracy for this particular identification on use with the identification toolbox.

Pc = simulated Pressure Pd = Pressure from Data

Pd

Pd

Pc Condenser

Oil Separator

Valve

Compressor

Page 111: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

96

Figure 4.52 The Output Error Model Structure

The comparison of the model fit achieved by using different possible model structures and model orders is

shown here in Figure 4.53 below. For the present purpose, a 3rd order OE model was chosen which provided a match

of about 74% with the data. The model is given by,

0.1305 + s 3.622 + s 254.5 + s = F(s)

0.07703 -6.012s-s 157 )(

)()()()(

)(

23

2=

+=

sB

tetusFsB

ty

(4.5)

Other model structures including ARX, ARMAX [37], do not show as good an estimation match as the

output error model, Figure 4.53. Since, the physical parameters of the oil separator were not known, the only criteria

left for choice of model structure was estimation match and hence the output error model was chosen for further

analysis.

150 200 250 300 350 400 450-20

-15

-10

-5

0

5

10

15

Mea

ns r

emov

ed o

utpu

t

Measured Output and Simulated Model Output

Validation Data Period [sec]

Measured Outputoe331 Fit: 74%oe441 Fit: 73.92%oe221 Fit: 50.37%arx221 Fit: 3.383%

Figure 4.53 Comparison of the Identified Models for Oil Separator Dynamics

u

FB

y

e

Page 112: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

97

The third order output error model was used along with the complete system model for a second round of

validation. In the simulation model, a transfer function representation was kept between the pressure from condenser

model and that fed to the valve and the compressor. The comparison of the resulting model outputs and the data with

oil separator model incorporated is shown in the following figures.

150 200 250 300 350 400 450500

550

600

650

700

750

800

Time [sec]

Eva

pora

tor

1 P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.54 Refrigerant Pressure at Evaporator 1

150 200 250 300 350 400 450500

550

600

650

700

750

800

Time [sec]

Eva

pora

tor

2 P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.55 Refrigerant Pressure at Evaporator 2

150 200 250 300 350 400 4507.8

8

8.2

8.4

8.6

8.8

Time [sec]

Eva

p 1

Mas

s F

low

Rat

e [g

/sec

] SimulationExperimental

Figure 4.56 Refrigerant Mass Flow Rate at Evaporator 1

Page 113: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

98

150 200 250 300 350 400 4506.5

6.6

6.7

6.8

6.9

7

Time [sec]

Eva

p 2

Mas

s F

low

Rat

e [g

/sec

]

SimulationExperimental

Figure 4.57 Refrigerant Mass Flow Rate at Evaporator 2

From Figures 4.54 to 4.60, it can be observed that with the addition of oil separator dynamics, the

simulated condenser pressure, and mass flow rates through the two evaporators match very well with the observed

data. The match between observed and simulated evaporator pressures and superheats has also improved over that

obtained without the oil separator transfer function.

150 200 250 300 350 400 45010

15

20

25

30

Time [sec]

Eva

pora

tor

1 S

uper

heat

[o C]

SimulationExperimental

Figure 4.58 Refrigerant Superheat at Evaporator 1 Outlet

150 200 250 300 350 400 4505

10

15

20

25

30

Time [sec]

Eva

pora

tor

2 S

uper

heat

[o C]

SimulationExperimental

Figure 4.59 Refrigerant Superheat at Evaporator 2 Outlet

Page 114: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

99

150 200 250 300 350 400 4501430

1440

1450

1460

1470

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.60 Refrigerant Pressure at the Condenser

With this, we conclude the section of dual evaporator system validation against data for step changes in the

compressor speed. In the next two sections the validation against data for step changes in the valve openings is

presented.

4.4.2 Step Inputs to Expansion Valve 1 In the data sets for step changes to valve opening, the actual input signal applied to the valves was not

provided. Thus, mass flow rate data was used to back calculate that information. The mass flow rate plots for the

first experimental data are shown in Figures 4.61 and 4.62 below. We see here that the mass flow rate in valve 2

remains almost constant indicating that the valve 2 opening was kept nearly constant for this particular experiment.

150 200 250 300 350 400 450 500 550 6004

6

8

10

12

Time [sec]

Eva

p 1

Mas

s F

low

Rat

e [g

/sec

]

Figure 4.61 Mass Flow Rate at Evaporator 1

150 200 250 300 350 400 450 500 550 6004

6

8

10

12

Time [sec]

Eva

p 2

Mas

s F

low

Rat

e [g

/sec

]

Figure 4.62 Mass Flow Rate at Evaporator 2

Page 115: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

100

With the available information, attempts at model validation against this data set were carried out, however,

each time the model predicted loss of superheat in evaporator 1 due to mass flow rate increase but there was no such

indication in the data set. Since the evaporators in the experimental system had no accumulator in the downstream,

the superheat loss was impossible. This gave an indication that possibly some other input signal was also varying

along this experiment to maintain the superheat above zero.

From the earlier validation plots, it was observed that, the mass flow rate of the external fluid plays an

important role in the system superheat response. In the available data, the mass flow rates of the external fluid to the

heat exchangers were not provided. Therefore, for the compressor data set, it was considered constant. In order to

ascertain whether it was constant throughout the experiment on step changes in valve opening too or not, the

secondary fluid heat transfer coefficient was calculated over the complete data set by the following set of evaporator

steady state equations [16] .

Refrigerant energy balance in the saturated region

( ) ( )111

1 rwtotal

iiigi TTLL

Ahhm −=− α& (4.6)

Refrigerant energy balance in the superheated region

( ) ( )222

2 rwtotal

iigoo TTLL

Ahhm −=− α& (4.7)

Refrigerant mass balance

io mm && = (4.8)

Evaporator wall energy balance in saturated region

( ) ( )11111 rwiiwaoo TTATTA −=− αα (4.9)

Evaporator wall energy balance in superheated region

( ) ( )22222 rwiiwaoo TTATTA −=− αα (4.10)

Solving all these equations results in the steady state solution for the air side heat transfer coefficient times

the air side heat transfer area, as,

( )( )

( )( )

( )( )

( )( )2211222111

1ra

goo

ra

igi

raii

goo

raii

igioo TT

hhm

TT

hhm

TTA

hhm

TTA

hhmA

−+

−=

−−

−−

&&&&

ααα (4.11)

The value of the heat transfer coefficient for different steady states during the experiment is plotted for the

two evaporators in Figures 4.63 and 4.64 below, where we can see that it varies over the complete data set indicating

a change in mass inflow of water to the heat exchanger along the experiment to maintain the superheat.

Page 116: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

101

14.41 112.47 253.15 426.72 593.150

1

2

3

4

5

6

Steady States Instants [sec]

Eva

pora

tor

1 α

o [kW

/m2 /K

]

Figure 4.63 Variation of External Heat Transfer Coefficient for Evaporator 1

14.41 112.47 253.15 426.72 593.150

0.5

1

1.5

2

Steady State Instants [sec]

Eva

pora

tor

2 α

o [kW

/m2 /K

]

Figure 4.64 Variation of External Heat Transfer Coefficient for Evaporator 2

Similarly, for the condenser the external fluid heat transfer coefficient can be obtained using steady state

energy and mass balance from Chapter 2 as,

( )( )

( )( )

( )( )

( )( )

( )( )

( )( )332211333222111

1ar

ofo

ar

fgo

ar

gii

arii

ofo

arii

fgo

arii

giioo TT

hhm

TT

hhm

TT

hhm

TTA

hhm

TTA

hhm

TTA

hhmA

−+

−+

−=

−−

−−

−−

&&&&&&

αααα

(4.12)

Calculating the external heat transfer coefficient from this equation, results in the variation as shown in the

Figure 4.65, which suggests that it changes. Since the only way heat transfer coefficient at water side can change is

by change in mass flow rate, the results indicate a parallel input to external fluid mass flow rate along with the valve

steps.

14.41 112.47 253.15 426.72 593.155

10

15

20

25

Steady State Instants [sec]

Con

dens

er α

o [kW

/m2 /K

]

Figure 4.65 Variation of External Heat Transfer Coefficient for the Condenser

Page 117: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

102

Based on the variation of heat transfer coefficient, the mass flow rate of air can be backed out using a linear

relation between the two and that mass flow rate can then be applied to the model along with the other inputs from

the data set. With this input, the resulting validation plots for the variables of interest are shown in the figures below.

150 200 250 300 350 400 450 500 550 600500

550

600

650

700

750

Time [sec]

Eva

pora

tor

1 P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.66 Refrigerant Pressure at Evaporator 1

150 200 250 300 350 400 450 500 550 600550

600

650

700

Time [sec]

Eva

pora

tor

2 P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.67 Refrigerant Pressure at Evaporator 2

150 200 250 300 350 400 450 500 550 6004

6

8

10

12

Time [sec]

Eva

p 1

Mas

s F

low

Rat

e [g

/sec

]

SimulationExperimental

Figure 4.68 Refrigerant Mass Flow Rate at Evaporator 1

Page 118: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

103

150 200 250 300 350 400 450 500 550 6004

6

8

10

12

Time [sec]

Eva

p 2

Mas

s F

low

Rat

e [g

/sec

] SimulationExperimental

Figure 4.69 Refrigerant Mass Flow Rate at Evaporator 2

150 200 250 300 350 400 450 500 550 60014

16

18

20

22

24

Time [sec]

Eva

pora

tor

1 S

uper

heat

[o C] Simulation

Experimental

Figure 4.70 Refrigerant Superheat at Evaporator 1 Outlet

The match in the steady state of refrigerant superheat for evaporator 1 is not very satisfactory as we can see

in the Figure 4.70 above, however the dynamic behavior is captured to a good accuracy. Further, for the rest of the

output variables of interest, the match between simulation results and the model is very good.

150 200 250 300 350 400 450 500 550 60016

18

20

22

24

Time [sec]

Eva

pora

tor

2 S

uper

heat

[o C]

SimulationExperimental

Figure 4.71 Refrigerant Superheat at Evaporator 2 Outlet

Page 119: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

104

150 200 250 300 350 400 450 500 550 6001380

1400

1420

1440

1460

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.72 Refrigerant Pressure at the Condenser

With this, we conclude the section on model validation for the experiment on step changes in opening area

of expansion device 1. It can be inferred that the model is able to capture most of the dynamic as well as steady state

characteristics to a good accuracy.

4.4.3 Step Inputs to Expansion Valve 2 The third available data set was for the analysis of the system response to step changes in the opening area

of the second expansion device. The same idea was followed in this case as in the study conducted in the last

section. The steady state values of heat transfer coefficient in this case also suggested step changes to external fluid

mass flow rate over the heat exchangers to maintain the superheat. Again, the mass flow rate for the external fluid

was back calculated using the changing heat transfer coefficient data and applied to the system along with the input

to the expansion valve.

The validation results in this case also show fair degree of accuracy against the experimental setup and are

presented as follows. The evaporator pressures and mass flow rates are shown here in the figures.

150 200 250 300 350 400 450 500 550 600 650550

600

650

700

Time [sec]

Eva

pora

tor

1 P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.73 Refrigerant Pressure at Evaporator 1

Page 120: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

105

150 200 250 300 350 400 450 500 550 600 650550

600

650

700

Time [sec]

Eva

pora

tor

2 P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.74 Refrigerant Pressure at Evaporator 2

150 200 250 300 350 400 450 500 550 600 6505

6

7

8

9

Time [sec]

Eva

p 1

Mas

s F

low

Rat

e [g

/sec

]

SimulationExperimental

Figure 4.75 Refrigerant Mass Flow Rate at Evaporator 1

150 200 250 300 350 400 450 500 550 600 6505

6

7

8

9

Time [sec]

Eva

p 2

Mas

s F

low

Rat

e [g

/sec

]

SimulationExperimental

Figure 4.76 Refrigerant Mass Flow Rate at Evaporator 2

150 200 250 300 350 400 450 500 550 600 65016

18

20

22

24

Time [sec]

Eva

pora

tor

1 S

uper

heat

[o C] Simulation

Experimental

Figure 4.77 Refrigerant Superheat at Evaporator 1 Outlet

Page 121: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

106

150 200 250 300 350 400 450 500 550 600 65014

16

18

20

22

24

Time [sec]

Eva

pora

tor

2 S

uper

heat

[o C]

SimulationExperimental

Figure 4.78 Refrigerant Superheat at Evaporator 2 Outlet

The superheat match for the second evaporator is however not very good as we can see in the Figure shown

above. The superheat at the outlet of the first evaporator also shows different dynamic characteristics than the

experimental setup, however matches the steady states to a good accuracy.

150 200 250 300 350 400 450 500 550 600 6501380

1400

1420

1440

1460

1480

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationExperimental

Figure 4.79 Refrigerant Pressure at the Condenser

Thus, we see that the model is able to predict the response of most of the variables within good accuracy.

The superheat match for the two evaporators is however not very satisfactory, as observed in the last section too.

Because of the limited knowledge of the experimental testbed and the experiment procedure, further attempts at

achieving better match of evaporator superheat were not viable. It can however be inferred that the difference

between the true and the simulated responses lies mostly in the steady state responses, whereas, the dynamics are

well accounted for in the model.

With this, we conclude the section on model validation for multi-evaporator systems. With the comparison

of the experimental results and model responses shown in the previous sections, it can be inferred that the model

introduced in Chapter 3 is a valid model for a given similar multi-evaporator experimental system and can be used

for prediction, design and control of any such system. The use of the model for prediction has been tested by the

validation presented in the earlier section. Its use for the design of model based controllers is presented in Chapter 8

where we can see good reference tracking and disturbance rejection properties for the controller. The application of

this model can be used for system design too by tying to identify the system physical parameters based on a desired

response. A model is useful for such purpose because all the analysis required for such an exercise can be done very

easily from a mathematical viewpoint rather than resorting to rigorous experimentation. The design oriented

Page 122: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

107

potential of this model was however not tapped in the current study and the attention was kept focused on prediction

and control.

4.5 Subcritical Cycle with High Side Receiver In Chapter 2, a model for a subcritical system with a high side receiver was presented based on the heat

transfer coefficient compensation method. The modeling methodology was based on the idea that the presence of a

high side receiver prevents occurrence of subcool at the condenser outlet [22]. Also, as described earlier, for a

suitably designed system the receiver brings any subcool at the condenser outlet back to the two phase condition.

This happens by the expansion or contraction of the liquid-gas mixture in the receiver volume dependent on the

disturbance acting on the system.

In this section, simulation studies for the system with receiver are presented for disturbances in valve

opening and changes in compressor speed. In each case the system begins with a two phase condition at the

condenser outlet and, due to the disturbance, the system migrates to a subcooled condition at the condenser outlet

but returns again because of the presence of the receiver. Parametric studies for changes in receiver volume and

initial refrigerant mass in the receiver are also conducted and their effect on the system response is also presented.

4.5.1 Simulation Studies for a System with High Side Receiver The component parameters used for the simulation studies were for the R134a testbed used for model

validation of the subcritical system in the earlier section too. In all the earlier experiments, the condenser had

subcool at the outlet and hence for that case, the receiver just acts as a pipe. The presence of subcool can be

explained by the fact that, for a properly designed system, the initial charging of the system also plays an important

role in the condition at the condenser outlet. If, for all the conditions, the receiver remains full, the condenser can

have subcool at all the conditions.

A properly designed and charged system with high side receiver can gain subcool momentarily due to

sudden disturbance acting on it, such as a sudden increase in the mass flow rate of the external fluid. In such a case,

because of subcooled liquid entering the receiver, the refrigerant pressure in the receiver will drop, which will cause

reduction in the saturated liquid enthalpy beyond the enthalpy of the fluid exiting the condenser, thus resulting in

reverting the fluid condition back to two phase.

4.5.2 Effect of Step Input to the Condenser Air Flow Rate In the following studies, the system response is simulated for three different step changes in mass flow rate

of the external fluid to the condenser. The variable subcool_index is a variable of interest, since its value (0 or 1)

determines whether the exiting fluid is at two-phase condition or subcooled condition respectively. The value

corresponds to the difference between the enthalpies at the condenser outlet and that at the receiver outlet. The

difference becomes negative as soon as the system reaches subcool condition and is plotted with subcool_index for

comparison. The mass inventory in the receiver is another important variable of interest because, depending on the

incoming liquid condition, the mass inventory changes.

Page 123: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

108

0 2 4 6 8 10 12 14 16 18 20

0

0.2

0.4

0.6

0.8

1

Time [sec]

Sub

cool

Inde

x

∆ mair

=2kg/sec∆ m

air=2.5kg/sec

∆ mair

=3kg/sec

Figure 4.80 Subcool Index (0-Two phase, 1-Subcool)

0 2 4 6 8 10 12 14 16 18 20-10

-5

0

5

10

15

Time [sec]

Ent

halp

y D

iffer

ence

[kJ/

kg]

∆ mair

=2kg/sec∆ m

air=2.5kg/sec

∆ mair

=3kg/sec

Figure 4.81 Refrigerant Enthalpy at the Condenser and the Receiver Outlets

As long as the enthalpy difference shown in Figure 4.81 stays negative, the condenser has a subcooled flow

region at its exit. In the Figure 4.80, we can observe that the time for which the subcool region stays in the

condenser increases with the increase in amplitude of the disturbance.

0 2 4 6 8 10 12 14 16 18 2070

80

90

100

110

Time [sec]

Rec

eive

r M

ass

[g]

∆ mair

=2kg/sec∆ m

air=2.5kg/sec

∆ mair

=3kg/sec

Figure 4.82 Refrigerant Mass Inventory in the Receiver

Page 124: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

109

0 2 4 6 8 10 12 14 16 18 201200

1300

1400

1500

1600

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

∆ mair

=2kg/sec∆ m

air=2.5kg/sec

∆ mair

=3kg/sec

Figure 4.83 Refrigerant Pressure in the Condenser

Figure 4.82 shows the change in mass inventory in the receiver due to the air flow rate change over it. It

can be observed that the mass inventory increases. This occurs because subcooled fluid enters the receiver and keeps

accumulating there. Due to the incoming cold fluid, the pressure in the receiver also goes down till the saturated

liquid enthalpy becomes equal to the subcooled fluid enthalpy. The decrease in the condenser pressure is also

evident from Figure 4.83.

The graphs shown in Figures 4.80 to 4.83 present a qualitative validation of a system with high side

receiver. The response of the model confirms with a true system’s physically intuitive response. A complete

quantitative validation is also presented in a later section for a residential air conditioning system.

4.5.3 Parametric Study: Initial Mass in the Receiver As discussed in Section 4.2, initial refrigerant mass in the receiver is an important system parameter and

should be known to use the modeling methodology discussed in Chapter 4. In order to understand its effect on the

system response, simulation studies were conducted for the same disturbance input acting on system with different

initial masses in the receiver.

0 1 2 3 4 5 6 7 8

0

0.2

0.4

0.6

0.8

1

Time [sec]

Sub

cool

Inde

x

initial mass=75 ginitial mass=100 ginitial mass= 120 g

Figure 4.84 Subcool Index (0-Two Phase, 1-Subcool)

Page 125: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

110

0 2 4 6 8 10 12 14 16 18 2060

80

100

120

140

Time [sec]

Rec

eive

r M

ass

[g]

initial mass=75 ginitial mass=100 ginitial mass= 120 g

Figure 4.85 Refrigerant Mass Inventory in the Receiver

Figure 4.84 shows that the time for which the subcooled region stays in a condenser increases with

increasing refrigerant mass in the receiver. This is intuitively correct too, since for the same volume, a larger initial

mass inventory will reduce the capacity to contain any disturbances. Thus, for the initial mass of 75 g, the receiver

doesn’t allow any subcool in the condenser, however, with 120g the subcool region stays for longest. Figure 4.85

shows the change in mass inventory for each case.

4.5.4 Parametric Study: Receiver Volume Receiver volume is an important design parameter for any system because of its effect on the system

transient as well as the steady state response. In the following graphs, the transient response of systems with

different receiver volumes is presented for the same disturbance signal.

0 2 4 6 8 10 12 14 16 18 20

0

0.2

0.4

0.6

0.8

1

Time [sec]

Sub

cool

Inde

x

receiv er v olume=0.15 Lreceiv er v olume=0.29 Lreceiv er v olume=0.4 L

Figure 4.86 Subcool Index (0-Two Phase, 1-Subcool)

0 5 10 15 20 25 30 35 4080

85

90

95

100

105

110

Rec

eive

r M

ass

[g]

Time [sec]

receiv er v olume=0.15 Lreceiv er v olume=0.29 Lreceiv er v olume=0.4 L

Figure 4.87 Refrigerant Mass Inventory in the Receiver

Page 126: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

111

Lesser receiver volume implies that on the onset of subcool, the receiver will reach thermal equilibrium

quicker and hence the subcooled region cannot propagate far into the condenser, as long as the receiver doesn’t fill

up. On the other hand, with a very large receiver, more subcooled fluid can enter before the thermal equilibrium can

get imbalanced. This can be observed in Figure 4.86 above. The receiver volume plays an important role in system

response and this model can be used for choosing a proper receiver volume for a given system and desired transient

response. Receiver mass inventory is shown in Figure 4.87.

4.5.5 Receiver Model Validation In order to validate the receiver model against experimental system, transient data from the R22 residential

air conditioning system lab [44], which has a high side receiver, was obtained. The complete system parameters for

that lab are shown in the Table 4.3 below.

The experimental system has a liquid flow meter at the outlet of the condenser, however, it cannot measure

correct mass flow if the incoming liquid is two phase or just saturated. Thus, the refrigerant mass flow data was not

available from the experimental system. In absence of that knowledge, the valve coefficient of discharge calibration

was conducted based on the steady state values of the refrigerant superheat. The resulting values of the coefficient of

discharge parameters are shown in the table too.

The two phase heat transfer coefficient for the condenser and the evaporator was chosen to be 2 kW/m2/K

and 1.5 kW/m2/K. The chosen values lie within the possible range described in the refrigerant property data

available from [39].

The Slip ration for the chosen condition lies between 1 and 2.48 for the condenser and 1 and 3.6 for the

evaporator. The chosen values for the two heat exchangers were 2 and 3 respectively.

The volume of the receiver is known from the manufacturer and can be verified by measurements to be

close to 3 liters. The initial mass in the receiver is a tunable parameter and was chosen to be 0.5 kg initially.

With these chosen parameters, the simulation was compared against the data for step changes in expansion

valve opening as shown in the figure below.

600 700 800 900 1000 1100 1200 1300300

400

500

600

700

800

Time [sec]

Val

ve in

put [

Vol

ts]

Figure 4.88 Step Inputs to the Expansion Valve

Page 127: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

112

Table 4.3 Parameters of the High Side Receiver System

Component Parameter Unit Value Comment

Heat Exchanger Type [-] Microchannel Manufacturer Data SheetMaterial [-] Aluminum Manufacturer Data SheetSpecific Heat [kJ/kg.K] 0.89 Material StandardsMass [kg] 2.6 Manufacturer Data SheetInternal Volume [cu.m.] 8.756E-05 MeasuredExternal Surface Area [sq.m.] 14.180 CalculatedCross Sectional Area [sq.m.] 3.167E-07 CalculatedInternal Surface Area [sq.m.] 5.516E-01 CalculatedTotal Length of Fluid Flow [m] 276.48 CalculatedHydraulic Diameter [m] 0.000635 Manufacturer Data SheetAverage Number of Ports per Plate [-] 4 MeasuredAverage Number of Plates per Pass [-] 64 MeasuredNumber of Passes [-] 3 MeasuredLength of Fluid Flow per Pass [m] 0.36 MeasuredNumber of Identical Parallel Paths [-] 1 MeasuredTwo Phase Flow Heat Transfer Coefficient [kW/sq.m./K] 1.5 Tuned ParameterSuperheated Flow Heat Transfer Coefficient [kW/sq.m./K] 0.7043 Dittus Boelter CorrelationExternal Fluid Heat Transfer Coefficient [kW/sq.m./K] 0.0314 CalculatedSlip Ratio [-] 2 Tuned ParameterExternal Fluid Specific Heat [kJ/kg.K] 1.007 Material Standards

Heat Exchanger Type [-] Tube Manufacturer Data SheetMaterial [-] Aluminum Manufacturer Data SheetSpecific Heat [kJ/kg.K] 0.89 Material StandardsMass [kg] 11.63 Manufacturer Data SheetInternal Volume [cu.m.] 1.911E-03 MeasuredExternal Surface Area [sq.m.] 25.100 CalculatedCross Sectional Area [sq.m.] 4.901E-05 CalculatedInternal Surface Area [sq.m.] 0.968 CalculatedTotal Length of Fluid Flow [m] 39 CalculatedHydraulic Diameter [m] 0.0078994 Manufacturer Data SheetAverage Number of Microchannel Ports per Plate [-] 1 MeasuredAverage Numbe rof Microchannel Plates per Pass [-] 3 MeasuredNumber of Passes [-] 10 MeasuredLength of Fluid Flow per Pass [m] 1.3 MeasuredNumber of Identical Parallel Paths [-] 1 MeasuredTwo Phase Flow Heat Transfer Coefficient [kW/sq.m./K] 2 Tuned ParameterSubcooled Flow Heat Transfer Coefficient [kW/sq.m./K] [-] NASuperheated Flow Heat Transfer Coefficient [kW/sq.m./K] 0.3149 Dittus Boelter CorrelationExternal Fluid Heat Transfer Coefficient [kW/sq.m./K] 0.3014 CalculatedSlip Ratio [-] 3 Tuned ParameterExternal Fluid Specific Heat [kJ/kg.K] 1.007 Material Standards

Internal Volume [cu.m.] 0.003 MeasuredUA value of Receiver [kW/K] 0.05 Full insulation assumed

Expansion Base Area [sq.m.] 1.00E-06 Manufacturer Data SheetEmpirical Parameter Dv [-] -0.019 CalculatedEmpirical Parameter Ev [-] 8.3427 CalculatedEmpirical parameter n [-] 0.5 CalculatedRate Limit [-] 1 Calculated

Compressor Displacement [cu.m.] 9.17E-05 Manufacturer Data SheetEmpirical Parameter Ck [-] 0.1 CalculatedEmpirical Parameter Dk [-] 0.1681 CalculatedEmpirical Parameter n [-] 1.13 CalculatedEmpirical Parameter Ak [-] -0.0357 CalculatedEmpirical Parameter Bk [-] 0.9227 CalculatedRate Limit [-] 50 Calculated

Eva

po

rato

rC

on

den

ser

Co

mp

ress

or

Receiver

Exp

ansi

on

D

evic

e

The superheat response of the true system is shown in the figure below. It should be noted that the system

loses superheat over long periods. The evaporator model that can be used for this simulation study is a 5th order

Page 128: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

113

model, described in [16] and is valid only for conditions with a definite superheat at the evaporator outlet. With

respect to this constraint, the valve coefficient of discharge calibration was done such that a minimum superheat (of

nearly 4 degrees) was always maintained in the evaporator. As a result, the model will not be able to present good

steady state response at the lower end of the superheat range. However, since design of a good controller for the

system is also an important motive behind this modeling, achievement of a good transient response validation is also

satisfactory. With this viewpoint, the comparison of the model and the measured data is presented here in the figures

below.

600 700 800 900 1000 1100 1200 1300-10

0

10

20

30

Time [sec]

R22

Sup

erhe

at [o C

]

SimulationData

Figure 4.89 Refrigerant Superheat at the Evaporator Outlet

600 700 800 900 1000 1100 1200 1300500

550

600

650

700

750

800

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

SimulationData

Figure 4.90 Refrigerant Pressure at the Evaporator

600 700 800 900 1000 1100 1200 13001620

1640

1660

1680

1700

1720

Time [sec]

Con

dens

er P

ress

ure

[kP

a]

SimulationData

Figure 4.91 Refrigerant Pressure at the Condenser

Page 129: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

114

As already stated, the system response at the lower range of superheat, (or similarly the upper range of

evaporator pressure), is not good because of the intentional calibration of the expansion valve opening to avoid

superheat loss at the evaporator exit. Other than that limitation, the transient response and the match at the other end

of the range is good. For better validation, more data sets are required and this forms a direction of future work

towards improved modeling of systems with high side receivers and low side accumulators.

4.6 Subcritical System with Low Side Accumulator As described in Chapter 4, the accumulator model is exactly similar to the receiver model and hence the

model validation for receiver can be considered as a proof of concept for the accumulator model too. More

experimental data specifically for systems with low side accumulator need to be taken for better validation and will

form another aspect of future work. In this section, simulation studies for a subcritical system with low side

accumulator are presented and compared qualitatively with a physically intuitive response of a system with

accumulator [22].

The system parameters chosen for the two heat exchangers and the compressor and valve were same as for

the subcritical system described in Table 4.1. The presence of an accumulator was simulated by considering a

volume of 0.5 liters at the downstream of the evaporator. Furthermore, it is assumed that the accumulator is fully

insulated resulting in no heat transfer with the ambient atmosphere.

4.6.1 Effect of Step Input to the Evaporator Air Flow Rate The presence of an accumulator ensures that the incoming fluid to the compressor is in saturated vapor

condition. This is important in order to avoid damage to the compressor. In case of sudden disturbances, there can be

situations when a small length of superheated flow condition emerges at the evaporator outlet. However, for a

properly designed system, the refrigerant thermal equilibrium in the accumulator volume will cause the necessary

expansion or contraction of the fluid, thus reverting the system back to the condition with no superheat.

In this section, the response of the accumulator to step changes of different amplitudes in air flow rate over

the evaporator is plotted. The outputs of concern in this case are the mass inventory in the accumulator, the final

evaporator pressure and the superheat index, a nonzero value of which signifies the presence of superheat.

0 5 10 15 20 25 30

0

0.2

0.4

0.6

0.8

1

Time [sec]

Sup

erhe

at in

dex

∆ mair

=25 g/sec∆ m

air=50 g/sec

∆ mair

=75 g/sec

Figure 4.92 Superheat Index (0-Two phase, 1-Superheat)

Figure 4.92 compares the time for which the superheat stays in the evaporator for different amplitudes of

step changes in the air flow rate on the evaporator. It can be observed that the superheat stays for longer in case

Page 130: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

115

when the amplitude of disturbance is smallest. This is different from the observation in case of high side receiver

and needs to be understood.

The accumulator mass inventory in Figure 4.93 increases because the mass contained in the superheat

region in the evaporator will be lesser than what it could store if the fluid was two phase. Thus, the excess mass

flows in to the accumulator.

0 10 20 30 40 50 60100

100.5

101

101.5

102

Time [sec]

Acc

umul

ator

Mas

s In

vent

ory

[g]

∆ mair

=25 g/sec∆ m

air=50 g/sec

∆ mair

=75 g/sec

Figure 4.93 Refrigerant Mass Inventory in the Accumulator

0 10 20 30 40 50 60260

265

270

275

280

285

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

∆ mair

=25 g/sec∆ m

air=50 g/sec

∆ mair

=75 g/sec

Figure 4.94 Refrigerant Pressure in the Accumulator

Further, due to the inflow of superheated vapor in the accumulator, the refrigerant pressure in the

accumulator increases till the outlet enthalpy from the evaporator becomes equal to the saturated vapor enthalpy.

The effect is higher in case of higher disturbance signal as shown in the Figure 4.94.

4.7 Summary In this chapter, model validation for single and multi-evaporator air conditioning systems was presented.

The results showed good results for different experimental data sets. Further, qualitative validation for receiver and

accumulator models was also obtained. As the number of data sets used for validation increases the confidence in

the model also increases. The scope of future work is to obtain more experimental data sets for systems with

receivers and accumulators for their better validation.

Page 131: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

116

Chapter 5. Linearization and Interconnection

5.1 Introduction Model linearization is an important step in controller design for complex nonlinear processes. With the

advanced understanding of linear algebra based methods, dynamic analysis of linear systems is a relatively easy task

and it, in turn, provides useful engineering insight into the dynamic behavior of the complex nonlinear system too.

Lyapunov’s indirect method, as an example, is based on the equivalence of linearized and the nonlinear models for

prediction of stable or unstable dynamic behavior of the actual nonlinear system. Furthermore, a region of attraction

can be associated with any linearized model, within which its accuracy is comparable to that of the nonlinear model.

Gain scheduled controller design for the complete system can then be achieved by using different linearized models

according to their respective regions of attraction. For example, position control of an inverted pendulum, is actually

a nonlinear problem however within the region of attraction of the particular desired position a linear model can be

used effectively for control against disturbances.

In this chapter, linearization of models for condenser without receiver and mass multiplexer (mux) for a

dual evaporator system (multi-evaporator system, in general) is presented. The method followed is the same as in

[16] and with this chapter all linearized models for a subcritical and a transcritical system are covered within these

two works. This is followed by comparison of the response of each linearized model against the actual nonlinear

model. Method for component model interconnection to form a complete linearized model for a subcritical cycle

follows this and an analytical method is also presented for the model of a mass multiplexer in multi-component

systems.

5.2 Linearized Condenser Model As we observed in Chapter 2, a condenser can be modeled with several different choices of state variables,

depending on the approach followed for derivation. Three possible choices of states were obtained as,

[ ]Twwwoutc TTThPLLx 32121 = (5.1)

[ ]Twwwc TTTmPLLx 32121 =′ (5.2)

and

[ ]Twww EEEmUUUx 321321~

~~~~

~~

=′′ (5.3)

The different dynamic models associated with each of these three state representations can be denoted as,

( ) ( )uxfxuxZ ,, = (5.4)

( ) ( )uxfxuxZ ′′=′′′′ ,, (5.5)

and

( )uxfx ′′′′=′′ , (5.6)

The function ( )uxf , defined in Chapter 2 is the nonlinear energy and mass balance function for different

regions of the condenser. The nonlinear matrices ( )uxZ , and ( )uxZ ′′′ , are also defined in Chapter 2. Following

Page 132: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

117

this, the nonlinear input-output relation can also be developed depending on fluid thermo-physical properties and

can be symbolically represented as,

( )uxgy ,= (5.7)

Different inputs acting on a condenser and different outputs of interest from it can all be clearly represented

by the Figure 5.1 shown below.

Figure 5.1 Different Inputs and Outputs of a Condenser Model

These state-input relation and the inputs and outputs can then be expressed in the vector-matrix form as,

( )

( ) ( )

( )

( ) ( )

( ) ( )( ) ( )( ) ( )

−−−−−−−−−

+−

+−

+−

=

3333

2222

1111

333

3

222

2

111

1

,

rwiiwaoo

rwiiwaoo

rwiiwaoo

outin

rwTotal

iioutfout

rwTotal

iifoutgin

rwTotal

iiginin

TTATTA

TTATTATTATTA

mm

TTL

LAhhm

TTLL

Ahmhm

TTL

LAhhm

uxf

αααααα

α

α

α

&&

&

&&

&

(5.8)

and,

[ ]Tainainoutin mThmmu &&& ,= (5.9)

[ ]cscrshroutroutawwwoutc mTTTTTTThPLLy ,,,,32121= (5.10)

The idea behind linearization is to represent this nonlinear system as a linear system about an operating

condition [36,46] identified depending on the specific design of the cycle. For example, control oriented

linearization of a residential air conditioning condenser model must be done about the respective climatic conditions

of the area where it is supposed to be installed. After linearization, the system dynamics can be represented with a

linear state space form of state and output perturbations about the linearization point as,

( ) ( )

( ) ( ) uDxCy

uBxAx

oooo

oooo

uxux

uxux

δδδ

δδδ

,,

,,

+=

+=& (5.11)

The individual matrices in this representation are time invariant and are obtained by using Taylor series

expansion of the nonlinear functions in Equation 5.8 about an identified operating point. Once, the linearized models

inm&

outm&

inh cP outh outrT ,

shrT , scrT ,

1L 1wT 2L 2wT outaT ,

am& inaT ,

3wT cm

Page 133: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

118

for each component model are obtained, all of them can be interconnected in a physically meaningful manner to

obtain a state-space representation of the complete air conditioning system.

5.2.1 Individual Function Linearization Several assumptions are made to define the output relationships, as well as explicitly relate intermediate

variables to states or inputs. Among all the variables, the assumptions regarding the air temperature aT are the same

for all the representations. For heat transfer calculations, an average air temperature across the condenser is

assumed.

2,, outaina

a

TTT

+= (5.12)

The energy balance for air, given a heat exchanger with n regions can then be expressed by the following

equation as,

( ) ( )

∑ −=−=

n

iaiw

Total

iooinaoutaairpair TT

LL

ATTCm1

,,,, α& (5.13)

Solving for aT and simplifying the expression assuming three regions as in a condenser results in,

ooairpair

i Total

iwiooinaairpair

a ACm

L

TLATCm

α

+⋅

∑+⋅

==

,

3

1

,,,

2

2

&

&

ooairpair

Total

w

Total

w

Total

wooinaairpair

ACm

L

TL

L

TL

L

TLATCm

α

α

+⋅

+++⋅

=,

3,32,21,1,,

2

2

&

&

(5.14)

For the linearization, the partial derivatives of the average air temperature with respect to mass flow rate,

inlet temperature and other variables in Equation 5.14 are required. To begin, first recall that the air-side heat

transfer coefficient is a function of mass flow rate of air. Specifically, we assume that the heat transfer coefficient

scales with Reynolds number [24] as shown in Equation 5.15 (prime denote initial values).

m

air

air

m

l

l

o

o

mm

=

=′ &

&

eRRe

αα

(5.15)

With that, the partial derivative of heat transfer coefficient with respect to mass flow rate of air can be

written as,

=∂∂

air

o

m

air

air

air

o

mmm

mm &&

&&

αα (5.16)

The partial derivatives of air temperature with respect to various system variables are then given in the

equations from 5.17 to 5.23.

ooairpair

Total

wwoo

a

ACm

L

TTA

LT

α

α

+⋅

=∂∂

,

3,1,

1 2 & (5.17)

Page 134: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

119

ooairpair

Total

wwoo

a

ACm

L

TTA

LT

α

α

+⋅

=∂∂

,

3,2,

2 2 & (5.18)

ooairpair

Totaloo

w

a

ACm

LL

A

TT

α

α

+⋅

=∂∂

,

1

1, 2 & (5.19)

ooairpair

Totaloo

w

a

ACm

LL

A

TT

α

α

+⋅

=∂∂

,

2

2, 2 & (5.20)

ooairpair

Totaloo

w

a

ACm

LL

A

TT

α

α

+⋅

=∂∂

,

3

3, 2 & (5.21)

ooairpair

airpair

ina

a

ACm

Cm

TT

α+⋅

⋅=

∂∂

,

,

, 2

2

&

& (5.22)

and

( )2,

3,3

2,2

1,1

,,

2

2

ooairpair

air

oairow

Totalw

Totalw

Totalinaoairp

air

a

ACm

mmT

LL

TLL

TL

LTAC

mT

α

αα

+⋅

∂∂

−⋅

=∂∂

&

&&

& (5.23)

5.2.2 State Linearization and Matrix Formation The linear state-space representation described in Equation 5.11 can be compared to a general Taylor series

expansion of Equation 5.8, which is given as,

( ) ( )( ) ( )

∂∂

+∂∂

=−+ − u

uf

xxf

Zt

xxx

uxux

oo δδδ

δ

0000 ,,

1 (5.24)

( ) ( )( ) ( )

uug

xxg

yyyuxux

oo δδδ0000 ,, ∂

∂+

∂∂

=−+ (5.25)

According to the state and input description, each of these partial fraction expressions can be obtained as

described in the Section 5.2.1. The states obtained from the PDE approach for the system are given by Equation 5.1.

Thus the elements of matrices in Equation 5.24 are expressed as,

∂∂

∂∂

∂∂

∂∂

∂∂

∂∂

∂∂

=∂∂

32121 wwwo Tf

Tf

Tf

hf

Pf

Lf

Lf

xf

(5.26)

Page 135: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

120

Each of these elements is a vector of length 7 and with the knowledge of the nonlinear function f in

Equation 5.8, the expressions for each of these can be obtained as presented below.

( ) ( )

( )

( ) ( )

( ) ( )( ) ( )( ) ( )

−−−−−−−−−

+−

+−

+−

∂∂

=∂∂

3333

2222

1111

333

3

222

2

111

1

11

rwiiwaoo

rwiiwaoo

rwiiwaoo

outin

rwTotal

iioutfout

rwTotal

iifoutgin

rwTotal

iiginin

TTATTA

TTATTATTATTA

mm

TTL

LAhhm

TTLL

Ahmhm

TTL

LAhhm

LLf

αααααα

α

α

α

&&

&

&&

&

(5.27)

( )

( )

∂∂∂∂∂∂

=∂∂

1

1

1

333

111

1

0

10

1

LT

A

LT

A

LT

A

TTL

A

TTL

A

Lf

aoo

aoo

aoo

rwTotal

ii

rwTotal

ii

α

α

α

α

α

(5.28)

Similarly,

( )

( )

∂∂∂∂∂∂

=∂∂

2

2

2

333

222

2

0

1

10

LT

A

LT

A

LT

A

TTL

A

TTL

A

Lf

aoo

aoo

aoo

rwTotal

ii

rwTotal

ii

α

α

α

α

α

(5.29)

Here, we use the knowledge that the total length of the condenser is constant and hence the length of the

third region can be expressed in terms of the other two. Before proceeding to the linearization w.r.t. pressure and

enthalpy, it should be noted that the fluid temperature in different regions is dependent on the pressure and the

enthalpy as,

( )11 , hPTTr = , ( )PTT satr =2 and ( )33 , hPTTr = (5.30)

Page 136: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

121

Further, the enthalpy in the first (superheated) and the third (subcooled) region can, in general, be

calculated as the average of their inlet and outlet enthalpies, which results in the expression as,

ii

g

gr

ginr

hhT

PP

h

hT

PT

T

hhPTT

δδδ∂∂

+

∂∂

+∂∂

=

+=

21

21

2,

11

1

(5.31)

A similar expression can also be written for the dependence of temperature in the third region to pressure

and outlet enthalpy from the condenser. Since outlet enthalpy is a state, it shows up in the state matrix, whereas the

inlet enthalpy being an input will show up in the input to state matrix. With this knowledge, we can proceed forward

to form the Taylor series expression with respect to pressure and enthalpy as,

∂∂

−∂∂

∂−

∂∂

−∂∂

∂∂

−∂∂

+

∂−

+

∂−

∂∂

−∂∂

+

∂−

=∂∂

P

h

hT

PT

A

PT

A

P

h

hT

PT

A

P

h

hT

PT

LL

AP

hm

PT

LL

AP

hm

P

hm

P

h

hT

PT

LL

AP

hm

Pf

f

fii

saii

g

gii

f

fTotalii

fout

sa

Totalii

fout

gin

g

gTotalii

gin

21

21

021

21

33

1

11

333

21

111

α

α

α

α

α

α

&

&&

&

(5.32)

and

∂∂

∂∂

+−

=∂∂

oii

oTotaliiout

o

hT

A

hT

LL

Am

hf

33

333

21

000

21

00

α

α&

(5.33)

The rest of the linearization terms, with respect to the three wall temperatures are easy to obtain and are

represented altogether by the matrix equations presented here.

Page 137: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

122

∂∂

+−−

∂∂∂∂

∂∂

∂∂

+−−

∂∂

∂∂∂∂

∂∂

+−−

=

∂∂

31

3

3

31

2

21

2

21

1

1

11

11

,

0

00

00

0

000

w

aooooii

w

aoo

w

aoo

Totalii

w

aoo

w

aooooii

w

aoo

Totalii

w

aoo

w

aoo

w

aooooii

Totalii

iw

TT

AAA

TT

A

TT

A

LL

A

TT

A

TT

AAA

TT

A

LL

A

TT

A

TT

A

TT

AAA

LL

A

Tf

ααα

α

α

α

α

ααα

α

α

α

α

ααα

α

(5.34)

With this the state matrix in Equation 5.11 is known completely since each of its vector elements has been

expressed in terms of the thermo-physical properties of the system at the chosen operating condition. Now, we can

proceed towards the step of input-state linearization, which is expressed as,

∂∂

∂∂

∂∂

∂∂

∂∂

=∂∂

aiaiioi mf

Tf

hf

mf

mf

uf

&& (5.35)

The input-state linearization can the be performed and the Taylor series terms with respect to incoming

mass flow rate, enthalpy and outgoing mass flow rate are,

=∂∂

00010g

gi

i

hhh

mf&

,

∂∂

∂∂

−+

=∂∂

00

21

000

21

1

11

hT

A

hT

LL

Am

hf

ii

tiii

i

α

α&

,

−−

=∂∂

0001

0

of

f

o

hhh

mf&

(5.36)

Similarly, the linearization matrices with respect to the air flow rate and air temperature are represented as,

( )

( )

( )

∂∂

+∂∂

∂∂

+∂∂

∂∂

+∂∂

−=∂∂

a

aoo

a

owao

a

aoo

a

owao

a

aoo

a

owao

ai

mT

Am

TTA

mT

Am

TTA

mT

Am

TTAmf

αα

αα

αα

3

2

1

0000

and

∂∂∂∂∂∂

=∂∂

ai

aoo

ai

aoo

ai

aoo

ai

TT

A

TT

A

TT

ATf

α

α

α

0000

(5.37)

5.2.3 Output Linearization and Matrix Formation As can be observed from Equation 5.10, for the first representation of the condenser model, some of the

outputs are the states themselves, the other outputs can be defined in terms of inputs, states and other thermo-

physical properties as,

Page 138: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

123

Outgoing air temperature: inaaouta TTT ,, 2 −= (5.38)

Outgoing refrigerant temperature: ( )outcoutr hPTT ,, = (5.39)

Superheat at condenser inlet: ( )2,, rinrshr TTT −= (5.40)

Subcool at the condenser outlet: ( )outrscr TTT ,2, −= (5.41)

Mass accumulation in the condenser: ( ) ( )[ ] 33211 1 LALALAm cscsgfcs ργργρρ ++−+= (5.42)

The dependence of the refrigerant temperature on pressure and enthalpy state has already been expressed in

the terms in state matrix presented in the previous section. The refrigerant density can also be expressed similarly as,

∂∂

+

∂∂

=∂∂

dP

dh

hPPg

g

111

21 ρρρ

,

∂∂

=∂∂

iin hh11

21 ρρ

(5.43)

PPff

∂=

∂ ρρ,

PPgg

∂=

∂ ρρ (5.44)

∂∂

+

∂∂

=∂∂

dP

dh

hPPf

f

333

21 ρρρ

,

∂∂

=∂∂

oout hh33

21 ρρ

(5.45)

Finally, recall that mean void fraction is a function of the state variables, inputs, and the parameter S (slip

ratio) [29], thus resulting in the nonlinear function formation as,

( )ShhPf inout ,,,=γ (5.46)

For the second representation, the mass accumulation in the condenser replaces outlet enthalpy as a state.

The mass and the density in the three regions can be related in the following form. The density in the subcooled

region may be considered independent of other fluid properties, because of the liquid phase incompressibility and

hence,

3

33 LA

m

cs

=ρ , 213 mmmm c −−= (5.47)

111 LAm csρ= , where ( )11 , hPcρρ = (5.48)

( ) ( )[ ] 22 1 LAm csgf γργρ +−= (5.49)

For the third representation, the partial derivatives with respect to states and inputs are not explicitly

derived but are represented as a state transformation from either of the first two representations.

∂∂

∂∂

∂∂

∂∂

∂∂

∂∂

∂∂

=∂∂

32121 wwwo Tg

Tg

Tg

hg

Pg

Lg

Lg

xg

(5.50)

∂∂

∂∂

∂∂

∂∂

∂∂

=∂∂

aiaiioi mg

Tg

hg

mg

mg

ug

&& (5.51)

and

uug

xxg

y δδδ∂∂

+∂∂

= (5.52)

Page 139: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

124

The nonlinear output matrix can be expressed in the vector-matrix form as,

( )

( ) ( )[ ]

++−+−−

=

33211

,2

2,

,

3

2

1

2

1

,

,

,

,

3

2

1

2

1

1

,2

LALALATT

TThPTTT

TTThPLL

mTTTTTTThPLL

cscsgfcs

outrr

rinr

outc

inaa

w

w

w

out

c

scr

shr

outr

outa

w

w

w

out

ργργρρ

(5.53)

The individual vector elements of the state-output matrix and the direct feed-through matrix in linearization

can now be obtained one by one, beginning with derivatives with respect to length of different regions in the

condenser.

( ) ( )( )

−−+−

∂∂

∂∂

=

∂∂

∂∂

csfgcs

aa

AA

LT

LTL

gLg

331

21

21

1000000

22

00000000001001

ργργρρρ

(5.54)

Page 140: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

125

This is followed by the calculation of derivatives with respect to fluid properties, i.e. pressure and

temperature at the condenser outlet and the wall temperatures in the three regions as shown in the next two

equations.

( )

∂∂

∂∂

+∂∂

+

∂−+

∂+

∂∂

+∂∂

∂−

∂−

∂∂

∂−

∂∂

∂=

∂∂

∂∂

cso

cs

f

f

fgg

g

o

ororr

rir

o

oror

o

ALh

A

P

h

hPL

PPL

P

h

hPL

h

T

P

T

P

TP

T

P

Th

T

P

T

hg

Pg

33

333

211

1

,,2,

2,,

,,

21

21

121

0

0000000010010000

ρ

ρρ

ργ

ργ

ρρ

(5.55)

∂∂

∂∂

∂∂

=

∂∂

∂∂

∂∂

000000000000

222

100010001000000000000

121

321

w

a

w

a

w

awww

TT

TT

TT

Tg

Tg

Tg

(5.56)

Page 141: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

126

The direct input-output feed-through matrix can also be formed in the similar manner and is shown in the

next equation.

∂∂

∂∂

∂∂

−∂∂

=

∂∂

∂∂

∂∂

∂∂

∂∂

0021

00

00000

0000

00000

212000

00000000000000000000000000000000000

11

i

i

ri

ai

a

ai

aaiaiioi

hL

hT

mT

TTm

gTg

hg

mg

mg

ρ

&& (5.57)

With this, a complete linearized model for the condenser can be obtained by evaluating the terms of all the

matrices about an identified operating condition. This linearized model can then be used along with the other models

of the complete vapor compression cycle in order to understand the system dynamics in a mathematically well-

worked way.

5.2.4 Linearization in Other Representations The other model representations for the condenser introduced in Chapter 2 were shown to be related to the

first representation by similarity transformation. Thus any of the three models can be obtained with the knowledge

of one of them. The state transformation matrix from the PDE approach to the energy approach was presented in

Chapter 2 and it can be used here again for the relation between the three linearized models.

If the three models and their respective dynamic modes are represented in the nonlinear form as,

( )uxfxxZZx ,=′′=′′= (5.58)

then,

( )xZZx ′′= −1 (5.59)

The transformation from the first to the second representation for nonlinear models has already been

presented in Chapter 2.

Now, for the standard state-space notation, the corresponding result in linear case can be obtained as

follows. The linearized representation for PDE based model is,

( ) ( )ugxgy

ufZxfZx

ux

ux

δδδδδδ

+=+= −− 11&

(5.60)

Page 142: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

127

Using the transformation for the second representation as given by 5.59,

( ) ( )( ) ( )( )( ) ugxZZgy

ufZxZZfZZZx

ux

ux

δδδ

δδδ

+′′=

+′′′=′−

−−−−−

1

11111& (5.61)

or,

( ) ugxZZgy

ufZxZZfZx

ux

ux

δδδ

δδδ

+′′=

′+′′′=′−

−−−

1

111& (5.62)

Finally using the transformation for the third representation as given by 5.58,

( )( ) ( )( )( ) ugxZgy

ufZxZfZZx

ux

ux

δδδ

δδδ

+′′=

+′′=′′−

−−−

1

111& (5.63)

or,

( )( ) ugxZgy

ufxZfx

ux

ux

δδδ

δδδ

+′′=

+′′=′′−

1

1& (5.64)

Relations amongst the three linear representations can then be condensed in the following table,

Table 5.1 Matrix Transformations for the Three Modeling Approaches

Matrix PDE approach Energy approach I Energy approach II A

xfZ 1− ZZfZ x ′′ −− 11 1−Zf x

B ufZ 1− ufZ 1−′ uf

C xg ZZg x ′−1 1−Zg x

D ug ug ug

5.2.5 Linearized Model Evaluation In order to ascertain the accuracy of the linearized model, simulation studies with three different step sizes

for compressor speed was carried out and the response of the linearized model compared against the true nonlinear

model. For these studies the system parameters and operating conditions for the R134a subcritical single evaporator

system described in Chapter 4 were used. The choice of disturbance input as the compressor speed was based on the

knowledge that the system under consideration was an automotive a/c system, where the compressor speed varies

with that of the engine.

The linearization error may be defined as the difference between the final values of the simulation results

for the two models as a percentage of the actual change in the condenser pressure due to increase in compressor

speed.

Page 143: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

128

0 10 20 30 40 50 60 70 80 90 1001490

1495

1500

1505

1510

1515

1520

1525

1530

1535

1540

Con

dens

er [k

Pa]

Time [sec]

Solid - NonlinearDashed - Linear

∆ω=50 rpm Linearization error = 4.17%

∆ω=200 rpm Linearization error = 5.30%

∆ω=300 rpm Linearization error = 6.81%

Figure 5.2 Comparison of Linearization Errors for Different Input Signals

It can be observed from the graphs that the linearization error increases with higher step input, which is

intuitively correct since the linearized model can predict the true response in a certain region around the operating

condition only. As the system moves out of that region, the errors increase. However, as we can see here the error

for a change in compressor speed by 300 rpm is only 6.81% and hence, for most practical purposes, the simplicity

gained by linearization can be prioritized above the marginal accuracy obtained from the nonlinear model.

With these results, it can be concluded that the linearized model for the condenser is a good approximation

for the true nonlinear model introduced in Chapter 2 and validated in Chapter 4. Use of this linearized model for

controller design and system analysis is further presented in Chapters 7 and 8.

5.3 Linearized Mass Multiplexer With the linearization of condenser model, a complete single evaporator subcritical cycle can be obtained

and analyzed. The dynamic analysis for that cycle is presented in the chapter on model validation and simulation

studies. However, one important component model for multi-evaporator systems that still remains to be linearized is

the mass multiplexer. As described in Chapter 3, this component plays an important role in dividing the mass flow

rate through the compressor into specific contributions from each of the evaporator. Once linearized, the resulting

model can be interconnected with the other component models to obtain a numerical model for an entire multi-

evaporator air conditioning system. This component does not show up in a multi-evaporator refrigeration cycle

because the pressure regulator obviates its requirement. In the figure shown below, a model for the mass multiplexer

is shown with the required equations for a general system (as introduced in Chapter 3).

Page 144: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

129

Figure 5.3 Component Model for Mass Multiplexer Described in Chapter 3

This description for the mass mux can be explained as a combination of two separate models. The pressure

at the compressor inlet is obtained as a result of a linear dynamic model which depends on the bulk density of the

refrigerant fluid and the mass inflow and outflow to the imaginary volume (refer Chapter 3) at the compressor inlet.

The second model contains two nonlinear algebraic relations, one between pressure drop and mass flow rates

through the evaporators and the other between compressor inlet enthalpy and mass flow rates. In order to

interconnect these two models together, the next step should be to linearize the nonlinear algebraic model. For

clarity, the complete model can be represented by the figure shown below.

Figure 5.4 Mass Multiplexer as a Combination of Two Models

5.3.1 Linearization of Algebraic Model In further analysis, for simplicity sake, a dual evaporator system would be considered. The resulting

solution is still general and can be extended easily for any number of evaporators. In the considered system, mass

outflow rate from either of the two evaporators and enthalpy at compressor inlet are given by,

Algebraic nonlinear model for mass and

enthalpy

oem 1& oem 2&

kinm& kinp

oeh 1 oeh 2

1ep 2ep

kinm&

kinp oem 1& oem 2&

kinh

Dynamic linear model for Pressure

Volume V

Evaporator 1

Evaporator 2

1em&

2em& krip

totalenee mmmm &&&& =+++ ...........21

−+=

n

kri

krokkkktotal p

pDCVm

1

1ρϖ&

kriee

kriee

ppm

KK

ppm

KK

−=+

−=+

ρ

ρ

22

22

2,22,1

11

21

1,21,1

&

&

∂∂

−+++

=

h

compenee

kri

p

V

mmmm

dtdp

ρ

&&&& .........21

( )enee

eneneeeekri mmm

hmhmhmh

&&&&&&

++++

=........

.......

21

2211

Page 145: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

130

Mass model ( )

1,2

1,11110 K

Kppm krioeoe

e

−−=

ρ& (5.65)

Enthalpy Model k

eoeeoekri m

hmhmh

&&& 2211 +

= (5.66)

Let,

1,11 KPPL krioe −−= (5.67)

Since the system is algebraic, the final linearized model for mass will be represented as,

krikri

oee

e

oeoe

oe

oeoe P

Pm

hh

mP

Pm

m δδδδ∂∂

+∂

∂+

∂∂

= 11

1

11

1

11

&&&& (5.68)

and for enthalpy as,

kk

krie

e

krie

e

krioe

oe

krioe

oe

krikri m

mh

hhh

hhh

mmh

mmh

h &&

&&

&&

δδδδδδ∂∂

−∂∂

+∂∂

+∂∂

+∂∂

= 22

11

22

11

(5.69)

Here each of the terms of linearization can now be calculated as,

+

∂∂

=∂

∂L

LPKP

m oe

21

2

11

1,2

1 ρρ

ρ

& (5.70)

∂∂

=∂

∂L

hKhm oe ρ

ρ2

11

1,2

1& (5.71)

−=

∂∂

LKPm

kri

oe

211

1,2

1 ρ&

(5.72)

The terms in the enthalpy model can be linearized relatively easily and the resulting linearized model is

expressed by the Equation 5.73 below.

kk

eoeeoee

kin

oee

kin

oeoe

kin

eoe

kin

ekri m

m

hmhmh

mm

hmm

mmh

mmh

h &&

&&&&

&&

&&

&&

δδδδδδ2

22112

21

12

21

1 +−+++= (5.73)

Thus the complete linearized model can be written in the form given by,

11 uFy δδ = (5.74)

where the inputs are,

[ ]′= kkeeee mphhppu &δδδδδδδ 21211 (5.75)

and the outputs are,

[ ]kkoeoe mhmmy &&& δδδδδ 211 = (5.76)

The elements of the matrix F are dependent on the parameters of the pipe parameters or, in other words, the

pressure drop correlation constants and the refrigerant properties. All the elements are shown in the following table.

Page 146: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

131

Table 5.2 Elements of the Linearized Mass Multiplexer Model

F11

+

∂∂

111

11,221

2

11L

LPK

ρρ

ρ

F12 0 F13

∂∂

1

11,2 2

11L

hK

ρ

ρ

F14 0 F15

11

1,2211LK

ρ

F16 0 F21 0 F22

+

∂∂

222

22,22

1

2

11L

LPK

ρρ

ρ

F23 0 F24

∂∂

2

22,2 2

11L

hK

ρ

ρ

F25

22

2,22

11LK

ρ

F26 0 F31

kin

e

mh&

1 F11

F32

kin

e

mh&

2 F22

F33

kin

e

mh&

1 F13 +kin

oe

mm&& 1

F34

kin

e

mh&

2 F24 +kin

oe

mm&& 2

F35

kin

e

mh&

1 F15 +kin

e

mh&

2 F25

F36

k

eoeeoe

mhmhm

22211

&&& +

F41 0 F42 0 F43 0 F44 0 F45 0 F46 1

Page 147: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

132

5.3.2 State Space Form for the Linear Pressure Dynamics Model The change in pressure at the compressor inlet has been modeled as a linear dynamic equation dependent

on the mass accumulation in the imaginary perturbation volume considered at the compressor inlet in Chapter 3.

This was done in order to make the system computationally easier to solve. As shown in Figure 5.3, it can be

expressed as a first order state space relation given by,

[ ]

k

k

k

oe

oe

kk

pxy

mh

mm

PV

ppx

δδδ

δδ

δδ

ρδδδ

==

∂∂

+==

&

&&

&& 2

1

10111

0 (5.77)

xHy

uGxFx

δδδδδ

2

222

=+=&

(5.78)

The corresponding matrix elements can be obtained by comparison between the two equations 5.77 and

5.78.

5.3.3 Interconnection of Algebraic and Dynamic Models Overall linearized model for the mass multiplexer can now be obtained by interconnecting the linear

models obtained in the previous two sections together. The Matlab subroutine SYSIC (mu-Analysis and Synthesis

Toolbox [43]) can be used for such interconnection between linear models with or without feedback, however, in

this study the proposed interconnection has been done analytically. The reason is that, with an analytical solution in

hand, any post linearization model analysis and model order reduction becomes very intuitive.

On observation, we can see that the two models are related in such a way that the input of one is exactly the

output of the other.

Thus, 1112 uFyu δδδ ==

Applying this in the dynamic model for pressure, we get

[ ]

+

∂∂

= k

k

e

e

e

e

k p

FFFF

mhhpp

FFFFFFFFFFFFFFFFFFFF

PV

p δ

δδδδδ

ρδ

45

35

25

15

2

1

2

1

4644434241

3634333231

2624232221

1614131211

10111

&

& (5.79)

Here the pressure state has been taken out of the complete system so as to form the state space

representation for the multiplexer shown as below.

Page 148: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

133

[ ]

+

==

∂∂

−+

∂∂

−+=

k

e

e

e

e

k

k

oe

oe

k

k

e

e

e

e

kk

mhhpp

FFFFFFFFFFFFFFF

p

FFF

y

hmmp

mhhpp

FFFFFFFFFFFFFFFFFFFF

PV

p

PV

FFFp

&

&&

&

&

δδδδδ

δδ

δδδδ

δδδδδ

ρδ

ρδ

2

1

2

1

3634333231

2624232221

1614131211

35

25

15

2

1

2

1

2

1

4644434241

3634333231

2624232221

1614131211

452515

000001

1011

(5.80)

In this system, one dynamic state i.e. the pressure at the compressor inlet still exists. It may be recalled here

that the dynamic state was added in the model development for multi-evaporator for computational ease and

tractability of the nonlinear model, as presented in Chapter 3. Now, with the presence of a linear model, the problem

of computational tractability is solved and hence the dynamic state can be removed. Another method to reach this

state could have been the linearization of the original nonlinear algebraic model without the dynamic state. The two

possible analysis paths are shown here in the Figure 5.5 below. The chosen method was indirect however as we can

see from Chapter 3 and here, it was much more knowledgeable and good engineering insight in the system was

obtained through it.

Figure 5.5 Analysis Paths for the Mass Multiplexer

For a particular residential air conditioning system with R22 as the refrigerant, the eigenvalue of the first

order dynamic linearized model is almost -72, because of the small perturbation volume chosen. This indicates the

possibility of model reduction due to the time scale separation. The reduction can be done by a simple

residualization technique, in which we will replace the pressure by its algebraic solution. In the state space

representation, the residualization can be employed by replacing the time derivative term by zero. Thus the fast

pressure state is supposed to respond instantaneously with respect to the changes in various inputs to the system. On

applying this technique to the system shown in Equation 5.80, the algebraic solution for pressure is obtained as,

Complete Nonlinear Algebraic Model

Nonlinear Model with added Dynamics

Linear Dynamic Model

Linear Algebraic Model

Perturbation Volume

Linearization Interconnection

Linearization

Model Reduction

Page 149: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

134

[ ]

−+−

=

k

e

e

e

e

k

mhhpp

FFFFFFFFFFFFFFFFFFFF

FFFp

&δδδδδ

δ

2

1

2

1

4644434241

3634333231

2624232221

1614131211

452515

1011 (5.81)

This relation can then be substituted in the output equation to obtain the final solution as,

[ ]

+

−+−

=

k

e

e

e

e

k

e

e

e

e

k

oe

oe

k

mhhpp

FFFFFFFFFFFFFFF

mhhpp

FFFFFFFFFFFFFFFFFFFF

DDDFFF

hmmp

&

&

&&

δδδδδ

δδδδδ

δδδδ

2

1

2

1

3634333231

2624232221

1614131211

2

1

2

1

4644434241

3634333231

2624232221

1614131211

452515

35

25

15

2

1

00000

1011

1

(5.82)

This is a simple algebraic relation with four outputs and five inputs and can be used to completely obtain

the results of the nonlinear model easily. This linearized model was used for comparison against the responses of the

nonlinear model for step changes in compressor speed for the R22 dual evaporator residential air conditioning

system described in Chapter 4.

0 20 40 60 80 100 120480

500

520

540

560

580

600

620

Time [sec]

Eva

pora

tor

1 P

ress

ure

[kP

a]

Solid - NonlinearDashed - Linear

∆ω=25 rpmLinearization error = 0.12%

∆ω=25 rpmLinearization error = 1.11%

∆ω=300 rpmLinearization error = 2.31%

Figure 5.6 Linearized and Nonlinear Model Responses for Evaporator 1 Pressure

Page 150: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

135

0 20 40 60 80 100 120450

500

550

600

Time [sec]

Eva

pora

tor

2 P

ress

ure

[kP

a]

∆ω=25 rpmLinearization error = 0.12%

∆ω=150 rpmLinearization error = 0.128%

∆ω=300 rpmLinearization error = 0.46%

Solid - NonlinearDashed - Linear

Figure 5.7 Linearized and Nonlinear Model Responses for Evaporator 2 Pressure

For these simulation studies, the linearized models for the other components namely valve, compressor and

evaporator from [16] and that for condenser from the previous sections were used. We can see here that for the two

evaporator pressures, the results from the linearized and the nonlinear model match very well over a large range of

disturbances.

5.4 Summary In this chapter, model linearization for condenser and mass multiplexer was conducted and the linearized

model was shown to behave very close to the actual physics based nonlinear model. Because of their good

comparison with the validated nonlinear models, these linearized models are used for model reduction and design of

model based controllers for a/c systems as described in Chapters 7 and 8.

Page 151: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

136

Chapter 6. Modeling Library Development

6.1 Background This chapter is devoted to the description of the new additions to the dynamic modeling library, i.e.

Thermosys introduced in [16,29]. Thermosys is a Matlab / Simulink based modeling toolbox developed with the

generous funding from the member companies of Air Conditioning and Refrigeration Center at the University of

Illinois, Urbana Champaign. The basic building blocks for the library were described in detail in [16] and for sake of

brevity, attention is brought only to the new work in this chapter. The main objectives of additions and

modifications were to include the linearized and nonlinear models for the condenser, to make the complete modeling

structure generic enough to support upcoming multi-component cycle models, and to add dynamic models for pipe

losses. The component-as-an-entity based modeling approach was followed for the new components too, as has been

done for the evaporator, the expansion device, the compressor and the suction line heat exchanger described in [16].

The GUIs developed for the new components also follow the programming structure initiated earlier, in order to

maintain coherence between different parts of the library.

This chapter begins with the development of the simulation model for a subcritical system condenser in

Thermosys toolbox. This is followed by the design of pipe loss blocks and a description of their versatility in various

applications in a general vapor compression system. Previously, the use of the multi-evaporator system models

required apriori knowledge on part of the library user for a meaningful connection between different blocks. This

has been simplified tremendously by the new modular modeling design presented in the last section of this Chapter

for a generic multi-evaporator system model.

6.2 Thermosys Library and the Condenser GUI The Thermosys library is a dynamic modeling toolbox, which can be connected to the Simulink Toolbox

Library Browser [43] in Matlab as shown here in Figure 6.1. The components required for a particular model design

can then be imported from the library while use in Simulink [43].

Page 152: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

137

Figure 6.1 Thermosys Library Toolbox in Simulink Library Browser

Among the component models, the new additions were nonlinear, linearized, and linearized reduced order

models for the condenser. The underlying Simulink model for each of them is programmed on the basis of the

physical model developed in Chapter 2. The Graphical User Interface (GUI) for the condenser model was also

developed in the same manner as for the evaporator and is shown here in Figure 6.2 below.

Page 153: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

138

Figure 6.2 Condenser GUI

The elements and the design of this GUI can be easily understood following the same description as for the

evaporator in [16]. It might be noted here that this GUI shows inbuilt pressure and enthalpy drop blocks, however

the losses calculated were static or constant. This may not be true for a general system and in the next section

separate pipe loss blocks with the capability of dynamic calculation of these losses is presented.

6.3 Pipe Loss Blocks Pipe losses play an important role in deciding the steady state response of a general vapor compression

cycle. Dynamic calculation approach for pipe losses was presented in Chapter 2, and later used in Chapter 4, to

demonstrate that a better pipe loss correlation helps in better model validation and simulation accuracy. However, in

certain cases, for simulation ease or due to the lack of knowledge of system parameters, it might be better to use

constant pressure drop, enthalpy drop throughout the simulation. The pipe loss block in Thermosys has been

designed keeping all these design flexibilities in mind and is described in detail in the Figure 6.3 below.

Page 154: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

139

Figure 6.3 Pipe Loss GUI

The GUI takes in inputs from the user about the components at the upstream and the downstream of the

pipe block. This is important in the case of a multi-component system in order to feed in the correct inputs to the

pipe loss blocks and to obtain correct outputs from it.

There are three different ways for pressure drop calculation using this GUI. The dynamic pressure drop

calculation is done by using the modified rough pipe correlation introduced in Chapter 2. The use of this correlation

requires correlation parameters as input from the user. In other cases when this knowledge is unavailable, the user

can choose the Auto Calculate option, where the GUI calculates the pressure drop from initial conditions and keeps

it constant thereafter. The third method is to specify a constant value for the pressure drop by inputting a value in the

GUI.

For various experimental data sets considered for the single and dual evaporator systems, described in

Chapter 4, it was observed that the enthalpy drop in the pipes doesn’t change very much during an experiment and

hence it is considered constant in the development of this GUI structure too. This may be explained by the fact that,

in typical experimental and industrial systems, the pipes are insulated relatively well and hence the movement from

one component to another is usually an adiabatic expansion process. On the basis of this knowledge, the enthalpy

drop can be obtained either by auto calculation using initial conditions or by a user specified value. In either case,

the value obtained is kept constant for the simulation study.

Another important attribute of this pipe loss block GUI is that, depending on the upstream and downstream

components, the user needs to change the Known Value field in the GUI. An example of the significance of this

becomes clear by considering the case when the pipe loss block is between the expansion device and the evaporator.

Page 155: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

140

In this case, during the simulation, the instantaneous downstream pressure is available from the evaporator model

and the upstream pressure can then be obtained by adding the drop through the block. In another case, when the pipe

loss block is between the condenser and the expansion device, the upstream pressure is known and the downstream

pressure can be obtained by subtracting the pipe loss from it. Thus, the model outputs are dependent on the

specification from the user for this field. In other words, this field gives the block the knowledge to differentiate

between the known and the unknown variables in the simulation.

6.4 Modular Multi-Evaporator System Design The primary complexity with the design of modular multi-evaporator systems in Thermosys exists in the

fact that the sizes of certain inputs and outputs vary depending on the number of evaporators. This requires low level

programming in Matlab® to make the simulation blocks modular for user defined number of inputs and outputs.

However, without this development, Thermosys expects too much from any user who wishes to use the library for

modeling of multi-evaporator systems. In this section, the solution for this modeling complexity is presented.

A GUI for the mass multiplexer at the compressor inlet has been designed and its screenshot is presented in

the Figure 6.4. This GUI can be used for quick development of multi-evaporator system models in Thermosys

without any apriori knowledge on part of the user to modify the sub-blocks level programs in Thermosys.

Figure 6.4 Mass Mux GUI

The model underlying this GUI was described in Chapter 3 for air conditioning systems. The correlation

coefficients for pressure drop (refer Chapter 2) between each evaporator and the compressor are fed into the GUI by

Page 156: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

141

the user. Separate parent blocks are developed for the nonlinear model introduced in Chapter 2 and the linearized

model described in Chapter 5.

According to the number of inputs chosen by the user, the input and output vector values in the Mux Inputs

and Demux Outputs blocks for the underlying Simulink code shown in Figure 6.5 are accordingly set and a

simulation study can be performed. The user is only supposed to feed in pressure, enthalpy values from each

individual evaporator model to the mass multiplexer along with the total mass flow rate obtained from the

compressor model and the resultant mass outflow rates from each evaporator can be obtained. The number of

evaporators is defined as a global variable so that it can be used for GUI as well as for the underlying block in

Simulink. This methodology can be further developed for the design of general multi-component systems too.

Figure 6.5 Underlying Simulink Based block

With this, the description of the modular multi-evaporator system model can be concluded. In the next

section, a study of the application of the new GUIs is presented for the modeling of a four evaporator subcritical

system.

6.5 Quick Launch of Multi-Evaporator System Model The primary advantage of the modular GUI for multi-evaporator systems, described in the previous section,

lies in the fact that it can reduce the effort involved in modeling the systems with increasing number of evaporators

substantially. For demonstration purposes, a 4-evaporator air conditioning system model is shown in the Figure 6.6

below which uses the modular mass multiplexer design described in the previous section. In this simulation study,

the physical parameters for components were the same as those for the R22 dual evaporator residential air

conditioning system described in Chapter 4. All the four evaporator and their respective expansion devices were

considered similar and the initial conditions were chosen such that the initial energy and mass balance for each

Page 157: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

142

component of the model was satisfied. The initial pressure, temperature and the mass flow rate data for all the

components are shown in the Table 6.1 below.

Figure 6.6 Modular Four Evaporator Air Conditioning Unit Model

The complete system model was developed using the individual component models and the mass

multiplexer model for connecting the downstream of all the four evaporators to the compressor suction. With the

presence of the modular multi-evaporator system design GUI, the complete model design becomes a relatively easy

task and can be done without any apriori knowledge of the underlying physical model.

The system was modeled for a step change in the compressor speed followed by successive step inputs to

each of the expansion valves. The refrigerant considered was R22 and the simulation results for the effect of this

series of disturbances on the individual evaporator pressures are shown in the Figure 6.8.

Page 158: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

143

Table 6.1 Operating Conditions Considered for the 4 Evaporator System Model

Component Parameter Unit Value

Refrigerant Pressure [kPa] 597.95Refrigerant Inlet Temperature [Celsius] 5.74Refrigerant Outlet Temperature [Celsius] 26.8Refrigerant Mass Flow Rate [kg/sec] 0.00826External Fluid Inlet Temperature [Celsius] 27.0External Fluid Outlet Temperature [Celsius] 16.3External Fluid Mass Flow Rate [kg/sec] 0.0325

Refrigerant Pressure [kPa] 576.49Refrigerant Inlet Temperature [Celsius] 4.57Refrigerant Outlet Temperature [Celsius] 26.8Refrigerant Mass Flow Rate [kg/sec] 0.00526External Fluid Inlet Temperature [Celsius] 27.1External Fluid Outlet Temperature [Celsius] 19.0External Fluid Mass Flow Rate [kg/sec] 0.0325

Refrigerant Pressure [kPa] 561Refrigerant Inlet Temperature [Celsius] 3.71Refrigerant Outlet Temperature [Celsius] 26.8Refrigerant Mass Flow Rate [kg/sec] 0.00426External Fluid Inlet Temperature [Celsius] 27.1External Fluid Outlet Temperature [Celsius] 19.0External Fluid Mass Flow Rate [kg/sec] 0.0325

Refrigerant Pressure [kPa] 555Refrigerant Inlet Temperature [Celsius] 3.37Refrigerant Outlet Temperature [Celsius] 26.8Refrigerant Mass Flow Rate [kg/sec] 0.00326External Fluid Inlet Temperature [Celsius] 27.1External Fluid Outlet Temperature [Celsius] 19.0External Fluid Mass Flow Rate [kg/sec] 0.0325

Refrigerant Pressure [kPa] 1418Refrigerant Inlet Temperature [Celsius] 76.5Refrigerant Outlet Temperature [Celsius] 34.8Refrigerant Mass Flow Rate [kg/sec] 0.021External Fluid Inlet Temperature [Celsius] 22.0External Fluid Outlet Temperature [Celsius] 36.2External Fluid Mass Flow Rate [kg/sec] 0.1200

Eva

po

rato

r

2

Eva

po

rato

r

3

Eva

po

rato

r

4

Co

nd

ense

rE

vap

ora

tor

1

The mass multiplexer block for this case is also shown in Figure 6.7. As described earlier, the user just

need to input the pressure and the enthalpy at the outlet of the four evaporators and the mass outflow rate from each

of the four evaporators can be directly obtained using this block as shown in the Figure 6.7.

Page 159: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

144

Figure 6.7 Mass Multiplexer Parent Block

The other input required is the mass flow rate from the compressor model and the other outputs calculated

by the model are the compressor suction pressure and enthalpy required by the condenser model [16].

0 100 200 300 400 500 600 700530

540

550

560

570

580

590

600

Time [sec]

Pre

ssur

e [k

Pa]

Ev aporator 1Ev aporator 2Ev aporator 3Ev aporator 4Compressor step

Valve 1 step

Valve 2 step

Valve 3 step

Valve 4 step

Figure 6.8 Evaporator Pressure Response to the Step Disturbances

Although, an experimental data for the validation of the simulation study shown in Figure 6.8 is not

available, the simulation results can be qualitatively analyzed. We can see that with the increase in compressor speed

the pressure, in all the evaporators, decreases and it increases for the increase in expansion valve opening for any

evaporator. This is similar to the results observed for the dual evaporator system described in Chapter 4. This

observation can be used to infer that the mass multiplexer model and the respective GUI design can be used for

modeling of new systems, as well as, for validation against any experimentally available data.

Page 160: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

145

6.6 Summary In this Chapter, a brief description of the modeling library developed in Matlab® for simulation studies of

various subcritical air conditioning and refrigeration systems was presented. A complete description of the design of

the pipe loss blocks and the mass multiplexer block in Matlab® is also presented. It can be inferred that with the

presence of pipe loss blocks, the modeling accuracy can be improved as shown in the Chapters 2 and 3. Similarly,

with the presence of the modular mass multiplexer block, the power of Thermosys™ [16,29] as a versatile modeling

tool increases substantially, as shown in the simulation study of the 4 evaporator model. In Chapter 8, the new mass

multiplexer GUI design is used for model based controller design for a dual evaporator system

Page 161: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

146

Chapter 7. Multivariable Adaptive Control for Single Evaporator Systems

An adaptation may be defined as an inherited and reliably developing characteristic that came into existence as a

feature of a species through natural selection because it helped to directly or indirectly facilitate reproduction

during the period of its evolution.

American Psychologist, 1998, Vol. 53, n 5, 553-548 (On Darwin’s Theory of Evolution and Adaptation)

6.1 Introduction and Motivation This chapter details the application of a multivariable adaptive control strategy to a typical automotive air

conditioning system. The experimentally validated physical model for the air conditioning cycle presented in earlier

chapters is used here in an adaptive control framework. As described in the definition above, to adapt means to

change, in order to conform to the new circumstances. For an automotive air conditioning cycle, the physical model

is highly nonlinear as presented in Chapter 2, and [16], and hence the system response changes with change in

operating conditions. As a result, the response cannot be accurately predicted by a single linearized model. A model

should be able to adapt to these changes or in other words, a variable linear model is required which can adapt to

various operating conditions and still respond similar to the actual experimental system [47]. This is the crux of the

motivation behind the work on adaptive control presented in this chapter. Such a controller can be capable to

identify different linear models for a nonlinear system over the domain of operating conditions and hence can be

used very easily for the complete cycle control. This approach can thus be classified as a method of nonlinearity

compensation for a general dynamic system.

Along with this, two other methods for nonlinearity compensation also exist, namely robust control and

gain scheduled control. The primary difference between adaptive control and these methods is that the latter are

actual model based methods. Thus, a physical model of the experimental system is linearized and used for robust

control design or gain scheduled design respectively. This requires complete knowledge of the system parameters

and operating conditions in the linearization phase. Also, the robustification process demands this knowledge for

design based on error bounds in the model responses. Adaptive control is different because parameter or condition

knowledge is not important for either of the identification or control design phases, which makes it attractive for

more complex and obscure systems.

Thus an adaptive control approach can be used over a varying set of parameters and varying operating

conditions [47,48]. This happens because, with each parameter or operating condition change, the adaptation

algorithm estimates the corresponding new linearized model to be used for controller design. This is particularly

suitable for air conditioning systems that under normal load cycles see relatively static conditions which include

highway cruising, or idling, or city stop-and-go traffic. Also, the external conditions such as ambient temperature or

humidity usually don’t change very fast and usually the time required for adaptation convergence to a condition

change is much smaller than the time an automotive vehicle will usually be driven in that new set of conditions.

Following this reasoning, it can be said that a well-designed adaptive controller can compensate for the system

nonlinearities very well in this case.

Page 162: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

147

Another important reason for adaptive control lies in the fact that in certain cases, true parameter values

may not be available. For e.g., clogging in heat exchanger pipes, lower efficiency of the compressor, and other faults

can result in a need to retune a model-based controller. However, an adaptive controller will estimate the appropriate

system parameters, given sufficiently rich excitation signals, and a corresponding controller can be designed. Even if

the parameters don’t converge to their true value, the system input-output representation will be sufficient for

efficient controller design.

This chapter begins with a discussion of choice of model order and model structure for parameter

identification of a single evaporator subcritical air conditioning cycle. A multi input-multi output (MIMO) parameter

estimation algorithm is then introduced which recursively identifies an equivalent discrete-time state space model of

the system. On the identified plant, an H2 optimal control design is implemented with the objectives of reference

tracking and disturbance rejection. The general design of the complete algorithm can be understood from the figure

shown below.

Figure 6.1 Proposed Control Design Scheme

A simulation study is further performed to explore the idea of modulating the electronic expansion valve

opening and air flow rate over the evaporator [40] for controlling the efficiency and capacity of a general automotive

air conditioning unit. The results reveal good controller performance and the possibility to apply this technique in

commercially available systems.

6.2 Model Order Selection The transient behavior of the physical model and its validation against the data from an experimental set-up

at ACRC, UIUC has been presented in the earlier chapters. The validation graphs show that the simulation model is

able to reflect the salient transient characteristics of the air conditioning system very well. While the steady-state

values of the simulation may be slightly off from the data, this is acceptable in order to have a model capable of

capturing transient dynamics.

A single evaporator subcritical system can be described by five dynamic modes of the evaporator [16] and

seven dynamic modes of the condenser, as described in Chapter 2. Thus, a full order system with 12 dynamic modes

Controller a/c system

Identification (Parameter & State)

y u

H2 Optimal Design

x

θ

Page 163: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

148

should be able to characterize the system response completely for the modeling approach presented in Chapter 2 and

[16]. Using other approaches like finite difference techniques can result in much higher order system representation

as shown in [25]. Previous dynamic analysis of the transcritical model reveals that this system is singularly

perturbed [16,49]. By that we mean that the dynamics of the thermo-fluid system evolve on different time-scales

with some fast dynamics and slow ones. Much like the valve and compressor equations, these fast dynamics can be

replaced by algebraic relationships. In [16], a quantitative evaluation of dominant dynamics of a transcritical vapor

compression system is presented; where it is shown that the wall temperatures of the heat exchangers and the

refrigerant mass flow dynamics are the most dominant dynamics.

In the present case, for a subcritical system the overall linearized model for the complete a/c system can be

obtained by interconnecting the individual linearized models for each of the components described in [16] and

Chapter 5. Mu-analysis and synthesis toolbox in Matlab® [43] has a subroutine (SYSIC), which can be used for this

purpose. The eigenvalues of the obtained linearized model are shown in the Equation 6.1,

−−+−

−−−−−−−−−

=

00106.02715.00106.02715.0

1481.01071.05564.03225.49033.75729.158123.415807.662651.71

ii

sysλ (6.1)

It can be observed here that the system has eigenvalues of different orders of magnitude which suggests

that the system has some very fast transients and some slow ones. The zero eigenvalue suggests the mass

accumulation dynamic in the system [16].

This occurs because the mass conservation applied to both the evaporator and the condenser results in

addition of a redundant state since the net mass in the system is conserved. With the knowledge of the eigenvalues

and the slow system dynamics [16], a reduced order model for the system can be obtained by residualization

principles and after the removal of the redundant mass balance state, the eigenvalues of the reduced order model are

given by the Equation 6.2 below.

−−−−−−

=

1531.01191.02927.04604.07244.09326.17

roλ (6.2)

Page 164: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

149

It can be observed from Equation 6.2 that there still exists a potentially fast eigenvalue in the reduced order

system. Further, Dimensional Hankel Singular Value analysis of the full order system representation can be seen in

the Figure 6.2.

1 2 3 4 5 6 7 8 9 10 1110

-2

10-1

100

101

102

103

Dynamic Order of the System

Han

kel S

ingu

lar

Val

ues

Figure 6.2 Hankel Singular Values of the Linearized Model

The 6th order model, whose eigenvalues are given by Equation 6.2, is completely controllable and

completely observable. It is also effective for predicting the transient response of all associated system variables.

However, Hankel singular value analysis [46] of the system returns a 4th order model as can be observed in Figure

6.2. There is a significant drop in the singular values between the 4th and 5th order systems. The reasons for this

discrepancy between the predicted 6th order model and the identified 4th order model reside with the system

parameters. For the automotive air conditioning system under study, the particular combination of parameters results

in 2 of the system modes from the analytically reduced 6th order model being either weakly controllable or weakly

observable. Although this would not be the case for all air conditioning or refrigeration systems, for the purpose of

control engineering expediency and wisdom it was decided to truncate the additional 2 modes in the current study.

Therefore, further controller design and analysis was performed on a 4th order model.

6.3 Estimation Algorithm Of various candidate model structures, a state-space model structure is particularly attractive because of the

advantage of easy implementation of various control strategies through state feedback. A 4th order state space model

structure was thus finally chosen for advancing towards further studies. After this stage, an indirect adaptive control

design is a three step problem comprising of parameter identification, state estimation, and controller

Page 165: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

150

implementation. A modified recursive bootstrap algorithm (RBA) [50] and a recursive prediction error method

(RPEM) [51] are two widely used methods for online identification of state space models. In both these methods,

simultaneous state and parameter estimation is performed. However, it is argued that because of the non-linearity of

RPEM [51], true parameter convergence is not achieved. The RBA splits the nonlinear problem into two linear ones

using the certainty equivalence principle and consistency is achieved with a high probability as proved in [50]. In the

current work, we present system identification using the RBA that is then coupled to an extended least squares

algorithm.

For recursive identification, the air conditioning system model can be represented by a stochastically

disturbed discrete time state space equivalent [50] as,

( ) ( ) ( ) ( ) ( ) ( ) ( )( ) ( ) ( ) ( )kkxCky

kLkuBkxAkxεθθ

εθθθθθ+=

++=+,ˆ ,ˆ,1ˆ

(6.3)

Here, x is the n-dimensional state vector, u is the r-dimensional input vector, y is the m-dimensional output

vector and e is the m-dimensional vector of innovations. The elements of system matrices A(?), B(?), C(?) and the

Kalman gain matrix L(?) are the set of parameters desired to be identified. Simultaneous estimation of the Kalman

gain matrix avoids the solution of the standard state estimation algorithm [52], which makes identification simpler.

In the present study, the problem of controlling the superheat and refrigerant pressure at the evaporator inlet

by modulations in the expansion valve opening and the evaporator air fan speed results in a dual input-dual output

system. Closed loop identification is obtained by providing a Pseudo Random Binary Sequence (PRBS) as the

reference signal. A white noise sequence is also added as measurement noise at the outputs. The number of

observability indices associated with superheat and pressure were considered to be three and one respectively. The

estimation algorithm is applied to the observable canonical representation [50] in which A and C can be expressed

as,

[ ]

=

=

==

ijnijaijaijaijA

iniiaiiaiiaiiA

mjiijAA

,.2,1,

0..00..000.00

,

,.2,1,

100001.0010

,...1, nxn

. (6.4)

11........21

...

11

1

+−+++

+=

jnnne

ne

e

C (6.5)

en is a unit row vector with the nth element as 1. The jth output of the model is,

( ) ( ) ( ) ( )11 ++Φ=+ kjkjkjTkjy εθ (6.6)

Page 166: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

151

where ( )kjΦ is the regression vector comprised of estimated states, inputs and innovations given as,

( ) ( ) ( ) ( ) ( ) ( )T

kTjnkTkTujnkTujnkTxkj

+−+−+−=Φ εε ˆ ...... 1ˆ...... ...... 1 ...... 1ˆ (6.7)

The regression vector is generated by recursively estimating the states x obtained from the stochastic

process description shown in Equation 6.3 above. The innovations ε are also estimated by aposteriori error

calculation using an extended least squares algorithm. The parameter vector ( )kjθ has the elements of A(?), B(?)

and L(?) as,

( )

T

rjnnljnnlrjnnljnnl

rjnnbjnnbrjnnb

jnnb

mnjmajmanjajanjaja

kj

−++−++++++

−++−++++++=

,1..1...................1,1..1

...................,..1................1,.....1

.........,1..1..................1,1..1

..................,..1...............1,.....1

.........,................1, ...........................,2.............1,2 1,1...........1,1 2

θ (6.8)

where bp,q and lp,q are the (p,q) elements of B(?) and L(?) respectively. With this structure, simultaneous parameter

and state estimations is done by using the extended least squares algorithm [15,16]. In this algorithm, the apriori

error is first obtained by,

( ) ( ) ( ) ( ) kkjkjTkjyke /111ˆ βθ

−Φ−−= (6.9)

Here β is a small positive number that acts as a learning factor [50] to avoid parameter divergence during

the initial estimation when errors are big. The exponent k is the time since the beginning of adaptation and hence the

whole factor k/1β approaches one as time increases. It is possible to periodically reset this learning factor by

monitoring the input-output convergence error in the identification to relax the effect of sudden exciting inputs or

disturbances on the system.

From this step onwards, an extended least squares approach can be applied for the identification algorithm

since, the presence of identified states in the regression vector leads to a problem similar to the situation where a

noise model is supposed to be identified along with the deterministic input output model. The apriori error is then

used for updating the parameters as,

( ) ( ) ( ) ( ) ( )kekTjkjPjkjkj 111ˆˆ −Φ−+−= αθθ (6.10)

Here, P is the covariance matrix of the system. Since a linearized model for the air conditioning system is a

time-varying system, a covariance resetting technique [15] is applied for better system estimation. In this approach,

the resetting variable jα is varied on the basis of richness of the innovations vector. The resetting is carried out as

follows,

if ( ) 0≈ke , 0=jα , reset ( )jxnjnIkjP ≈ (6.11)

Page 167: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

152

1=jα , Otherwise.

It should be noted here that the usual method of applying an exponential forgetting factor is not used in this

case. This is because, an air conditioning plant can be assumed to operate under the same condition for a

considerably long time with some abrupt changes occasionally. Exponential forgetting, which is based on the

assumption of a behavior that is homogeneous in time, is less suitable in this case [48]. Here, it is more appropriate

to reset the covariance matrix only occasionally when large changes occur.

This is followed by state estimation, the aposteriori error calculation, generation of a new regression vector,

and covariance matrix updating as shown in Equations (6.12 - 6.13) below,

( ) ( ) ( ) ( ) ( ) ( ) ( )1)(1)(1)( −+−+−= kkLkukBkxkAkx εθθθ (6.14)

( ) ( ) ( ) ( )1ˆˆ −Φ−= kjkjTkjykj θε (6.15)

( ) ( ) ( ) ( ) ( ) ( )T

kTjnkTkTujnkTujnkTxkj

+−+−+−=Φ εε ˆ ...... 1ˆ...... ...... 1 ...... 1ˆ (6.16)

( ) ( )( ) ( ) ( ) ( )

( ) ( ) ( )kjkjPkjT

kjPkjTkjkjPkPkP

Φ−Φ+

−ΦΦ−−−=

11

111 (6.17)

Proof of true parameter convergence of this estimation algorithm is presented in [50] under typical

assumptions such as persistence of excitation. This algorithm is recursively applied for identification of the 4th order

state space model of the system under consideration. The total number of parameters for a 4th order model is 24

(eight each for A(?), B(?) and L(?) respectively). For a physical system, the number of individual parameters is

larger than 24, but ‘grouping’ of these physical parameters occurs because of various thermodynamics and physical

relations. The results of the identification procedure are presented in a later section. These results show the input-

output behavior and parameter convergence of this scheme for the identified fourth order model.

6.4 Controller Design A suboptimal LQR tracker design [52] is implemented with the following cost function based on output

weighing for the identified MIMO plant.

[ ]∑−

=+=

1

0)()()()(

21 N

kkRukTukQykTyJ (6.18)

The weighing matrices Q, and R are constant real and symmetric. Q is assumed to be positive semi-definite

and R as positive definite. The elements y are the outputs of the model. In order to generalize the controller for

discrete time reference tracking, an error state augmentation scheme is proposed.

The stochastically disturbed plant model obtained using the adaptive control scheme is given by Equation

6.3 and shown here again as,

( ) ( ) ( ) ( ) ( ) ( )( ) ( ) ( ) ( )11 1

)(1+++=+

++=+kkxkCky

kkLkukBkxkAkxε

ε (6.19)

It is possible to define an integral error state as the difference between the outputs and the references as,

Page 168: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

153

( ) ( ) ( ) ( )( ) ( ) ( ) ( ) 11

111

+−++=

+−++=+

krkxkCkix

krkykixkix (6.20)

The integral error states can be augmented to the original state vector and the resulting dynamic system can

be represented as,

( )( )

( ) ( ) ( ) ( ) ( ) ( )( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )

+−+++++

++=

++

1111

krkkkLkCkukBkCkxkAkCkxkkLkukBkxkA

kxkx

ii εεε

(6.21)

Or,

( )( )

( )( ) ( )

( )( )

( )( ) ( ) ( ) ( )

( ) ( ) ( ) ( ) ( )( )1100

11

+−+

+

+

+

=

++

krkI

kkLkC

kLku

kBkCkB

kxkx

IkAkCkA

kxkx

ii

εε (6.22)

Since the states are generated by the identification and are not known physically, the output weighing based

controller can be obtained using the cost function in 6.18. The controller gains can be obtained using the discrete

time subroutine available in Matlab® and invoked using the command dlqry [43].

In order to use the error states as the outputs for the controller design, we define a new output-state matrix

such that,

=

100000010000~

C (6.23)

Now, we can use the A and B matrices from Equation 6.22 along with this matrix and a zero direct feed

through matrix along with the output and input gains given by,

+

+=

−=

620055.3

,225.10

021e

eR

ee

Q (6.24)

The gains have to be adjusted once in the beginning of adaptation because the parameters have not

converged to their true values, but once the input-output convergence is obtained these gains work well. Here the

orders of the outputs and inputs are pressure, superheat, and valve opening, air flow rate respectively. The

augmented states are obtained as,

( )( ) ( ) ( )

−+

=krkykx

kxx

trueiaug (6.25)

It should be noted here that the error states are obtained using the true plant outputs rather than the

augmented state dynamic equation because the goal is to bring the true system close to the references rather than the

identified model. The final control effort can then be obtained using the gains K calculated by discrete LQR design

and the augmented states as,

( )kxkKku aug)()( −= (6.26)

It may be noted here that a suboptimal tracker can also be obtained by defining the steady state values of

the states )(kssx , obtained using the reference signal, as the origin of the state space and then using the original

stochastically perturbed model in Equation 6.3 to design a control gain and generating a control effort based on the

Page 169: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

154

distance of the states to their steady state values. However, this strategy won’t be optimal because the control effort

can be too heavy or too light for the requirement.

6.5 Results and Discussion The estimation algorithm and controller design for the physical model was implemented in

MATLAB/Simulink and combined with the ThermosysTM simulation environment. The full order nonlinear model

for the R134a single evaporator system with component parameters described in Chapter 4 was used for

identification and control. The learning factor used in this case was chosen to be 1e-6. The choice was dependent on

achieving stable convergence while identification start-up. The covariance matrices for the superheat output and the

pressure output were chosen to be 1e-3I16x16 and 5e-5I8x8 respectively. Input-output convergence and parameter

convergence for closed loop identification is depicted in Figures 6.3 and 6.4. In this study, a PRBS signal of

magnitude 30 kPa about a mean of 250 kPa was applied as a reference signal for the evaporator pressure. Similarly

for superheat, a PRBS signal of magnitude 3 degrees Celsius was applied about a mean of 16 degrees Celsius. This

ensures persistence of excitation for the closed loop system. Further, white noise sequences with variances of 0.005

and 0.0015, respectively, were added at the two output measurement channels for pressure and superheat. In Figure

6.4, we see that the parameters have converged to steady state values for this particular set of condition. Also, the

input-output transfer function match is visible from the graph in Figure 6.3. The estimated outputs and parameters

all begin from zero and converge slowly in the beginning because of the exponential learning factor in Equation 6.9.

0 2 4 6 8 10 12 14 16 18 20

50

100

150

200

250

300

350

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

EstimationTrue

0 2 4 6 8 10 12 14 16 18 200

50

100

150

Time [sec]

Eva

pora

tor

Sup

erhe

at [o C

]

EstimationTrue

Figure 6.3 Input-Output Convergence of the Identified Plant

Page 170: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

155

0 5 10 15-0.5

0

0.5

1

Time [sec]

Ele

men

ts o

f Mat

rix A

0 2 4 6 8 10 12 14 16 18 200

0.1

0.2

0.3

0.4

Time [sec]

Ele

men

ts o

f Mat

rix B

Figure 6.4 Parameter Convergence

In Figure 6.3, we see the input-output convergence of the identified model with the actual nonlinear system

response. The initial transients experienced by the identified model are useful for fast convergence however they can

be detrimental in case of systems where a control action is applied from the very beginning of identification. In such

a case, the learning factor introduced in Equation 6.9 can be reduced further to avoid a possibly wrong control action

based on unreal transients experienced by the identifier. The time taken by the identifier to converge with the chosen

value of the learning factor (1e-6) was only 5-10 seconds. Since the dominant characteristics of a a/c system are

slower than this, as seen in Chapter 4 and [15,16], a slower identification for reducing the transient amplitudes can

be afforded. Another approach can be to apply a control action after the identification outputs reach a close range of

the actual outputs. This method, however, may not be possible in the case of sudden operational disturbances and

inputs.

We see from the identification results, that the algorithm is able to identify the actual system quickly to a

good degree of accuracy. With this result, we can proceed further with the control oriented identification of the

system.

6.5.1 Reference Tracking The nonlinear system representation for subcritical cycle components described in [16] and earlier chapters

depicts coupled system dynamics.

Page 171: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

156

Figure 6.5 Dual SISO Control Design Results (Source [54])

Attempts on the design of single input single output (SISO) adaptive as well as model based controllers

may not achieve very good results because of the coupling phenomenon. Figure 6.5 shows the response of dual

SISO proportional-integral (PI) control action applied for superheat and pressure control on the single evaporator a/c

system model [54], described in Chapter 4. We can observe that a good control of superheat results in a substandard

control of pressure due to the coupling. This may be considered as a motivation for the design of multivariable

controllers for this system.

In the present analysis, the LQR tracker presented in Section 6.4 was implemented for the identified model

to evaluate its reference tracking and disturbance rejection characteristics. Figures 6.6 and 6.7 shown below depict

the performance of the MIMO adaptively controlled air conditioning cycle for reference tracking. For persistency of

excitation, white noise inputs of variance 10 and 0.1 were added on to the true reference signal for pressure and

superheat respectively. A sequence of step changes in the reference signal is applied for both evaporator pressure

and superheat outputs and the controller demonstrates good performance throughout.

0 10 20 30 40 50 606

8

10

12

14

16

18

Time [sec]

Eva

pora

tor

Sup

erhe

at [o C

]

OutputReference

0 10 20 30 40 50 60180

200

220

240

260

280

300

320

340

360

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

OutputReference

Page 172: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

157

0 100 200 300 400 500 600220

240

260

280

300

320

340

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

OutputRef erence

0 100 200 300 400 500 60010

15

20

25

Time [sec]

Eva

pora

tor

Sup

erhe

at [o C

]

OutputRef erence

Figure 6.6 Reference Tracking of the Evaporator Pressure

Figure 6.6 shows the efficacy of the multivariable control of the air conditioning system. Because of the

knowledge of the coupled system dynamics, the controller is able to track the reference signals in the pressure

properly while regulating the superheat at its required set point. In the same way, it can be observed in Figure 6.7

that the controller is able to track the superheat very well while keeping the pressure constant. On comparison of the

reference tracking results for the two outputs, we can observe that during pressure tracking, since mass flow rate has

to be increased, the superheat gets affected but still reaches its reference signal as time progresses. In the other case,

for superheat tracking the control effort is mainly applied by the air flow rate and hence the pressure does not get

affected very much. This phenomenon is again studied in the next chapter for the control of dual evaporator systems.

Page 173: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

158

0 200 400 600 800 1000 1200 1400270

275

280

285

290

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

OutputRef erence

0 200 400 600 800 1000 1200 14004

5

6

7

8

9

10

Time [sec]

Eva

pora

tor

Sup

erhe

at [o C

]

OutputRef erence

Figure 6.7 Reference Tracking of the Evaporator Superheat

6.5.2 Disturbance Rejection For evaluating the disturbance rejection characteristics of the controller, changes in driving condition are

applied to the system, as studied in [56]. Rotational speed of the compressor and condenser side air flow rate are

changed to emulate the change in driving condition from idling to city-driving to highway driving and back as

shown in Figure 6.8. We see that the compressor speed changes from 900 to almost 1800 rpm over the range of the

disturbances. In this study too, the same values of learning factor and the state and input gain matrices were chosen

as in the identification and reference tracking control study. The comparison of the responses of the controlled and

the uncontrolled system are shown in the Figure 6.9. It can be seen that the superheat tracking is not phenomenal at

the first step disturbance but as time progresses, the adaptation improved and the tracking results also improve.

Page 174: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

159

0 100 200 300 400 500 600 700 800 900 10000.5

0.55

0.6

0.65

0.7

0.75

Time [sec]

Con

dens

er a

ir flo

w r

ate

[kg/

sec]

0 100 200 300 400 500 600 700 800 900 1000800

1000

1200

1400

1600

1800

Time [sec]

Com

pres

sor

spee

d [rp

m]

Figure 6.8 Disturbance Sequence

0 100 200 300 400 500 600 700 800 900 1000140

160

180

200

220

240

260

Time [sec]

Eva

pora

tor

Pre

ssur

e [k

Pa]

ControllerUncontrolled

0 100 200 300 400 500 600 700 800 900 10005

10

15

20

25

30

35

Time [sec]

Eva

pora

tor

Sup

erhe

at [o C

]

ControllerUncontrolled

Figure 6.9 Disturbance Rejection by the Adaptive Controller

Page 175: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

160

100 200 300 400 500 600 700 800 900 1000-0.2

0

0.2

0.4

0.6

0.8

Time [sec]

Ada

ptat

ion

in M

atrix

A

0 100 200 300 400 500 600 700 800 900 1000-0.1

0

0.1

0.2

0.3

Time [sec]

Ada

ptat

ion

in M

atrix

B

Figure 6.10 Parameter Convergence

We can see that the MIMO adaptively controlled plant is able to model the strong coupling and provide the

appropriate control action. Without the presence of the controller, performance and efficiency of the system will be

lost as can be seen from in Figure 6.9. Also, in Figure 6.10 the parameters representing the elements of the A(θ) and

B(θ) matrices parameters drift and try to converge to the new values thus compensating for the system’s

nonlinearity.

6.6 Summary In this chapter, a multivariable adaptive control strategy was presented which is applicable to a typical air

conditioning system. The identification properties and the controller performance were evaluated for the resulting

indirect adaptive control problem. The adaptive algorithm shows good performance when applied to the validated

simulation model. Future attention can be focused on experimental implementation of the strategy to a variety of test

beds to evaluate the algorithm modularity.

Page 176: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

161

Chapter 8. Multi-Evaporator Cycle Control

8.1 Introduction A typical single-component air conditioning system has coupled dynamic characteristics as discussed in

Chapter 7. With additional components, like in a multi-evaporator system, this dynamic coupling can increase

substantially, as shown in the experimental results by [33] for a dual evaporator system. The modeling methodology

described in Chapters 3 and 4 can be used to understand this coupling phenomenon and to design controllers

incorporating this knowledge for a multi-component air conditioning cycle. In this chapter, attention is focused on

design of linearized model-based controllers for a typical multi-evaporator system. We begin with a few simulation

studies in which various realistic scenarios are presented where the response of a dual evaporator system to different

actuator settings or disturbances can be observed. These studies present only the open loop response of a dual

evaporator system, i.e. in the absence of controllers that could adjust valve opening and air flow rates to maintain the

desired superheat and indoor dry bulb temperature. These studies are useful because they provide insight into system

characteristics and signify the necessity of a multivariable controller. The linear model for the complete a/c system

is then presented and a control design strategy is introduced. Results of the controller implementation on the full

order nonlinear model form the later part of this chapter.

8.2 Control Challenges in Multi-Evaporator A/C Systems Due to the presence of various conflicting requirements and user-dependent reference settings, the control

challenges in multi-evaporator systems are many-fold. As an example, both expansion valve settings as well as air-

flow rates can be modulated for reducing the desired value of evaporator superheat at the outlet of two evaporators.

The choice and amplitude of each of the modulating signals, however, depends on the model and the respective

operation cost for each actuator. Also, the control required to change the reference settings for one evaporator can

affect the other evaporator too. Furthermore, in an air conditioning application, the evaporators are at almost equal

pressures and hence cause severe coupling between their respective dynamic modes.

8.2.1 System Parameters In order to understand this coupling phenomenon, simulation studies are conducted in this section for

various disturbance or actuator settings. For the studies, system parameters were obtained from a two ton capacity

single evaporator residential air conditioning system detailed in [44] and in Chapter 4 in the section on high side

receiver model validation. The heat exchanger parameters are again shown in Table 8.1. For the sake of comparison,

the following simulations use the same fin-tube geometry for the heat exchangers, but divide the single evaporator

face area into that of the two evaporators having equal (half of the original) face areas.

Page 177: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

162

Table 8.1 Parameters of the Air Conditioning System

Parameters Unit Condenser Evaporators (1&2) Total External Surface Area [m2] 25.1 10.5

No. of circuits 3 2 Length of passes [m] 1.3 0.75

No. of passes 10 18 Tube ID [m] 0.0078994 0.0078994

Tube Wall thickness [m] 0.0008128 0.000813 Mass of heat exchanger [kG] 11.775 5.6

Receiver Volume [m3] 0.003

8.2.2 Study 1: Step Decrease in the Airflow Rate over Evaporator 1 Consider a dual evaporator residential air conditioning system where initially the two evaporators are

running in two different rooms at a capacity of one ton each. For generality, the lengths of the suction lines from the

two evaporators to the compressor are considered unequal, resulting in different pressure drops and hence different

initial evaporation pressures. Suppose, at a time T=100 seconds, the occupant in room 1 decides to decrease the air

flow rate over the evaporator 1 by 4%, e.g. to reduce the noise level in the room, or to increase dehumidification.

The input signal amplitude is chosen such that the superheat in the corresponding evaporator is not lost since a two

region evaporator model was used for this study [16]. As a result, the superheat at the outlet of evaporator 1

decreases as shown in Figure 8.1 due to the absence of a response by a TXV or an EEV. The surface temperature of

the evaporator 1 also decreases as shown in Figure 8.2. Interestingly, due to the coupling phenomenon the superheat

at the evaporator 2 outlet increases and its surface temperature decreases although the changes are relatively smaller

than those in the evaporator 1.

Page 178: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

163

0 50 100 150 200 250 300 350 4004

4.5

5

5.5

6

6.5

Sup

erhe

at [o C

]

Time [sec]

Evaporator 1

0 50 100 150 200 250 300 350 400

5.6

5.8

6

6.2

6.4

6.6

Sup

erhe

at [o C

]

Time [sec]

Evaporator 2

Figure 8.1 Superheat Response of the Two Evaporators

0 50 100 150 200 250 300 350 40012.25

12.3

12.35

12.4

12.45

12.5

Sur

face

Tem

pera

ture

[o C]

Time [sec]

Evaporator 1

0 50 100 150 200 250 300 350 40011.35

11.4

11.45

11.5

11.55

Sur

face

Tem

pera

ture

[o C]

Time [sec]

Evaporator 2

Figure 8.2 Surface Temperature of the Two Evaporators

Page 179: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

164

It can be inferred from these graphs that a user affected disturbance in the air flow rate over one evaporator

requires a compensating effect from various controllers in the system to bring the superheat and indoor temperature

back to their respective set points. The interesting coupled dynamics exhibited by these variables of interest clearly

indicate the challenges expected in designing good controllers for this system.

8.2.3 Study 2: Step Increase in the Compressor Speed The compressor is a potential candidate as a control actuator for a multi-evaporator system because of its

direct influence on refrigerant flow rate, resulting in effect on charge distribution. In a closed loop controlled

system, the compressor speed would increase in response to a decrease in thermostat setting in one of the rooms.

Alternatively, change in compressor speed can be considered as a disturbance, as in the case of multi-compressor

systems in residential applications, or in the case of automotive air conditioning where a belt-driven compressor is

coupled to the engine. Thus, understanding the effects of changes in compressor speed is important for design of

effective controllers for these applications. Consider again a dual evaporator air conditioning system where the

suction line lengths from the two evaporators to the compressor are different, resulting in different evaporation

pressures. Open loop response of such a system to an increase in the compressor speed by 16% is shown in Figure

8.3. The choice of the input amplitude was arbitrary in this case, and just for the purpose of observing the system

response to it. We see that the evaporation temperatures decrease in both the evaporators by almost equal amount.

As a control actuator the compressor affects the dynamics of both the evaporators in a similar manner as seen in

Figure 8.3 and hence can be used as a centralized control input for the complete cycle, for example in response to

changes in total (sensible and latent) load.

0 50 100 150 200 250 300 350 4008.5

9

9.5

10

10.5

Eva

pora

tion

Tem

pera

ture

[o C]

Time [sec]

Evaporator 1

0 50 100 150 200 250 300 350 4007.5

8

8.5

9

9.5

Eva

pora

tion

Tem

pera

ture

[o C]

Time [sec]

Evaporator 2

Figure 8.3 Evaporation Temperature Response to Increase in Compressor Speed

Page 180: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

165

8.2.4 Study 3: Step Increase in Valve 2 Opening Consider another scenario where electronic expansion valves are used at the inlet of each evaporator. A

typical application would be to control superheat, e.g. in the study in Section 8.2.2, where superheats of the two

evaporators migrate from their initial set point due to change in the air flow rate over evaporator 1. In order to

effectively use the expansion device as a control actuator, knowledge of its open loop response, is essential. Figure

8.4 shows the increase in mass flow rates through evaporator 2 due to 6% increase in the opening area of valve 2

(say due to the feedback mechanism for superheat control). It should be observed that the mass flow rate through the

evaporator 1 also changes because of the coupled system dynamics. Further, the superheats in the two evaporators

also display a coupling effect as observed in Figure 8.5. In order to regulate the two superheats to the original set-

point while mass flow rate is changing, the compressor must also be controlled taking the coupling phenomenon into

consideration. It can be inferred that a control action from the valve will have a compounding effect on the severity

of the coupled dynamics. Furthermore, modulations in the mass flow rate affecting actuators, i.e. the compressor

speed and the expansion valve, affect the evaporation pressure too and hence overall effectiveness of the system

changes. In a realistic scenario, both superheat and pressure control is desirable but as can be seen is quite

challenging. This study provides the motivation for design of model-based controllers for these cycles, which can

resist undesirable changes due to disturbances without affecting the system performance.

0 50 100 150 200 250 300 350 40014

14.05

14.1

14.15

14.2

14.25

14.3

Mas

s flo

w r

ate

[g/s

ec]

Time [sec]

Evaporator 1

0 50 100 150 200 250 300 350 40014.2

14.3

14.4

14.5

14.6

14.7

14.8

Time [sec]

Mas

flow

rat

e [g

/sec

]

Evaporator 2

Figure 8.4 Mass Flow Rate Response to Increase in Expansion Valve 2 Opening

Page 181: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

166

0 50 100 150 200 250 300 350 4005.5

6

6.5

7

7.5

Sup

erhe

at [o C

]

Time [sec]

Evaporator 1

0 50 100 150 200 250 300 350 4002

3

4

5

6

7

Sup

erhe

at [o C

]

Time [sec]

Evaporator 2

Figure 8.5 Superheat Response to Increase in Expansion Valve 2 Opening

8.3 Closed Loop Control Strategies The simulation studies shown above clearly indicate the challenges involved with the design of closed loop

control strategies for multi-evaporator systems. Multivariable or MIMO control is, however, necessary because the

dynamics of these systems are highly coupled and hence SISO controllers may not be able to regulate it because of

its inherent ignorance of the coupling. Nonlinearities observed in the model presented in Chapters 3 and 4, and

dynamic coupling, shown in Figures 8.1-8.5, are the two important challenges for such a controller design. Primary

ways of nonlinearity compensation include design of Gain-scheduled control or Robust control. In the former, model

linearization is done near various operating conditions and different controllers are designed for the linear system at

those points of operation. For Robust control, the uncertainty bounds of a linear system can be determined and the

controller for the linear system will be robust to disturbances within a range.

Another possibility would be to design a multivariable adaptive controller where recursive estimation of a

corresponding linear model for the system is performed. From this estimated model, a control effort is calculated

and designated to the actuators. A particular advantage with adaptive control technique is that it can be used for any

system without any prior knowledge of its parameters, except for their quantity. Thus, by using adaptive

identification true plant parameters are not required and the same controller can be used for a large set of systems.

Furthermore, in many cases there can be faults in the actual system, e.g. clogging in pipes, connectors, evaporator or

condenser tubes etc. In such cases, an adaptive controller can be advantageous because, in the presence of

persistently exciting inputs, it will always be able to identify the true system parameters, fault affected or not. A

Page 182: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

167

work on the application of multivariable adaptive control on air conditioning was presented in Chapter 7 and it

showed good control results.

Another significant decision is a proper choice of actuators. Different available actuators in the system are

the expansion valve openings, the air flow rate to the evaporators, the compressor speed and the air flow rate to the

condenser. A judicious choice of the actuators among these is important for a good system performance, while

keeping the system cost low. As an example, the compressor and the two expansion valves appear to be three

different actuators for the system, but actually they are altogether controlling only two independent system

properties, those being the total mass flow rate in the system, and the mass flow rate through either of the two

evaporators. Thus, choosing all three of these actuators would result in over constraining the system.

Previous studies such as experimental work by [56] on comparison of different SISO control techniques for

subcritical single-evaporator cycles suggested that use of a better controller can improve the system efficiency

drastically. Work done by [16] has further shown the advantage of MIMO controllers for air conditioning systems

too.

With this motivation, in the next few sections of this chapter, design and performance evaluation of a

MIMO controller based on complete model linearization of a dual evaporator air conditioning system is presented.

8.4 Linearized Model-Based Control Many control systems are required to maintain the state of a dynamic process at a specified constant value.

Also referred to as set-point regulation, this characteristic is applicable to an air conditioning system because,

depending on the user-specified thermostat setting, desired superheat and evaporation pressure reference can be

determined and maintained. Similarly, disturbance rejection is another important property of control systems and is

desirable for performance and efficiency maintenance over a large range of conditions, say, in an automotive air

conditioning unit.

Many model-based control design schemes are available in the literature which possess these desired

characteristics, however, a linear plant model is preferable for the implementation of a majority of them. As

introduced in [16] and earlier Chapters, the air conditioning system model is highly nonlinear and hence

linearization was carried out for each of the component models in [16] and Chapter 6. Once linearized, these

component models can be interconnected to obtain a complete system model either analytically as shown in Chapter

6 or by using control design software. In the present case, the model interconnection was carried out using the

mu-analysis and synthesis toolbox in Matlab®.

Page 183: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

168

Figure 8.6 Linearized Model for the Dual Evaporator A/C Cycle

8.4.1 Linearized Model: Inputs, Outputs and States A disadvantage with using software methods for system interconnection is that the physical interpretation

of the resulting dynamic modes is not obtained. In order to obviate this knowledge, the interconnection can be done

in such a manner that all the dynamics of interest together form the output vector for the overall linearized system.

With this in mind, in the present case, the output vector is chosen to include the refrigerant pressures and the air

outlet temperatures for all the evaporators and the condenser, and the superheats at the outlet of the evaporators.

Further, different possible inputs/disturbances to the system are the two expansion valves, the air mass flow rate and

its inlet temperature to the evaporators and the condenser, and the compressor speed.

Linearized Evaporator 1

Linearized Evaporator 2

Linearized Condenser

Linearized Valve 1

Linearized Valve 2

Linearized Mass Demux

Linearized Compressor

˜ DuCxYBuAxx

+=+=&

Complete Cycle Linearized Model

Linearized Mass Mux

Page 184: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

169

Figure 8.7 Complete Linearized Model with Inputs and Outputs

In [16], the dynamic model of an evaporator is shown to have 5 dynamic modes. Similarly, the condenser

model presented in Chapter 3 was shown to have 7 dynamic modes. The expansion device and the compressor are

modeled using static nonlinear equations and hence do not add to the dynamic characteristics. This results in a total

of 17 dynamic modes for a dual evaporator air conditioning system. One of these modes corresponds to mass

accumulation in the complete system and if we assume a leak-less cycle, it is a redundant state and can be removed.

Numerically, this can be looked into as a mode with a free integrator or a zero eigenvalue. Minimal realization of the

system can be obtained by removing that particular state. In the present case, one of the states is removed to obtain

the minimal realization whose eigenvalues are given by Equation 8.1.

Valve Volts 1 Complete System Model

uDxCY

uBxAx

δδδ

δδδ

+=

+=&

Air flow rate Evaporator 1

Air flow rate Evaporator 2

Valve Volts 2

Air temperature Evaporator 1

Air temperature Evaporator 2

Air flow rate Condenser

Air temperature Condenser

Pressure Evaporator 1

Superheat Evaporator 1

Pressure Evaporator 2

Superheat Evaporator 2

Pressure Condenser

Outlet Temperature (Air) Evaporator 1

Outlet Temperature (Air) Evaporator 2

Outlet Temperature (Air) Condenser

Compressor Speed

Page 185: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

170

−−−

−−+−

−−−+−

−−−−−−−

=

0754.00433.01235.0

0689.00807.000689.00807.0

1877.01152.02845.01152.02845.0

6237.06575.07433.15622.23549.60540.7

64.106828.14

ii

ii

λ (8.1)

8.4.2 Control Inputs, Disturbances and Controllable Outputs It can be observed from Equation 8.1 that the relative difference between the fastest and the slowest

eigenvalues is almost two orders of magnitude, which implies that this system is singularly perturbed with both fast

and slow dynamics. There is, thus a possibility of model order reduction. The states corresponding to these

eigenvalues are not known physically because of the procedure used for model interconnection. In [16], it was

observed that the slow modes are related to wall temperature and mass balance dynamics in the system and fluid

pressure corresponds to the faster dynamics. In this study, since refrigerant pressure has been chosen as a variable of

interest, the full order model is chosen for further dynamic analysis and control system design without resorting to

model reduction. Model reduction is however important for the design of simpler controllers for these systems and

forms an important area of attention for future work.

From the eight possible system outputs shown in Figure 8.7, the two evaporator pressures and the

superheats are the most significant ones because their combined control is equivalent to the control of the efficiency

and the performance of both the evaporators. In the present study, attention is focused on closed loop control of

these outputs only.

Typically a TXV is used for SISO control of the superheat at the evaporator outlet. Following this idea,

expansion valve openings for the two evaporators are chosen as two of the possible control actuators. Similarly,

modulating the speed of the variable speed airflow fans over the heat-exchangers can also play an important role in

capacity control in transient conditions [40]. This technology is currently being explored by various automotive

industries for control of multi-zone air conditioning systems. Forrest and Bhatti [40] have presented an analogous

approach towards energy efficiency by appropriately mixing the re-circulated and incoming air to the evaporator in

an automotive system. Building on this background, the air flow rates over the two evaporators are chosen along

with valve openings for the closed loop control of the desired outputs. Also noticeable is the fact that this choice of

control actuators is similar to that for the exercise on multivariable adaptive control presented in Chapter 7.

Page 186: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

171

Finally, the rest of the inputs shown in Figure 8.7 can play the role of the disturbances. As an example, the

airflow rate over the condenser and compressor speed can both change as an automotive unit moves from one

driving condition to another. Similarly, depending on the outside conditions the incoming air temperature to the

different heat exchangers can be different too. Our goal is to modulate the four actuators in such a way that:

a. Disturbance rejection is achieved against changes to the other five inputs,

b. Tracking of desired values for outputs is obtained.

With this, the complete system can be represented by the following set of equations.

wEuDxCywFuBxAx

δδδδδδδδ

++=++=&

(8.2)

where A, B, C, D, E, F are, respectively, 16 X 16, 16 X 4, 4 X 16, 8 X 4, 4 X 5, 16 X 5, constant matrices obtained

from linearization and interconnection. The elements of w are the disturbances acting on the system through the

compressor speed, the air flow rate to the condenser and the air inlet temperatures to all the heat exchangers. In the

present case, it was observed that D and E are null matrices, which simplifies the system further. Also, an important

point worth noting here is that since this model has been obtained by linearization about an equilibrium point, all the

outputs, the inputs applied and the states reached, are deviations about their equilibrium values. The operating point

can be chosen based on the general steady state condition for a particular application with environmental factors

taken into account.

8.4.3 Controller Design An LQR control approach is chosen by which the gains may be obtained for the linearized model and

applied to the nonlinear model. In order to judge the efficacy of the resulting control scheme, it is first applied on the

linearized model using the full state feedback. To generalize the control design phase, a reference tracking control

scheme is developed, and disturbance rejection can be considered to be its special case when all references are

constants but the disturbance inputs are applied.

Since the available linearized model has no physical information about the states, the present state-space

model shown in Equation 8.2 may be augmented with the integral error state between the desired reference and

actual output [57,59] as,

( )( )∫ −+=

∫ −=dtryy

dtryx I

δ (8.3)

Here, y is the initial value of the outputs for this system. The augmented state-space representation is then

given by,

( )

( )ryRwFuBxAx

ryI

wF

uB

xx

CA

xx

II

−+++=

+

+

+

=

~~~~~~Or

0000

0

δδ

δδδδ

&

&&

(8.4)

Since, the actual states of the linearized model are not physically interpretable the performance index for

optimal design may be chosen to be dependent on outputs rather than the states. Let us define the cost function over

the infinite horizon as,

Page 187: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

172

( )∫ ′+′+′=∞

02 dtuNyuRuyQyJ δδδδδδ (8.5)

Matlab® has an available subroutine for LQR design with output weighing, invoked with the command

lqry, which can be used in the present case. With the knowledge of the system matrices, the lqry subroutine converts

the output weighing problem back to a simple state weighing problem and solves the corresponding matrix Riccati

equation. Furthermore, since LQR design is typically done for regulation, a new output vector is defined such that

regulation of it to zero is same as reference tracking. This is done by choosing the outputs as just the newly

augmented integral states, i.e.,

[ ]

=

Ixx

Iyδ

δ 0~ (8.6)

The lqry command in Matlab® generates an optimal gain matrix K such that the output is regulated to zero

or in other words, the true plant outputs are regulated to their reference values. The control scheme applied to the

linear model is shown in Figure 8.8.

Figure 8.8 Control Design Scheme for the Linearized Model

In order to ascertain the performance of the control design scheme, simulation studies were carried out to

understand its behavior on the linearized model first, before using it on the complete nonlinear model. The system

parameters for the R22 residential dual evaporator system described in Chapter 4 were used in this case for the

generation of the overall cycle linearized model. For the considered operating condition, the eigenvalues of the open

loop system are given by Equation 8.1. For the LQR design the output and input gains are chosen as shown in

Equation 8.7.

ry −

A~

B~

F~

+ s

1

R~

K−

Page 188: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

173

=

=

5000000000500000000050000050

,

01.000001.0000001.000001.0

RQ (8.7)

In the choice of the gain matrices, superheat control was given more weighing than the pressure control

because the cycle efficiency is dependent on it. Further, the cost associated with the air flow rate actuator is assumed

to be much higher than that for the expansion valve because the latter is a rather frequently used control actuator.

With the linearized augmented system and the weighing matrices described in 8.7, feedback gains can be

obtained and implemented on the system as shown in Figure 8.8. The control law and the closed loop plant

dynamics are given by following equations.

xKu δδ −= (8.8)

( ) ( )ryRwFxKBAx −++−=~~~~~ δδ& (8.9)

The closed loop eigenvalues of the system can then be obtained and the pole zero map for the open loop

and the closed loop system is shown in the Figure 8.9. Figure 8.10 is a zoomed-in view of the slow eigenvalues of

the open loop and closed lop systems and we can observe that the control design has resulted in changing the

dominant eigenvalue locations.

-15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1-0.4i

-0.3i

-0.2i

-0.1i

0

0.1i

0.2i

0.3i

Real Axis

Imag

inar

y A

xis

Open LoopClosed Loop

Figure 8.9 Eigenvalue Map for the Closed Loop and the Open Loop System

Page 189: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

174

-0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3-0.3i

-0.2i

-0.1i

0

0.1i

0.2i

Real Axis

Imag

inar

y A

xis

Open LoopClosed Loop

Figure 8.10 Effect on Dominant Eigenvalues Due to State Feedback

The control scheme defined by Equation 8.9 was initially applied on the linearized model with the idea that

if the design proved good for the linear model, it can be applied to the nonlinear model too. Full state feedback is

also available with the linear model which makes the implementation a relatively simple procedure as compared to

that for the nonlinear model as shown in the following sections.

The first simulation study was to evaluate the controller performance for tracking step changes in the

reference signal for superheat in the evaporator 1. Figure 8.11 shows that the controller is able to track the references

for all the outputs to a fair degree of accuracy. Further, we see that the pressures and the superheat in the second

evaporator also change during the study, thus indicating the coupling phenomenon again.

Page 190: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

175

0 200 400 600 800 100010

15

20

25

Time [sec]

Sup

erhe

at E

vap

1 [o C

]

0 200 400 600 800 100020

21

22

23

24

Time [sec]

Sup

erhe

at E

vap

2 [o C

]

0 200 400 600 800 1000585

590

595

600

605

610

Time [sec]

Pre

ssur

e E

vap

1[kP

a]

Ref erenceOutput

0 200 400 600 800 1000550

555

560

565

570

Time [sec]

Pre

ssur

e E

vap

2 [k

Pa]

Figure 8.11 Reference Tracking of Evaporator 1 Superheat for the Linear Model

Figure 8.12 shows the corresponding modulations required in the four actuators to achieve this

performance. It can be observed that modulations in air flow rates play a dominant role in the control of the

superheat. It can be inferred from here that the evaporator air flow rate can be used as an actuator for good control of

the superheat since it has a mild effect on the pressure. This result indicates that the air flow rate input and the

pressure output are relatively decoupled, which makes sense, because the refrigerant mass flow rate which plays a

role in evaporator pressure does not get affected by the change in the air flow rates.

Page 191: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

176

0 100 200 300 400 500 600 700 800 900 10000.01

0.02

0.03

0.04

0.05

Time [sec]

[kg/

sec]

Air f low rate 1Air f low rate 2

0 100 200 300 400 500 600 700 800 900 10002.5

3

3.5

4

4.5

5

Time [sec]

[Vol

ts]

Valv e 1Valv e 2

Figure 8.12 Required Modulations in the Four Inputs for Superheat Tracking

Another study of the controller performance for reference tracking of evaporator pressure is shown in

Figure 8.13. Here again, it can be observed that the control strategy works very well and is able to track all the

references without any significant error. However, the more intriguing plot is shown in Figure 8.14, where we see

the changes in the four actuators for the desired control objectives. Contrary to the previous study, where air flow

rates were playing the more dominant roles, in this case, we see that both valve opening and air flow rates have

comparable roles to play. This can be explained by the fact that expansion device has a significant role in pressure

control in the evaporator because of its affect on the mass flow rate entering the evaporator. Due to changes in the

incoming mass flow rate, heat transfer over the evaporator changes and causes change in the superheat output

resulting in required modulations in the air flow rate. Thus, here we see synergistic control actions taken by different

actuators to attain the final objective. This won’t be possible for a number of SISO controllers applied to different

input-output loops because of the ignorance of the coupling in the system dynamics.

Another observation that can be made by observing the settling time of the superheat and the pressure, we

can see that due to the heat capacity of the heat exchanger metal, the superheat response is rather slower than the

pressure response. The evaporator pressure increases with increase in mass accumulation in the heat exchanger and

it can be controlled instantly with an input or a disturbance to the compressor or valve. In case of superheat,

however, the final result is indirect because of the heat exchanger metal mass.

Page 192: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

177

0 200 400 600 800 100016

18

20

22

24

26

Time [sec]

Sup

erhe

at E

vap

1 [o C

]

0 200 400 600 800 100016

18

20

22

24

26

Time [sec]

Sup

erhe

at E

vap

2 [o C

]

0 200 400 600 800 1000560

580

600

620

640

Time [sec]

Pre

ssur

e E

vap

1[kP

a]

Ref erenceOutput

0 200 400 600 800 1000520

540

560

580

600

Time [sec]

Pre

ssur

e E

vap

2 [k

Pa]

Figure 8.13 Reference Tracking of Evaporator 1 Pressure for the Linear Model

0 100 200 300 400 500 600 700 800 900 10000

0.02

0.04

0.06

0.08

Time [sec]

[kg/

sec]

Air f low rate 1Air f low rate 2

0 100 200 300 400 500 600 700 800 900 10001

2

3

4

5

6

7

Time [sec]

[Vol

ts]

Valv e 1Valv e 2

Figure 8.14 Required Modulations in the Four Inputs for Pressure Tracking

Page 193: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

178

The results presented in the earlier plots show good performance of the control for the linearized model.

We can see that the control efforts are slow enough to stay in the real actuator’s hardware bandwidth limitations,

while being fast enough to have satisfactory performance. It might, however, be interesting to simulate the effect of

an aggressive controller on the system performance. For this purpose, the cost matrix associated with the system

inputs was lowered down to the value shown in Equation 8.10. The resulting controller performance is shown in the

graphs from Figure 8.15 to 8.18 for reference tracking of pressure and superheat in evaporator 1.

=

10000000010000000010000010

R (8.10)

0 200 400 600 800 100010

15

20

25

Time [sec]

Sup

erhe

at E

vap

1 [o C

]

0 200 400 600 800 100020

21

22

23

24

Time [sec]

Sup

erhe

at E

vap

2 [o C

]

0 200 400 600 800 1000585

590

595

600

605

610

Time [sec]

Pre

ssur

e E

vap

1[kP

a]

Ref erenceOutput

0 200 400 600 800 1000555

560

565

570

Time [sec]

Pre

ssur

e E

vap

2 [k

Pa]

Figure 8.15 Superheat Reference Tracking with Aggressive Control

Page 194: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

179

0 100 200 300 400 500 600 700 800 900 10000

0.01

0.02

0.03

0.04

0.05

0.06

Time [sec]

[kg/

sec]

Air f low rate 1Air f low rate 2

0 100 200 300 400 500 600 700 800 900 10002.5

3

3.5

4

4.5

5

5.5

Time [sec]

[Vol

ts]

Valv e 1Valv e 2

Figure 8.16 Actuator Modulations Required for Aggressive Control

0 200 400 600 800 100016

18

20

22

24

26

Time [sec]

Sup

erhe

at E

vap

1 [o C

]

0 200 400 600 800 100016

18

20

22

24

26

Time [sec]

Sup

erhe

at E

vap

2 [o C

]

0 200 400 600 800 1000560

580

600

620

640

Time [sec]

Pre

ssur

e E

vap

1[kP

a]

Ref erenceOutput

0 200 400 600 800 1000520

540

560

580

600

Time [sec]

Pre

ssur

e E

vap

2 [k

Pa]

Figure 8.17 Pressure Reference Tracking with Aggressive Control

Page 195: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

180

0 100 200 300 400 500 600 700 800 900 1000-0.02

0

0.02

0.04

0.06

0.08

Time [sec]

[kg/

sec]

Air f low rate 1Air f low rate 2

0 100 200 300 400 500 600 700 800 900 10001

2

3

4

5

6

7

Time [sec]

[Vol

ts]

Valv e 1Valv e 2

Figure 8.18 Actuator Modulations Required for Aggressive Control

These simulation studies of the controller performance for the linear model prove that the control objectives

can be met for the true nonlinear model also, however within a small region of deviations, depending on the

linearization error for the overall system model. In the next section, the application of the linear model based

controller to the true nonlinear model is presented.

8.4.4 Linear Model Based Controller Applied to the Nonlinear Model Since, in this study, we are considering LQR controller with full state feedback, a physical interpretation of

different states could have been useful. With that knowledge, the states from the nonlinear model can be compared

to their desired values, as obtained from the linearized model, to calculate the required control action. In our case,

that knowledge is not present. Another method can be to regenerate the associated states using output feedback from

the true system and feeding it to an observer based on the linearized model. The regenerated states can then be used

for designing a state feedback based control action. This method was chosen for the present case and a block

diagram for the complete control strategy is presented in Figure 8.19 below.

Page 196: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

181

Figure 8.19 Dynamic Observer Based Controller Design for Nonlinear Model

The idea is to design a dynamic observer based on the linearized system matrices to regenerate states which

can be used for state feedback control. We want to duplicate the original system with the observer as given below

[58].

( )xCyLwDuBxAx ˆˆˆ δδδδδδ −+++=& (8.11)

Or,

( ) yLwDuBxLCAx δδδδδ +++−= ˆ& (8.12)

The choice of L matrix lies on the tradeoff between fast convergence of the observed states to their actual

values and instabilities that can arise due to very rapidly changing values of states. For our case, various eigenvalues

for the matrix (A-LC) were chosen till a proper balance between fast convergence and stable performance was

obtained. The eigenvalues placement design was done using the place command in Matlab® [43] for the conjugate

system. The eigenvalues locations for the observer were chosen as

[ ]T26.025.024.023.021.020.019.018.017.016.015.014.013.012.011.01.0−=λ (8.13)

A more negative choice of eigenvalues would result in faster observer reaction and since the observer

dynamics dictate the control action, a fast change in observed states was found to cause very large control efforts in

presence of time varying disturbances, thus resulting in instabilities. This choice of the observer eigenvalues is still

good for fast identification of the important dynamic modes and the following graph shows the comparison of a

representative observed state with the actual state for the linear controller for pressure tracking shown in Figure

8.17. We can observe here that the true state and the observed state lie on top for the complete disturbance sequence

and this happens for all the states, though not shown here in the Figure.

B

L

+ s1

LCA −

K−

a/c system nonlinear

model

xδ D wδ

Page 197: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

182

195 200 205 210 215 220 225 230 235-0.6

-0.4

-0.2

0

0.2

0.4

Time [sec]

Sta

te 1

True StateObserv ed State

195 200 205 210 215 220 225 230 235-10

-5

0

5

10

Time [sec]

Sta

te 1

4

True StateObserv ed State

Figure 8.20 True and Observed States (1 and 14)

Another important point to note here is that the control design scheme used for the linearized model

generates gains based on output weighing where the integral error states were assumed to be the only outputs from

the system. The observer designed in the present case provides us with only the first sixteen states (which are

physically unknown), and hence, the remaining four integral states (integral of the error between true outputs and the

references) can be appended to form a state vector of size twenty.

Figure 8.21 shows the results of the superheat reference tracking for the nonlinear model using the

observed states and the state feedback control action. Again in this case too, we see that air the flow rate plays a

prominent role in superheat control as can be seen from the control action taken by the actuator, whereas the

expansion valves remain almost steady. Still the combined effect of all the actuators is able to maintain the system at

the desired condition. Similarly, for the study on reference tracking for evaporator pressure, we see that all the four

actuators have significant roles to play. The weighing matrices used in this case were for the low gain controller

given in Equation 8.7.

With this we end the discussion on design on reference tracking controller for a dual evaporator vapor

compression cycle. The next section provides a discussion on disturbance rejection properties that are achievable

and are realistic for the particular system, we are working with.

Page 198: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

183

0 500 1000 150018

19

20

21

22

23

Time [sec]

Sup

erhe

at E

vap

1 [o C

]

0 500 1000 150020

21

22

23

24

Time [sec]

Sup

erhe

at E

vap

2 [o C

]

0 500 1000 1500590

595

600

605

610

Time [sec]

Pre

ssur

e E

vap

1[kP

a]

Ref erenceOutput

0 500 1000 1500550

555

560

565

570

Time [sec]

Pre

ssur

e E

vap

2 [k

Pa]

Figure 8.21 Reference Tracking of Evaporator 1 Superheat (Nonlinear Model)

0 200 400 600 800 1000 1200 1400 1600 18000.028

0.03

0.032

0.034

0.036

0.038

Time [sec]

[kg/

sec]

Air f low rate 1Air f low rate 2

0 200 400 600 800 1000 1200 1400 1600 18002.5

3

3.5

4

4.5

5

Time [sec]

[Vol

ts]

Valv e 1Valv e 2

Figure 8.22 Required Modulations in the Four Inputs for Superheat Tracking

Page 199: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

184

0 500 1000 1500 200018

19

20

21

22

23

24

Time [sec]

Sup

erhe

at E

vap

1 [o C

]

0 500 1000 1500 200020

21

22

23

24

Time [sec]

Sup

erhe

at E

vap

2 [o C

]

0 500 1000 1500 2000570

580

590

600

610

Time [sec]

Pre

ssur

e E

vap

1[kP

a]

Ref erenceOutput

0 500 1000 1500 2000550

555

560

565

570

Time [sec]

Pre

ssur

e E

vap

2 [k

Pa]

Figure 8.23 Reference Tracking of Evaporator 1 Pressure (Nonlinear Model)

0 500 1000 1500 20000.01

0.02

0.03

0.04

0.05

Time [sec]

[kg/

sec]

Air f low rate 1Air f low rate 2

0 500 1000 1500 20002

3

4

5

6

Time [sec]

[Vol

ts]

Valv e 1Valv e 2

Figure 8.24 Required Modulations in the Four Inputs for Pressure Tracking

Page 200: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

185

8.4.5 Linear Model Based Controller for Disturbance Rejection The parameters chosen for the study on controller evaluation are for a typical R22 air conditioning unit.

Some of the various realistic disturbances that can act on the system are, say, changes in the incoming air

temperatures or sudden user specified start-up or shut-down of one evaporator. In case of an automotive application,

the system can experience disturbances while the car moves through various driving conditions. Since the

compressor is connected to the engine, both the compressor speed and the air flow rate over the condenser, change.

The change in compressor speed is a common disturbance for residential or commercial applications also, because

as soon as an individual evaporator is shut down or started up, the compressor speed increases or decreases

accordingly to accommodate the load required for that evaporator. In such cases, the condenser air flow rate can also

change accordingly to accommodate the increased system load. For such disturbances, a good controller that can

maintain the desired output values is required. In Figure 8.25, a disturbance sequence that affects the compressor

speed and air flow rate over the condenser is presented. The response to these disturbances for the controlled and the

uncontrolled system are shown in Figure 8.26. It can be observed from these figures that all the disturbances have

been rejected by the controller. The corresponding actuator modulations are shown in Figure 8.27.

0 100 200 300 400 500 600 700 800 900 1000

0.12

0.14

0.16

0.18

0.2

0.22

Time [sec]

Con

dens

er a

ir flo

w r

ate

[kg/

sec]

0 100 200 300 400 500 600 700 800 900 1000700

750

800

850

Time [sec]

Com

pres

sor

spee

d [rp

m]

Figure 8.25 Disturbance Sequence

Page 201: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

186

0 200 400 600 800 100020

21

22

23

24

25

26

Time [sec]

Eva

pora

tor

1 S

uper

heat

[o C]

0 200 400 600 800 100020

22

24

26

28

Time [sec]

Eva

pora

tor

2 S

uper

heat

[o C]

0 200 400 600 800 1000550

560

570

580

590

600

610

Eva

pora

tor

1 P

ress

ure

[kP

a]

ControlledUncontrolled

0 200 400 600 800 1000510

520

530

540

550

560

570

Eva

pora

tor

2 P

ress

ure

[kP

a]

Figure 8.26 Comparison of Controlled and Uncontrolled System Responses

0 100 200 300 400 500 600 700 800 900 10000.032

0.034

0.036

0.038

0.04

0.042

0.044

Time [sec]

[kg/

sec]

Air f low rate 1Air f low rate 2

0 100 200 300 400 500 600 700 800 900 10002.5

3

3.5

4

4.5

5

5.5

Time [sec]

[Vol

ts]

Valv e 1Valv e 2

Figure 8.27 Actuator Modulations for Disturbance Rejection

Page 202: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

187

8.5 Conclusions The linear model based control for the actual nonlinear system is able to perform satisfactorily for

disturbance rejection and reference tracking within the neighborhood of the point of linearization. In order to apply

this control strategy over the complete domain of operation, gain-scheduling of controllers might be necessary.

Robust control can also be designed and based on the error bounds for the linear system, different control actions

can be applied to the nonlinear system.

Page 203: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

188

Chapter 9. Conclusions and Future Work

9.1 Outline of Results The work presented in this thesis focused primarily on physics based modeling of the subcritical vapor

compression cycle and its components with the objectives of prediction, control and design. Distinct contributions in

modeling include,

1. Heat transfer coefficient compensation based models for the receiver, and the

accumulator, which obviated an order-switching based modeling strategy.

2. Dynamic pipe loss dependent methodology for the modeling of multi-evaporator air

conditioning systems. The resulting strategy is modular to systems with any number of

evaporators.

The overall cycle models for both single and multi-evaporator systems were further validated against

different experimental data sets, which indicated the possibility to confide in the models for accurate prediction of

the cycle dynamics. In order to use these models for control design and analysis, set point linearization was

conducted and the linearized models were shown to match the true nonlinear models within the neighborhood of the

operating condition. These different models were combined with the existing Thermosys library in Matlab® to form

a modular modeling environment for single and multi-evaporator air conditioning systems. The dynamic analysis of

the linearized model indicated a possibility of model reduction which formed the basis for using a lower order model

structure for the design of a multivariable adaptive controller. The controller showed good reference tracking and

disturbance rejection results for a general automotive system model. Similarly, the overall linearized model for a

dual evaporator residential system was used for the design of a model based LQG control strategy for the system.

The controller showed good performance for the nonlinear system also. The methods and the results presented in

this work are exportable to a variety of vapor compression systems and dynamic problems in general.

9.2 Future Work The work presented in this thesis reveals a number of directions where the attention for the future work can

be focused. The most significant of them include the following.

9.2.1 Model Validation The validation results presented in this work show a good degree of accuracy on comparison with the

experimental datasets. In order to obtain even better results more experimentation is required. It will also be easier to

confide in the models for system design or controller design with a larger available set of experimental validation

results. The dynamic models for the receivers and the accumulators, especially, need to be validated in order to

justify their use for model validation, prediction and control. Similarly, better data sets for systems with more than

two evaporators will be useful in generalizing the modeling methodology developed for the multi-evaporator

systems. Thus, obtaining experimental results for a large number of systems and operating conditions form an

important area of research focus.

9.2.2 State Identification in Linearized Models The linearized models indicate the possibility to use advanced linear algebra methods for better dynamic

analysis and control design applications. However, as shown in Chapter 8, the current method used for model

Page 204: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

189

linearization and component interconnection does not reveal information of the actual states in the final overall

system model. This information will be very useful to decide the sensor locations for a full order controller

implementation. A complete analysis of the system interconnection procedure is required for this and will form a

part of the future work.

9.2.3 Controller Design and Implementation The adaptive and the model based multivariable controllers studied in this thesis indicate good results on

implementation on the validated system model. The model based controller, especially, can be further improved by

using a gain scheduling scheme to enable it to compensate for the system nonlinearities. The main task after

designing these control schemes will then be to implement them on actual experimental systems and evaluate their

performance. The cost to result study also needs to be conducted in order to evaluate the possibility to use these

control schemes on commercially used systems.

9.2.4 Modeling of Other Multi-Component Systems In this thesis, the work presented for multi-evaporator systems was primarily focused on the design and

control of systems with different evaporators connected in parallel, with each having an individual expansion device

and caters to by the same compressor. There are a few other arrangements which are possible for systems with

multiple evaporators which need to be studied. Also important is the fact that in certain cases the system may have

more than one compressors or condensers too. Depending on the industrially used arrangements of such systems,

further studies need to be carried out.

9.2.5 Modeling Library Development The Thermosys modeling library has been developed as a useful tool for the dynamic analysis and control

oriented modeling for vapor compression systems. An important area of future work is to develop this library further

with new component models, generic model based controllers, and possibility to use it as a subsystem in a complete

system model. Also it would be useful to have figures for pressure dials, temperature meters etc. to form a visually

informative model of the air conditioning unit.

Page 205: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

190

References

[1] Dossat, R. J., Principles of Refrigeration, John Wiley and Sons, New Jersey, 1980.

[2] Harris, N. C., Conde, D. F., Modern Air Conditioning Practice, McGraw-Hill Book Company, New York, 1974.

[3] Eastop, T. D., McConkey, A., Applied Thermodynamics for Engineering Technologists, John Wiley and Sons, New York, 1993.

[4] Beecham, M., Global market for automotive heating, ventilation and air conditioning, About Publishing Group, October 2001.

[5] Survey of the Energy Information Administration, Department of Energy, US, 1978-1997.

[6] Air Conditioning and Refrigeration Center Technical Reports, University of Illinois, Urbana Champaign, 1991-2003.

[7] Franklin, G. F., Powell, J. D., Emami-Naeini, A., Feedback control of dynamic systems, 3rd ed., Addison-Wesley Publishing Company, 1994.

[8] Broersen, P., and van der Jagt, M., “Hunting of Evaporators Controlled by a Thermostatic Expansion Valve,” ASME J. Dynamic Systems, Measurement, and Control, v 102, pp. 130-135, June 1980.

[9] Najork, H., “Investigations on the Dynamical Behavior of Evaporators with Thermostatic Expansion Valve”, Proc. 13th Int. Cong. of Refrig., Washington, pp. 759-769, 1973.

[10] Stoecker, W. F., “Stability of an Evaporator-Expansion Valve Control Loop,” ASHRAE Trans., v 72, n 2007, pp. IV 3.1-3.8, 1966.

[11] Bendapudi, S., Braun, J. E., “A Review of Literature on Dynamic Models of Vapor Compression Equipment”, ASHRAE Report #4036-5, May 2002.

[12] He, X., “Dynamic Modeling and Multivariable Control of Vapor Compression Cycles in Air Conditioning Systems”, PhD Dissertation, Massachusetts Institute of Technology, Feb. 1996.

[13] Kasahara, M., Matsuba T., Kuzuu, Y., Yamazaki, T., Hashimoto, Y., Kamimura, K., Kurosu, S., “Design and Tuning of Robust PID Controller for HVAC Systems”, ASHRAE Trans. v 105 (PART 2), pp. 154-166, 1999.

[14] Deng, S., Missenden, J. F., “Applying Classical Control Theory for Validating and Simplifying a Dynamic Mathematical Model of an Air Conditioning Plant”, ASHRAE Trans. v 105 (PART 1), pp. 140-148, 1999.

[15] He, X., Liu, S., and Asada, H., “Modeling of Vapor Compression Cycles for Multivariable Feedback Control of HVAC Systems,” ASME J. Dynamic Systems, Measurement, and Control, v 119, pp. 183-191, June 1997.

[16] Rasmussen, B. P., “Control-Oriented Modeling of Transcritical Vapor Compression Systems”, M.S. Thesis, University of Illinois at Urbana-Champaign. 2002.

[17] Grald, E. W., and MacArthur, J. W., “A Moving Boundary Formulation for Modeling Time-Dependent Two-Phase Flows”, Int. J. Heat and Fluid Flow, v 13, n 3, pp. 266-272, 1992.

[18] Wedekind, G. L., Bhatt, B. L., and Beck, B. T., “A System Mean Void Fraction Model for Predicting Various Transient Phenomena Associated with Two-Phase Evaporating and Condensing Flows”, Int. J. Multiphase Flow, v 4, pp. 97-114, 1978.

[19] Wedekind, G. L., “An Experimental Investigation into the Oscillatory Motion of the Mixture-Vapor Transition Point in Horizontal Evaporating Flow,” ASME J. of Heat Transfer, v 93, pp. 47-54, 1971.

[20] Grald, E. W., MacArthur, J. W., “A Moving Boundary Formulation for Modeling Time-Dependent Two-Phase Flows”, Int. J. Heat and Fluid Flow, v 13, n 3, pp. 266-272, 1992.

[21] Pettit, N. B. O. L., Willatzen, M., Ploug-Sorensen, L., “A General Dynamic Simulation Model for Evaporators and Condensers in Refrigeration”, Part I and II, Int. J. of Refrig., v 21, n 5, pp. 398-414, 1998.

[22] Dhar, M., and Soedel, W., “Transient Analysis of a Vapor Compression Refrigeration System”, Proc. 15th Int. Cong. of Refrig., Venice, Italy, Part 1,2, pp. 1035-1067, 1979.

Page 206: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

191

[23] Mithraratne, P., Wijeysundera, N. E., “An Experimental and Numerical Study of the Dynamic Behavior of a Counterflow Evaporator”, Int. J. of Refrig., v 24, pp. 554-565, 2001.

[24] Incropera, F. P., Dewitt, D. P., Fundamentals of Heat and Mass Transfer, John Wiley & Sons, New York, 1996.

[25] Gruhle, W.-D., and Isermann, R., “Modeling and Control of a Refrigerant Evaporator,” ASME J. Dynamic Systems, Measurement, and Control, v 107, pp. 235-239, June 1980.

[26] White, F. M., Fluid Mechanics, McGraw-Hill, Inc., New Jersey, 1994.

[27] Dorf, R. C., The Engineering Handbook, CRC Press, 1996.

[28] Hemami, T. L., Dunn, W. E., “Development of a Transient System Model of Mobile Air-Conditioning Systems”, MS Thesis, University of Illinois, Urbana Champaign, 1998.

[29] Rasmussen, B. P., “Thermosys Toolbox User’s Manual”, http://mr-roboto.me.uiuc.edu/VC3, 2002.

[30] “Product Description”, Hoke, www. hoke.com, 2002.

[31] Stearns, R. F., Johnson, R. R., Jackson, R. M., Larson, C. A., Flow Measurement with Orifice Meters, D. Van Nostrand Compay, Toronto, 1951.

[32] Badr, O., O’Callaghan, P. W., Probert, S. D., “Vapor Compression Refrigeration Systems”, Applied Energy, v 36, n 4, pp. 303-333, 1990.

[33] Lee G., Kim, M. S., Cho, Y. M., “An Experimental Study of the Capacity Control of Multi-Type Heat Pump System using Predictive Control Logic”, 7th Int. Energy Agency Heat Pump Conference 2002, pp. 158-165, May 2002.

[34] Stack, A., Finn, D. P., “Modeling and Validation of a Multi-Evaporator Vapor Compression Cycle Subject to Non-Uniform Loading in Transport Refrigeration Applications”, Int. Refrig. Conf. at Purdue, R18-2, July 2002.

[35] Václavek, L., Lohan, J. M., Ryan, A. M., “Optimization of Temperature Control during Cooling in a Multizone Refrigeration System”, ASHRAE Trans. v 108 (PART 2), pp. 119-128, 2002.

[36] Moody, L. F., “Friction Factors for Pipe Flow”, ASME Trans., v 66, pp. 671-684, 1944.

[37] Ljung, L., System Identification-Theory for the User, Prentice Hall Inc., Upper Saddle River, New Jersey, 1999.

[38] Wilson, M. J., Newell, T. A., Chato, J. C., “Experimental Investigation of Void Fraction during Horizontal Flow in Larger Diameter Refrigeration Application”, ACRC TR-140, July 1998.

[39] Christoffersen, B. R., “Heat Transfer and Flow Characteristics of R-22, R-32/R-125 and R-134a in smooth and micro-fin tubes”, ACRC TR-47, 1993.

[40] Forrest, W. O., Bhatti, M. S., “Energy Efficient Automotive Air Conditioning System”, SAE World Cong., pp. 57-82, 2002.

[41] “Product Description”, Oval Corporation, www.oval.co.jp, June 2003.

[42] “Product Description”, Bock Kältemaschinen GmbH, www.bock.de, June 2003.

[43] “Matlab 6p1 User’s guide”, The Mathworks, Inc., 2001.

[44] Ilic, S. M., Hrnjak, P.S., Bullard, C. W., “Experimental Comparison of Continuous vs. Pulsed Flow Modulation in Vapor Compression Systems”, Int. Refrig. Conf. at Purdue, R65, July 2002.

[45] Khalil, H. K., Nonlinear Systems, 2nd ed., Prentice Hall Inc., 1996.

[46] Kokotovic, P. V., Singular Perturbation Methods in Control: Analysis and Design, Academic Press Inc., Orlando Fl, 1986.

[47] Middleton, R. H., Goodwin, G. C., “Adaptive Control of Time Varying Linear Systems” IEEE Trans. Automatic Control, v 33, n 2, pp. 150-155, Feb 1988.

Page 207: Dynamic Modeling And Control of Single and Multi ... · Dynamic Modeling And Control of Single and Multi-Evaporator Subcritical Vapor Compression Systems R. Shah, A. G. Alleyne, C

192

[48] Astrom, K., J., Wittenmark, Bjorn, Adaptive Control, Addison-Wesley Publishing Company, Inc., Massachusetts, 1995.

[49] Magnuski, M. J., “Review of ASHRAE Symposium on the Application of Adaptive Control to Real HVAC Applications”, Int. J. Refrig.-Revue Internationale du Froid, 11(1), pp. 11-15, 1988.

[50] Ahmed, M. S., Sait, N., “State-Space Adaptive Control through a Modified Bootstrap Algorithm for Parameter and State Estimation”, IEE Proc., 136, Part D (5), pp. 215-224, 1989.

[51] Nazaruddin, Y. Y., Unbehauen, H., “Design of a Multivariable State-Space Adaptive Controller and its Application to a Turbo-Generator Pilot Plant”, IFAC Adaptive Systems in Control and Signal Processing, pp. 185-190, 1995.

[52] Franklin, G. F., Powell, J. D., Workman, M., Digital Control of Dynamic Systems, Addison-Wesley Longman Inc., California, 1998.

[53] Singh, G., Zaheer-uddin, M., Patel, R. V., “Adaptive Control of Multivariable Thermal Processes in HVAC Systems”, Energy Conservation and Management, 41(15), pp. 1671-1685, 2000.

[54] Shah, R., Alleyne, A. G., Rasmussen, B. P., “Application of Multivariable Adaptive Control to Automotive Air-conditioning Systems”, submitted to 2003 ASME Int. Mechanical Engineering Congress and Exposition.

[55] Ozsoy, C., “Self Tuning Control of a Heating, Ventilating and Air-Conditioning System”, Proceed. Instn. Mech. Engrs., 207, pp. 243-251, 1993.

[56] Dane, M., “Investigation of Control Strategies for Reducing Mobile Air Conditioning Power Consumption”, M.S. Thesis, University of Illinois at Urbana-Champaign. 2002.

[57] Skogestad, S., Postlethwaite, I., Multivariable Feedback Control: Analysis and Design, John Wiley & Sons, New York, 1996.

[58] Chen, C. T., Linear System Theory and Design, 3rd ed., Oxford University Press, New York, 1999.

[59] Levine, W. S., The Control Handbook, CRC Press, 1996.

[60] Anderson, B. D. O., Moore, J. B., Optimal Control, Prentice Hall Inc., New Jersey, 1990.