1 EQE038 – Simulação e Otimização de Processos Químicos Argimiro R. Secchi – Aula 3 – Advanced modeling capabilities in the EMSO model editor. EQ/UFRJ.

Slides:



Advertisements
Similar presentations
EASY5® Gas Dynamics Library Preview 1 1.
Advertisements

Discrete Event Control
Chapter 7 Introduction to Procedures. So far, all programs written in such way that all subtasks are integrated in one single large program. There is.
Introduction Process Simulation.
First Law of Thermodynamics - Open Systems
Chapter 4 Mass and Energy Analysis of Control Volumes (Open Systems)
HVACR312 - Refrigeration Metering Devices.
WinSim Inc. Advanced Engineering Software
Step 1: Set the desired flow rate for each pipe. Step 2: Click on the stream which you wish to size the pipe. Select Sizing from the menu, then select.
Miscellaneous CHEN 4470 – Process Design Practice Dr. Mario Richard Eden Department of Chemical Engineering Auburn University Lecture No. 17 – Equipment.
Chapter 12 Gas-Liquid Equilibrium
Michael Naas, Teddy Wescott, Andrew Gluck
Chemstations, Inc – Houston, TX – – An Overview of Process Simulation What is needed? What are the steps?
Mass and Energy Analysis of Control Volumes. 2 Conservation of Energy for Control volumes The conservation of mass and the conservation of energy principles.
Process Simulation Introduction. Model, what for? A good model of the apparatus is needed for: Process simulation optimisation design apparatus design.
The Advanced Chemical Engineering Thermodynamics The retrospect of the science and the thermodynamics Q&A -1- 9/16/2005(1) Ji-Sheng Chang.
Dynamic Steady State Continuous Discrete Deterministic Stochastic.
Absorption process design Prof. Dr. Marco Mazzotti - Institut für Verfahrenstechnik.
Chapter 5 Mass and Energy Analysis of Control Volumes Study Guide in PowerPoint to accompany Thermodynamics: An Engineering Approach, 5th edition.
Joshua Condon, Richard Graver, Joseph Saah, Shekhar Shah
Example of SIMONE Network Manager Integration Plinacro project description.
Computer Assisted Process Design---HYSYS Bo Hu. Introduction HYSYS is only one process simulation program out of a number. Steady State Processes ASPEN.
THEORETICAL MODELS OF CHEMICAL PROCESSES
THERMODYNAMICS LAB Properties of Pure Substances
* Reading Assignments:
FLASH CALCULATION A flash is a single-equilibrium stage distillation in witch a feed is partially vaporized to give a vapor richer in the most volatile.
CHAPTER II PROCESS DYNAMICS AND MATHEMATICAL MODELING
1 EQE038 – Simulação e Otimização de Processos Químicos Argimiro R. Secchi – Aula 2 – Concepts of modeling and simulation. Object-oriented modeling in.
Flash Distillation Flash distillation is the simplest method of separation. A feed stream is “flashed” into a chamber or “flash drum” and the liquid and.
Process Operability Class Materials Copyright © Thomas Marlin 2013
1 Tips for solving Project 1 Reactor SO 3 SO 2 +O 2.
Thermodynamics of Phase Change from Liquid to Vapor Description of most bountiful State of Matter ….. P M V Subbarao Professor Mechanical Engineering.
SURFACE PRODUCTION OPERATIONS - INTRODUCTION TO SURFACE PROCESSING2 min - THERMODYNAMIC PHASE EQUILIBRIUM5 min - UNIT OPERATIONS8 min - FLOW OPTIMISATION5.
CHAPTER 5: Mass and Energy Analysis of Control Volumes
1 Self-Optimizing Control HDA case study S. Skogestad, May 2006 Thanks to Antonio Araújo.
© 2015 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 31.
Physical and chemical equilibrium of CO2-Water-Mineral system using Aspen Plus process simulator Technical University of Delft Ali Akbar Eftekhari Hans.
Solving a System of Equations by SUBSTITUTION. GOAL: I want to find what x equals, and what y equals. Using substitution, I can say that x = __ and y.
Chapter 4: Applications of the First Law Different types of work: Configuration work: (reversible process) Dissipative work: (irreversible process) Adiabatic.
Chapter 7 Energy and Energy Balance By : Mrs. Norazian Mohamed Noor
Physical Property Modeling from Equations of State David Schaich Hope College REU 2003 Evaluation of Series Coefficients for the Peng-Robinson Equation.
Chapter 8: The Thermodynamics of Multicomponent Mixtures
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 30.
Chapter 2 Modeling Approaches  Physical/chemical (fundamental, global) Model structure by theoretical analysis  Material/energy balances  Heat, mass,
Done by: Esraá Hajjeyah Supervised by: Prof. M.Fahim Eng. Yusuf Ismail.
1 Second Law of Thermodynamics - Entropy. 2 Introduction The second low often leads to expressions that involve inequalities.
PETE 310 Lecture # 26 Chapter 12 Gas-Liquid Equilibrium Non-ideal VLE.
TRANSFER FUNCTION Prepared by Mrs. AZDUWIN KHASRI.
September, Modeling of LHP Temperature Control in EcosimPro F.Romera, R.Pérez, C.Gregori, E.Turrion, D.Mishkinis, A. Torres.
VLE using EOS in Aspen Plus® v8.8
CFD Simulation & Consulting Services Hi-Tech CFD | Voice: Optimizing Designs of Industrial Pipes, Ducts and.
CHEMCAD Process Safety Emergency Relief John Edwards, P&I Design Ltd
Dynamic modelling of a Hex with phase change
CHEM-2002 SIMULATION LAB SHEET-2 Example-1 Ammonia Recovery
Chapter 6 Energy and Energy Balance
ES 211: Thermodynamics Tutorial 5 & 6
Aspen Separation Unit Operations
Chapter 5 The First Law of Thermodynamics for Opened Systems
Lecture 49 More on Phase Transition, binary system
Chapter 5 Mass and Energy Analysis of Control Volumes Study Guide in PowerPoint to accompany Thermodynamics: An Engineering Approach, 6th edition.
Introduction to Aspen Plus
Mass and Energy Analysis of Control Volumes (Open Systems)
Tier 2 Use of computer as a simulation tool.
Aspen Reactors Amanda Hamilton, Jonathan Kalman, Harrison Kraus, Jenny Lam, Sophie Levy, Jacob Salem.
Process Operability Class Materials Copyright © Thomas Marlin 2013
Lecture # 26 Chapter 12 Gas-Liquid Equilibrium Non-ideal VLE
Modeling Approaches Chapter 2 Physical/chemical (fundamental, global)
Flash Distillation Flash distillation is the simplest method of separation. A feed stream is “flashed” into a chamber or “flash drum” and the liquid and.
Asst. Prof. Dr. Hayder Mohammad Jaffal
ADVANCED THERMODYNAMICS 8th semester
Presentation transcript:

