Modelica Training Object-Oriented Modeling and Simulation. Petroleum Systems and Thermal Modeling of the Western Iberian Margin – From the Onshore Lusitanian Basin to the Deep Offshore Peniche Basin* Rui Pena dos Reis1, Nuno Pimentel2, Fátima Cardoso1, and Bernardo Teixeira3, Thermal system modeling - 1 - thermal modeling of power-electronic systems dr. martin märz, paul nance infineon technologies ag, munich increasing...

### Modeling and Advanced Control of HVAC Systems seas.upenn.edu

ME439 Design of Thermal Systems MAE WMU. model that was able to simulate real world heat transfer in exhaust systems of gasoline cars and is extensively employed in CAE investigations [3]. The experimental acquisition of useful data for the estimation of heat transfer rates and their, 4th International Conference On Building Energy, Environment Case Study of ANN Modeling of Stratified Thermal Energy Storage and Ground Source Heat Pump Systems for Model Predictive Control.

Modeling and analysis of a district heating system containing thermal storage Case study of the district heating system of Borås Master’s Thesis within the Sustainable Energy Systems programme Dynamic modeling of thermal systems using a semi-empirical approach and the ThermoCycle Modelica Library Q. Altés Buch a, R. Dickes a, A. Desideri a, V. Lemort a and S. Quoilin a*

ECONOMIC MODELING OF HDR ENHANCED GEOTHERMAL SYSTEMS Olga I. Kitsou, Howard J. Herzog, and Jefferson W. Tester Energy Laboratory, Massachusetts Institute of Technology, Room E40-455, Cambridge, MA. Thermal & Fluid Systems Modeling With Excel / VBA What You Will Learn • Exploit the full power of Excel for building thermal & fluid models. • Master the built-in VBA programming environment. • Implement advanced data I/O, manipulation, analysis, and display. • Create full featured graphical interfaces and interactive content. • Optimize performance for multi-parameter systems and

2 Overview • Introduction • Challenges (Design, M&S, System Integration) • Common Power and Thermal Modeling and Simulation Approach • Transition to SAE Petroleum Systems and Thermal Modeling of the Western Iberian Margin – From the Onshore Lusitanian Basin to the Deep Offshore Peniche Basin* Rui Pena dos Reis1, Nuno Pimentel2, Fátima Cardoso1, and Bernardo Teixeira3

Thermal & Fluid Systems Modeling With Excel / VBA What You Will Learn • Exploit the full power of Excel for building thermal & fluid models. • Master the built-in VBA programming environment. • Implement advanced data I/O, manipulation, analysis, and display. • Create full featured graphical interfaces and interactive content. • Optimize performance for multi-parameter systems and 4th International Conference On Building Energy, Environment Case Study of ANN Modeling of Stratified Thermal Energy Storage and Ground Source Heat Pump Systems for Model Predictive Control

balance, which for a closed system says that heaQ (i.e. the flow of thermal energy from the t, surroundings into the system, driven by thermal nonequilibrium not related to work or the flow of - matter), equals the increase in stored energy, E , minus the flow of work∆ inwards, W; which, for the Dynamic modeling of thermal systems using a semi-empirical approach and the ThermoCycle Modelica Library Q. Altés Buch a, R. Dickes a, A. Desideri a, V. Lemort a and S. Quoilin a*

In this paper, different types of Thermal Energy Storage (TES) systems are reviewed and discussed, including sensible heat storage, latent heat storage and aquifer thermal storage. Modeling approaches Irina Dmitrieva Slide 7 • CFD data; • System isothermal analysis at various temps Cooling system Engine thermal masses

mathematically identical to the thermal system. RC modeling thus helps to visualize the HBM approach and solve the problem with better engineering insight. As an example, Bueno et al: [17] applied RC modeling to an urban canopy and evaluated their results against advanced simulation tools. They reported that the RC technique provides simplicity and computational efﬁciency, especially for 2 Overview • Introduction • Challenges (Design, M&S, System Integration) • Common Power and Thermal Modeling and Simulation Approach • Transition to SAE

thermal response of a borehole system in time scales from minutes to years. An analytical solution to model the short-time response of the borehole system is presented. The solution studies the heat transfer problem in the Laplace domain and provides an exact solution to the radial heat transfer problem in the borehole. A finite-length line-source solution to determine the long-term response model that was able to simulate real world heat transfer in exhaust systems of gasoline cars and is extensively employed in CAE investigations [3]. The experimental acquisition of useful data for the estimation of heat transfer rates and their

