INTRODUCTION TO THE SIMULATION OF ENERGY AND STORAGE SYSTEMS

Similar documents
Process Solutions. Process Dynamics. The Fundamental Principle of Process Control. APC Techniques Dynamics 2-1. Page 2-1

Lab-Report Control Engineering. Proportional Control of a Liquid Level System

Solutions for Tutorial 3 Modelling of Dynamic Systems

First Order System Types

Modeling and Simulation Revision IV D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

Process Control, 3P4 Assignment 6

EXAMINATION INFORMATION PAGE Written examination

Class 27: Block Diagrams

Process Control Hardware Fundamentals

CHAPTER 13: FEEDBACK PERFORMANCE

Lesson 19: Process Characteristics- 1 st Order Lag & Dead-Time Processes

Fundamental Principles of Process Control

CHAPTER 7 MODELING AND CONTROL OF SPHERICAL TANK LEVEL PROCESS 7.1 INTRODUCTION

ET3-7: Modelling II(V) Electrical, Mechanical and Thermal Systems

PERFORMANCE ANALYSIS OF TWO-DEGREE-OF-FREEDOM CONTROLLER AND MODEL PREDICTIVE CONTROLLER FOR THREE TANK INTERACTING SYSTEM

MS-E2133 Systems Analysis Laboratory II Assignment 2 Control of thermal power plant

Lesson 7: Thermal and Mechanical Element Math Models in Control Systems. 1 lesson7et438a.pptx. After this presentation you will be able to:

Design of de-coupler for an interacting tanks system

Solar Flat Plate Thermal Collector

Process Control & Design

Click to edit Master title style

State Feedback Control of a DC-DC Converter for MPPT of a Solar PV Module

Control Of Heat Exchanger Using Internal Model Controller

Chapter 3 First Law of Thermodynamics and Energy Equation

Subject: Introduction to Process Control. Week 01, Lectures 01 02, Spring Content

Modeling and Simulation Revision III D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

Soft Computing Technique and Conventional Controller for Conical Tank Level Control

Microbial Fuel Cell DAMION L. IRVING DECEMBER 21, 2009

SIMULATION SUITE CHEMCAD SOFTWARE PROCESS CONTROL SYSTEMS PROCESS CONTROL SYSTEMS COURSE WITH CHEMCAD MODELS. Application > Design > Adjustment

Design and analysis of the prototype of boiler for steam pressure control

Experimental Study of Fractional Order Proportional Integral (FOPI) Controller for Water Level Control

Feedback Basics. David M. Auslander Mechanical Engineering University of California at Berkeley. copyright 1998, D.M. Auslander

B1-1. Closed-loop control. Chapter 1. Fundamentals of closed-loop control technology. Festo Didactic Process Control System

Modeling and Simulation of a Multivariable

EL2450: Hybrid and Embedded Control Systems: Homework 1

Identification of ARX, OE, FIR models with the least squares method

YTÜ Mechanical Engineering Department

Control Lab. Thermal Plant. Chriss Grimholt

Principles and Practice of Automatic Process Control

Control Systems II. ETH, MAVT, IDSC, Lecture 4 17/03/2017. G. Ducard

Control 2. Proportional and Integral control

LQR CONTROL OF LIQUID LEVEL AND TEMPERATURE CONTROL FOR COUPLED-TANK SYSTEM

Model predictive control of industrial processes. Vitali Vansovitš

EE 422G - Signals and Systems Laboratory

Energy flows and modelling approaches

POE Concepts and Learning Objectives

CM 3310 Process Control, Spring Lecture 21

ELG4112. Electromechanical Systems and Mechatronics

Simulation based Modeling and Implementation of Adaptive Control Technique for Non Linear Process Tank

Process Control Exercise 2

CONTROL OF MULTIVARIABLE PROCESSES

Introduction to Process Control

A Tuning of the Nonlinear PI Controller and Its Experimental Application

3.1 Overview 3.2 Process and control-loop interactions

Introduction CHAPTER Prime Movers. 1.2 Sources of Energy

