SlideShare a Scribd company logo
1 of 26
“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

Introduction to MATLAB
Introduction to MATLABIntroduction to MATLAB
Introduction to MATLABAshish Meshram
 
Introduction to Matlab
Introduction to MatlabIntroduction to Matlab
Introduction to Matlabaman gupta
 
Advanced MATLAB Tutorial for Engineers & Scientists
Advanced MATLAB Tutorial for Engineers & ScientistsAdvanced MATLAB Tutorial for Engineers & Scientists
Advanced MATLAB Tutorial for Engineers & ScientistsRay Phan
 
Integral Calculus
Integral CalculusIntegral Calculus
Integral Calculusitutor
 
Differential calculus maxima minima
Differential calculus  maxima minimaDifferential calculus  maxima minima
Differential calculus maxima minimaSanthanam Krishnan
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlabBilawalBaloch1
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicIT Engineering Department
 
Matlab Introduction
Matlab IntroductionMatlab Introduction
Matlab Introductionideas2ignite
 
Applications of differential equations
Applications of differential equationsApplications of differential equations
Applications of differential equationsSohag Babu
 
Approximation and error
Approximation and errorApproximation and error
Approximation and errorrubenarismendi
 
Laplace Transformation & Its Application
Laplace Transformation & Its ApplicationLaplace Transformation & Its Application
Laplace Transformation & Its ApplicationChandra Kundu
 
Complex Variable & Numerical Method
Complex Variable & Numerical MethodComplex Variable & Numerical Method
Complex Variable & Numerical MethodNeel Patel
 

What's hot (20)

Introduction to MATLAB
Introduction to MATLABIntroduction to MATLAB
Introduction to MATLAB
 
Boolean algebra & logic gates
Boolean algebra & logic gatesBoolean algebra & logic gates
Boolean algebra & logic gates
 
Matlab ppt
Matlab pptMatlab ppt
Matlab ppt
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Fourier series
Fourier seriesFourier series
Fourier series
 
Introduction to Matlab
Introduction to MatlabIntroduction to Matlab
Introduction to Matlab
 
Advanced MATLAB Tutorial for Engineers & Scientists
Advanced MATLAB Tutorial for Engineers & ScientistsAdvanced MATLAB Tutorial for Engineers & Scientists
Advanced MATLAB Tutorial for Engineers & Scientists
 
scilab
scilabscilab
scilab
 
Integral Calculus
Integral CalculusIntegral Calculus
Integral Calculus
 
Differential calculus maxima minima
Differential calculus  maxima minimaDifferential calculus  maxima minima
Differential calculus maxima minima
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlab
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
Matlab Introduction
Matlab IntroductionMatlab Introduction
Matlab Introduction
 
Applications of differential equations
Applications of differential equationsApplications of differential equations
Applications of differential equations
 
Mean Value Theorems
Mean Value TheoremsMean Value Theorems
Mean Value Theorems
 
Unit i ppt (1)
Unit i   ppt (1)Unit i   ppt (1)
Unit i ppt (1)
 
Recursion
RecursionRecursion
Recursion
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
Laplace Transformation & Its Application
Laplace Transformation & Its ApplicationLaplace Transformation & Its Application
Laplace Transformation & Its Application
 
Complex Variable & Numerical Method
Complex Variable & Numerical MethodComplex Variable & Numerical Method
Complex Variable & Numerical Method
 

Similar to Scilab

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 BriefingTBSS Group
 
matlab basics and Simulink for beginners
matlab basics and Simulink for beginnersmatlab basics and Simulink for beginners
matlab basics and Simulink for beginnersA Rajendran Jps
 
Cadence SImulation
Cadence SImulationCadence SImulation
Cadence SImulationRajaSekar K
 
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
 
MATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.pptMATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.pptssuserdee4d8
 
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.pptxDeepakJangid87
 
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
 
learn matlab for ease Lec5
learn matlab for ease Lec5learn matlab for ease Lec5
learn matlab for ease Lec5Amba Research
 
Introduction_to_Matlab_lecture.pptx
Introduction_to_Matlab_lecture.pptxIntroduction_to_Matlab_lecture.pptx
Introduction_to_Matlab_lecture.pptxaboma2hawi
 
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptxLabqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptxMostafaKhaled78
 
Scilab Modelica conference 20150921
Scilab Modelica conference 20150921Scilab Modelica conference 20150921
Scilab Modelica conference 20150921Scilab
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesAngelos Kapsimanis
 
Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDE
Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDEIntroduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDE
Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDEPantech ProLabs India Pvt Ltd
 
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
 
Summer training matlab
Summer training matlab Summer training matlab
Summer training matlab Arshit Rai
 
Scilab For Beginners Research Thesis Topics
Scilab For Beginners Research Thesis TopicsScilab For Beginners Research Thesis Topics
Scilab For Beginners Research Thesis TopicsMatlab Simulation
 
Cape2013 scilab-workshop-19Oct13
Cape2013 scilab-workshop-19Oct13Cape2013 scilab-workshop-19Oct13
Cape2013 scilab-workshop-19Oct13Naren P.R.
 

Similar to Scilab (20)

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 basics and Simulink for beginners
matlab basics and Simulink for beginnersmatlab basics and Simulink for beginners
matlab basics and Simulink for beginners
 
Cadence SImulation
Cadence SImulationCadence SImulation
Cadence SImulation
 
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)
 
CFD & ANSYS FLUENT
CFD & ANSYS FLUENTCFD & ANSYS FLUENT
CFD & ANSYS FLUENT
 
MATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.pptMATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.ppt
 
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
 
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...
 
learn matlab for ease Lec5
learn matlab for ease Lec5learn matlab for ease Lec5
learn matlab for ease Lec5
 
Introduction_to_Matlab_lecture.pptx
Introduction_to_Matlab_lecture.pptxIntroduction_to_Matlab_lecture.pptx
Introduction_to_Matlab_lecture.pptx
 
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptxLabqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
Labqazwsxedcrfvtgbyhnujmqazwsxedcrfvtgbyhnujmqazwsx.pptx
 
Scilab-by-dr-gomez-june2014
Scilab-by-dr-gomez-june2014Scilab-by-dr-gomez-june2014
Scilab-by-dr-gomez-june2014
 
Scilab Modelica conference 20150921
Scilab Modelica conference 20150921Scilab Modelica conference 20150921
Scilab Modelica conference 20150921
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniques
 
Simulation lab
Simulation labSimulation lab
Simulation lab
 
Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDE
Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDEIntroduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDE
Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDE
 
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
 
Summer training matlab
Summer training matlab Summer training matlab
Summer training matlab
 
Scilab For Beginners Research Thesis Topics
Scilab For Beginners Research Thesis TopicsScilab For Beginners Research Thesis Topics
Scilab For Beginners Research Thesis Topics
 
Cape2013 scilab-workshop-19Oct13
Cape2013 scilab-workshop-19Oct13Cape2013 scilab-workshop-19Oct13
Cape2013 scilab-workshop-19Oct13
 

Recently uploaded

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Recently uploaded (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

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