### Dynamic modeling of thermal systems using a semi-empirical

Development of an SAE Modeling and Simulation Standard for. Design Of Thermal Systems: A Lost Course - ASEE PEER of Thermal Systems: A Lost Course economic consideration, mathematical modeling, and numerical simulations of energy systems. thermal system design class is by Mueller 13., Modeling Thermal Effects in Braking Systems of Railway Vehicles S584 THERMAL SCIENCE, Year 2012, Vol. 16, Suppl. 2, pp. S581-S592 where μ is the friction coefficient, F N is the normal braking force on one of the braking blocks,.

### (PDF) Modeling of thermal energy storage A review of

Thermal Models MATLAB & Simulink. 2 Overview • Introduction • Challenges (Design, M&S, System Integration) • Common Power and Thermal Modeling and Simulation Approach • Transition to SAE Design Of Thermal Systems: A Lost Course - ASEE PEER of Thermal Systems: A Lost Course economic consideration, mathematical modeling, and numerical simulations of energy systems. thermal system design class is by Mueller 13..

Design Of Thermal Systems: A Lost Course - ASEE PEER of Thermal Systems: A Lost Course economic consideration, mathematical modeling, and numerical simulations of energy systems. thermal system design class is by Mueller 13. In this paper, different types of Thermal Energy Storage (TES) systems are reviewed and discussed, including sensible heat storage, latent heat storage and aquifer thermal storage.

model that was able to simulate real world heat transfer in exhaust systems of gasoline cars and is extensively employed in CAE investigations [3]. The experimental acquisition of useful data for the estimation of heat transfer rates and their RC model to a system, ﬁrst, all the components should be mod-eled individually by RC. Then, based on the heat ﬂow, an equiva-lent thermal circuit should be formed using these RC blocks.

Index Terms—COMSOL software, cooling system, electrical model, PSIM software, PV module, and thermal model. I. INTRODUCTION. Photovoltaic technology provides the direct method to convert solar energy into electricity. Modeling and simulation plays a very important role in the development of PV modules as well as in the design of PV systems. Photovoltaic (PV) system performance models are Dynamic modeling of thermal systems using a semi-empirical approach and the ThermoCycle Modelica Library Q. Altés Buch a, R. Dickes a, A. Desideri a, V. Lemort a and S. Quoilin a*

These blocks let you model fundamental thermal effects like insulation and heat exchange. Connect these blocks together just as you would assemble a physical system. Use these blocks, along with the blocks from other Foundation libraries and the add-on products, to model multidomain physical systems. Thermodynamic and Cost Modeling of Thermal Energy Storage Systems Using Novel Storage Media by Louis Tse Doctor of Philosophy in Mechanical Engineering University of California, Los Angeles, 2016 Professor Adrienne G. Lavine, Committee Co-Chair Professor Richard E. Wirz, Committee Co-Chair Thermal energy storage (TES) has been widely researched across a variety of applications, and has …

A Novel Modeling of Molten-Salt Heat Storage Systems in Thermal Solar Power Plants Rogelio Peón Menéndez 1, Juan Á. regulation of the thermal energy storage system is currently achieved in manual or semiautomatic ways, controlling its variables with proportional-integral-derivative (PID) regulators. This makes the overall performance of these plants non optimal. This work focuses on These blocks let you model fundamental thermal effects like insulation and heat exchange. Connect these blocks together just as you would assemble a physical system. Use these blocks, along with the blocks from other Foundation libraries and the add-on products, to model multidomain physical systems.

Design Of Thermal Systems: A Lost Course - ASEE PEER of Thermal Systems: A Lost Course economic consideration, mathematical modeling, and numerical simulations of energy systems. thermal system design class is by Mueller 13. mathematically identical to the thermal system. RC modeling thus helps to visualize the HBM approach and solve the problem with better engineering insight. As an example, Bueno et al: [17] applied RC modeling to an urban canopy and evaluated their results against advanced simulation tools. They reported that the RC technique provides simplicity and computational efﬁciency, especially for

