<<

SE 5101: Acausal Physical Modeling

Course Instructor: George M. Bollas, Ph.D.

Catalog Description. 3 credits. This course is designed to provide students with the foundations of physical systems modeling and computational methods for performance analysis. Students will develop skills in the areas of fundamental physical and mathematical representations of fluid dynamics, thermodynamics, heat transfer, and electro-mechanics. This course will also introduce concepts on how systems can be architected and designed with the aid of models. Topics include and component specification, creation of system models for and control analysis of physical systems. Emphasis is placed on the modeling of such systems in the equation oriented programming environment of the Modelica language, and the utilization of these system models within the Functional Mockup Interface for co- and Model Exchange. Examples of Aircraft Environmental Control, Chiller Systems and Plants, Engine Fuel Systems, Variable Frequency Drives and Electric Machines are used for the demonstration of the theoretical and modeling aspects of physical system modeling.

Pre-Requisites. Knowledge of thermodynamic laws, conservation of mass, momentum and energy, steady state and dynamic forms of transport equations, thermodynamic properties, gas mixtures and equilibrium, control-volume analysis, viscous and inviscid flows, mechanics and thermodynamics of compressible flow, turbulent flow, conservation of energy and Bernoulli’s equation, pressure drop in pipes, valves, mathematical approximations in physical systems modeling.

Intended Audience. The course is designed for all graduate students in engineering.

Course Delivery Method. The course will be offered online, asynchronously, in small recorded modules according to the course syllabus. Direct and live communication with the instructor will be available once a week for discussion, questions and quizzes.

Anticipated Student Outcomes. By the end of SE 5101/5201, a student will be able to: (1) Exhibit proficiency in simulating systems with heat and mass transfer, separation, and mixing, at different levels of complexity (2) Become comfortable with concepts of acausal, equation oriented modeling

1

(3) Become knowledgeable of the role of modeling abstraction, reduction, and meta- modeling in the field of model-based (4) Develop skills in the fundamental physical and mathematical representations of fluid dynamics, thermodynamics, heat transfer (5) Understand how cyber-physical systems can be architected and designed with the aid of models (6) Demonstrate an ability to work in teams and to communicate effectively, via interim and final progress reports. (7) Integrate acquired knowledge in the analysis of a physical system of their field.

Course Organization. The course is organized into five learning modules: (1) Industry product development processes and Model-Based Systems Engineering principles (2) Modeling preliminaries (3) Thermal fluid system models and applications (4) Large-scale system modeling (5) Model abstraction and exchange

Background information is provided and required on the following subjects: (1) Thermodynamic Laws (2) Conservation of Mass, Momentum and Energy (3) Steady state and dynamic form of transport equations. (4) Thermodynamic properties, gas mixtures and equilibrium (5) Control-volume analysis. (6) Viscous and inviscid flows (7) Mechanics and Thermodynamics of Compressible Flow (8) Turbulent flow (9) Conservation of energy and Bernoulli’s equation (10) Pressure drop in pipes, valves etc. (11) Mathematical Approximations in Physical Systems Modeling a. Ordinary Differential Equations and their solvers b. Geometric and related classifications of Partial Differential Equations c. Solution methods for PDE systems d. Introduction to finite differences, finite volumes, finite elements e. Differential Algebraic Equations and their solvers The structuring of these learning modules into 13 lectures of a one semester course, along with the topics and references, is described in the following:

2

Course Outline

------Module 1: Model-Based Systems Engineering Principles ------

Lecture 1: Model-Based Systems Engineering Fundamentals Topics:  Where does this course fit in: Requirements, Simulation, Optimization, Control & Performance o Translation of requirements into objective functions o Systems modeling o Component modeling, model libraries and large-scale systems o Mathematical implications o Cross-platform modeling o Controlled systems o Modeling abstraction and reduction in MBSE  Model-Based Systems Engineering and INCOSE definitions  principles o V-design principles o Phase Gate Design o Platform-based design  Modeling approaches o Causal and acuasal modeling o Concepts and approaches to modeling abstraction  Course housekeeping o availability o Procedures

------Module 2: Modeling Preliminaries------

Lecture 2: Introduction to Acausal Modeling and the Modelica Language Topics:  Concepts of modeling and the impact of causality o Object oriented programing o Equation oriented modeling o Model structures, classes and notation o Inheritance  Introduction to Modelica o Classes and variables 3

 Equations  Arrays  Algorithms and Functions  Examples

Lecture 3: Introduction to Dymola and Model Libraries Topics:  Modeling and Simulation Environments using the Modelica language  Dymola Libraries o Modelica Libraries o Modelica Media o Dymola Libraries o Other  Examples