Feedback Control of Linear SISO systems. Process Dynamics and Control

Entropy and the Second Law of Thermodynamics

Exercises. 9.1 Work (pages ) 9.2 Power (pages ) 9.3 Mechanical Energy (page 147)

Enhanced Single-Loop Control Strategies (Advanced Control) Cascade Control Time-Delay Compensation Inferential Control Selective and Override Control

1. What is the phenomenon that best explains why greenhouse gases absorb infrared radiation? D. Diffraction (Total 1 mark)

Improved Identification and Control of 2-by-2 MIMO System using Relay Feedback

Information for Makeup exam is posted on the course website.

Dynamic simulation of DH house stations

Chapter 10 (part 2) Energy. Copyright Cengage Learning. All rights reserved 1

FUEL CELLS: INTRODUCTION

s Traditionally, we use the calorie as a unit of energy. The nutritional Calorie, Cal = 1000 cal. Kinetic Energy and Potential Energy

wb Thermodynamics 2 Lecture 9 Energy Conversion Systems

ECE Introduction to Artificial Neural Network and Fuzzy Systems

CHAPTER 10: STABILITY &TUNING

CONSIM - MS EXCEL BASED STUDENT FRIENDLY SIMULATOR FOR TEACHING PROCESS CONTROL THEORY

Energy. This provides a practical measure of the usefulness of a machine. The useful energy transfer in a generator can be represented by:

Lecture 35: Vapor power systems, Rankine cycle

E11 Lecture 8: Fuel Cell Power and Energy Conservation. Professor Lape Fall 2010

Multi-Input Multi-output (MIMO) Processes CBE495 LECTURE III CONTROL OF MULTI INPUT MULTI OUTPUT PROCESSES. Professor Dae Ryook Yang

Introduction to Modelling and Simulation

Modeling and Control Overview

Fuzzy Control of a Multivariable Nonlinear Process

CHAPTER 1 Basic Concepts of Control System. CHAPTER 6 Hydraulic Control System

Process Control J.P. CORRIOU. Reaction and Process Engineering Laboratory University of Lorraine-CNRS, Nancy (France) Zhejiang University 2016

Lecture Outline. Chapter 7: Energy Pearson Education, Inc.

Design and Implementation of Two-Degree-of-Freedom Nonlinear PID Controller for a Nonlinear Process

Feedforward Control Feedforward Compensation

Example: DC Motor Speed Modeling

Multiple Model Based Adaptive Control for Shell and Tube Heat Exchanger Process

Lecture Outline. Chapter 7: Energy Pearson Education, Inc.

Control of MIMO processes. 1. Introduction. Control of MIMO processes. Control of Multiple-Input, Multiple Output (MIMO) Processes

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2)

Most hand warmers work by using the heat released from the slow oxidation of iron: The amount your hand temperature rises depends on several factors:

YTÜ Mechanical Engineering Department

AAE COMBUSTION AND THERMOCHEMISTRY

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

De-Coupler Design for an Interacting Tanks System

SAM Teachers Guide Electricity

Year 7 Recall Booklet. Name: Class:

Power System and Controller Design for Hybrid Fuel Cell Vehicles

EE 4443/5329. LAB 3: Control of Industrial Systems. Simulation and Hardware Control (PID Design) The Torsion Disks. (ECP Systems-Model: 205)

Hydraulic (Fluid) Systems

Review of (don t write this down!)

Conceptual Design Methods and Tools for Building Services with complex dynamics

MATLAB TOOL FOR IDENTIFICATION OF NONLINEAR SYSTEMS

Transcription:

INTRODUCTION TO THE SIMULATION OF ENERGY AND STORAGE SYSTEMS 20.4.2018 FUSES+ in Stralsund Merja Mäkelä merja.makela@xamk.fi South-Eastern Finland University of Applied Sciences

Intended learning outcomes After this discussion, our participant is able to understand basic modelling and simulation principles develop simple energy system and process control models identify visualized simulation based on Matlab Simulink.