ME 4390 Design of Thermal Systems Fall 2018(Tentative) Course Description:Application of energy concepts to thermal fluid design problems. Hands-on design projects in incompressible and compressible fluid flows, thermodynamics, heat transfer, power generation, alternate energy systems including computer simulations. Creation of an object-oriented model library for the simulation of a thermal solar system including evaporation, condensation and flow reversal Model library with electronic elements for the object-oriented description of heat transfer

In this paper, different types of Thermal Energy Storage (TES) systems are reviewed and discussed, including sensible heat storage, latent heat storage and aquifer thermal storage. PDF This paper presents a rewriting-logic-based modeling and analysis technique for physical systems, with focus on thermal systems. The contributions of this …

4th International Conference On Building Energy, Environment Case Study of ANN Modeling of Stratified Thermal Energy Storage and Ground Source Heat Pump Systems for Model Predictive Control Chapter 6 Modelling of Equipment, Processes, and Systems 6.1 Introduction Modeling is one of the most important elements of thermal system design.

girls lacrosse rules & regulations US Lacrosse Official Rules for Girls and Women’s Lacrosse shall apply to all scheduled league games, U8 through High School, except where amended by these Rules … Us lacrosse rule book pdf Union Road US Lacrosse Boys Youth Rules 1 of 8 2012 Rules for Boys Youth Lacrosse The National Federation of State High School Associations (NFHS) 2012 Boys Lacrosse Rules Book shall govern US Lacrosse boys youth play, except as amended below. The US Lacrosse Men’s Game Committee has approved these exceptions to the NFHS Rules. Send questions about the US Lacrosse Rules for Boys Youth Lacrosse …

## Integrated Systems approach in thermal modeling by using

ME439 Design of Thermal Systems MAE WMU. Modeling and analysis of a district heating system containing thermal storage Case study of the district heating system of Borås Master’s Thesis within the Sustainable Energy Systems programme, PDF This paper presents a rewriting-logic-based modeling and analysis technique for physical systems, with focus on thermal systems. The contributions of this ….

### Thermal Modelling and Evaluation of Borehole Heat Transfer

(PDF) A Rewriting-Logic-Based Technique for Modeling. mathematically identical to the thermal system. RC modeling thus helps to visualize the HBM approach and solve the problem with better engineering insight. As an example, Bueno et al: [17] applied RC modeling to an urban canopy and evaluated their results against advanced simulation tools. They reported that the RC technique provides simplicity and computational efﬁciency, especially for, 4th International Conference On Building Energy, Environment Case Study of ANN Modeling of Stratified Thermal Energy Storage and Ground Source Heat Pump Systems for Model Predictive Control.

PDF We further develop a thermal LB model for multiphase flows. In the improved model, we propose to use the FFT scheme to calculate both the convection term and external force term. The usage Chapter 6 Modelling of Equipment, Processes, and Systems 6.1 Introduction Modeling is one of the most important elements of thermal system design.

Petroleum Systems and Thermal Modeling of the Western Iberian Margin – From the Onshore Lusitanian Basin to the Deep Offshore Peniche Basin* Rui Pena dos Reis1, Nuno Pimentel2, Fátima Cardoso1, and Bernardo Teixeira3 Chapter 6 Modelling of Equipment, Processes, and Systems 6.1 Introduction Modeling is one of the most important elements of thermal system design.

These blocks let you model fundamental thermal effects like insulation and heat exchange. Connect these blocks together just as you would assemble a physical system. Use these blocks, along with the blocks from other Foundation libraries and the add-on products, to model multidomain physical systems. Solar Thermal Modeling These powerful tools are used for heat balance design of thermal power systems, and for simulation of off-design plant performance. THERMOFLEX is flexible. It provides the user full freedom to construct flowsheets using component models available in its toolbox. THERMOFLEX has all the components needed to model complete power plants of virtually every …

PDF This paper presents a rewriting-logic-based modeling and analysis technique for physical systems, with focus on thermal systems. The contributions of this … Modeling Thermal Effects in Braking Systems of Railway Vehicles S584 THERMAL SCIENCE, Year 2012, Vol. 16, Suppl. 2, pp. S581-S592 where μ is the friction coefficient, F N is the normal braking force on one of the braking blocks,

Modeling and analysis of a district heating system containing thermal storage Case study of the district heating system of Borås Master’s Thesis within the Sustainable Energy Systems programme These blocks let you model fundamental thermal effects like insulation and heat exchange. Connect these blocks together just as you would assemble a physical system. Use these blocks, along with the blocks from other Foundation libraries and the add-on products, to model multidomain physical systems.