Lecture 4: General Principles of Modeling Topics:  Flow and Effort  Fundamental analogies between mechanical, electrical, hydraulic and thermal system modeling  Electrical, Mechanical, Electromechanical, Hydraulic and Thermal Systems Examples

Lecture 5: Mathematical Approximations Topics:  Ordinary Differential Equations and their solvers  Geometric and related classifications of Partial Differential Equations  Solution methods for PDE systems o Introduction to finite differences, finite volumes, finite elements  Differential Algebraic Equations and their solvers

------Module 3: Thermal Fluid Systems------

Lecture 6: Heat Transfer and Applications Topics:  Heat transfer fundamentals  Heat Exchangers and types

4

 Heat transfer modeling applications & examples

Lecture 7: Fluid Transport and Pressure Change Applications Topics:  Fluid Transport Fundamentals  Pipes  Valves, Compressors & Turbines  Fluid Transport modeling applications & examples

Lecture 8: Separations and Applications Topics:  Phase change separations  Membrane separations  Separations modeling applications & examples

------Module 4: Large-Scale System Modeling------

Lecture 9: System Control and Cyber-Physical Systems Topics:  Cyber-physical Systems: definitions and implications  Actuators  Sensors  Controllers o Basic Concepts of P, PI and PID controller modeling o Model-based controller tuning fundamentals o Lecture 10: Composing Acausal Models for Large-Scale Systems Topics:  Composing system level models in Dymola  Component couplings (pressure, temperature, enthalpy, mass flow)  System flowsheets in Dymola  Different time scales, stiff systems and pseudo-steady-state models

Lecture 11: Large-Scale System Models Examples Topics:  Chiller Plants  Aircraft Environmental Control Systems 5

 Vapor and gas cycles: (Rankine, Vapor refrigeration, Brayton)  Power Systems  Manufacturing

------Module 5: Model Extensions: Abstraction & Exchange------

Lecture 12: Modeling Abstractions Topics:  Definitions: Model Abstraction, Reduction, Approximation, etc.  Introduction to Model Reduction Methods  Meta-modeling and surrogate models  Model Abstraction  Grey-box (hybrid) modeling

Lecture 13: Bring It All Together: The Functional Mockup Interface (FMI) Topics:  Introduction to the functionality and use of the FMI  FMI for Model Exchange  FMI for Co-Simulation  Advanced FMI manipulation in Matlab  Examples

USEFUL READING

Texts are available through a local or online bookstore. The UConn Co-op carries many materials that can be shipped via its online Textbooks To Go service. For more information, see Textbooks and Materials on our Enrolled Students page.

References for Thermodynamics, Fluid Mechanics and Heat and Mass Transfer 1. Fundamentals of Engineering Thermodynamics (6th edition), M. J. Moran and H.N. Shapiro, Wiley. ISBN: 978-0471-78735-8 2. Fundamentals of Fluid Mechanics (6th edition), M.R. Munson, D.F. Young, T. H. Okiishi and W.W. Huebsch, Wiley. ISBN: 978-0470-26284-9 3. Fundamentals of Heat and Mass Transfer (6th edition), F. P. Incropera, D. P. Dewitt, T. L. Bergman and A. S. Lavine, Wiley. ISBN:978-0471-45728-2

References for Thermo-Fluid Examples 1. J. F. Blackburn, J. L. Shearer by, G. Reethof. 1960. Fluid Power Control. MIT Press. 6

2. Ma, Y., F. Borrelli, B. Hencey, B. Coffey, S. Bengea and P. Haves. 2011. ‘Model Predictive Control for the Operation of Building Cooling Systems’. Control Systems Technology. 3. Watton, J. 2009. Fundamentals of Fluid Power Control. Cambridge. 4. Wetter, M. 2011. ‘Modeling of Thermofluid Networks near Zero Mass Flow Rate with Feedback Control using an Equation-Based Language’. LBNLWorking Paper.

References for Modelica Modeling 1. Introduction to Modeling and Simulation of Technical and Physical Systems with Modelica, P. Fritzson, 2011, Wiley-IEEE Press ISBN: 978-1118010686 2. Introduction to Physical Modeling with Modelica, M. Tiller, Springer, 2001 ISBN: 978- 0792373674 3. Principles of Object-Oriented Modeling and Simulation with Modelica 2.1, P. Fritzson, 2004, Wiley-IEEE Press ISBN: 978-0471471639

Copyright. Copyrighted materials within the course are only for the use of students enrolled in the course for purposes associated with this course and may not be retained or further disseminated.

Grading. Grading of the course will be exclusively based on the Course described below. Optional homework and quizzes will be assigned to students during the semester for bonus grade.

Grade Letter Grade GPA

97-100 A+ 4.3

93-96 A 4.0

90-92 A- 3.7

87-89 B+ 3.3

