Sei sulla pagina 1di 35

Modelling and

Computation Process

Setia Budi Sasongko, PhD.


sbudisas@gmail.com
sbudisas@live.undip.ac.id

DIPONEGORO UNIVERSITY

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Setia Budi Sasongko, Ph.D
Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Learning Outcomes:
Able to construct Chemical Engineering
Mathematical Model System and solve based
on Numerical Method and Computer Aided
Design (CAD) Application

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Syllabus:
Chemical Process Math. Model
Computer Programming
Chemical Process Simulation

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
The Goals/role of Engineer

The purpose of engineering is to create new material


wealth (Douglas, 1988).
The goal of engineer is to design and produce
artifacts and systems that are beneficial to mankind
(Biegler, 1997)
The role of the Chemical Engineer is to analyze and
synthesize chemical processing system on the basis
of equipment, thermodynamic, kinetic, economic
and marketing considerations and constraint
(Resnick, 1981)

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
The system approach
A system can be defined as a collection of
interacting elements that function together
for some purpose

The system approach emphasizes the


connections among the various parts that
constitute a whole.

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
General concept of System
System environment

System element

System System
Inputs Outputs
System element
interactions
System

System boundary

connectedness
Systems
Concerns with
thinking
wholeness
Setia Budi Sasongko, Ph.D
Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Chemical Process Industry

A process system is a collection of equipment


which effects the transformation of materials
through chemical reaction, phase transition,
heating and cooling, agglomeration, size
reduction, separation, extraction, combustion
and so forth (Rudd & Watson, 1968)

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Process/ system analysis:
Mathematical specification of the problem for
the given physical situation.
Detail analysis to obtain mathematical models
Synthesis and presentation of results to
ensure full comprehension.

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
The Science
(Sutrisno Hadi, 1980)

A collection of the experiences and knowledge


of some people;
Already tested the truth
General (released from unique conditions)

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Scientific task

Explanative
The task of explaining natural phenomena
Predictive
The task of predicting natural events in the future
Control
The task of controlling something in accordance with
the desired conditions

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Some quotes relevant to modelling
(Marjan van den Belt, 2004)

All models are wrong


Some models are useful (W.Edwards Deming)
The best explanation is as simple as possible,
but no simpler (Albert Einstein)
Seek simplicity . and then distrust it (Alfred
North Whitehead)

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Model Classification
The variables defined in the system are independent of
Static model
time
Dynamic model Variables defined in the system as a function of time
The variables defined in the system are not the function
Lumped models
of space
Distributed models Variables defined in the system as a function of space
The inputs, the state and the outputs are interrelated by
Causal models
using causal relations
The input disturbances effect only the output responses.
Black-box models
No causality is required
Linear models First degree equations are used consecutively

Non-linear models One or more of the equations are not first degree
Setia Budi Sasongko, Ph.D
Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Modeling and
Computational Process
Chemical Engineering
Diponegoro University

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Introduction
Simplified Physical &
Engineers are
picture of Mathematical
symbolic analysts
REALITY MODELS

TOOL to solve Forecasting


PROBLEMS Controlling

Software
Language Programme

Interactive
program

Numerical computation &


data visualization
Scilab
Free of Charge (FOC) Software:
http://:www.scilab.org
Operating System:
Windows dan Linux
Similar with Matlab

Menu Bar

Tool Bar
Hubungan konsep dasar ilmu, model dan
keadaan riil
REALITAS

KONSEP DASAR bdsk


BIDANG ILMU

OBJEKTIF MODEL DATA PENGAMATAN

PARAMETER
ESTIMASI

EVALUASI

APLIKASI
Modeling

Describe the performance of a process


system
Building a mathematical equation that
can describe the performance of a
process system (physical)
PEMODELAN

Kesulitan Kesulitan

I II

Model Penyelesaian
Problem
Analisis Komputasi
Matematis Quantitatif

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
MODEL MATEMATIS

OBJEK
SUBJEK (Tujuan)

SEBAB AKIBAT
MODEL
MATEMATIS

VARIABEL VARIABEL
BEBAS TAK
BEBAS

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
MODEL MATEMATIS
F1

Sistem
INPUT Persamaan OUTPUT
Z
F2

dZ
F1
dt Z
dZ dZ
A F1 F2 Z dt
dt dt
F2

F1
Z
dZ
A F1 F2
dt
F2

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Mathematical model solution

PENYELESAIAN
MODEL
MODEL
MATEMATIS
MATEMATIS

NUMERICAL METODA
METHODS PENDEKATAN

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Perintah dasar - Scilab

Perintah Kegunaan
clc Membersihkan layar
who Variabel yang sedang aktif
clear Menghapus semua variabel
(Working Windows)

Marked by --> Ready


to execute the
command after
pressing the ENTER
key
All command are
directly executed
Storage of variables/
programs is
temporary
(Working Windows)

-->D=6
D =
6.
-->luas=0.25*%pi*D^2
luas =
28.274334
deff((out1,out2,)=modul(in1,in2,),persamaan)
Fungsi: mendefinisikan persamaan (rumus) pada jendela kerja

-->deff('A=luas(D)','A=0.25*%pi*D^2')
-->ls=luas(3)
ls =
7.0685835
-->

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Window Editor
(Scipad)

All commands are not


directly executed
Can be saved and moved
The command opens the
Editor Window Result

From the menu bar:


(click)
Editor
Or press [alt d]

From Tool bar: (click)

Working Windows :
(type) scipad()

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Perlu di eksekusi: -->exec('c:\scilat1\luasling.sci');

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Tips:

Cara lebih mudah, dapat dilakukan (pilih salah satu):


Pada menu bar jendela editor, pilih Execute (Alt+x) Load into
Scilab
Pada menu bar jendela editor, Ctrl + l
Pada menu bar jendela kerja, pilih File Exec pilih file yang
akan dieksekusi

-->exec('c:\scilat1\luasling.sci')
-->function hsl=luasbs(D);
--> hsl = 0.25*%pi*rD^2;
-->endfunction;
-->

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Modular Program
Fungsi: mengambil / mengaktifkan file *.sci
getf()
pada suatu fungsi yang lain

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Fungsi: menampilkan file pada
ls file_dir
direktori file

Apabila fungsi atau modul yang akan


digunakan cukup banyak,maka penggunaan
getf() tidak efektif

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Fungsi: membangun library dari fungsi (*.sci) pada
getd(file_dir)
direktori file

-->getd('c:/scilat1')

Setia Budi Sasongko, Ph.D


Chemical Engineering Departement
DIPONEGORO UNIVERSITY
Matur Nuwun
Selamat Berkarya

Setia Budi Sasongko, Ph.D


sbudisas[at]gmail.com
sbudisa[at]live.undip.ac.id

Potrebbero piacerti anche