SlideShare a Scribd company logo
“SCILAB (open source software for numerical computation) in
Chemical Engineering”
Submitted By: Guided By:
Kripal Priyadarshi (11BCH026) Asst Prof. Priya Saxena
Learning Outcome After Presentation
After Presentation we would be able to understand the following
topics:-
• Introduction Open source softwares
• Difference between Scilab and Matlab
• Scilab basics and simple types of problem solving using scilab
• Engineering problems solving using Scilab
Introduction To Open source Software
• Open-source software is computer software with its source code made available and licensed with
a license in which the copyright holder provides the rights to study, change and distribute the
software to anyone and for any purpose.
• Software’s are used in designing, finance, computer simulation, mathematics, science, geographical
information, nanotechnology, etc.
• Some of the software’s are Scilab, Firefox, Openoffice, GIMP, FreeNX, OpenVPN, rdesktop
DVDFlick, Mozilla Calendar,etc
Introduction to Scilab
Scilab is a freely distributed open source scientific software package, first
developed by researchers from INRIA and ENPC, and now by the Scilab
Consortium. It is similar to Matlab, which is a commercial product. Yet it is
almost as powerful as Matlab.
Scilab consists of three main components:
an interpreter
libraries of functions
libraries of Fortran and C routines
Difference between Scilab and Matlab
• Functions in SCILAB are not considered
as separate files
• Functions in MATLAB are considered as
separate files
• To execute a script file you must use
• exec("filename") in SCILAB
• To execute a script file in MATLAB you
just need to type the name of the file.
• Scilab comments begins with: // • Matlab commands begin with:%
• Boolean variables are %T, %F in
SCILAB
• Boolean variables are 0,1 in MATLAB
• Polynomial matrices are defined by the
function poly in SCILAB.
• They are considered as vectors of
coefficients in Matlab
Installing the Scilab
• First, you must have the software. Go
to the download section in the Scilab
homepage, find a right version for
your operating system (platform), and
then click to download. For easy
installation, it is advisable to
download the installer (for binary
version). Then double click the
downloaded file and follow the
instructions to complete the
installation
Scilab Screen
• The Scilab environment: Console and Prompt
• Once the user has opened Scilab, the window shown on the right appears.
• The main part is the Scilab Console, in which is contained the Prompt of commands, identified by
the symbol -->
• Here the user types the commands and interacts with the environment.
Scilab Basics
+ Addition
- Subtraction
* Multiplication
/ Division
^ Power
' conjugate transpose
Common Operators
Common Functions
sin
cos
tan
asin
acos
atan
min
max
Sqrt
sum
Special Constants
%pi,
%e,
%i
To enter a string, enclose it with either single or double
quotations.
Strings
Entering Matrices
Addition of columns and rows
Using basic single commands
Finding Inverse of matrix
Solving linear system
Chemical engineering problems using Scilab
Scilab can be useful in solving the chemical engineering related
problems such as:-
• Heat transfer
• Regrettions
• Fluid flow operations
• Different operation such as absorption, distillation etc with graphical
feautures
• Designs of various equipment
Numerical based on Fluid Flow
Ouestion:-Find the Type of Flow of stream in pipe of diameter of 0.06m.
Using Graphical Feauture
• Question:-Plot a graph of dx/dt=sin2t.
•
•
•
• Scilab coding→Graph←
Solving Equilibrium stage operation numerical
• Question:-By means of a plate column, acetone is absorbed from its
mixture with air in a nonvolatile absorption oil. The entering gas
contains 30 mole % acetone, and the entering oil is acetone-free. Of
the acetone in the air 97 % is to be absorbed, and the concentrated
liquor at the bottom of the tower is to contain 10 mole % acetone.
The equilibrium relationship is ye=1.9xe. Plot the operating line and
determine the number of ideal stages.
Solving Equilibrium stage operation numerical
Solving Equilibrium stage operation numerical
Solving Designing of cyclone separator
numerical
Particle size distribution
50 95
40 85
30 70
20 20
10 10
5 3
2 1
Permissible Pressure Drop,mmH20 125
Flow rate of gas,m^3/hr 2000
Density of solid particle 2500
Permissible pressure drop ?
%Recovery of solid 85%
Design a suitable cyclone for a given process.:
Solution
Solution
Optimization in Scilab
Scilab provides algorithms to solve constrained and unconstrained continuous
and discrete problems:
• Linear optimization
Examples: karmaker,linpro
• Non-linear optimization
Examples: fminsearch, optim, derivative, leastsq
• Semidefinite programming
Example: semidef
• Linear matrix inequalities
Example: lmisolver
Optimization in Scilab
REFERENCES
[1] https://www.scilab.org, 8/1/2014, 19:23
[2] http://en.wikipedia.org/wiki/SCILAB, 15/1/2014, 18:27
[3] http://hkumath.hku.hk/~nkt/Scilab/IntroToScilab.html, 16/1/2014, 22:42
[4] http://www.openeering.com/scilab_tutorials, 25/1/2014, 19:56
[5] http://en.wikipedia.org/wiki/List_of_free_and_opensource_software_packages, 31/1/2014 19:27
[6]http://www-irma.ustrasbg.fr/~sonnen/SCILAB_HELP/matlabvsscilab_html.htm 31/1/2014, 19:40
Thank You