Agenda Introduction System models Process control models Controller models Modelling and simulation of energy and storage systems Case 1: Capacity of a tank with straight walls Case 2: Tank capacity with a free output Case 3: Tank capacity with a level control loop Case 4: Mixer tank with heat capacity Case 5: Solar collector model Conclusions

INTRODUCTION

Energy sources and storages Potential Chemical (hydrogen) Gravitational (dam, reservoir capacity) Electrical (battery) Thermal (heat accumulator, boiler reservoir) Kinetic Wind (hydrogen, battery) Electricity, heat and movement are especially interesting. Different kinds of energy conversions are needed.

Why do we need simulations and models? We are able to deal with systems by using simulation software and models: supporting process and control system design, such as predictions of system steady states testing of new process and control methods. training the operation of process systems. Matlab Simulink is widely used in dynamic simulations. A model describes a phenomenon. A model is often a mathematical presentation.

SYSTEM MODELS

System model in general Inputs U Outputs Y? Relationship between outputs and inputs Single Input, Single Output (SISO) Multiple Inputs, Multiple Outputs (MIMO)

Example 1: From a real fuel cell to a FC model? Fuel cell Development of novel control strategies Inputs U Outputs Y? www.directindustry.com/prod/

Example 2: From an FC model to a real FC Design of a new product www.directindustry.com/prod/

Energy system model Energy sources Process system or engine Energy products and emissions Relationship between energy products and energy sources products, such as electricity, heat, movement emissions, such as NOx sources, such as renewable and fossile fuel components

Example: PEM fuel cell system model Energy sources Hydrogen Oxygen Inputs U PEMFC Outputs Y Energy products DC Voltage Load Which voltage could we get when we have constant hydrogen and oxygen feed, and a certain load? Water Waste heat

PROCESS CONTROL MODELS

Energy process control model Manipulated variables Actuators and energy process dynamics Controlled (and measured) variables Relationship between controlled variables and manipulated variables controlled variables, such as flows, temperatures, pressures manipulated variables, such as control signals to actuators

Example: PEMFC process control model Hydrogen flow (hydrogen partial pressure) PEMFC process dynamics and actuator dynamics DC Voltage Relationship between controlled variables and manipulated variables DC voltage, the controlled variable hydrogen flow valve, the manipulated variable

PEMFC process control model as a flow chart presentation Hydrogen Oxygen PIC PEMFC DC voltage and current

CONTROLLER MODELS