1 EQE038 – Simulação e Otimização de Processos Químicos Argimiro R. Secchi – Aula 3 – Advanced modeling capabilities in the EMSO model editor. EQ/UFRJ 29 de agosto de 2014

2 Plug-ins – External Routines Termodynamics – VRTherm EML – Streams IF-THEN-ELSE Switching models (switcher) FOR Other features in the modeling language

3 Using External Routines - Plugins EMSO is a simulator based on equations and its modeling language allows to directly express the equation of the equipment. However, there are some cases that the description directly in the form of equations is not convenient, typical examples include: Some parameters of the model require initialization procedures (routines); The mathematical relationships require a high number of data; The user already has its own routine calculations; EMSO solution: plug-in system that allows any routine written in C, C++ or FORTRAN to be used within the models. The plug-in interface is open, anyone can implement a new plug-in.

4 Using the Plugins Plugin: To use an external procedure in the models the user needs to declare a special parameter called Plugin: Once the Plugin has been declared, the user can call its methods using the notation: Before running a simulation, EMSO will check: If all methods used in the models were properly implemented in the plugin. If the number of arguments and the units of measure are correct. Variable = Plugin.method(args)

5 Rankine cycle: thermodynamic properties in FORTRAN 90 Example: Routine calculations developed by the user: Plugin propterm.dll Using the Plugins

6 Applying in a thermoelectric power plant File: sample/water_steam/sample_power_plant.mso Using the Plugins

7 VRTherm – Methods Main Thermodynamic Models Flash Calculation Pure component Properties

8 Properties of mixtures VRTherm – Methods

9 The development of a basic material stream is the starting point for a library of models. In order to made compatible with each other, the models created ​​ by many different people need to be directly connected. That is, it should be possible the output calculated by a model be connected to the input of another model. For this goal to be reached, all models should use standard streams, which enable integration of different models featuring a library. Standard EML Streams

10 Inletstream Inlet material streams should be of type stream Outlet Outlet material streams should be of type: liquid_stream: liquid_stream: liquid phase vapour_stream: vapour_stream: vapor phase streamPH: streamPH: when the vaporized fraction of the stream is unknown. It made ​​ a flash calculation to determine the thermodynamic state of this stream. Using EML Streams

11 Example – Flash Model Models/flash.mso

12 Flash Steady – Simulation Example: run the flowsheet of the file sample_flashPH.mso. The original problem is an adiabatic flash. Consider also the results specifying the pairs (T, P) and (T, Q) instead of (P, Q). Test the problem of calculating the feed temperature or feed pressure specifying T, P and Q.

13 Distributed Models – Heat Exchanger A heat exchanger may be represented by a system formed by two ducts. Description of the duct Models/HeatExchanger.mso

14 Heat Exchanger – Duct Modeling

15 Aggregation in the heat exchanger Heat Exchanger Modeling

16 Using IF THEN ELSE END Heat Exchanger Modeling

17 Heat Exchanger – Distributed Model

18 Heat Exchanger – Distributed Model

19 Example: run the flowsheets HeatX and HeatX_Discretized in the file Sample_HeatExchanger.mso. Compare the temperature of the output stream. Export the results of the discrete to Excel or LibreOffice building the temperature profiles of the heat exchanger: Heat Exchanger – Simulation

20 Switcher – textual parameters

21 Decisions independent of the user's choice Switcher – textual parameters

22 Distributed Models– pipe model

23 FOR command Vectors Matrices Distributed Models– pipe model

24 Exercise 1) Build a model of a pressure pan with a relief valve (with constant equal to 0.07 cm 2 ) which opens when the pressure is greater than 5 times atmospheric pressure, and closes when less than four times this pressure. Consider a 5 L pan with 20 cm in diameter containing only water with an initial level of 10 cm and a temperature of 25 °C. The heating is done at a rate of 10 kW. Simulate the pan for 10 minutes. Consider the phases in thermodynamic equilibrium model and use the Peng-Robinson model.

25 For helping in the preparation of this material Special thanks to For supporting the ALSOC Project. Prof. Rafael de Pelegrini Soares, D.Sc. Eng. Gerson Balbueno Bicca, M.Sc. Eng. Euclides Almeida Neto, D.Sc. Eng. Eduardo Moreira de Lemos, D.Sc. Eng. Marco Antônio Müller

26... thank you for your attention! Process Modeling, Simulation and Control Lab Prof. Argimiro Resende Secchi, D.Sc.Prof. Argimiro Resende Secchi, D.Sc. Phone: Phone: EP 2013 Solutions for Process Control and Optimization Solutions for Process Control and Optimization