RC model to a system, ﬁrst, all the components should be mod-eled individually by RC. Then, based on the heat ﬂow, an equiva-lent thermal circuit should be formed using these RC blocks. These blocks let you model fundamental thermal effects like insulation and heat exchange. Connect these blocks together just as you would assemble a physical system. Use these blocks, along with the blocks from other Foundation libraries and the add-on products, to model multidomain physical systems.

mathematically identical to the thermal system. RC modeling thus helps to visualize the HBM approach and solve the problem with better engineering insight. As an example, Bueno et al: [17] applied RC modeling to an urban canopy and evaluated their results against advanced simulation tools. They reported that the RC technique provides simplicity and computational efﬁciency, especially for RC model to a system, ﬁrst, all the components should be mod-eled individually by RC. Then, based on the heat ﬂow, an equiva-lent thermal circuit should be formed using these RC blocks.

ME 4390 Design of Thermal Systems Fall 2018(Tentative) Course Description:Application of energy concepts to thermal fluid design problems. Hands-on design projects in incompressible and compressible fluid flows, thermodynamics, heat transfer, power generation, alternate energy systems including computer simulations. ECONOMIC MODELING OF HDR ENHANCED GEOTHERMAL SYSTEMS Olga I. Kitsou, Howard J. Herzog, and Jefferson W. Tester Energy Laboratory, Massachusetts Institute of Technology, Room E40-455, Cambridge, MA.

Thermal system modeling - 1 - thermal modeling of power-electronic systems dr. martin märz, paul nance infineon technologies ag, munich increasing.. Chao-Yang Huang et al.: Study of photovoltaic thermal (PV/T) hybrid system with computer modeling 77 PVT collector model in TRNSYS has the dual purpose of …

4th International Conference On Building Energy, Environment Case Study of ANN Modeling of Stratified Thermal Energy Storage and Ground Source Heat Pump Systems for Model Predictive Control Modeling and control of HVOF thermal spray processing of WC–Co coatings Mingheng Li, Dan Shi, Panagiotis D. Christofides* Department of Chemical Engineering, University of California, Los Angeles, CA 90095-1592, United States

Chao-Yang Huang et al.: Study of photovoltaic thermal (PV/T) hybrid system with computer modeling 77 PVT collector model in TRNSYS has the dual purpose of … In this paper, different types of Thermal Energy Storage (TES) systems are reviewed and discussed, including sensible heat storage, latent heat storage and aquifer thermal storage.

Thermal system modeling - 1 - thermal modeling of power-electronic systems dr. martin märz, paul nance infineon technologies ag, munich increasing.. Dynamic modeling of thermal systems using a semi-empirical approach and the ThermoCycle Modelica Library Q. Altés Buch a, R. Dickes a, A. Desideri a, V. Lemort a and S. Quoilin a*

In this paper, different types of Thermal Energy Storage (TES) systems are reviewed and discussed, including sensible heat storage, latent heat storage and aquifer thermal storage. Creation of an object-oriented model library for the simulation of a thermal solar system including evaporation, condensation and flow reversal Model library with electronic elements for the object-oriented description of heat transfer

These blocks let you model fundamental thermal effects like insulation and heat exchange. Connect these blocks together just as you would assemble a physical system. Use these blocks, along with the blocks from other Foundation libraries and the add-on products, to model multidomain physical systems. Dynamic modeling of thermal systems using a semi-empirical approach and the ThermoCycle Modelica Library Q. Altés Buch a, R. Dickes a, A. Desideri a, V. Lemort a and S. Quoilin a*

Solar Thermal Modeling These powerful tools are used for heat balance design of thermal power systems, and for simulation of off-design plant performance. THERMOFLEX is flexible. It provides the user full freedom to construct flowsheets using component models available in its toolbox. THERMOFLEX has all the components needed to model complete power plants of virtually every … Design Of Thermal Systems: A Lost Course - ASEE PEER of Thermal Systems: A Lost Course economic consideration, mathematical modeling, and numerical simulations of energy systems. thermal system design class is by Mueller 13.

### Modeling and analysis of a district heating system