More Related Content

What's hot

Bio Inspired Computing Final Version
Bio Inspired Computing Final VersionBio Inspired Computing Final Version
Bio Inspired Computing Final Version
Thomas Petry
 
Compiler Design
Compiler DesignCompiler Design
Compiler DesignMir Majid
 
Compiler Design Introduction
Compiler Design IntroductionCompiler Design Introduction
Compiler Design Introduction
Richa Sharma
 
Multiplexing (TDM)
Multiplexing (TDM)Multiplexing (TDM)
Multiplexing (TDM)
Md Razib
 
Uc 2(vii)
Uc 2(vii)Uc 2(vii)
Uc 2(vii)
Ankita Jaiswal
 
Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller  Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller
Nikhil Baby
 
JIT Compiler
JIT CompilerJIT Compiler
Case Study(Analysis of Algorithm.pdf
Case Study(Analysis of Algorithm.pdfCase Study(Analysis of Algorithm.pdf
Case Study(Analysis of Algorithm.pdf
ShaistaRiaz4
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
Yıldırım Tam
 
Hidden Markov Model
Hidden Markov Model Hidden Markov Model
Hidden Markov Model
Mahmoud El-tayeb
 
Compiler Chapter 1
Compiler Chapter 1Compiler Chapter 1
Compiler Chapter 1
Huawei Technologies
 
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time SystemsSara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
knowdiff
 
Approximation Algorithms TSP
Approximation Algorithms   TSPApproximation Algorithms   TSP
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
 
Coda file system
Coda file systemCoda file system
Coda file system
Sneh Pahilwani
 
Satellite Navigation
Satellite Navigation Satellite Navigation
Loaders
LoadersLoaders
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
Mathivanan Natarajan
 

What's hot (20)

Linkers
LinkersLinkers
Linkers
 
Bio Inspired Computing Final Version
Bio Inspired Computing Final VersionBio Inspired Computing Final Version
Bio Inspired Computing Final Version
 
Compiler Design
Compiler DesignCompiler Design
Compiler Design
 
Compiler Design Introduction
Compiler Design IntroductionCompiler Design Introduction
Compiler Design Introduction
 
Multiplexing (TDM)
Multiplexing (TDM)Multiplexing (TDM)
Multiplexing (TDM)
 
Uc 2(vii)
Uc 2(vii)Uc 2(vii)
Uc 2(vii)
 
Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller  Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller
 
JIT Compiler
JIT CompilerJIT Compiler
JIT Compiler
 
Case Study(Analysis of Algorithm.pdf
Case Study(Analysis of Algorithm.pdfCase Study(Analysis of Algorithm.pdf
Case Study(Analysis of Algorithm.pdf
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Exhaustive Search
Exhaustive SearchExhaustive Search
Exhaustive Search
 
Hidden Markov Model
Hidden Markov Model Hidden Markov Model
Hidden Markov Model
 
Compiler Chapter 1
Compiler Chapter 1Compiler Chapter 1
Compiler Chapter 1
 
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time SystemsSara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
 
Approximation Algorithms TSP
Approximation Algorithms   TSPApproximation Algorithms   TSP
Approximation Algorithms TSP
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
Coda file system
Coda file systemCoda file system
Coda file system
 
Satellite Navigation
Satellite Navigation Satellite Navigation
Satellite Navigation
 
Loaders
LoadersLoaders
Loaders
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 

Viewers also liked

Aquaponics Egypt
Aquaponics EgyptAquaponics Egypt
Aquaponics Egypt
Antoine Boctor
 
Observaciones sobre la Prueba Nacional...
Observaciones sobre la Prueba Nacional...Observaciones sobre la Prueba Nacional...
Observaciones sobre la Prueba Nacional...
Rogelio Vilcherrez Chozo
 
Entrenamiento aerobico da menos calorias
Entrenamiento aerobico da menos caloriasEntrenamiento aerobico da menos calorias
Entrenamiento aerobico da menos caloriasJavier Capucho Cardenas
 
Central Park Fleur Villas
Central Park Fleur VillasCentral Park Fleur Villas
Central Park Fleur Villas
Manish Kumar
 
Alloy Cybersecurity Intro
Alloy Cybersecurity IntroAlloy Cybersecurity Intro
Alloy Cybersecurity Intro
Mark Stockman
 
portfolio Ellen basisschoollessen
portfolio Ellen basisschoollessenportfolio Ellen basisschoollessen
portfolio Ellen basisschoollessenEllenWelschen
 
Trust Issues
Trust IssuesTrust Issues
Trust Issues
Kathy Sweeney
 
Predict future-make-decision
Predict future-make-decisionPredict future-make-decision
Predict future-make-decisionderosaMSKCC
 
Anna Riyell A. de Lara (Quantity Surveyor) - (10.1.16)
Anna Riyell A. de Lara (Quantity Surveyor) - (10.1.16)Anna Riyell A. de Lara (Quantity Surveyor) - (10.1.16)
Anna Riyell A. de Lara (Quantity Surveyor) - (10.1.16)Anna Riyell de Lara
 
මාස-60-කින-අලුත-රටක
මාස-60-කින-අලුත-රටකමාස-60-කින-අලුත-රටක
මාස-60-කින-අලුත-රටක
sinhalasongs
 
jhkj
jhkjjhkj
LTspice getting started guide [2011]
LTspice getting started guide [2011]LTspice getting started guide [2011]
LTspice getting started guide [2011]
Sunu Pradana
 
Panel 2 - Goods & Services Tax (GST)
Panel 2 - Goods & Services Tax (GST)Panel 2 - Goods & Services Tax (GST)
Panel 2 - Goods & Services Tax (GST)
taxsutra
 
Benami transaction amendments comparison 2016
Benami transaction amendments comparison 2016 Benami transaction amendments comparison 2016
Benami transaction amendments comparison 2016
GAURAV KR SHARMA
 
Penggunaan layanan Google
Penggunaan layanan GooglePenggunaan layanan Google
Penggunaan layanan Google
Sunu Pradana
 

Viewers also liked (17)

Aquaponics Egypt
Aquaponics EgyptAquaponics Egypt
Aquaponics Egypt
 
Observaciones sobre la Prueba Nacional...
Observaciones sobre la Prueba Nacional...Observaciones sobre la Prueba Nacional...
Observaciones sobre la Prueba Nacional...
 
Entrenamiento aerobico da menos calorias
Entrenamiento aerobico da menos caloriasEntrenamiento aerobico da menos calorias
Entrenamiento aerobico da menos calorias
 
Central Park Fleur Villas
Central Park Fleur VillasCentral Park Fleur Villas
Central Park Fleur Villas
 
Alloy Cybersecurity Intro
Alloy Cybersecurity IntroAlloy Cybersecurity Intro
Alloy Cybersecurity Intro
 
portfolio Ellen basisschoollessen
portfolio Ellen basisschoollessenportfolio Ellen basisschoollessen
portfolio Ellen basisschoollessen
 
Trust Issues
Trust IssuesTrust Issues
Trust Issues
 
Predict future-make-decision
Predict future-make-decisionPredict future-make-decision
Predict future-make-decision
 
Lima-Zarate
Lima-ZarateLima-Zarate
Lima-Zarate
 
Anna Riyell A. de Lara (Quantity Surveyor) - (10.1.16)
Anna Riyell A. de Lara (Quantity Surveyor) - (10.1.16)Anna Riyell A. de Lara (Quantity Surveyor) - (10.1.16)
Anna Riyell A. de Lara (Quantity Surveyor) - (10.1.16)
 
මාස-60-කින-අලුත-රටක
මාස-60-කින-අලුත-රටකමාස-60-කින-අලුත-රටක
මාස-60-කින-අලුත-රටක
 
jhkj
jhkjjhkj
jhkj
 
LTspice getting started guide [2011]
LTspice getting started guide [2011]LTspice getting started guide [2011]
LTspice getting started guide [2011]
 
Office of CFO
Office of CFOOffice of CFO
Office of CFO
 
Panel 2 - Goods & Services Tax (GST)
Panel 2 - Goods & Services Tax (GST)Panel 2 - Goods & Services Tax (GST)
Panel 2 - Goods & Services Tax (GST)
 
Benami transaction amendments comparison 2016
Benami transaction amendments comparison 2016 Benami transaction amendments comparison 2016
Benami transaction amendments comparison 2016
 
Penggunaan layanan Google
Penggunaan layanan GooglePenggunaan layanan Google
Penggunaan layanan Google
 

Similar to scilab

matlab basics and Simulink for beginners
matlab basics and Simulink for beginnersmatlab basics and Simulink for beginners
matlab basics and Simulink for beginners
A Rajendran Jps
 
Scilab Challenge@NTU 2014/2015 Project Briefing
Scilab Challenge@NTU 2014/2015 Project BriefingScilab Challenge@NTU 2014/2015 Project Briefing
Scilab Challenge@NTU 2014/2015 Project Briefing
TBSS Group
 
MATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.pptMATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.ppt
ssuserdee4d8
 
Scilab Technical Talk at NTU, TP and HCMUT (Dr Claude Gomez)
Scilab Technical Talk at NTU, TP and HCMUT (Dr Claude Gomez)Scilab Technical Talk at NTU, TP and HCMUT (Dr Claude Gomez)
Scilab Technical Talk at NTU, TP and HCMUT (Dr Claude Gomez)
TBSS Group
 
Cadence SImulation
Cadence SImulationCadence SImulation
Cadence SImulationRajaSekar K
 
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Embarcados
 
Introduction_to_Matlab_lecture.pptx
Introduction_to_Matlab_lecture.pptxIntroduction_to_Matlab_lecture.pptx
Introduction_to_Matlab_lecture.pptx
aboma2hawi
 
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptxIntro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
DeepakJangid87
 
Simulation lab
Simulation labSimulation lab
Simulation lab
Ezhilarasi Nagarajan
 
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptxLabqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
MostafaKhaled78
 
Scilab Modelica conference 20150921
Scilab Modelica conference 20150921Scilab Modelica conference 20150921
Scilab Modelica conference 20150921
Scilab
 
Scilab-by-dr-gomez-june2014
Scilab-by-dr-gomez-june2014Scilab-by-dr-gomez-june2014
Scilab-by-dr-gomez-june2014
Ir. Dr. R.Badlishah Ahmad
 
learn matlab for ease Lec5
learn matlab for ease Lec5learn matlab for ease Lec5
learn matlab for ease Lec5Amba Research
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesAngelos Kapsimanis
 
Summer training matlab
Summer training matlab Summer training matlab
Summer training matlab
Arshit Rai
 
Summer training matlab
Summer training matlab Summer training matlab
Summer training matlab
Arshit Rai
 
COMPARATIVE STUDY OF MATLAB AND ITS OPEN SOURCE ALTERNATIVE SCILAB
COMPARATIVE STUDY OF MATLAB AND ITS OPEN SOURCE ALTERNATIVE SCILABCOMPARATIVE STUDY OF MATLAB AND ITS OPEN SOURCE ALTERNATIVE SCILAB
COMPARATIVE STUDY OF MATLAB AND ITS OPEN SOURCE ALTERNATIVE SCILABWildan Maulana
 
SoftwareApplicationInTermsOFMatlabSimulation
SoftwareApplicationInTermsOFMatlabSimulationSoftwareApplicationInTermsOFMatlabSimulation
SoftwareApplicationInTermsOFMatlabSimulation
MechTech9
 
Introduction to l tspice iv
Introduction to l tspice ivIntroduction to l tspice iv
Introduction to l tspice iv
Hoopeer Hoopeer
 

Similar to scilab (20)

CFD & ANSYS FLUENT
CFD & ANSYS FLUENTCFD & ANSYS FLUENT
CFD & ANSYS FLUENT
 
matlab basics and Simulink for beginners
matlab basics and Simulink for beginnersmatlab basics and Simulink for beginners
matlab basics and Simulink for beginners
 
Scilab Challenge@NTU 2014/2015 Project Briefing
Scilab Challenge@NTU 2014/2015 Project BriefingScilab Challenge@NTU 2014/2015 Project Briefing
Scilab Challenge@NTU 2014/2015 Project Briefing
 
MATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.pptMATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.ppt
 
Scilab Technical Talk at NTU, TP and HCMUT (Dr Claude Gomez)
Scilab Technical Talk at NTU, TP and HCMUT (Dr Claude Gomez)Scilab Technical Talk at NTU, TP and HCMUT (Dr Claude Gomez)
Scilab Technical Talk at NTU, TP and HCMUT (Dr Claude Gomez)
 
Cadence SImulation
Cadence SImulationCadence SImulation
Cadence SImulation
 
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
 
Introduction_to_Matlab_lecture.pptx
Introduction_to_Matlab_lecture.pptxIntroduction_to_Matlab_lecture.pptx
Introduction_to_Matlab_lecture.pptx
 
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptxIntro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
 
Simulation lab
Simulation labSimulation lab
Simulation lab
 
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptxLabqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
 
Scilab Modelica conference 20150921
Scilab Modelica conference 20150921Scilab Modelica conference 20150921
Scilab Modelica conference 20150921
 
Scilab-by-dr-gomez-june2014
Scilab-by-dr-gomez-june2014Scilab-by-dr-gomez-june2014
Scilab-by-dr-gomez-june2014
 
learn matlab for ease Lec5
learn matlab for ease Lec5learn matlab for ease Lec5
learn matlab for ease Lec5
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniques
 
Summer training matlab
Summer training matlab Summer training matlab
Summer training matlab
 
Summer training matlab
Summer training matlab Summer training matlab
Summer training matlab
 
COMPARATIVE STUDY OF MATLAB AND ITS OPEN SOURCE ALTERNATIVE SCILAB
COMPARATIVE STUDY OF MATLAB AND ITS OPEN SOURCE ALTERNATIVE SCILABCOMPARATIVE STUDY OF MATLAB AND ITS OPEN SOURCE ALTERNATIVE SCILAB
COMPARATIVE STUDY OF MATLAB AND ITS OPEN SOURCE ALTERNATIVE SCILAB
 
SoftwareApplicationInTermsOFMatlabSimulation
SoftwareApplicationInTermsOFMatlabSimulationSoftwareApplicationInTermsOFMatlabSimulation
SoftwareApplicationInTermsOFMatlabSimulation
 
Introduction to l tspice iv
Introduction to l tspice ivIntroduction to l tspice iv
Introduction to l tspice iv
 

scilab

  • 1. “SCILAB (open source software for numerical computation) in Chemical Engineering” Submitted By: Guided By: Kripal Priyadarshi (11BCH026) Asst Prof. Priya Saxena
  • 2. Learning Outcome After Presentation After Presentation we would be able to understand the following topics:- • Introduction Open source softwares • Difference between Scilab and Matlab • Scilab basics and simple types of problem solving using scilab • Engineering problems solving using Scilab
  • 3. Introduction To Open source Software • Open-source software is computer software with its source code made available and licensed with a license in which the copyright holder provides the rights to study, change and distribute the software to anyone and for any purpose. • Software’s are used in designing, finance, computer simulation, mathematics, science, geographical information, nanotechnology, etc. • Some of the software’s are Scilab, Firefox, Openoffice, GIMP, FreeNX, OpenVPN, rdesktop DVDFlick, Mozilla Calendar,etc
  • 4. Introduction to Scilab Scilab is a freely distributed open source scientific software package, first developed by researchers from INRIA and ENPC, and now by the Scilab Consortium. It is similar to Matlab, which is a commercial product. Yet it is almost as powerful as Matlab. Scilab consists of three main components: an interpreter libraries of functions libraries of Fortran and C routines
  • 5. Difference between Scilab and Matlab • Functions in SCILAB are not considered as separate files • Functions in MATLAB are considered as separate files • To execute a script file you must use • exec("filename") in SCILAB • To execute a script file in MATLAB you just need to type the name of the file. • Scilab comments begins with: // • Matlab commands begin with:% • Boolean variables are %T, %F in SCILAB • Boolean variables are 0,1 in MATLAB • Polynomial matrices are defined by the function poly in SCILAB. • They are considered as vectors of coefficients in Matlab
  • 6. Installing the Scilab • First, you must have the software. Go to the download section in the Scilab homepage, find a right version for your operating system (platform), and then click to download. For easy installation, it is advisable to download the installer (for binary version). Then double click the downloaded file and follow the instructions to complete the installation
  • 7. Scilab Screen • The Scilab environment: Console and Prompt • Once the user has opened Scilab, the window shown on the right appears. • The main part is the Scilab Console, in which is contained the Prompt of commands, identified by the symbol --> • Here the user types the commands and interacts with the environment.
  • 8. Scilab Basics + Addition - Subtraction * Multiplication / Division ^ Power ' conjugate transpose Common Operators Common Functions sin cos tan asin acos atan min max Sqrt sum Special Constants %pi, %e, %i To enter a string, enclose it with either single or double quotations. Strings
  • 11. Using basic single commands
  • 14. Chemical engineering problems using Scilab Scilab can be useful in solving the chemical engineering related problems such as:- • Heat transfer • Regrettions • Fluid flow operations • Different operation such as absorption, distillation etc with graphical feautures • Designs of various equipment
  • 15. Numerical based on Fluid Flow Ouestion:-Find the Type of Flow of stream in pipe of diameter of 0.06m.
  • 16. Using Graphical Feauture • Question:-Plot a graph of dx/dt=sin2t. • • • • Scilab coding→Graph←
  • 17. Solving Equilibrium stage operation numerical • Question:-By means of a plate column, acetone is absorbed from its mixture with air in a nonvolatile absorption oil. The entering gas contains 30 mole % acetone, and the entering oil is acetone-free. Of the acetone in the air 97 % is to be absorbed, and the concentrated liquor at the bottom of the tower is to contain 10 mole % acetone. The equilibrium relationship is ye=1.9xe. Plot the operating line and determine the number of ideal stages.
  • 18. Solving Equilibrium stage operation numerical
  • 19. Solving Equilibrium stage operation numerical
  • 20. Solving Designing of cyclone separator numerical Particle size distribution 50 95 40 85 30 70 20 20 10 10 5 3 2 1 Permissible Pressure Drop,mmH20 125 Flow rate of gas,m^3/hr 2000 Density of solid particle 2500 Permissible pressure drop ? %Recovery of solid 85% Design a suitable cyclone for a given process.:
  • 23. Optimization in Scilab Scilab provides algorithms to solve constrained and unconstrained continuous and discrete problems: • Linear optimization Examples: karmaker,linpro • Non-linear optimization Examples: fminsearch, optim, derivative, leastsq • Semidefinite programming Example: semidef • Linear matrix inequalities Example: lmisolver
  • 25. REFERENCES [1] https://www.scilab.org, 8/1/2014, 19:23 [2] http://en.wikipedia.org/wiki/SCILAB, 15/1/2014, 18:27 [3] http://hkumath.hku.hk/~nkt/Scilab/IntroToScilab.html, 16/1/2014, 22:42 [4] http://www.openeering.com/scilab_tutorials, 25/1/2014, 19:56 [5] http://en.wikipedia.org/wiki/List_of_free_and_opensource_software_packages, 31/1/2014 19:27 [6]http://www-irma.ustrasbg.fr/~sonnen/SCILAB_HELP/matlabvsscilab_html.htm 31/1/2014, 19:40