83-86 B 3.0

80-82 B- 2.7

77-79 C+ 2.3

73-76 C 2.0

70-72 C- 1.7

67-69 D+ 1.3

7

Grade Letter Grade GPA

63-66 D 1.0

60-62 D- 0.7

<60 F 0.0

Due Dates and Late Policy. All course due dates are identified in the Course Schedule. Deadlines are based on Eastern Standard Time; if you are in a different time zone, please adjust your submittal times accordingly. The instructor reserves the right to change dates accordingly as the semester progresses. All changes will be communicated in an appropriate manner.

Project, Presentations and Project Report. A project is to be developed by each student, which is expected to evolve during the entirety of the semester. The project refers mainly to design project identification, challenge quantification, significance and relevance to the MBD philosophy, plan of attack, system modeling, system optimization using cross-platform programming. The final deliverable (presentation) should identify all the aforementioned elements in a quantifiable manner and suggest a strategy for solution. A separate rubric with the details of the project will be provided to the students on HuskyCT. A mid-term and final report are the main deliverables of this project, on the basis of which student will be graded.

Student Conduct: http://www.dosa.uconn.edu/student_code.html. Students are responsible for adherence to the University of Connecticut student code of conduct. Pay attention to the section on Student Academic Misconduct, “Academic misconduct is dishonest or unethical academic behavior that includes, but is not limited, to misrepresenting mastery in an academic area (e.g., cheating), intentionally or knowingly failing to properly credit information, research or ideas to their rightful originators or representing such information, research or ideas as your own (e.g., plagiarism).” Examples of academic misconduct in this class include, but are not limited to: copying solutions from the solutions manual, using solutions from students who have taken this course in previous years, copying your friend’s homework, looking at another student’s paper during an exam, lying to the professor or TA and incorrectly filling out the student workbook.

Attendance. Attendance will not be taken; however, it is practically impossible to follow the class if classes are missed.

Absences. Make-up of missed exams requires permission from the Dean of Students, see “Academic Regulations.” Midterm-exams are treated the same as Final Examinations. 8

Students involved in official University activities that conflict with class time must inform the instructor in writing prior to the anticipated absence and take the initiative to make up missed work in a timely fashion. In addition, students who will miss class for a religious observance must “inform their instructor in writing within the first three weeks of the semester, and prior to the anticipated absence, and should take the initiative to work out with the instructor a schedule for making up missed work.”

Adding or Dropping a Course. If you should decide to add or drop a course, there are official procedures to follow:

● Matriculated students should add or drop a course through the Student Administration System. ● Non-degree students should refer to Non-Degree Add/Drop Information located on the registrar’s website.

You must officially drop a course to avoid receiving an "F" on your permanent transcript. Simply discontinuing class or informing the instructor you want to drop does not constitute an official drop of the course. For more information, refer to the online Graduate Catalog,

Academic Calendar. The University's Academic Calendar contains important semester dates.

Students with Disabilities. Students needing special accommodations should work with the University's Center for Students with Disabilities (CSD). You may contact CSD by calling (860) 486-2020 or by emailing [email protected]. If your request for accommodation is approved, CSD will send an accommodation letter directly to your instructor(s) so that special arrangements can be made. (Note: Student requests for accommodation must be filed each semester.)

9

Course Schedule.*

Date1 Topic Module Project Dates No Jan 23 Lecture 1: Model-Based Systems Engineering Fundamentals 1

Jan 30 Lecture 2: Introduction to Acausal Modeling and the 2 Modelica Language Feb 6 Lecture 3: Introduction to Dymola and Model Libraries 2

Feb 13 Lecture 4: General Principles of Modeling 2 Project Proposal Report Feb 20 Lecture 5: Mathematical Approximations 2

Feb 27 Lecture 6: Heat Transfer and Applications 3

Mar 6 Lecture 7: Fluid Transport and Pressure Change 3 Applications Mar 20 Lecture 8: Separations and Applications 3

Mar 27 Lecture 9: System Control and Cyber-Physical Systems 4 Project Mid-Term Report Apr 3 Lecture 10: Composing Acausal Models for Large-Scale 4 Systems Apr 10 Lecture 11: Large-Scale System Models Examples 4

Apr 17 Lecture 12: Modeling Abstractions 5

Apr 24 Lecture 13: Bring it all together: The Functional Mockup 5 Interface May 1 End of class, final project due Project Final Report * Schedule is tentative and may change 1 Date indicates release of lecture modules

Instructors’ Contact Information. George Bollas: [email protected]

Helpful Links:  Virtual Computer Lab at UConn: http://skybox.uconn.edu/  Course Material: https://lms.uconn.edu  Institute for Advanced Systems Engineering: http://www.utc-iase.uconn.edu/

10