Integrated Systems approach in thermal modeling by using. Chapter 6 Modelling of Equipment, Processes, and Systems 6.1 Introduction Modeling is one of the most important elements of thermal system design., Modeling Thermal Effects in Braking Systems of Railway Vehicles S584 THERMAL SCIENCE, Year 2012, Vol. 16, Suppl. 2, pp. S581-S592 where μ is the friction coefficient, F N is the normal braking force on one of the braking blocks,.

(PDF) Modeling of thermal energy storage A review of. thermal system modeling framework, CoolSim, in Simulink. This integrated approach allows for rapid system analysis and design in a flexible and open modeling environment. Simulink is a common engineering platform that allows for co-simulation with vehicle modeling software Autonomie [5]. NREL previously developed an A/C system simulation modeling framework in MATLAB/ Simulink and …, Thermal & Fluid Systems Modeling With Excel / VBA What You Will Learn • Exploit the full power of Excel for building thermal & fluid models. • Master the built-in VBA programming environment. • Implement advanced data I/O, manipulation, analysis, and display. • Create full featured graphical interfaces and interactive content. • Optimize performance for multi-parameter systems and.

### Modelica Training Object-Oriented Modeling and Simulation

Chapter 6 Modelling of Equipment Processes and Systems. PDF We further develop a thermal LB model for multiphase flows. In the improved model, we propose to use the FFT scheme to calculate both the convection term and external force term. The usage These blocks let you model fundamental thermal effects like insulation and heat exchange. Connect these blocks together just as you would assemble a physical system. Use these blocks, along with the blocks from other Foundation libraries and the add-on products, to model multidomain physical systems..

Thermal analysis is also often used as a term for the study of heat transfer through structures. Many of the basic engineering data for modelling such systems comes from measurements of heat capacity and thermal conductivity . Modeling Thermal Effects in Braking Systems of Railway Vehicles S584 THERMAL SCIENCE, Year 2012, Vol. 16, Suppl. 2, pp. S581-S592 where μ is the friction coefficient, F N is the normal braking force on one of the braking blocks,

Modeling and analysis of a district heating system containing thermal storage Case study of the district heating system of Borås Master’s Thesis within the Sustainable Energy Systems programme 4th International Conference On Building Energy, Environment Case Study of ANN Modeling of Stratified Thermal Energy Storage and Ground Source Heat Pump Systems for Model Predictive Control

model that was able to simulate real world heat transfer in exhaust systems of gasoline cars and is extensively employed in CAE investigations [3]. The experimental acquisition of useful data for the estimation of heat transfer rates and their 2 Overview • Introduction • Challenges (Design, M&S, System Integration) • Common Power and Thermal Modeling and Simulation Approach • Transition to SAE

Dynamic modeling of thermal systems using a semi-empirical approach and the ThermoCycle Modelica Library Q. Altés Buch a, R. Dickes a, A. Desideri a, V. Lemort a and S. Quoilin a* 4th International Conference On Building Energy, Environment Case Study of ANN Modeling of Stratified Thermal Energy Storage and Ground Source Heat Pump Systems for Model Predictive Control

Thermal analysis is also often used as a term for the study of heat transfer through structures. Many of the basic engineering data for modelling such systems comes from measurements of heat capacity and thermal conductivity . balance, which for a closed system says that heaQ (i.e. the flow of thermal energy from the t, surroundings into the system, driven by thermal nonequilibrium not related to work or the flow of - matter), equals the increase in stored energy, E , minus the flow of work∆ inwards, W; which, for the

Thermal & Fluid Systems Modeling With Excel / VBA What You Will Learn • Exploit the full power of Excel for building thermal & fluid models. • Master the built-in VBA programming environment. • Implement advanced data I/O, manipulation, analysis, and display. • Create full featured graphical interfaces and interactive content. • Optimize performance for multi-parameter systems and ME 4390 Design of Thermal Systems Fall 2018(Tentative) Course Description:Application of energy concepts to thermal fluid design problems. Hands-on design projects in incompressible and compressible fluid flows, thermodynamics, heat transfer, power generation, alternate energy systems including computer simulations.

Thermal analysis is also often used as a term for the study of heat transfer through structures. Many of the basic engineering data for modelling such systems comes from measurements of heat capacity and thermal conductivity . ME 4390 Design of Thermal Systems Fall 2018(Tentative) Course Description:Application of energy concepts to thermal fluid design problems. Hands-on design projects in incompressible and compressible fluid flows, thermodynamics, heat transfer, power generation, alternate energy systems including computer simulations.

