Process simulation, optimisation and design. P.S.O.D. ORGANIZATION ISSUES.

Slides:



Advertisements
Similar presentations
PSOD Lecture 2.
Advertisements

Introduction to FX Equation 4. The Basic Idea FX Equation is DIFFERENT. Most equation editors use a point and click interface that has you searching for.
Spreadsheets A spreadsheet package is a general purpose computer package that is designed to perform calculations. A spreadsheet is a table which is divided.
Excel Using Formulas and Functions Microsoft Office 2010 Fundamentals 1.
Microsoft Excel The Basics. spreadsheet A type of application program which manipulates numerical and string data in rows and columns of cells. The value.
COE201 – Computer Proficiency Mr. Hamze Msheik
Word Processing Mathematics. Word Processing  More professional  Don’t use handwritten symbols  Don’t use poorly word processed symbols.
Programming Languages Structure
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 3 Programming and Software.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
JavaScript, Third Edition
Chapter 8: Introduction to High-level Language Programming Invitation to Computer Science, C++ Version, Third Edition.
Process simulation, optimisation and design. P.S.O.D. ORGANIZATION ISSUES.
Introduction to Microsoft Excel
CS102 Introduction to Computer Programming
Mathcad Variable Names A string of characters (including numbers and some “special” characters (e.g. #, %, _, and a few more) Cannot start with a number.
Data processing in MathCAD. Data in tables Tables are analogous to matrices Tables are analogous to matrices The numbers of columns and rows can be dynamically.
University of technology Department of Materials Engineering
Microsoft Excel Diane M. Coyle Spring 2009 CS 105.
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
TIME 2012 Technology and its Integration in Mathematics Education 10 th Conference for CAS in Education & Research July 10-14, Tartu, Estonia.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
Logarithms.
Excel. Spreadsheet Software  What Is a Spreadsheet, and How Does It Work? A spreadsheet program allows users to perform simple and complex sorting. It.
ECE 1304 Introduction to Electrical and Computer Engineering Section 1.1 Introduction to MATLAB.
Array Dependence Analysis COMP 621 Special Topics By Nurudeen Lameed
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Chapter 2: First Steps in MuPAD MATLAB for Scientist and Engineers Using Symbolic Toolbox.
PSOD Lecture 2. Matrices and vectors in Chemical & Process Engineering Appear in calculations when process is described by the system of equations:
Web 2.0 Tools SMART Notebook Math Tools By Joanna Snyder.
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2010.
MATLAB Harri Saarnisaari, Part of Simulations and Tools for Telecommunication Course.
Introduction to MATLAB 7 MATLAB Programming for Engineer Hassan Migdadi Spring 2013.
1 Lecture 1 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Lecture 20: Choosing the Right Tool for the Job. What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation.
Chapter 5 Introduction to VHDL. 2 Hardware Description Language A computer language used to design circuits with text-based descriptions of the circuits.
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2012.
FUNCTIONS. Topics Introduction to Functions Defining and Calling a Void Function Designing a Program to Use Functions Local Variables Passing Arguments.
Mathcad – what is it A fancy calculator A problem solving tool A unit converter An equation writer We will explore pieces of all of these.
Microsoft ® Excel 2010 Core Skills Lesson 5 Viewing and Printing Workbooks Courseware #: 3243 Microsoft ® Office Excel 2010.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
An Introduction to MathCAD More Symbolic Maths And First Steps in Calculus.
“Moh’d Sami” AshhabSummer 2008University of Jordan MATLAB By (Mohammed Sami) Ashhab University of Jordan Summer 2008.
Charts MOAC Lesson 6.
Lecturer: Dalia Mirghani
Engr 6: Matlab Programming
Charts MOAC Lesson 6.
Ashima Wadhwa Assistant Professor(giBS)
Office tool for creating tables and charts
Programming Languages
Software for scientific calculations
课程名 编译原理 Compiling Techniques
Mathcad Basics The Mathcad does not require any programming language to perform simple operations. The Mathcad follow the precedence of operation such.
Introduction Mathcad is a product of mathSoft inc. The Mathcad can help us to calculate, graph, and communicate technical ideas. It lets us work with.
INTRODUCTION TO BASIC MATLAB
MATLAB DENC 2533 ECADD LAB 9.
(Mohammed Sami) Ashhab
Chapter 8: Introduction to High-Level Language Programming
Word Processing Mathematics
Introduction to Mathcad
First Python Program Professor Hugh C. Lauer CS-1004 — Introduction to Programming for Non-Majors (Slides include materials from Python Programming: An.
Functions Introduction.
Charts MOAC Lesson 6.
Dr. Fowler  CCM Functions.
Structures- case, sequence, formula node
Math I Quarter I Standards
Topics Introduction to Value-returning Functions: Generating Random Numbers Writing Your Own Value-Returning Functions The math Module Storing Functions.
Presentation transcript:

Process simulation, optimisation and design

P.S.O.D. ORGANIZATION ISSUES

Course scope Introduction Introduction MathCAD MathCAD Introduction to CAPE Introduction to CAPE –Simple simulation of liquid flow and heat transfer process ChemCAD (by dr Robert Kubica) ChemCAD (by dr Robert Kubica)

Process simulation, optimisation and design Course objectives

Provide the students with: Provide the students with: –using specialized software for mathematical problems solution, modeling and engineering –clear understanding of what is »a process simulation, »a process optimization »process design –using a mathematical software to solve simulation problem –using specialized software for steady state process simulation –using specialized software for dynamic process simulation

Lectures are available on the web address

Introduction

All the issues related to simulation requires....

The Model, what is it? A model is a representation of some aspects of real world objects by: A model is a representation of some aspects of real world objects by: –other parameters easier to measure –scaled down objects –equations and numbers – mathematical models

The Model, what for? A good model of the apparatus is needed to: A good model of the apparatus is needed to: –create a correct standalone apparatus design –create a correct process, consists of many apparatus: »simulation »optimization »design

The tools... pen and piece of paper (supported by basic calculation hardware) usually enough for the standalone apparatus design pen and piece of paper (supported by basic calculation hardware) usually enough for the standalone apparatus design even quite simple process optimization problem needs to involve the computer to complete the mission in reasonable time. even quite simple process optimization problem needs to involve the computer to complete the mission in reasonable time.

Ammonia synthesis plant 13 streams 8 params per stream 20 params of equip. means 124 variables! e.g. 39 params defined by designer leaves 85 equations to solve!!!

Model, how to use? Manually Manually –We need: »Knowledge about the process to create the model »Paper and pen »Log tables, slide rule, calculator »Mathematical skills Computer supported calculation Computer supported calculation –We need: »Knowledge about the process to create the model or to use model created by someone else, »PROGRAM »Skills in the program use

COMPUTER PROGRAM DEFINITION „Set of instructions in a logical sequence interpreted and executed by a computer enabling the computer to perform a required function; also called software. Programs are the "thought processes" of computers, without which they cannot operate. Programs are written in various languages, to conform with the operating system of particular computers.”

Computer supported calculation PROGRAM PROGRAM –Written by user, using programming language: »Low level (assembler) »High level (C, Pascal, Fortran, Basic) –Written by user, using common applications for calculation »Spreadsheets (Excel, Calc) »Mathematical tools (MathCAD, MathLab, Mathematica) –Specialized software for process simulation (AspenOne, ProSIM, ChemCAD) PROGRAM PROGRAM –Written by user, using programming language: »Low level (assembler) »High level (C, Pascal, Fortran, Basic) –Written by user, using common applications for calculation »Spreadsheets (Excel, Calc) »Mathematical tools (MathCAD, MathLab, Mathematica) –Specialized software for process simulation (AspenOne, ProSIM, ChemCAD)

MathCADMathCAD The mathematical tool

Introduction User interface User interface –Writing cursor '+' –Math toolbars : »Calculator – equation symbols »Graph – building the charts »Matrix – inserting matrix/vectors, matrices and vectoral operation »Calculus – derivatives, integrals, limits, summation, iterated product »Symbolic »Evaluation »Boolean –logical operation »Programming »Greek – inserting Greek letters –Turn of the Resource center at startup View/Preferences/Startup Options (ver. 2001)

Basic operations Basic operations –Typing: »"normal" – text Forced by: [shift]+["] Forced by: [shift]+["] Automatically: after space insertion Automatically: after space insertion »"variable" – interpreted by program Default Default –The typing modes are identified by style: »Normal – Font is Arial (by default) »Variable – Font is Times (by default) –Assign symbol":=" (keystrokes[:][=])

Numbers notation Numbers notation –Floating-point notation: 1.23·10 4 Multiplication symbol [*]Superscript (exponent) [^] keystrokes keystrokes : [1][.][2][3][*][1][0][^][4]

MathCAD intro [2][/][3][+][3][^][2][  ][l][n][(][3][)][=] To go back to basic level press spacebar or arrow right [2][/][3][+][3][^][2][space bar][l][n][(][3][)][=] or

MathCAD intro Variables notation Variables notation –Latin and Greek alphabet ( [ctrl] + [g] after typing Latin letter) –Case sensitivity: x  X –Subscripts (not vector/matrix subscripts) [.] –Prim: x`, bis: x`` etc.

MathCAD intro Assigning values and expressions (similar to Pascal programming language) Assigning values and expressions (similar to Pascal programming language) –One value assigned to one variable: x:=5 keystrokes: [x][:][5] –Range of arithmetic progression assigned to variable »Default step: x:=0..3 (means numbers 0, 1, 2, 3) keystrokes [x][:][0][;][3] »Defined step: x:=0, (means numbers 0, 0.2, 0.4, 0.6, 0.8, 1) keystrokes [x][:][0][,][0][.][2][;][1] –Expression to variable: y:=2·x+3 keystrokes : [y][:][2][*][x][+][3] Variable x has to be defined earlier

MathCAD intro CorrectIncorrect

MathCAD intro Edition of the expressions Edition of the expressions –To change the position of edited place press »space bar »navi arrows  Vertical line: shows place of insertion Horizontal: shows range will be inserted into function etc.

MathCAD functions Standard functions set Standard functions set Functions definition Functions definition –Syntax: FunctionName(arg1, arg2,...):= expression of arg1, arg2,.... –E.g. f(x,y):=x·y keystrokes : [f][(][x][,][y][)][:][x][*][y] Calculations with use of defined (or predefined) functions: Calculations with use of defined (or predefined) functions: –Evaluation for constants –Evaluation for defined variables –Evaluation for range of constants/vectors local variables

MathCAD functions Function of constant (number, scalar) Function of constant (number, scalar)

MathCAD functions Function of variable Function of variable Local variable Global variable

MathCAD functions Range of arithmetic sequence Range of arithmetic sequence

MathCAD functions 2D graphs: 2D graphs: –Function of one variable f(x) keystrokes : [f][(][x][)][shift]+[2][x]

MathCAD functions Graphs: Graphs: – –Default independent values range: -10 ÷ 10 – –Can be edited

Graphs: Graphs: –Several functions of one independent variable range: f(x), keystrokes : [f][(][x][)][,] [g][(][x][)][shift]+[2][x] MathCAD functions

Graphs: Graphs: –Several functions of several different independent variable range: f(x), z keystrokes : [f][(][x][)][,] [g][(][z][)][shift]+[2][x][,][z] MathCAD functions

Graphs formatting: Graphs formatting: MathCAD functions

Graphs formatting: Graphs formatting: MathCAD functions

Show markers enabled