Set points Controller model + - Measured variables Control errors Controller Control algorithm (Control law) Relationship between control outputs and controller errors control errors (set points from operators measured variables from sensors and transmitters (controlled variables) controller with a control algorithm controller outputs (control signals to actuators) Controller outputs to actuators

Example: PID controller model Hydrogen p. pressure set point + - Control error e PID control algorithm Controller Control algorithm Hydrogen partial u Kp( e T d ) i dt 0 pressure measurement Relationship between the control error and controller output 1 t edt T de Controller output u Control signal to a valve actuator 1 de u Kp( e edt Td ) T dt i t 0

MODELLING AND SIMULATION OF ENERGY AND STORAGE SYSTEMS

Two basic methods from systems to models System 1. Physical 2. Identification modelling Model 1. method: Physical modelling first principles (nature laws) as a basis 2. method: Identification fitting observations to ready-made model structures

How are we able to build models? First principle models: We make static and dynamic models based on mass balances, consistency balances and energy balances. Identification models: We fit sampled system data to ready-made model structures, such as Laplace transfer function models discrete ARX models.

Example of a static model: Tank reservoir In a steady state: f in f in f out f in Input flow [m 3 /s] f out Output flow [m 3 /s] V Volume in a tank [m 3 ] V f out

Dynamic tank capacity model dv f f dt in out V Volume in a tank [m 3 ] f in Input flow [m 3 /s] f out Output flow [m 3 /s] f in V f out

CASE 1: CAPACITY OF A TANK WITH STRAIGHT WALLS

Tank model: Dependent on the level a* dh f f dt in out h tank level [m] fin input volume flow [m 3 /s] fout output volume flow [m 3 /s] a tank cross section [m 2 ] a f in V h f out

From a differential equation to a Matlab Simulink presentation Input Stimulus ( f in f out )* 1 a dh dt Output Input flow fin change + 0.005 1/a 1 s 1/a Integrator Initial value h = 1 m Tank level h 0.01 Constant output flow fout 27

28 Simulation results: Case 1

CASE 2: TANK CAPACITY WITH A FREE OUTPUT FLOW

Tank model with a free output flow a * dt dh f f in out f in f b* 2* g * h out h fin fout a b tank level input volume flow output volume flow cross section of the tank cross section of the output pipeline a V h b f out

From a differential equation to a Matlab Simulink presentation 1 dh Input Stimulus ( f in b * 2* g * h ) a dt Output Input flow fout : steady state + 0.001 1/a 1 s 1/a Integrator Initial value h = 1 m Tank level h b*sqrt(2*9.81 *u(1)) Fcn

Simulation results: Case 2

CASE 3: TANK CAPACITY WITH A LEVEL CONTROL LOOP

Tank model with a level control loop h fin fout a a* dh dt f out c* f in f out u 1 de u Kp( e edt Td ) T dt tank level input volume flow output volume flow tank cross section i t 0 u e Kp Ti Td h a controller output control error controller gain integration time derivation time f in LIC f out

From equations to a Simulink model K p ( e 1 de edt Td T ) dt i t 0 u Input Stimulus ( f in f out )* 1 a dh dt Stimulus fin 0.5 -> 0.25 1/a 1 s 1 1/a a=10 m2 Integrator Initial value h = 0 m Level set point 0 -> 1 m kp Gain Gain 1 1/ti Gain 2 1 s Integrator Add Output td Gain 3 du /dt Derivative Added slowness for reality Tank level h 35 Saturation Slowness Delay 2 sec

Simulation results: Case 3

CASE 4: MIXER TANK WITH HEAT CAPACITY

Mixer tank capacity model a * dh dt f in f out f hot f cold f hot f out f cold f out b* 2* g * h h V b Cross section of the pipeline [m 2 ] f hot Hot input flow [m 3 /s] f cold Cold input flow [m 3 /s] f out Output flow [m 3 /s] a f out b

Mixer tank heat capacity model Change in energy [kj/s] f hot f cold ahdc dt dt f hot dc( Thot T ) fcolddc( T Tcold c specific heat capacity [J/kgC] d density [kg/m 3 ] T temperature of the liquid in the tank f hot hot input flow [m 3 /s] f cold cold input flow [m 3 /s ) a T f out h

Mixer tank heat capacity model Change in temperature [C/s] f hot f cold dt dt ( fhot ( Thot T ) fcold ( T Tcold )) / ha T h T temperature of the liquid in the tank f hot hot input flow [m 3 /s] f cold cold input flow [m 3 /s a f out

( f hot ( T hot T ) f ( T T )) / cold cold ha dt dt From equations to a Simulink model fhot + 0.005 fcold 1/a 1 s 1/a, a = 1 m Integrator Initial value h = 1 m Tank level h b*sqrt(2*9.81 *u(1)) b= 0.01 90 Thot u(1)*(u(2)-u(3)) Fcn2 Saturation u(1)*(u(2)-u(3)) Fcn3 10 Tcold (u(2)-u(3))/(u(1)*a) Fcn4 1 s Integrator Initial value = 50 C Liquad temperature T 41

Simulation results: Case 4

43 CASE 5: SOLAR THERMAL COLLECTOR MODEL

Solar collector system https://www.vbus.net/scheme/6a46a7e11f9813e2840536533d71d0e2

https://www.vbus.net/#diagram/a2aa1c60690c81ae92809b1cab4a8820 Which models of a solar thermal system could be interesting?

CONCLUSIONS

Conclusions We may develop energy system models controller models energy process control models. There are two basic methods of modelling: first principles identification. We may visualize models by using simulation tools. Matlab Simulink is very widely used in universities.

Thank you for your attention! Any questions, any comments? See you in Matlab Simulink classes!