Modeling approaches Irina Dmitrieva Slide 7 • CFD data; • System isothermal analysis at various temps Cooling system Engine thermal masses mathematically identical to the thermal system. RC modeling thus helps to visualize the HBM approach and solve the problem with better engineering insight. As an example, Bueno et al: [17] applied RC modeling to an urban canopy and evaluated their results against advanced simulation tools. They reported that the RC technique provides simplicity and computational efﬁciency, especially for

Chapter 6 Modelling of Equipment, Processes, and Systems 6.1 Introduction Modeling is one of the most important elements of thermal system design. PDF This paper presents a rewriting-logic-based modeling and analysis technique for physical systems, with focus on thermal systems. The contributions of this …

In this paper, different types of Thermal Energy Storage (TES) systems are reviewed and discussed, including sensible heat storage, latent heat storage and aquifer thermal storage. These blocks let you model fundamental thermal effects like insulation and heat exchange. Connect these blocks together just as you would assemble a physical system. Use these blocks, along with the blocks from other Foundation libraries and the add-on products, to model multidomain physical systems.

Modeling approaches Irina Dmitrieva Slide 7 • CFD data; • System isothermal analysis at various temps Cooling system Engine thermal masses Chao-Yang Huang et al.: Study of photovoltaic thermal (PV/T) hybrid system with computer modeling 77 PVT collector model in TRNSYS has the dual purpose of …

Dynamic modeling of thermal systems using a semi-empirical approach and the ThermoCycle Modelica Library Q. Altés Buch a, R. Dickes a, A. Desideri a, V. Lemort a and S. Quoilin a* Design Of Thermal Systems: A Lost Course - ASEE PEER of Thermal Systems: A Lost Course economic consideration, mathematical modeling, and numerical simulations of energy systems. thermal system design class is by Mueller 13.

Modeling approaches Irina Dmitrieva Slide 7 • CFD data; • System isothermal analysis at various temps Cooling system Engine thermal masses mathematically identical to the thermal system. RC modeling thus helps to visualize the HBM approach and solve the problem with better engineering insight. As an example, Bueno et al: [17] applied RC modeling to an urban canopy and evaluated their results against advanced simulation tools. They reported that the RC technique provides simplicity and computational efﬁciency, especially for

RC model to a system, ﬁrst, all the components should be mod-eled individually by RC. Then, based on the heat ﬂow, an equiva-lent thermal circuit should be formed using these RC blocks. DESIGN AND SIMULATION OF LITHIUM-ION BATTERY THERMAL MANAGEMENT SYSTEM FOR MILD HYBRID VEHICLE APPLICATION Ahmed Imtiaz Uddin, Jerry Ku, Wayne State University . SAE INTERNATIONAL Introduction Model development – Modeling Electrical behavior – Modeling Thermal behavior Thermal management system design Assumptions and boundary condition HEV vehicle driveline modeling …

Thermodynamic and Cost Modeling of Thermal Energy Storage Systems Using Novel Storage Media by Louis Tse Doctor of Philosophy in Mechanical Engineering University of California, Los Angeles, 2016 Professor Adrienne G. Lavine, Committee Co-Chair Professor Richard E. Wirz, Committee Co-Chair Thermal energy storage (TES) has been widely researched across a variety of applications, and has … 4th International Conference On Building Energy, Environment Case Study of ANN Modeling of Stratified Thermal Energy Storage and Ground Source Heat Pump Systems for Model Predictive Control

Petroleum Systems and Thermal Modeling of the Western Iberian Margin – From the Onshore Lusitanian Basin to the Deep Offshore Peniche Basin* Rui Pena dos Reis1, Nuno Pimentel2, Fátima Cardoso1, and Bernardo Teixeira3 Chao-Yang Huang et al.: Study of photovoltaic thermal (PV/T) hybrid system with computer modeling 77 PVT collector model in TRNSYS has the dual purpose of …

4th International Conference On Building Energy, Environment Case Study of ANN Modeling of Stratified Thermal Energy Storage and Ground Source Heat Pump Systems for Model Predictive Control Modeling and analysis of a district heating system containing thermal storage Case study of the district heating system of Borås Master’s Thesis within the Sustainable Energy Systems programme