Вы находитесь на странице: 1из 2

EMSO Thermodynamics Quick Reference

LastChangedDate : 2007 06 2214 : 26 : 28 0300(Sex, 22Jun2007)

Introduction
EMSO is the acronym for Environment for Modeling, Simulation, and Optimization. It is a dynamic simulator for general processes. VRTherm is a software for predition of thermodynamic and physical properties of pure compounds ans mixtures http://www.vrtech.com.br/en_us/vrtherm. This is the EMSO Thermodynamics quick reference card, for detailed documentation please consult the EMSO Users Guide. You can nd the latest version of this document, the EMSO Users Guide, and the software itself at http://www.enq.ufrgs.br/alsoc.

Equations of State
EOS Name Ideal IdealLiquid RK SRK PR APR ASRK UNIFAC Description Ideal Gas, valid only for vapour models Ideal Liquid, valid only for liquid models Redlich-Kwong Soave-Redlich-Kwong Peng-Robinson Assymetric-PR Assymetric-RK UNIFAC (Dortmund)

Plugin Conguration
First you need to congure VRTherm as a new Plugin. Click on ConfigPlugins... On the conguration dialog set the Plugin Type as PP and locate the le vrpp.dll if using Windows and libvrpp.so if using Linux. The le can be found on the VRTherm installation directory.

Methods
Pure Component Properties
Function Name NormalBoilingPoint VapourPressure CriticalTemperature CriticalPressure CriticalVolume NormalFreezingPoint MolecularWeight Description Normal Boiling Point Vapour Pressure Critical Temperature Critical Pressure Critical Volume Normal Freezing Point Molecular Weight Arguments T

In a FlowSheet
FlowSheet FlowSheetName PARAMETERS PP as Plugin(Brief="Physical Properties", Type="PP", Components = [ "isobutane", "benzene",...,"CompName"], LiquidModel = "EMSO EOS Name", VapourModel = "EMSO EOS Name" ); NComp as Integer; SET NComp = PP.NumberOfComponents; . . . end

Flash Calculation
Function Name VapourFraction Flash FlashPH Description Vapour Fraction Flash TP Flash PH Arguments T, P, z T, P, z P, h, z Returns vf rac vf rac , zl , zv vf rac , x, y

Gerson B. Bicca

http://www.enq.ufrgs.br/alsoc

EMSO Thermodynamics Quick Reference

LastChangedDate : 2007 06 2214 : 26 : 28 0300(Sex, 22Jun2007)

Mixture Properties
Function Name NumberOfComponents LiquidCpCv VapourCpCv LiquidCp VapourCp LiquidCv VapourCv LiquidCompressibilityFactor VapourCompressibilityFactor LiquidEnthalpy VapourEnthalpy LiquidEntropy VapourEntropy LiquidGibbsFreeEnergy VapourGibbsFreeEnergy LiquidVolume VapourVolume LiquidDensity VapourDensity LiquidThermalConductivity VapourThermalConductivity LiquidViscosity VapourViscosity LiquidFugacityCoecient VapourFugacityCoecient Description Number Of Components Liquid Cp/Cv Vapour Cp/Cv Liquid Cp Vapour Cp Liquid Cv Vapour Cv Liquid Compressibility Factor Vapour Compressibility Factor Liquid Enthalpy Vapour Enthalpy Liquid Entropy Vapour Entropy Liquid Gibbs Free Energy Vapour Gibbs Free Energy Liquid Volume Vapour Volume Liquid Density Vapour Density Liquid Thermal Conductivity Vapour Thermal Conductivity Liquid Viscosity Vapour Viscosity Liquid Fugacity Coecient Vapour Fugacity Coecient Arguments T, P, zl T, P, zv T, P, zl T, P, zv T, P, zl T, P, zv T, P, zl T, P, zv T, P, zl T, P, zv T, P, zl T, P, zv T, P, zl T, P, zv T, P, zl T, P, zv T, P, zl T, P, zv T, P, zl T, P, zv T, P, zl T, P, zv T, P, zl T, P, zl

In a Model
Model ModelName PARAMETERS outer PP as Plugin(Brief="Physical Properties",Type="PP"); outer NComp as Integer (Brief = "Number of chemical components"); M(NComp) as molweight (Brief="Component Mol Weight"); SET # "Molecular Weight - With no inputs and One output" M = PP.MolecularWeight(); VARIABLES P as pressure (Brief="Pressure"); as temperature (Brief="Temperature"); T z(NComp) as fraction (Brief = "Overall Molar Fraction"); x(NComp) as fraction (Brief = "Liquid Molar Fraction"); y(NComp) as fraction (Brief = "Vapour Molar Fraction"); v as fraction (Brief = "Vapour Fraction"); h as enth_mol (Brief="Molar Enthalpy"); EQUATIONS "Liquid Enthalpy - Three inputs and One output" h = PP.LiquidEnthalpy(T, P, z); "Flash Calculation - Three inputs and Three outputs" [v, x, y] = PP.Flash(T, P, z); . . . end

Gerson B. Bicca

http://www.enq.ufrgs.br/alsoc