Professional Documents
Culture Documents
Translation of Models
Invensys – SimSci-Esscor
5760 Fleet Street, Ste. 100,
Carlsbad, CA 92008
2005
Copyright Notice
Copyright © 2000 - 2005 by SimSci-Esscor.
No part of this document may be copied without the express written permission of SimSci-
Esscor, 5760 Fleet Street, Ste. 100, Carlsbad, CA 92008.
Table of Contents
Introduction and Overview on Translators..................................1
Process Representations ................................................................................ 1
A Two-Stage Translation ................................................................................. 2
Rules for Equipment Additions ........................................................................ 3
Supported Equipment Models and Thermodynamics................5
Unit Operations................................................................................................ 5
Thermodynamics Options................................................................................ 5
Translation Reports ......................................................................................... 6
Application Briefs..........................................................................7
HYSYS™ – PRO/II .......................................................................................... 7
HYSYS™ - ROMeo ......................................................................................... 8
HYSYS™ - Dynsim.......................................................................................... 8
Unit Translations .........................................................................10
Air Cooler....................................................................................................... 10
Column .......................................................................................................... 12
Compressor ................................................................................................... 28
Continuous Strirred Tank Reactor................................................................. 40
Conversion Reactor....................................................................................... 45
Equilibrium Reactor ....................................................................................... 51
Expander ....................................................................................................... 57
Fired Heater................................................................................................... 65
Flash .............................................................................................................. 69
Gibbs Reactor................................................................................................ 78
LNG Exchanger ............................................................................................. 82
Mixer .............................................................................................................. 84
Pipe................................................................................................................ 89
Plug Flow Reactor ......................................................................................... 99
Pump ........................................................................................................... 104
Reset ........................................................................................................... 111
Reaction Set ................................................................................................ 116
Rigorous Heat Exchanger ........................................................................... 122
Shortcut Column.......................................................................................... 137
Simple Heat Exchanger............................................................................... 140
Spec, Vary and Define................................................................................. 153
Splitter.......................................................................................................... 160
Stream ......................................................................................................... 165
Stream Calculator........................................................................................ 169
Valve............................................................................................................ 171
Validation ...................................................................................178
Feed Validation............................................................................................ 178
Product Validation ....................................................................................... 178
Global Validation - Dynsim ......................................................................... 178
Pressure Imbalance..................................................................................... 179
SIM4ME i
This page is intentionally left blank.
Translation of PRO/II Models
A design engineer would create a PRO/II model and the resulting flow sheet would appear as:
For design purposes, the engineer is primarily interested in any phase-split through the valve and
the size of the valve for a specified design flow rate.
Now consider the analogous flow sheet within Dynsim, perhaps generated by a control engineer:
The heart of this flow sheet is still the same valve, but in this flow sheet, Source & Sink
equipment representing the process battery limits are explicitly represented because their state
SIM4ME 1
Translation of PRO/II Models
determines the flow rates during a dynamic simulation. Recall that in dynamic simulation, all
flows are calculated from varying pressures and reverse flow is possible. In addition, since the
flow rate is no longer a specified quantity, but a dynamically calculated one, a control scheme
may be required to drive the process toward a desired flow rate via a set point.
Now consider the same PRO/II flowsheet within ROMeo. Notice that additional instruments like
flow meter, temperature probe have been added. These instruments represent the actual field data
and are useful in conducting online optimization or performance monitoring.
A Two-Stage Translation
At this point, it should be possible to ascertain why SimSci-Esscor supports these different views
of the same process. A need was seen to arrive at a program where the user can use the same
simulation and perform different studies. Thus, the Translator provides interoperability between
programs and gives the user more functionality and flexibility than the programs working
independently.
To help clarify this, lets consider the following PRO/II flow sheet of a multi-feed valve:
In its sustained efforts to be very user friendly, PRO/II allows the user to take many short cuts
when constructing a flow sheet. For instance, in reality, streams don’t just originate or terminate
into thin air. They are connected to a feed or product tank or another process. Similarly, you will
never see a multiple streams (i.e., pipes) directly flowing into a valve; they will need to be
initially mixed in some sort of mixer, header or tank. Thus, the representation of this process in
the “Common Data Model” will be:
SIM4ME 2
Translation of PRO/II Models
To arrive at the minimal physical representation, the model was altered from four streams and
one-piece equipment to five streams and six pieces of equipment. This configuration will allow
for a more realistic translation into other flow sheet styles, be it Dynsim or ROMeo.
The second step of the translation is to move from the “Common Data Model” representation to
an actual Dynsim or ROMeo flow sheet. Here, additional equipment may be introduced to satisfy
the requirements of this software.
Dynsim employs a pressure/flow solver which mandates that all pressure node devices (tanks,
separators, sources, sinks) be separated by flow devices (valves, pipes) relative to process stream
connectivity. Thus, three additional valves were introduced to satisfy this software specific
requirement. In the end, a single valve model in PRO/II yielded a Dynsim flow sheet with nine
pieces of equipment.
SimSci-Esscor addresses translation from PRO/II to Dynsim and PRO/II to ROMeo for
now.
It should be clear from the preceding example, that a set of simple rules is employed when
translating a flow sheet from PRO/II to the “Common Data Model” and subsequently to Dynsim.
These can be summarized as follows:
SIM4ME 3
Translation of PRO/II Models
Comprehending these rules should eliminate any ambiguity resulting from the added complexity
of your dynamic flow sheet.
SIM4ME 4
Translation of PRO/II Models
The functionalities applicable to PRO/II, Dynsim, and ROMeo environments, which were
considered during this integration, are detailed below.
The initial model will involve retrieving data from a PRO/II database having a limited set of unit
operations (i.e., stream, valve, etc) mapping it into a set of Dynsim or ROMeo equipment models
(i.e., source, stream, valve, sink, etc) and saving it in a relevant Dynsim or ROMeo database.
Mapping will be accomplished using the quickest possible implementation and using only a
minimal supporting framework.
Unit Operations
Thermodynamics Options
Accurate modeling relies on a strong foundation of thermo physical property prediction. Specific
thermodynamics methods that have been utilized during this integration are as follows:
• Henry’s Law /EOS
• Density Methods: Rackett & Costald
• Packages: Glycol, Amine & Alcohol
• UOM conversions by UOM server
• Library Manager
For a HYSYS™ to PRO/II translation, the thermodynamic options are listed in the Quick
Reference Guide.
SIM4ME 5
Translation of PRO/II Models
Translation Reports
The presentation of data in a consistent format is critical. All status messages are routed to the
Dynsim message monitor.
Tables, Reports and Trends will be in their inherent format as in Dynsim environment. However,
it is to be noted that certain reporting functionality available in PRO/II may not be available in
Dynsim.
SIM4ME 6
Translation of PRO/II Models
Application Briefs
This HYSYS™ Application briefs (*.xml) provided with PRO/II illustrate the use of Translator to
solve a wide range of typical industrial problems. The set of application briefs provide a
reference to various HYSYS™ scenarios, their corresponding translations in PRO/II, Dynsim,
ROMeo and what the typical results might be.
The Application briefs are divided into industry segements and are classified as: Gas Processing,
Refining and Petrochemical. The list of supported Application briefs are located in
\\SIMSCI\Proii71\User\Applib of your installed program.
HYSYS™ – PRO/II
Gas Processing
1. Deethanizer – Separation of ethane and lighter components from light hydrocarbon gas
stream.
4. Expander plant – Separation of methane and lighter components from production gas.
5. Assay debutanizer – Separation of methane and higher gases from hydrocarbon stream.
Refining
Petrochemical
SIM4ME 7
Translation of PRO/II Models
HYSYS™ - ROMeo
Gas Processing
1. Deethanizer – Separation of ethane and lighter components from light hydrocarbon gas
stream.
4. Expander plant – Separation of methane and lighter components from production gas.
5. Assay debutanizer – Separation of methane and higher gases from hydrocarbon stream.
Refining
1. Stabilizer – Wild naphtha stream stabilization column (Set vapor enthalpy method to
Redlich - Kwong).
Petrochemical
HYSYS™ - Dynsim
For files containing Column, set Hydraulic properties in PRO/II for proper sizing of Column in
Dynsim and stable steady state.
You may have to check whether the PRO/II flowsheet adheres to the Dynsim flow-pressure
solver rules in order to get a stable steady state in Dynsim.
Gas Processing
1. Deethanizer – Separation of ethane and lighter components from light hydrocarbon gas
stream.
4. Expander plant – Separation of methane and lighter components from production gas.
5. Assay debutanizer – Separation of methane and higher gases from hydrocarbon stream.
SIM4ME 8
Translation of PRO/II Models
Refining
1. Crude oil distillation – Atmospheric distillation of crude oil (Set vapor enthalpy method
to Redlich - Kwong).
2. Stabilizer – Wild naphtha stream stabilization column (Set vapor enthalpy method to
Redlich - Kwong).
Petrochemical
SIM4ME 9
Translation of PRO/II Models
Unit Translations
The SIM4ME Translator is the infrastructure used to convert simulation data files from one
simulation engine to another. The first version supports conversion from PRO/II to Dynsim, the
second version PRO/II to ROMeo and the third version from HYSYS™ to PRO/II.
Air Cooler
This section describes the scope and various scenarios of a HYSYS™ Air Cooler translation to a
PRO/II Utility Excahnger.
PRO/II Utility Exchanger is a single sided heat exchanger with utility being defined on the other
side. Air can be mapped as utility fluid on the cold side while the process fluid is mapped on the
hot side.
Parameters
HYSYS™ Air Cooler unit operation uses an ideal “inbuilt” air mixture as a heat transfer medium
to cool an inlet process stream to a required exit stream condition. One or more fans circulate the
air through bundles of tubes to cool process fluids. The airflow rate can be specified or calculated
from the fan rating information. The Air Cooler can solve for sets of specification including:
• Overall heat transfer coefficient, UA
• Total air flow
SIM4ME 10
Translation of PRO/II Models
SIM4ME 11
Translation of PRO/II Models
Column
The PRO/II Column supports various features. Please refer to the PRO/II Reference
manual for details.
Parameters
The parameters that are used in the translation are from different PRO/II classes, namely Column,
“ColumnIn” and “TraySizRat”. The parameters from the “Column” class alone are not sufficient
for the translation. Therefore, we use parameters from the other classes too. The UOM for the
parameters are based on the P2Internal UOM Slate.
SIM4ME 12
Translation of PRO/II Models
SIM4ME 13
Translation of PRO/II Models
ColumnIn Parameters
Parameter UOM Description
FeedData Feed stream IDs
FeedTrays Feed tray numbers
ProductData Product stream IDs
ProdTrays Product tray numbers
ProdType Product types
Flag to determine whether or not multiple thermo
ColMultThermoFlag
methods are used
ColThermoMethod Column thermo method
TrayThermoMethod Tray thermo methods
TFlowStreamIDs Total flow pseudo-product stream ids
PmpArTFlowStreamIDs Pump-around pseudo stream ids
TraySizRat Parameters
Parameter UOM Description
NumOfTraySizingSects Number of sizing sections
NumOfTrayRatingSects Number of rating sections
Tray sizing: pressure drop scaling value for
SizingPressDropScal
calculation time
SizingFirstTray Tray sizing: first tray in section
SizingLastTray Tray sizing: last tray in section
SizingTrayType Tray sizing: tray type
DumSR12 m Tray sizing: tray diameter
SizingTraySpacing m Tray sizing: tray spacing
Tray rating: pressure drop scaling value for
RatingPressDropScal
calculation time
RatingFirstTray Tray rating: first tray in section
RatingLastTray Tray rating: last tray in section
RatingTrayType Tray rating: tray type
RatingTrayDiameter m Tray rating: tray diameter
RatingTraySpacing m Tray rating: tray spacing
RatingWeirHeight m Tray rating: weir height
DumSR17 kPa Tray pressure drop
DumSR07 Tray sizing: number of passes
RatingNumberOfPasses Tray rating: number of passes
DumSR08 Tray sizing: number of valves or caps
DummyI27 Tray rating: number of valves or caps
SIM4ME 14
Translation of PRO/II Models
The PRO/II column translates into various models in Dynsim. Depending on the feature being
exercised in PRO/II, in addition to the Column, other models such as the Utility-Exchanger,
Pump, Drum, Separator, Source, Stream and Pipe may also used. Please refer to the Dynsim
Base Equipment Reference Manual for details on their usage.
Parameters
This section lists the Dynsim parameters that are set by the translator for the Column and
Separator models. Please refer to the appropriate functional specification documents for the
parameter lists of the other models. The UOM for the parameters are based on the DSInternal
UOM Slate.
SIM4ME 15
Translation of PRO/II Models
Separator
Parameter UOM Description
ORIENTATION Separator orientation
OFEEDSTREAM Feed streams
OPRODSTREAM Product streams
LI m Height of inlet port
LX m Height of outlet port
LEN m Vessel length
DIA m Vessel diameter
KVRECYCLE 1/sec Vapor Recycle tuning constant
KLRECYCLE 1/sec Liquid Recycle tuning constant
COMPSLATE Component slate
METHODSLATE Method slate
INTERNALPHASES Phases for internal flash
FEEDSTREAMSIDE Side assignment for Feed streams (weir
present)
PRODSTREAMSIDE Side assignment for Liquid-port streams
(weir present)
HEIGHTWEIR m Weir Height
DISTWEIR m Weir Length
Tray
Parameter UOM Description
P kPa Pressure
UT kJ Total internal energy state
TM K Metal temperature
FV kg-mol/sec Vapor product mole flow rate
MWV Mole Weight Vapor product molecular weight
RV kg-mol/m3 Vapor product mole density
QIMP kJ/sec Imposed heat to fluid
SIM4ME 16
Translation of PRO/II Models
Separator
Parameter UOM Description
QIMPL kJ/sec Imposed heat to liquid
P kPa Pressure
TM K Metal temperature
MV kg-mol Total vapor holdup composition state
ML kg-mol Total liquid holdup composition state
UTV kJ Total vapor holdup internal energy state
UTL kJ Total liquid holdup internal energy state
MLR kg-mol Total liquid holdup composition state (right
side of weir)
UTLR kJ Total liquid holdup internal energy state
(right side of weir)
QIMPLR kJ/sec Imposed heat to liquid (right side of weir)
Please refer to the ROMeo Reference Manual for details on the ROMeo Column model.
Parameters
This section lists the ROMeo parameters that are set by the translator for the Column. The
ROMeo Column model aggregates one or more “TrayedSection” models. The translated column
will contain one TrayedSection model named “TrSct_1” or “PckSct_1.” The UOM for the
parameters are based on the RMInternal UOM Slate.
SIM4ME 17
Translation of PRO/II Models
TrayedSection
Parameter UOM Description
SectionType Section configuration
InitialNumOfTrays Number of trays
FeedTray[Trays, Feed] Tray location of feed
DrawTray[Trays, Draws] Tray location of product
DrawPhase[Draws] Phase of the draw/product stream
ProdStreamSpecOption[Draws] Specification on the draw/product
stream
~TrayL2Present[Trays] Liquid2 presence flag.
v_BtmEquipPres kPa Bottom pressure of trayed section
v_NetVap[Stages] kg-mol/sec Net vapor rate leaving stage
v_NetLiq1[Stages] kg-mol/sec Net liquid1 rate leaving stage
v_NetLiq2[Stages] kg-mol/sec Net liquid2 rate leaving stage
v_TotVap[Stages] kg-mol/sec Total vapor rate leaving stage
v_TotLiq1[Stages] kg-mol/sec Total liquid1 rate leaving stage
v_TotLiq2[Stages] kg-mol/sec Total liquid2 rate leaving stage
v_StagePres[Stages] kPa Stage pressure
v_StageTemp[Stages] K Stage temperature
v_TrayPres[Trays] kPa Tray pressure
v_TrayTemp[Trays] K Tray temperature
v_DeltaPresPerTray[Trays] kPa Delta pressure per tray
v_HeatLeak[Stages] kJ/sec Stage heat leaks
PIntrp.v_DeltaPresPerStage[Stages] kPa Pressure interpolation model – Delta
pressure per stage
TIntrp.v_DeltaTempPerStage[Stages] K Temperature interpolation model -
Delta temperature per stage
TIntrp.v_DeltaTempPerTray[Trays] K Temperature interpolation model -
Delta temperature per tray
Vap[Stages].v_MoleFrac[Comps] fraction Stage vapor composition
Liq1[Stages].v_MoleFrac[Comps] fraction Stage liquid1 composition
Liq1[Stages].v_SumMoleFrac fraction Stage liquid1 sum of mole fractions
Liq2[Stages].v_MoleFrac[Comps] fraction Stage liquid2 composition
Liq2[Stages].v_SumMoleFrac fraction Stage liquid2 sum of mole fractions
~SelectedEffModelType Tray efficiency type
DefaultEfficiency Default tray efficiency
~SplitMapSection Tray numbers of the last trays of tray
efficiency mapsections
v_MapSectionEfficiency[MapSections] Mapsection efficiencies
SIM4ME 18
Translation of PRO/II Models
HYSYS™ supports several prebuilt column configurations. The basic column templates are
Absorber, Liquid-Liquid Extractor, Reboiled Absorber, Refluxed Absorber, Distillation and
Three Phase Distillation. These templates are subflowsheets (collections of units) that contain
different combinations of Tray Section, Condenser and Reboiler units. For example, the Absorber
contains only the Tray Section while the Distillation column contains a reboiler and condenser in
addition to the Tray Section. Please refer to the Hysys Reference Manual for more details on the
Column model.
Besides the Tray Section, Condenser and Reboiler, the column subflowsheet can contain other
units such as Heater, Cooler, Separator, Pump, Valve, etc. The units in the column subflowsheet
are mapped as separate units.
Parameters
This section lists the HYSYS™ parameters that are accessed by the translator for the Column
specific models. The UOM for the parameters are based on the HYSYS™ internal units.
Since the column is a special type of subflowsheet, some of the data on the column (like
TrayPresssures, TrayNetLiquidRates, TrayNetVaporRates, Column Specifications,
PumpArounds, etc) is saved in column subflowsheet objects such as as AbsorberObject,
DistillationObject, etc. We refer to these column subflowsheet objects as ColumnSubFS objects.
These ColumnSubFS objects are different from the regular subflowsheet objects, which serve as a
container for the objects within.
ColumnSubFS Parameters
SIM4ME 19
Translation of PRO/II Models
SIM4ME 20
Translation of PRO/II Models
SIM4ME 21
Translation of PRO/II Models
SIM4ME 22
Translation of PRO/II Models
SIM4ME 23
Translation of PRO/II Models
SIM4ME 24
Translation of PRO/II Models
Condenser Parameters
Column Parameter UOM Description
FeedStreams ALIAS
FeedStream.x_Stream.TaggedN
ame Feed Steam to Condenser
VapourProduct ALIAS
Vapor Product Stream
VapourProduct.TaggedName
LiquidProduct ALIAS
Liquid Product Stream
LiquidProduct.TaggedName
EnergyStream ALIAS
Duty stream to Condenser
EnergyStream.TaggedName
RefluxStream ALIAS
Condenser to Column Reflux Stream
RefluxStream.TaggedName
HeavyLiquidProduct ALIAS
HeavyLiquidProduct.TaggedNa Heavy (L2) Product Stream for 3 Phase Condenser
me
DeltaP KPa Condenser DP
Reboiler Parameters
Column Parameter UOM Description
FeedStreams ALIAS
FeedStream.x_Stream.TaggedN
ame Feed Steam to Condenser
VapourProduct ALIAS
Vapor Product Stream
VapourProduct.TaggedName
LiquidProduct ALIAS
Liquid Product Stream
LiquidProduct.TaggedName
EnergyStream ALIAS
Duty stream to Condenser
EnergyStream.TaggedName
DeltaP KPa Reboiler DP
Units of Measure
The UOM for the parameters are based on the P2Internal UOM Slate.
Parameters
SIM4ME 25
Translation of PRO/II Models
SIM4ME 26
Translation of PRO/II Models
SIM4ME 27
Translation of PRO/II Models
Compressor
This document describes the scope and various scenarios of the PRO/II Compressor translation.
The compressor unit simulates a single stage isentropic compression. An optional after-cooler is
attached to the outlet stream to cool the products to the desired temperature.
Calculation Method
The operating specifications for a compressor unit include one of the pressure, work or head
specifications, and the compressor efficiency or outlet temperature. A specific value can be
entered for these parameters or a performance curve can be supplied.
PRO/II performs compressor calculations by simulating the Mollier diagram. The point
corresponding to the inlet condition is determined by calculating the enthalpy and entropy at the
inlet pressure and temperature. A constant entropy path is then followed until the outlet pressure
is reached. The adiabatic work is determined by the enthalpy difference between the initial and
final conditions. If the adiabatic efficiency is not 100%, the actual enthalpy change is computed
by dividing the adiabatic enthalpy change with the adiabatic efficiency.
PRO/II also calculates other parameters including the isentropic and polytrophic coefficients,
polytrophic efficiency, and polytrophic work, using one of the two Compressor Calculation
Methods. The default calculation method is the ASME Power Test Code 10 method, which can
be changed to the GPSA Engineering Data Book method if desired. If the polytrophic efficiency
is supplied, the adiabatic efficiency is back calculated using these methods to determine the actual
work.
The compressor unit supports both VLE and VLLE methods to determine the individual phase
compositions. See VLE Model and VLLE Model for more details.
The compressor unit can have any number of feed streams. The inlet pressure is taken to be the
lowest pressure of all the feed streams.
The compressor unit can have up to four product streams with different phases in each stream.
The possible product phases are vapor, liquid, decanted water / second liquid phase, a mixture of
vapor and liquid, and solids. If there are multiple product streams leaving the compressor unit,
the phase condition for each stream must be specified.
SIM4ME 28
Translation of PRO/II Models
Parameters
SIM4ME 29
Translation of PRO/II Models
ProductStoreData
SIM4ME 30
Translation of PRO/II Models
The Compressor is a flow device that is used to model a centrifugal Compressor. The
Compressor calculates the available head based on the pressure differential across it. The
volumetric flow rate is interpolated from the user provided performance curve based on the
calculated head. Power is calculated from the user provided efficiency curve. Reverse flow
through a Compressor is allowed.
The Compressor performance is characterized by a Cubic-spline or Linear curve fit and may be
specified by either entering three or more points from the manufacturer characteristic curve (head
vs. volumetric flow) or entering one design point (head and volumetric flow). The parameters
DHScale and QScale are used to scale the compressor performance. The fan laws scale the
compressor curve with speed. The curve is also modified with change in inlet guide vane
position.
The Compressor calculates the shaft work, fluid flow, and fluid enthalpy rise. The speed is
calculated from a shaft or motor and transferred to the compressor by a mechanical stream. The
Compressor sets the power required in the mechanical stream. Alternatively, speed can be fixed.
Header is used for mixing up all streams and sending a single merged feed to Flow Device.
Drum is used for the phase separation and streams are connected to various ports based on the
product phase specifications.
SIM4ME 31
Translation of PRO/II Models
Parameters
Parameters to States.dat
Parameter UOM Description
DH m Head
ETA fraction Efficiency
FLASH.H kJ/kg-mol Enthalpy
FLASH.P KPa Pressure
FLASH.T K Temperature
FLASH.VF fraction Vapor Fraction
FLASH.LF1 fraction Liquid Fraction 1
FLASH.LF2 fraction Liquid Fraction 2
FLASH.R kg-mol/m3 Molar Density
FLASH.MW Molecular Weight
FX kg-mol/sec Molar flow
POWER KW Power
3
Q m /sec Volumetric flow
SPEED rpm Compressor speed
FLASH.Z [0]...FLASH.Z
fraction Composition
[i]
The Compressor unit models a single-stage isentropic compression with a single feed and a single
product stream.
The operating specifications for a Compressor unit include pressure, work or head specifications
and the compressor efficiency. The user can supply a specific value for these parameters or a
performance curve.
An optional aftercooler can be connected to the outlet stream to cool the product stream to the
desired temperature. Other parameters, including the isentropic and polytropic coefficients,
polytropic efficiency and polytropic work are calculated using the ASME Power Test Code 10
compressor calculation method.
SIM4ME 32
Translation of PRO/II Models
When there is more than one feed stream attached to PRO/II compressor, Mixer is added. Mixer
is used for mixing up all streams and sending a single merged feed to Compressor.
When there is more than on outlet stream from PRO/II compressor, Flash is added. Flash is used
for the phase separation and streams are connected to various ports based on the product phase
specifications.
SIM4ME 33
Translation of PRO/II Models
The Compressor operation is used to increase pressure of an inlet gas stream with relatively high
capacities and low compression ratios. Compressor calculates a stream property or the
compression efficiency.
Parameters
SIM4ME 34
Translation of PRO/II Models
Parameters
SIM4ME 35
Translation of PRO/II Models
SIM4ME 36
Translation of PRO/II Models
SIM4ME 37
Translation of PRO/II Models
Compressor exit stream parameters, which are configured after the cooler is configured in PRO/II
Compressor. These parameters are set to the stream connecting the compressor to the after cooler
utility exchanger, which is feed to the aftercooler.
There is no derived parameter calculation for translation from TL to Dynsim layer mapping.
Corrected volume
VolFlow Feed
CorrectedVolume.L =
(RefSpeedRatio.L) FanE.
ASME Factor
SIM4ME 38
Translation of PRO/II Models
(IsentropicCoef - 1)
IsenC =
IsentropicCoef
IsentropicWork ⋅ IsenC
ASMEFactor =
Pressure Feed ⋅ VolFlow Feed ⋅ (PressureRatio IsenC - 1)
Polytropic Coefficient
Log(Pressu reRatio)
Polytropic Coef =
VolFlow Feed
Log( )
VolFlow Prod
(Polytropi cCoef - 1.0)
PolyC =
Polytropic Coef
SIM4ME 39
Translation of PRO/II Models
This topic describes the scope and various scenarios of the PRO/II and HYSYS™ Continuous
Strirred Tank Reactor (CSTR) translation. ROMeo and Dynsim do not currently support CSTR
reactors.
Currently only the basic modes of operation are handled by the translation. Complex modes, such
as catalyst data and overriding to the Reaction data section are currently not translated.
The CSTR module simulates a continuously fed, stirred tank reactor. It assumes that the stirring
results in perfect mixing. The module may operate in adiabatic mode with or without heat duty
specified, or in isothermal mode either at a specified temperature or at the feed temperature, or
under constant volume for the boiling pot model.
Normally, the reaction stoichiometry, heat of reaction data and reaction kinetics are taken from a
reaction set in the Reaction Data Section.
Parameters
SIM4ME 40
Translation of PRO/II Models
SIM4ME 41
Translation of PRO/II Models
Parameters
SIM4ME 42
Translation of PRO/II Models
Dummy Parameters
The following dummy parameters are included in the configuration file for convenience but are
not filled in from the HYSYS XML file.
Parameters
SIM4ME 43
Translation of PRO/II Models
SIM4ME 44
Translation of PRO/II Models
Conversion Reactor
This document describes the scope and various scenarios of the PRO/II to ROMeo Conversion
Reactor translation and HYSYS ™ to PRO/II translation. Currently, Dynsim does not support
conversion reactors.
The Conversion Reactor simulates a chemical reactor by solving the heat and material balances
based on supplied reaction stoichiometry and fractional conversion. There is no limit to the
number of simultaneous reactions, which may be modeled.
The fractional conversion of a specified base component is defined for each reaction. The
corresponding changes in the amounts of the other components in the reaction are determined
from the stoichiometry. The conversion of the base component may be expressed as a function of
temperature by entering the coefficients for the equation:
The reaction stoichiometry and any heat of reaction data must be entered into a reaction set in the
Reaction Data Sets Window before the reactor performance can be specified. These data cannot
be defined or modified in the reactor unit.
By default, the reactor operates at the feed temperature. Alternatively, user can specify:
Parameters
Conversion Reactor
UOM Description
Parameter
The number of feed streams currently attached
CurrentFeeds
to the unit
The number of product streams currently
CurrentProducts
attached to the unit
The stream ID of the merged product stream.
This is an internal product stream that is used to
MergedProduct
set the Temperature, Pressure, enthalpy and
composition of all product streams
A vector containing the IDs of all of the feed
streams. FeedData does not contain specific data
such as the temperature, pressure, or
FeedData
composition of the individual streams, only the
ID of the stream. In PRO/II the ID can be used
to retrieve the stream data block which contains
SIM4ME 45
Translation of PRO/II Models
Conversion Reactor
UOM Description
Parameter
a complete description of the stream
A vector containing the IDs of all of the product
ProductData
streams. See FeedData
OutPresCalc KPa Reactor Outlet Pressure
OutTempCalc K Reactor Outlet Temperature
ReactorDutyCalc KJ/sec Reactor Duty
ReactorPresDropCalc KPa Reactor Pressure Drop
CalcConversions Conversion Calculation
ConvCoeff Conversion Coefficients ( A, B and C)
ConvCoeffB Conversion Coefficients B
ConvCoeffC Conversion Coefficients C
HeatsOfReaction KJ/Kg-mol Heat of Reaction
StoiCoefIn Stoichiometric Coefficients of the reaction
NumberOfReactions Number Of Reactions
Pressure Specification:
PressureFlag
0. Outlet Pressure 1. Pressure Drop
Reactor Type:
RxType 0. Default Conversion 1. Shift Reactor
2. Methanation Reactor 3. Calculator Reactor
Conversion Basis Specification:
ConvBasisFlag
1. Feed 2. Reaction
Heat Balance Specification
HeatBalanceFlag
0. Do heat balance 1. No heat balance
BaseCompID Base Component Name
BaseCompNumbers Base Component Index
The Conversion Reactor simulates a chemical reactor by solving the heat and material balances
based on supplied reaction stoichiometry and fractional conversion.
The fractional conversion of a specified base component is defined for each reaction. The
corresponding changes in the amounts of the other components in the reaction are determined
from the stoichiometry. The conversion of the base component may be expressed as a function of
temperature by entering the coefficients for the equation:
The user can specify the reaction stoichiometry, conversion coefficients, and the base component
for the reaction. The base component must be a reactant in the reaction. ROMeo takes
conversion basis as feed or reaction.
The operating conditions of the reactor are specified by the following thermal and pressure
specifications:
SIM4ME 46
Translation of PRO/II Models
Parameters
A HYSYS™ Conversion Reactor supports only reaction sets that contain conversion reactions.
Each reaction in the set will proceed until the specified conversion is attained or until a reactant is
exhausted. The product streams from a reactor can be: a Vapor, a Liquid stream, an aqueous
phase or a mixed liquid phase.
In case of multiple reactions, a reaction sequence can be specified. An overall conversion rate of
0% to 100% can be specified for a set of reactions. The specified rate is either a global value or a
local value that applies to the current operation only.
SIM4ME 47
Translation of PRO/II Models
Parameters
Parameters
Internal Units of Measure for the Common Data Base Structure is in SI units
Reactor Parameter UOM Description
NumOfFeeds Number of feed streams
NumOfProds Number of product streams
MergedProd Merged Product Streams
FeedStreams Feed Streams
ProdStreams Product Streams
Temparature K Product Temperature
Pressure KPA Product Pressure
ConvCoeffA Conversion Coefficient A
ConvCoeffB Conversion Coefficient B
ConvCoeffC Conversion Coefficient C
HeatsOfReaction KJ/Kg-mol Heat of Reaction
BaseCompID Base Component
BaseCompNumbers Base Component index
SIM4ME 48
Translation of PRO/II Models
Mapping
ProII Reactor
TL Parameter ROMeo Parameters HYSYS Parameters
Parameters
CurrentFeeds NumOfFeeds FeedStreams.size
Derived from
CurrentProducts NumOfProds VapourProd and
LiquidProd
MergedProduct MergedProd
FeedData FeedStreams FeedStreams FeedStreams
Derived from
ProductData ProdStreams ProdStreams VapourProd and
LiquidProd
If either the vapour or
liquid product
OutTempCalc Temparature v_v_ProdTemp temperature is
specified , it is used
here
OutPresCalc Pressure v_v_ProdPres Pressure
ConvCoeff ConvCoeffA v_v_A C0
ConvCoeffB ConvCoeffB v_v_B C1
ConvCoeffC ConvCoeffC v_v_C C2
HeatsOfReaction HeatsOfReaction HReaction
BaseCompID BaseCompID BaseComponent
BaseCompNumbers BaseCompNumbers
StoiCoefIn StoiCoeff Stoich
NumRxns
NumberOfReactions NumberOfReactions =1
NumAdditionalRxns
PressureFlag PressureFlag =1
RxType RxType =0
ConvBasisFlag ConvBasisFlag =1
If vapour or liquid
product temperature is
RxOperType RxOperType
supplied set to 1,
otherwise 2
ReactorPresDropCalc PressureDrop DeltaP
NumConvCoeff NumConvCoeff =3
NumStoicCoeff =0
XoptionFlag XoptionFlag =0
See
RxnID RxnID HSTLConvReactorMa
pper.cpp
SIM4ME 49
Translation of PRO/II Models
There is no derived parameter calculation for translation from PRO/II to TL layer mapping.
There is no derived parameter calculation for translation from TL to ROMeo layer mapping.
SIM4ME 50
Translation of PRO/II Models
Equilibrium Reactor
This document describes the scope and various scenarios of the PRO/II and HYSYS™
Equilibrium Reactor translation. ROMeo and Dynsim do not currently support Equilibrium
reactors.
Currently only the basic modes of operation are handled by the translation. Complex modes, such
as overriding the Reaction data section are currently not translated.
The Equilibrium reactor module simulates a reactor by solving the heat and material balances for
one or more simultaneous reactions based on stoichiometry, equilibrium constant, and approach
to equilibrium data. The module may operate in adiabatic mode with or without heat duty
specified, or in isothermal mode either at a specified temperature or at the feed temperature.
Normally, the reaction stoichiometry, heat of reaction data, and reaction equilibrium data are
taken from a reaction set in the Reaction Data Section.
Parameters
SIM4ME 51
Translation of PRO/II Models
SIM4ME 52
Translation of PRO/II Models
Parameters
SIM4ME 53
Translation of PRO/II Models
The following Equilibrium Coefficients are not transferred across - they come from the reaction
data section but must be copied into the Reactor unit in the XML.
Dummy Parameters
The following dummy parameters are included in the configuration file for convenience but are
not filled in from the HYSYS XML file.
SIM4ME 54
Translation of PRO/II Models
Parameters
SIM4ME 55
Translation of PRO/II Models
SIM4ME 56
Translation of PRO/II Models
Expander
This document describes the scope and various scenarios of the PRO/II Expander translation to
the Dynsim and ROMeo Expander and a HYSYS™ Expander to a PRO/II Expander.
The expander unit simulates a single stage isentropic expansion in PRO/II. The operating
specifications for the expander unit are the outlet conditions (outlet pressure, pressure drop,
pressure ratio, work) and the expander efficiency. If the outlet pressure is specified, the power
generated and the outlet temperature is calculated. If work is specified, the corresponding
letdown pressure is calculated.
Parameters
SIM4ME 57
Translation of PRO/II Models
SIM4ME 58
Translation of PRO/II Models
The Expander is a flow device that can be used to model a steam turbine or a gas expander. It can
be standalone or power derived, in which case, it can be used to drive a shaft, compressor, or a
pump. When connected to the shaft, the shaft sets the speed of the expander via a mechanical
stream.
Header is used for mixing up all streams and sending a single MergedFeed to Flow Device.
Drum is used for the phase separation and streams are connected to various ports based on the
product phase specifications.
Parameters
Parameters to States.dat
Parameter UOM Description
FI kg-mol/sec Inlet flow
Power KJ/sec Power generated
Q m3/sec Volumetric flow
Speed rpm Expander speed
The Expander unit models a single-stage isentropic expansion with a single feed and a single
product stream.
The operating specifications for Expander unit include various pressure, work or head
specifications and the Expander efficiency. You can supply a specific value for these parameters
or a performance curve.
• The Expander model is restricted to one feed and one product stream.
• You must add a Mixer before the unit to accommodate multiple feed streams.
• ROMeo does not allow the specification of the outlet temperature as an alternative to an
expander efficiency specification.
The feed stream is represented as a single-phase vapor stream model, requiring the vapor entropy
in addition to the basic stream variables. The product stream is also a vapor stream. The
Expander model adds an internal stream to perform the isentropic calculations.
SIM4ME 59
Translation of PRO/II Models
The Expander model checks the feed stream phase at cross-check time and generates a warning if
the feed stream has not been set to single-phase vapor. Similarly, when output is requested for
the product stream, a flash calculation is performed. If a liquid phase is detected in the product, a
warning is generated.
• The first specification is a outlet pressure, pressure drop or pressure ratio work, or head
condition.
• The second operating specification is the efficiency of the expander.
• Component slate and thermodynamic method for the unit (required).
Parameters
Some of the Pro/II parameters, as described in Pro/II section will be used. Following additional
parameters/parameter details are needed in ROMeo:
The HYSYS™ Expander is a flow device that is used to model a steam turbine or a gas expander.
It can be connected to an Energy Stream that defines the Expander duty. Outlet pressure or
pressure drop across the Expander can be specified. Since HYSYS™ uses the same model for its
steady-state and dynamic state, it supports multiple-curves at different speeds. It also interpolates
between the speeds to calculate the head and efficiency at a given operating speed if different
from the curve reference speed.
SIM4ME 60
Translation of PRO/II Models
Parameters
FeedStreams ALIAS
Array of the names of Feed Streams attached to
x_FeedStream.TaggedName String
the Expander
ProdStreams ALIAS
x_ProductStream.TaggedNa Array of the names of Product Streams attached
String
me to the Expander
CurveName ALIAS
CompExpCurveData.x_Com
Array of names of the Curves like: “Curve-at-
pExpCurve.CompExpCurve String
3600” etc.
Name
CurveSpeed ALIAS
CompExpCurveData.x_Com Array of the Reference speeds at which the
RPM
pExpCurve.Speed Curve data has been supplied.
CurveHeadUnits ALIAS
CompExpCurveData.x_Com Array of the UOM for Head in the curve
pExpCurve.HeadUnits
SIM4ME 61
Translation of PRO/II Models
IsCurveActive ALIAS
CompExpCurveData.x_Com This Flag indicates if a supplied Head-Flow
pExpCurve.CurveActive curve is active or inactive.
CurveDataPointFlow ALIAS
CompExpCurveData.x_Com
This array stores all the Flow data for all the
pExpCurve.CurveDataPoint.
supplied data points.
Flow
CurveDataPointHead ALIAS
CompExpCurveData.x_Com This array stores all the Head data for all the
pExpCurve.CurveDataPoint. supplied data points.
Head
CurveDataPointEff ALIAS
CompExpCurveData.x_Com
This array stores all the Head data for all the
pExpCurve.CurveDataPoint.
supplied data points.
Efficiency
FluidPkg ALIAS
Stores the Fluid package associated with.
FluidPackage.FluidPackage
Parameters
SIM4ME 62
Translation of PRO/II Models
ISENSTREAM
VARIABLES:
IsenStrmID Stream ID of the Isenstream.
NumComps
IsenMolarFlow Isentropic stream molar flow
IsenSpecificEnthalpy Isentropic stream Specific enthalpy
IsenTemperature Isentropic stream Temperature
IsenPressure Isentropic stream Pressure
IsenVaporFraction Isentropic stream vapor fraction
IsenLiquidFraction Isentropic stream liquid fraction
IsenLiquid2Fraction Isentropic stream water fraction
IsenMW Isentropic stream molecular weight
IsenMolarDensity Isentropic stream molar density
IsenSpecificEntropy Isentropic stream specific entropy
IsenCompMoleFraction Isentropic stream component mole fraction
The merged feed stream is used to update the properties (states.dat) of the upstream Header
incase there is more than one feed stream to the PROII Expander.
The merged product stream is used to initialize the exit flash (states.dat) of the Expander.
The feed adiabatic flash stream is used to initialize the feed flash (states.dat) of the Expander.
The feed isentropic stream is used to initialize the isentropic flash (states.dat) of the Expander.
Expander Sizing
∆P ∗ MergedFeed.Density
J = MergedFeed.Flow ∗
MergedFeed.Mw
SIM4ME 63
Translation of PRO/II Models
Validate Feeds
When there are multiple inputs to the PROII Expander is added in the TL layer to set single
mixed input to the expander. The TLHeader is characterized by volume, total moles and
individual component moles. These parameters are calculated as follows:
Validate Products
When there is more than one product stream from the Expander, a Drum is inserted at the
downstream to account for phase separation.
Molar Density
When TLHeader is translated to DSHeader additional parameters like area of heat transfer and
metal mass should be calculated. The DSHeader Area and Mm (MetalMass) are calculated as
follows:
4 ⋅ Volume
Diameter = 3
H / D Ratio ⋅ π
Height = H / D Ratio ⋅ Diameter
Area = π ⋅ Diameter ⋅ Height
Mm = π ⋅ Diameter ⋅ Thickness ⋅ Height ⋅ MergedFeed .MolarDensity
( Density = 7760kg / m 3 )
where:
VolFlowVapInlet = Volumetric Flowrate, m3/sec,
Speed = rotations per second, rps,
VolFlowPerRPM = Volumetric Flowrate per Rotation, m3/sec/rps.
SIM4ME 64
Translation of PRO/II Models
Fired Heater
This document describes the scope and various scenarios of translation of the PRO/II User added
module to the ROMeo Unit Ops. Currently Fired Heater UAM is translated into ROMeo Firebox.
PRO/II User added modules are custom built module and designed for unit operation or unit
process. Fired Heater is a user added module and it raises the temperature of fluid on one side by
burning fuel on the other side. The Fired Heater model acts as a combustion reactor and heat
exchanger.
The Fired Heater unit operation has two sections as in heat exchanger. In the Process Side,
process fluid to be heated is sent to tube side and comes out of the exit. In the Combustion Side,
one or more streams comprising of Fuel and Air are sent in and one exit for FLUE gas; where a
combustion reactor is modeled. Only Heat transfer occurs across the two sides. No mass transfer
occurs across the two sides. Feeds to the Fired Heater unit operation can be to either of these two
sides.
There will be one or more hydrocarbon (fuel) and air/Oxygen streams feeding the unit operation.
These streams will be burned to produce a single product stream on the combustion side.
Units of Measure
Internal Units of Measure for the ROMeo are mostly in SI units and the deviations are consistent
across PRO II and Dynsim
Parameters
SIM4ME 65
Translation of PRO/II Models
The Firebox unit acts as a combination Reactor model and Simple Heat Exchanger model. The
fuel on the combustion side reacts with air, releasing heat that is radiated to an array of tubes
carrying the process stream.
For modeling purposes, the Firebox is divided into three segments the combustion side, the
process side, and the firebox model providing the equations that connect the two sides.
The tubeskin temperature is predicted from heat balances around the reactor/heat transfer system,
from radiative heat transfer equations from the radiating gas to the tube, and from regular heat
transfer equations from the surface of the tube to the process stream within the tube.
Parameters
SIM4ME 66
Translation of PRO/II Models
Parameters
Pro/II Valve
Parameters TL Parameter
CurrentFeeds NumOfFeeds
CurrentProducts NumOfProds
MergedProduct
MergedFeed
FeedData FeedStreams
ProductData ProdStreams
SIM4ME 67
Translation of PRO/II Models
To keep TL persistent to all user added module, while going from P2 to TL layer, the parameter
vector and calculated value and input value are expanded and assigned to individual parameter.
Hence, each parameter is post-fixed as “Calc” and “In.” So XXXCalc is calculated value for
parameter XXX and XXXIn is user Specified value for that variable. The XXXIn values are used
to map specification in destination application.
There is no derived parameter calculation for translation from PRO/II to TL layer mapping.
There is no derived parameter calculation for translation from TL to Dynsim layer mapping.
There is no derived parameter calculation for translation from TL to ROMeo layer mapping.
SIM4ME 68
Translation of PRO/II Models
Flash
This document describes the scope and various scenarios of translation of the PRO/II Flash unit
operation to an equivalent Dynsim and ROMeo unit operations and a HYSYS™ Separator/3-
PhaseSeparator/Tank to a PRO/II Flash unit operation.
The Flash unit operation calculates the thermodynamic state of any stream when two
specifications (e.g. temperature and pressure) are given. Once the phase equilibrium is
determined, the phases may be separated into distinct product streams. The duty required to
achieve this state is reported for all Flash Types, except adiabatic flash.
(a) VLE Calculations: Two phase calculations containing one vapor and one liquid phase
(b) VLLE Calculations: Three phase calculations containing one vapor and two liquid phases.
(c) Electrolytic Calculations: Calculating the equilibrium for aqueous systems.
A flash calculation type is selected based on your choice for the first and second specifications of
the Flash and various Flash configurations that can configure were
Isothermal Flash - Temperature and Pressure (one of them for the first specification and the
other for second specification).
General Dew Point Flash - Either Pressure or Temperature (first specification) and dew point
(second specification).
Water Dew Point Flash - Either pressure or temperature (first specification) and the water dew
point (second specification).
Hydrocarbon Dew Point Flash - Either Pressure or Temperature (first specification) and the
hydrocarbon dew point (second specification).
Bubble Point Flash - Either Pressure or Temperature (first specification), and Bubble point
(second specification)
Isentropic Flash – Either Temperature or Pressure (first specification) and isentropic process
(second specification)
Stream specification Flash- Either Pressure or Temperature (first specification) and supply a
value for a Generalized Performance Specification for the product stream (second specification)
Entrainment: One can specify the extent of entrainment, if any, from one phase to another in the
flash unit. Entrainment calculations are done after the original flash calculations are completed.
The final product streams after the entrainment calculations may be different from the flash
specifications.
SIM4ME 69
Translation of PRO/II Models
Parameters
SIM4ME 70
Translation of PRO/II Models
PRO/II
UOM Description
MergedFeedStream
fraction The bulk composition of the product streams.
VaporComposition, LiquidCompostion and
SolidComposition give other compositions. If two liquid
phases exist, Liquid Composition is the bulk composition
of the liquid phase. Otherwise, it is simply the
TotalComposition composition of the liquid
TotalMolarEnthalpy kJ/kg-mol Total Enthalpy
VaporFraction fraction Vapor fraction
LiquidFraction fraction Liquid1 fraction
WaterFraction fraction Decant water fraction
The fraction of solids in the stream. If it has a positive
SolidFraction fraction non-zero value, solids are present. This should be flagged
as an error condition.
BulkMwOfPhase Bulk Molecular weight
BulkDensityAct kg-mol/m3 Bulk molar density
The Drum is a pressure node object that can be used as two or three phase separation vessel.
Drum includes a single holdup volume such that the vapor and liquid are always in thermal and
vapor/liquid or vapor/liquid/liquid equilibrium. Since the Drum is a single holdup model, all
outlet streams will be at the same temperature.
The Drum uses compressible holdup dynamics and automatically switches to incompressible
holdup if it is liquid filled. The Drum accounts for heat transfer from fluid to the metal and metal
to surroundings, permits heat transfer from external sources directly to the metal and/or fluid
through heat streams.
The iterated and explicit solution options are available for pressure calculations. The iterated
solution option is used for small volume compressible systems, and the explicit solution option is
used for large volume compressible systems.
SIM4ME 71
Translation of PRO/II Models
• Residence time for the liquid is 5 minutes and for vapor is 5 seconds.
• If there is both vapor and liquid present, assume 50% liquid, 50% vapor.
• Otherwise, 100% liquid or 100% vapor.
• Aspect ratio is 4.0.
• Minimum Diameter of drum is 0.5 meter.
• Boot will be added if there is a liquid2 stream even with zero flow.
• Aspect ratio for boot is 4.0. Minimum Diameter of boot is 0.15*Diameter of main
section.
• Actual volume of boot will be 1.05 * (liquid2 holdup).
Parameters
Parameters to States.dat
Parameter UOM Description
Z [0]...........Z [i]
FLASH.Z fraction Composition
[0]...FLASH.Z [i]
H & FLASH.H kJ/kg-mol Enthalpy
P & FLASH.P kPa Pressure
T & FLASH.T K Temperature
FLASH.VF fraction Vapor Fraction
FLASH.LF1 fraction Liquid Fraction 1
FLASH.LF2 fraction Liquid Fraction 2
FLASH.R kg-mol/m3 Molar Density
FLASH.MW Molecular Weight
ROMeo flash model is similar to PRO/II model. It calculates the phase separation based on two
user specified specifications. Allowed specifications are: Pressure or Pressure Drop, Temperature,
Duty, Adiabatic, Dew Point, Bubble Point and Vapor Fraction. One can also specify the extent of
entrainment from one phase to another in the flash unit. Entrainment calculations are done after
SIM4ME 72
Translation of PRO/II Models
the original flash calculations are completed. The final product streams after the entrainment
calculations may be different from the flash specifications.
SIM4ME 73
Translation of PRO/II Models
HYSYS™ for separation operations has a 2- Phase Separator (Separator), a 3-Phase Separator
and a Tank model. These models have process feed and product streams, and a heat stream
connected to the energy port.
The Separator and the Tank are translated as Flash unit operation with a two-phase separation in
PRO/II, whereas a 3-Phase Separator is translated as Flash with either a two-phase or a three-
phase separation in PRO/II.
The Separator and 3-Phase Separator can be specified in number of ways viz. Duty, Product
Temperature, etc. If Separator and 3-Phase Separator are specified with specification other than
Duty then it is mapped to the product temperature of the Flash unit operation of PRO/II.
Parameters
SIM4ME 74
Translation of PRO/II Models
Units of Measure
Internal Units of Measure for the Common Data Base Structure is in SI units
Parameters
DynSim
ProII Flash Parameters TL Parameter ROMeo Parameters
Parameters
CurrentFeeds NumOfFeeds
CurrentProducts NumOfProds
MergedProduct MergedProd
FeedData FeedStreams OFeedStream ~FeedStreams
ProductData ProdStreams OProdStream ~ProdStreams
TempCalc Temparature T IntStr.v_Temp
IntMix.v_Pres,
PressCalc Pressure P
IntStr.v_Pres
PressDropCalc PressDrop v_PresDropt
DIA DIA
LEN LEN
DIABOOT DIABOOT
LENBOOT LENBOOT
DutyCalc QIMP QIMP IntMix.v_Duty
DutyIn SpecifiedDuty Spec2
Type FlashType Spec1, Spec2
PresDPFlag PresDPFlag Spec1, Spec2
PresTempFlag PresTempFlag Spec1, Spec2
EntrainmentCount EntrainmentCount
EntrType EntrType IntSplit.v_EntrainFrac
EntrFromPhase EntrFromPhase IntSplit.EntrainFrom
EntrToPhase EntrToPhase IntSplit.EntrainTo
EntrMolarRates EntrMolarRates
EntrValuesCalc EntrValues IntSplit.v_EntrainFrac
EntrainmentFlag IntSplit.UseEntrain
SIM4ME 75
Translation of PRO/II Models
PROII DynSim
TL Parameter ROMeo Parameters
MergedProductStream in Parameters
IntStr.v_MoleFrac
TotalComposition OverallComp Z
Liq.v_MoleFrac
LiquidComposition LiquidComposition
Vap.v_MoleFrac
VaporComposition VaporComposition
TotalMolarEnthalpy OverallEnth H IntStr.v_Prop[0]
VaporFraction VaporFraction VF IntStr.v_PhaseFrac
LiquidFraction LiquidFraction LF IntStr.v_PhaseFrac
WaterFraction WaterFraction LF2 IntStr.v_PhaseFrac
BulkMW MW MW
BulkDensity R R
DynSim
PROII Feed Stream TL Parameter ROMeo Parameters
Parameters
IntStr.v_Flow[0]
TotalMolarRate MolarFlow FI/FX
Dynsim
PROII Product Stream TL Parameter ROMeo Parameters
Parameters
TotalMolarRate MolarFlow FI/FX
The Flash in PROII is translated to Drum in TLLayer. Volume, total moles and individual
component moles characterize the TLDrum. These parameters are calculated as follows:
Diameter calculation:
SIM4ME 76
Translation of PRO/II Models
When TLDrum is translated to DS Drum additional parameters like area of heat transfer and
metal mass should be calculated.
SIM4ME 77
Translation of PRO/II Models
Gibbs Reactor
This topic describes the scope and various scenarios of the PRO/II and HYSYS™ Gibbs Reactor
translation. ROMeo and Dynsim do not currently support Gibbs reactors.
Currently only the basic modes of operation are handled by the translation. Complex modes such
as overriding the Reaction data are currently not translated.
The Gibbs reactor module simulates a single-phase or multi-phase reactor by solving the heat and
material balances using minimization of Gibbs free energy. The module may operate in adiabatic
mode with or without specifying heat duty, or in isothermal mode with either a specified
temperature or the feed temperature.
Parameters
SIM4ME 78
Translation of PRO/II Models
SIM4ME 79
Translation of PRO/II Models
Parameters
Dummy Parameters
The following dummy parameters are included in the configuration file for convenience but are
not filled in from the HYSYS XML file.
SIM4ME 80
Translation of PRO/II Models
Parameters
SIM4ME 81
Translation of PRO/II Models
LNG Exchanger
This section describes the scope and various scenarios of the HYSYS™ LNG Exchanger
translation to a PRO/II LNG Exchanger.
LNG exchangers are multi-stream exchangers and these can exchange heat between any number
of hot and cold streams. These exchangers are used in cryogenic applications where obtaining a
close temperature approach is required. The internal units of measure for PRO/II are mostly in SI
units.
Parameters
SIM4ME 82
Translation of PRO/II Models
Parameters
SIM4ME 83
Translation of PRO/II Models
Mixer
This section describes the scope and various scenarios of the PRO/II Mixer translation to the
Dynsim Header and ROMeo Mixer and the HYSYS™ Mixer to a PRO/II Mixer.
Mixer combines two or more feed streams into a single product stream with mixed properties.
The mixer unit determines the product phases but cannot split them into different streams.
An adiabatic flash is performed to determine the outlet temperature and product phases at the
specified pressure condition.
Parameters
SIM4ME 84
Translation of PRO/II Models
The Header is a pressure node that can be used to model flow mixing, flow splitting, and piping
holdup dynamics.
Header includes both COMPRESSIBLE and INCOMPRESSIBLE options for holdup dynamics.
The INCOMPRESSIBLE dynamics option is the default and can be used for either vapor, liquid
or two-phase fluids.
The iterated and explicit solution options are available for pressure calculations. The iterated
solution option is used for INCOMPRESSIBLE and small volume COMPRESSIBLE systems.
The explicit solution option is used for large volume compressible systems and for decoupling
large incompressible pressure flow networks.
Parameters
Parameters to States.dat
Parameter UOM Description
Z [0]...........Z [i]
fraction Composition
H kJ/kg-mol Enthalpy
P kPa Pressure
UT kJ Total internal energy state
MT mol Total moles
M[0]… M[i] mol Moles of individual components
Qf kJ/sec Heat transferred from fluid to metal
Ql kJ/sec Heat transferred from metal to surroundings
Qimp kJ/sec Imposed heat
Tm K Metal temperature
SIM4ME 85
Translation of PRO/II Models
The Mixer unit operation models the adiabatic mixing of two or more feed streams.
The Mixer model is independent of the number of phases in the feed streams and is used with
VLE or VLLE systems. The Mixer model allows multiple feed streams but is restricted to a
single product stream.
Parameters
The Mixer operation mixes two or more streams to produce a product stream. It also performs a
heat and mass balance. If composition, pressure and temperature of all the inlet streams are
known, the mixer calculates pressure, temperature and the composition of the outlet stream.
Mixer can also back calculate unknown temperature of one inlet stream, if the outlet stream is
completely defined and pressures of all the inlet streams are known.
Iterative and Explicit solution options are available for pressure calculations. The Iterated
solution option is used for INCOMPRESSIBLE and small volume COMPRESSIBLE systems.
The Explicit solution option is used for large volume COMPRESSIBLE systems and also for
decoupling large INCOMPRESSIBLE pressure flow networks.
SIM4ME 86
Translation of PRO/II Models
Parameters
Units of Measure
Internal Units of Measure for the Common Data Base Structure is in SI units
Parameters
SIM4ME 87
Translation of PRO/II Models
There is no derived parameter calculation for translation from TL to ROMeo layer mapping.
SIM4ME 88
Translation of PRO/II Models
Pipe
This document describes the scope and various scenarios of the PRO/II Pipe translation to the
Dynsim and ROMeo Pipe and the HYSYS™ Pipe to a PRO/II Pipe.
The pipe unit operation calculates single (liquid or gas) or mixed phase pressure drops through
piping between unit operations. It can also determine the line size required for a given maximum
pressure drop or minimum outlet pressure.
Rigorous heat transfer may be considered during the calculations, where heat may be added to the
pipe over its length (representing a furnace), or lost to the ambient surroundings, allowing the
fluid to cool as it flows down the pipe. By default, no heat transfer is considered in the
calculations.
Parameters
SIM4ME 89
Translation of PRO/II Models
SIM4ME 90
Translation of PRO/II Models
The Pipe model is a flow object that is used to model flow calculations in pipes. The flow
through a pipe is calculated by using flow conductivity equation. The flow conductance can be a
user input or calculated from the Pipe geometry. The Pipe also supports Sonic flow. It has
options to perform outlet flash and holdup calculations. It accounts for heat transfer from fluid to
pipe and pipe to surroundings. Heat transfer from an external source to the fluid or metal can be
configured through Heat Streams.
Header is used for mixing up all streams and sending a single MergedFeed to Flow Device.
Drum is used for the phase separation and streams are connected to various ports based on the
product phase specifications.
Parameters
SIM4ME 91
Translation of PRO/II Models
Parameters to States.dat
Parameter UOM Description
Heat loss from fluid lowing
QF kJ/sec
inside the pipe to the metal wall
Heat loss from the metal wall to
QL kJ/sec
the surroundings.
H kJ/kg-mol Specific enthalpy state
TM K Metal temperature
Z fraction Specific composition state
DH kJ/kg-mol/sec Specific enthalpy derivative
DTM K/sec Metal temperature derivative
DZ fraction/sec Specific composition derivative
The ROMeo Simple Pipe unit operation models pressure drop through a pipe resulting from flow
or a change in elevation and heat loss to the surroundings. Pressure drop is calculated using either
an analytical equation or an empirical correlation. The model is simple (non-rigorous) in the
sense that temperature- and pressure-dependent changes in the physical properties of the fluid are
not considered in the calculations.
Parameters
SIM4ME 92
Translation of PRO/II Models
HYSYS™ Pipe Segment: The HYSYS™ Pipe Segment unit operation models pressure drop
through an entire pipeline with fittings, bends, swages and it can accommodate multiple
segments. Pressure changes through the pipeline due to elevation changes and heat loss to the
surroundings can be calculated. Pressure drop is calculated using empirical correlations available.
The model is rigorous because the temperature and pressure dependent physical properties of the
fluid are considered in the calculations.
HYSYS™ Gas Pipe: This is used specifically for compressible fluids. The correlation options
are Perfect Gas, Compressible Gas and User Data.
Since there are no equivalent for either Perfect Gas or Compressible Gas in PRO/II, these
correlations are mapped to the Beggs-Brill-Moody in PRO/II, as it has proved to be for single-
phase systems. PRO/II does not have an option to support User Data.
The heat transfer calculation option in HYSYS™ is: Ambient Heat Loss from given Ambient
Temperature and Heat transfer coefficient. Heat transfer calculations are done in the same manner
in the translated PRO/II model.
Parameters
SIM4ME 93
Translation of PRO/II Models
SIM4ME 94
Translation of PRO/II Models
SIM4ME 95
Translation of PRO/II Models
The merged feed stream is used to update the properties (states.dat) of the upstream Header in
case there is more than one feed stream to the Pro/II Pipe.
The merged product stream is used to initialize the exit flash (states.dat) of the Dynsim Pipe and
the Drum in case there is more than one product stream from Pro/II Pipe.
Pipe Sizing
∆P ∗ MergedFeed .Density
J = MergedFeed .Flow ∗
MergedFeed .Mw
Pipe Geometry
π ∗ Diameter 2
Volume = ∗ Length
4
Area = π ∗ Diameter ∗ Length
Mm = π ∗ Diameter ∗ Length ∗ Thickness ∗ Density
( Density = 7760kg / m 3 )
Heat transfer in Dynsim pipe is configured based on the flag PipeCalcMode (Pipe Calculation
Mode).
The Imposed/Isothermal heat duty is configured through the parameter Qimp in Dynsim. No heat
transfer to ambient is considered in this case.
Qimp = HeatDuty
SIM4ME 96
Translation of PRO/II Models
At steady state, heat transfer from fluid to metal is equal to heat transfer from metal to ambient.
0.8
⎛ W ⎞
U f ∗⎜ ⎟ ∗ Area ∗ (TMetal − TFluid ) = U L ∗ Area ∗ (T Ambient − TMetal ) = HeatDuty
⎜W ⎟
⎝ Re f ⎠
Assumptions
• UL = 0.01 (We expect the heat transfer coefficient for heat transfer from metal to ambient
will be more or less constant in most of the cases.)
Calculations
• Calculate Tmetal (metal temperature) from the heat loss to ambient equation
• Calculate Uf (forced convection heat transfer coefficient), using heat transfer from fluid
to metal equation.
This is not supported in Dynsim. Error message has to be flagged in this case.
Validate Feeds
When there are multiple inputs to the PRO/II Pipe, Header is added in the TL layer to set single
mixed input to the Dynsim Pipe. The TLHeader is characterized by volume, total moles, and
individual component moles. These parameters are calculated as follows:
Validate Products
When there is more than one product stream from the Pipe, a Drum is inserted at the downstream
to account for phase separation.
Molar Density
SIM4ME 97
Translation of PRO/II Models
When TLHeader is translated to DSHeader additional parameters like area of heat transfer and
metal mass should be calculated. The DSHeader Area and Mm (MetalMass) are calculated as
follows:
4 ⋅ Volume
Diameter = 3
H / D Ratio ⋅ π
Height = H / D Ratio ⋅ Diameter
Area = π ⋅ Diameter ⋅ Height
Mm = π ⋅ Diameter ⋅ Thickness ⋅ Height ⋅ Density
( Density = 7760kg / m 3 )
SIM4ME 98
Translation of PRO/II Models
This topic describes the scope and various scenarios of the PRO/II and HYSYS™ Plug Flow
Reactor translation. ROMeo and Dynsim at present do not support Plug Flow reactors translation.
Currently only the basic modes of operation are handled by the HYSYS™ to PRO/II translation.
The CSTR module simulates a tubular reactor exhibiting plug flow behaviour i.e. no axial
mixing or heat transfer. It assumes that the stirring results in perfect mixing. The module
may operate in adiabatic mode with or without heat duty specified, or in thermal mode
with either a specified temperature or temperature profile.
Normally, the reaction stoichiometry, heat of reaction data and reaction kinetics are taken from a
reaction set in the Reaction Data Section. However, certain options that are currently not
supported by the translator are:
Parameters
SIM4ME 99
Translation of PRO/II Models
SIM4ME 100
Translation of PRO/II Models
Profile Parameters
Parameter UOM Description
PProfileFlag Pressure PROFILE input ? 0=No; 1=Yes
PProfileLocFlag Pressure PROFILE Length basis 0=Actual;
1=Fraction; 2=Percent
TProfileFlag Temp PROFILE input ?
0=No; 1=Yes
TProfileLocFlag Temp PROFILE Length basis 0=Actual;
1=Fraction; 2=Percent
Parameters
SIM4ME 101
Translation of PRO/II Models
Dummy Parameters
The following dummy parameters are included in the configuration file for convenience but are
not filled in from the HYSYS XML file.
Parameters
SIM4ME 102
Translation of PRO/II Models
SIM4ME 103
Translation of PRO/II Models
Pump
This topic describes the scope and various scenarios of a PRO/II Pump translation to the
equivalent Dynsim, ROMeo and HYSYS™ models.
The pump unit increases the pressure of an incompressible fluid flowing through a pipe. PRO/II
calculates the resulting temperature change and the work required to accomplish this.
Parameters
SIM4ME 104
Translation of PRO/II Models
The Pump is a flow device that is used to model a centrifugal pump. The Pump calculates the
available head based on the pressure differential across it. The volumetric flow rate is
interpolated from the user provided performance curve based on the calculated head. Power is
calculated from the user provided efficiency curve. Reverse flow through a shut down pump is
allowed.
The Pump performance is characterized by a Cubic-spline or Linear curve fit and may be
specified by either entering three or more points from the manufacturer characteristic curve (head
vs. volumetric flow) or entering one design point (head and volumetric flow).
Header is used for mixing up all streams and sending a single MergedFeed to Flow Device.
Drum is used for the phase separation and streams are connected to various ports based on the
product phase specifications.
Parameters
SIM4ME 105
Translation of PRO/II Models
Parameters to States.dat
Parameter UOM Description
Q m3/sec Volumetric flow
DH m Head
ETA fraction Efficiency
POWER kW Power
SPEED rpm Pump speed
The Pump unit simulates the pumping of a liquid and calculates the associated pressure, enthalpy,
and entropy changes. The pump model requires two specifications:
• product stream pressure specification (or a pump work specification from which the
outlet pressure can be calculated)
• pump efficiency.
Parameters
SIM4ME 106
Translation of PRO/II Models
The Pump unit models the pumping of a liquid and calculates the associated pressure, enthalpy,
and entropy changes. Two specifications are required for the pump model; a pressure
specification for the product stream (or a pump work specification from which the outlet pressure
can be calculated) and the pump efficiency.
Parameters
SIM4ME 107
Translation of PRO/II Models
Parameters
SIM4ME 108
Translation of PRO/II Models
When there are multiple inputs to the PRO/II pump, a header is added in the TL layer to set single
mixed input to the pump. The TLHeader is characterized by volume, total moles, and individual
component moles. These parameters are calculated as follows:
When TLHeader is translated to DS header additional parameters like area of heat transfer and
metal mass should be calculated. The DSHeader parameters are calculated as follows
4 ⋅ Volume
Diameter = 3
H / D Ratio ⋅ π
Height = H / D Ratio ⋅ Diameter
Area = π ⋅ Diameter ⋅ Height
Metal Mass = π ⋅ Diameter ⋅ Thickness ⋅ Height ⋅ MergedFeed .MolarDensity
( Density = 7760kg / m 3 )
Pump Head vs. Flow Curve can be specified in the source product like HYSYS™ in the form of
the relation:
Head = A+B*FLOW+C*FLOW**2+D*FLOW**3+E*FLOW**4+F*FLOW**5
SIM4ME 109
Translation of PRO/II Models
PRO/II does not have provision to add Pump curves. Hence, the pressure rise across the Pump has
to be calculated for the head curve and set in PRO/II Pump as specification.
However, in the source file, only the curve coefficients A, B…F are available. The flow need not
be available always as it might be a calculated value. In that case, the calculation of Head is not
possible to be done during translation.
What is done is that a Calculator unit is added in PRO/II and the pressure drop is calculated from
the following equation:
where:
C1, C2, C3…C6 are nothing but the Curve coefficients A, B, C… F
P1 = Feed flow rate
P2 = Feed Liquid Density
The coefficients are not currently mapped into PRO/II. Also, the UOM of Head and Flow are not
mapped. The user has to manually add the coefficients and the calculator unit will automatically
set the calculated pressure rise as the specification in the Pump.
Pump Duty can be specified in source product like HYSYS™. PRO/II does not have an
equivalent specification. So, the pressure rise has to be calculated from the specified Duty and set
as specification for the PRO/II Pump.
However, in the source file, only the duty is specified. The flow need not be available always as it
might be a calculated value. In that case, the calculation of Pressure rise is not possible to be done
during translation.
What is done is that a Calculator unit is added in PRO/II and the pressure drop is calculated from
the equation for duty:
R1 = (C1*C2) / P1
where:
C1 = Pump Efficiency
C2 = Feed Flow rate
R1 = Delta P calculated
Both Pump efficiency and Duty are mapped from the source and the calculator sets the calculated
pressure rise as specification in Pump.
There is no derived parameter calculation for translation from TL to ROMeo layer mapping
SIM4ME 110
Translation of PRO/II Models
Reset
This topic describes the scope and various scenarios of the PRO/II Reset translation to the
equivalent Dynsim, ROMeo and HYSYS™ models.
The purpose of the RESET unit is to allow the user to reset the enthalpy data of the product
stream using the thermodynamic method specified for the unit. The Reset unit performs orderly
transition from one enthalpy basis to the next. This avoids calculation difficulties that otherwise
would arise due to discontinuity in the enthalpy data.
Parameters
SIM4ME 111
Translation of PRO/II Models
The SlateChange is a flow device that can be used to model black box reactors, to lump or
delump components, or to just change the thermodynamic method sate. Specifying an entirely
different component and method slate for product and feed is possible in the SlateChange model.
Parameters
The BasisChanger unit is used to connect unit operations having different thermodynamic method
slates. This unit helps in smooth transition from one thermodynamic method slate to another.
Parameters
SIM4ME 112
Translation of PRO/II Models
In the above ROMeo parameter table, the parameter values present in the description
column having bold letters are the only possible ones that could be assigned during the
translation. For example, in the RESET model of PRO/II, one specification is pressure drop is
zero. Hence, the Spec1 has the value PressureDrop.
Hysys Stream Cutter is an object that allows user to switch the fluid package of a stream
anywhere in the flowsheet.
Parameters
SIM4ME 113
Translation of PRO/II Models
Parameters
ProII
TL Parameter Dynsim ROMeo
Parameters
CurrentFeeds NumOfFeeds
CurrentProducts NumOfProds
FeedData FeedStreams FeedStream FeedStream
ProductData ProdStreams ProdStream ProdStream
FirstFeed
FirstProduct
LastFeed
LastProduct
MethodData ProdMethodSlate ProdMethodSlate
IParamDataCalc TLIParamDataCalc
Spec2 TransferBasis
Pres
PresDrop
Temp
TempDiff
Duty
LiqFrac
VapFrac
Sizing
∆P ∗ Density
J = Flow ∗
Feed .Mw
Pro/II reset unit does not account for pressure drop and performs the flash at upstream pressure as
against the SlateChange that uses the downstream pressure in flash calculation. To reset the
downstream properties, it is desired that the pressure drop across SlateChange is small.
Though the ProII reset unit is mapped to a flow device in Dynsim, as there can be only one input
and one output stream for Pro/II Reset unit, no extra units will be added during translation.
SIM4ME 114
Translation of PRO/II Models
The ROMeo variables are mapped from the stream property values present in the TL layer:
Temperature = ProdStreams[0].Temperature
TempDiff = FeedStreams [0].Temperature - ProdStreams[0].Temperature
Duty = (ProdStreams[0].TotalMolarEnthalpy - FeedStreams [0].
TotalMolarEnthalpy)
Duty = ($Target.Duty)*(FeedStreams [0].TotalMolarRate)
Pres = FeedStreams [0].Pressure
SIM4ME 115
Translation of PRO/II Models
Reaction Set
This topic describes the scope and various scenarios of the HYSYS™ Reaction Set translation to
the equivalent PRO/II model.
PRO/II allows users to define sets of chemical reactions. These reaction sets can be used in
reactor unit operations and reactive distillation columns. Any number of reaction sets may be
defined. Each set may include any number of reactions. For each reaction, stoichiometric data,
heat of reaction data, kinetics data, equilibrium data, etc., may be supplied.
Please refer to the PRO/II Reference Manual for details on the various features and
usage.
Parameters
RxnSet Parameters
RxnSet Parameter UOM Description
KineTypeFlagCalc Kinetic rate calculation method
NumReactions Number of reactions
ReactionID Reaction components
RxSetDescription Reaction set description
Reaction Parameters
Reaction Parameter UOM Description
NumRxnComps Number of reaction data components
CompID Component IDs
StoichCoeffCalc Stoichiometric coefficients
RxnDefFormat Reaction display format
ReactionDescription Reaction description (formula, name)
HeatOfRxnOption Heat of reaction option (calculated, user-specified)
HeatOfRxnCalc kJ/kg-mol Heat of reaction
HRxnRefCompIDCalc Heat of reaction ref component
HeatRxnRefTempCalc K Heat of reaction ref temperature
HeatRxnRefPhaseCalc Heat of reaction ref phase
EquDataFlag Define equilibrium data flag
EquCoeffCalc Equilibrium coefficients A, B, C, D, E, F, G
EquRxnPhaseDfltCalc Equilibrium reaction default phase
EquLiqConcBasisCalc Equilibrium reaction liquid conc basis
EquVapConcBasisCalc Equilibrium reaction vapor conc basis
EquExponentCalc Equilibrium activity exponents
EquCompPhaseCalc Equilibrium data component reaction phases
EquilCoeffsTempUOM Temperature UOM for equilibrium coefficients
SIM4ME 116
Translation of PRO/II Models
Translation of Reaction Sets and Reactions to Dynsim has not yet been implemented.
ROMeo does not support reaction sets and reaction specifications at the flowsheet level. If a
reaction set is detected during translation, a warning message will be issued to that effect. In
ROMeo, reactions are specified within individual reactors. If the reactors require any information
from the reaction set or reaction data, the translator will update the reactors with that data.
Reaction Types
In PRO/II, a reaction may contain all of the necessary data for any type of reaction: Equilibrium,
Kinetic, Conversion, etc. However, in HYSYS™, a reaction is always of one type only and the
reaction parameters data will be present for one of the reaction types as signified by the
“ReactionType” parameter.
For a single kinetic reaction, HYSYS™ allows the specification of individual rate expressions for
the forward and reverse reactions (at equilibrium, the rates would be equal). However, the reverse
reaction data is currently not supported in the TL and PRO/II layers.
In HYSYS™, some of the data pertaining to a reaction (e.g. Conversion for a conversion
reaction) is specified in the reaction data rather than in a unit operation that uses the reaction. In
HYSYS™, the data for a particular reaction type is reported in the XML file of the unit operation,
SIM4ME 117
Translation of PRO/II Models
and is generally used in translating only the unit operation that uses the reaction and not the
reaction.
In PRO/II, two reactor units could use the same reaction with different conversions. However,
this is not possible in HYSYS and it requires two reactions with different conversions.
Parameters
RxnSet Parameters
RxnSet Parameter UOM Description
ReactionSetName Name of the Reaction Set.1
SetType Not currently used
NumberOfActiveRxns
ALIAS
The number of active reactions in this set
ActiveReactionList.Number
OfActiveRxns
ActiveReactions ALIAS
ActiveReactionList.x_Activ List of Active Reaction names within this set2
eReaction
NumberOfInactiveRxns
ALIAS Number of Inactive reactions in this set – Not
InactiveReactionList.Numb currently used
erOfInactiveRxns
InactiveReactions ALIAS
List of Inactive Reaction names within this set –
InactiveReactionList.x_Inac
Not currently used
tiveReaction
Notes:
1. Reaction Set names in the HYSYS XML files are not suitable for use in the TL and P2
layers. When loading the reaction set data into the HS holder in HSAccess.dll, the name
used here is RNNSETn where n is incremented for each set. The original HYSYS set
name is passed into the TL layer as a description.
2. Reaction names in the TL layer have been designed to combine the set name viz:
“reaction_name set_name”. The same convention is used in the HSAccess code to
append the owner set name to the reaction name.
Reaction Parameters
Reaction Parameter UOM Description
The type of reaction: i.e.
ConversionReactionObject,
ReactionType EquilibriumReactionObject,
KineticReactionObject, or
SimpleRateReactionObject.
ReactionName Name of the Reaction1
Concentration basis for equilibrium or
Basis kinetic reaction data e.g. “Partial
Pressure”, or “Molar Concentration”
Phase Phase for reaction
NumberOfReactants Number of components involved in the
SIM4ME 118
Translation of PRO/II Models
SIM4ME 119
Translation of PRO/II Models
Notes:
1. Reaction names in the TL layer have been designed to combine the set name viz:
“reaction_name set_name”. The same convention is used in the HSAccess code to
append the owner set name to the reaction name.
2. Because of the problem of relating components by name, the HSAccess code that loads
reactions translates the HYSYS component names into the PRO/II names that are mapped
during the Thermo loading. Therefore, it is the PRO/II names stored here.
3. Due to what looks like a bug in the HYSYS XML file, the Base Component name is
never set correctly. When this occurs the HSAccess code sets the name to “UNKNOWN”
4. Heats of reaction in HYSYS appear to be always calculated and are not output to the
XML file when only specification data is output.
Parameters
The parameters in this layer are named same as those in PRO/II except for a few minor changes.
RxnSet Parameters
RxnSet Parameter UOM Description
KineTypeFlag Kinetic rate calculation method
NumReactions Number of reactions
ReactionID Reaction components
RxSetDescription Reaction set description
Reaction Parameters
Reaction Parameter UOM Description
NumRxnComps Number of reaction data components
CompID Component IDs
StoichCoeff Stoichiometric coefficients
RxnDefFormat Reaction display format
ReactionDescription Reaction description (formula, name)
HeatOfRxnOption Heat of reaction option (calculated, user-
specified)
HeatOfRxn kJ/kg-mol Heat of reaction
HRxnRefCompID Heat of reaction ref component
SIM4ME 120
Translation of PRO/II Models
SIM4ME 121
Translation of PRO/II Models
This document describes the scope and various scenarios of the PRO/II Rigorous Heat Exchanger
translation to the equivalent Dynsim, ROMeo and HYSYS™ Heat Exchanger.
The Rigorous Heat Exchanger unit operation carries out a performance rating of an existing shell
and tube heat exchanger handling single phase, condensing or vaporizing streams. Vapor-Liquid
and Vapor-Liquid-Liquid phase equilibria are supported.
Parameters
SIM4ME 122
Translation of PRO/II Models
SIM4ME 123
Translation of PRO/II Models
The HeatExchanger is a single pass, two-sided heat exchanger that uses the LMTD approach to
calculate the duty. It can be configured as countercurrent or cocurrent. The two sides are called
Shell and Tube. Both sides are flow devices and are instances of the same model (HeatSide), i.e.,
they are modeled in the same way. They may be thought of as lumped-model analogs of the two
sides of a shell and tube heat exchanger.
There are four nodes in the HeatExchanger with each side containing two nodes (inlet and exit
nodes). The heat transfer across the sides is due to the heat duty based on the logarithmic mean
temperature difference across these nodes and to natural convection. Ambient heat loss is also
modeled and is calculated separately for each side.
Each side has a metal mass and volume associated with it. These are distributed equally across
the two nodes. The metal and fluid in a node are considered to be at the same temperature. Bypass
flow, fouling resistance, and boundary conditions (temperature and enthalpy specifications on the
nodes) are also modeled for each side.
Header is used for mixing up all streams and sending a single MergedFeed to Flow Device.
Drum is used for the phase separation and streams are connected to various ports based on the
product phase specifications.
Parameters
HeatSide
HeatSide Parameter UOM Description
Vol m3 Fluid volume of the side
J (kg/sec)/sqrt(kPa-kg/ m3) Flow conductance
SIM4ME 124
Translation of PRO/II Models
Parameters to States.dat
HeatSide
HeatSide Parameter UOM Description
Hi kJ/kg-mol Inlet node enthalpy
Hx kJ/kg-mol Outlet node enthalpy
Zi fraction Inlet node composition
Zx fraction Outlet node composition
MT kg-mol Total mole hold-up
Parameters
SIM4ME 125
Translation of PRO/II Models
Sub Model
Parameter/Variable UOM Type Description
Shell
FResist
CurrFoulingResistanceCas String Foul Resistance Case
e
CurrFoulingResistanceCas String Case Name
eName
CurrFoulingResistanceCas String
Desc Case Description
CurrFoulingResistance hr-m2-K/kJ Variable Foul Resistance Value
ShellSideHtCo
LogReyNo Variable Log of Reynolds Number
ReyNo Variable Reynolds Number
PrandtlNo Variable Prandtl Number
NoOfBaffles Variable Number of Baffles
ShellToBaffleLeakageArea m2 Variable Leak Area between Baffle and Shell
TubeToBaffleLeakageArea m2 Variable Leak Area between Baffle and Tube
NoOfTubeRowsInACrossF Variable
lowSection Number of Tubes in Cross Flow Area
HtCo KJ/m2-K Variable Heat Transfer Coefficient
CorrFactBaffleLeakage Variable Baffle Leakage Correction Factor
CrossFlowArea m2 Variable Cross Flow Area
kJ/Kg-Mol- Variable Average Specific Heat
AvgSpHt K
AvgVisc Pa-Sec Variable Average Viscosity
AvgCond W/m-K Variable Average Conductivity
SIM4ME 126
Translation of PRO/II Models
ShellConfig
TubePitch m Variable Tube Pitch
BaffleCut Fraction Variable Baffle Cut
BaffleSpacing m Variable Baffle Spacing
NoOfSealStrips Variable Number of Seal Strips
MaxBaffleSpacing m Variable Maximum Baffle Spacing
GrossWindowArea m2 Variable Gross Window Area
TubeWindowArea m2 Variable Tube Window Area
FractionOfTubesInCrossFl Fraction Variable Fraction of Tubes In Cross Flow
ow
FlowWindowArea m2 Variable Flow Window Area
WindowEquivDia m Variable Equivalent Window Diameter
TubeLayoutOption String Default is Square Rotated
ShellsArrangement String Default is Series
BaffleSpacingEntranceRati Variable Ratio of entrance baffle spacing to
o baffle spacing
Variable Ratio of exit baffle spacing to baffle
BaffleSpacingExitRatio spacing
TubeOtl m Variable Tube Outer tube Limit
TubeHtTransArea m Variable Tube Heat transfer area
TubeArea m Variable Tube cross area
MinBaffleSpacing m Parameter Minimum baffle spacing
SIM4ME 127
Translation of PRO/II Models
Tube
CurrSpec String Current Specification
v_Duty kj/sec Variable Duty
v_DewPtPlus K Variable Temperature above Dew Point
v_BubPtMinus K Variable Temperature below Bubble Point
v_TempChange K Variable Temperature Change
v_ProdTemp K Variable Product Temperature
v_ProdVapFrac Fraction Variable Product Vapor Fraction
v_Pres kPa Variable Pressure
v_PresDrop kPa Variable Pressure Drop
TubeSideHtCo
ReyNo Variable
PrandtlNo Variable
Pres kPa Variable Pressure
HtCo KJ/m2-K Variable Heat Transfer Coefficient
FricFact Variable Tube Friction Factor
TubesPerPass Variable Tubes per pass
TubeDPUnit Variable
Pres kPa Variable Pressure
PresDrop kPa Variable Pressure Drop
PresChoice Variable Pressure Drop calculation choice
MassVel Kg/m/sec Variable Mass Velocity
MassFlowRate Kg/sec Variable Mass Flow Rate
kJ/Kg- Variable Average Specific Heat
AvgSpHt Mol-K
AvgVisc Pa-Sec Variable Average Viscosity
AvgCond W/m-K Variable Average Conductivity
TubeArea m2 Variable Tube Area
hr-m2- Variable
CurrFoulingResistance K/kJ Foul resistance value
CurrFoulingResistanceCase String Foul resistance case
CurrFoulingResistanceCase String
Name Case Name
CurrFoulingResistanceCase String Case Description.
Desc
Heat Exchanger can be specified in number of ways viz. Exchanger Design (Weighted end point),
Steady State Rating, UA, Duty, LMTD, Product temperature, Temperature Difference, Sub
cooling, Superheating, Shell and tube bundle data, Shell and tube pressure drop.
SIM4ME 128
Translation of PRO/II Models
Parameters
SIM4ME 129
Translation of PRO/II Models
Units of Measure
Internal Units of Measure for the Common Data Base Structure is in P2Internal units
Parameters
Common Parameters
PRO/II TL Parameter Dynsim Parameter ROMeo Parameter
FirstFeed
LastFeed
FirstProduct
LastProduct
ProductStoreData
PseudoProdData
FlowTypeFlag CoCurrentFlag CoCounterFlag FlowDir
NumOfTube NumOfTube NumberOfTubes
SIM4ME 130
Translation of PRO/II Models
Common Parameters
PRO/II TL Parameter Dynsim Parameter ROMeo Parameter
NumOf TubePasses NumOf TubePasses NumOfTubePasses
NumOfShellPasses NumOfShellPasses
NumOfParShells NumOfParShells Shell
NumOfSerShells NumOfSerShells Shell
NumOfFansPerBay
FanDraftType?
AttachedSideFlag
AttachedTypeFlag
ColuHeaterName
ColuPAName
UValFoul U UOverall U
UAVal UAValue UArea
Ul
Un
AreaUsingUDirty Area Area TubeHtTransAreaOutside /
TubeHtTransAreaInside
FTFct LMTDFactor LMTDFactor
LogMeanTempDiff LMTD LMTD LMTD
MeanTempDiff
ExchngHtDuty HeatDuty TubeDuty/ShellDuty
Shell/Tube Side parameters
Shell.NumOfFeeds Shell.NumOfFeeds
CurrentFeeds
Tube.NumOfFeeds Tube.NumOfFeeds
Shell.NumOfProds Shell.NumOfProds
CurrentProducts
Tube.NumOfProds Tube.NumOfProds
Shell.MergedFeed
MergedFeed
Tube. MergedFeed
Shell. MergedProd
MergedProduct
Tube. MergedProd
Shell.OFeedStream Shell.FeedStreams
FeedData
Tube.OFeedStream Tube.FeedStreams
Shell.OProdStream Shell.ProdStreams
ProductData
Tube.OProdStream Tube.ProdStreams
TubeLen Tube.Length TubeLength
TubePressDropCalc Tube.PressureDrop PresDrop
TubeFoulFct
TubeDens Tube.MetalDensity
TubeThck Tube.Thickness
TubeFilmCoeff Tube.FilmCoeff
TubeFoul Tube.FoulRes Tube.FoulRes CurrFoulingResistance
TubeTempOut Tube.Tx Tube.OutletTemperature ProdTemp
ShellTempOut Shell.Tx Shell.OutletTemperature ProdTemp
TubeID Tube.InsideDiameter TubeId
TubeOD Tube.OutsideDiameter TubeOd
ShellID Shell.InsideDiameter
ShellFoulFct
SIM4ME 131
Translation of PRO/II Models
Common Parameters
PRO/II TL Parameter Dynsim Parameter ROMeo Parameter
ShellPressDropCalc Shell.PressureDrop PresDrop
ShellFoul Shell.FoulRes Shell.FoulRes CurrFoulingResistance
Shell.h
Tube.h
Shell.Wref
Tube.Wref
Shell.Href
Tube.Href
Shell.Ti Shell.InletTemperature
Tube.Ti Tube.InletTemperature
Shell.Hi, Shell.Hx Shell.InletSpecificEnthalpy
Tube.Hi, Tube.Hx Shell.OutletSpecificEnthalpy
Tube.InletSpecificEnthalpy
Tube.OutletSpecificEnthalpy
Shell.Zi, Shell.Zx Shell.InletCompMoleFractio
Tube.Zi, Tube.Zx n
Shell.OutletCompMoleFracti
on
Tube.InletCompMoleFractio
n
Tube.OutletCompMoleFracti
on
Shell.MT Shell.TotalMoles
Tube.MT Tube.TotalMoles
Shell.M Shell.CompMolesState
Tube.M Tube.CompMolesState
ShellEmptyWt Shell.Mm Shell.MetalMass
Tube.Mm
Shell.J Shell.FlowConductance
Tube.J Tube.FlowConductance
Shell.Vol Shell.Volume
Tube.Vol Tube.Volume
SIM4ME 132
Translation of PRO/II Models
If HS calculated values, for Shell/Tube heat transfer coefficient is zero or less than zero then
these are calculated as
1 1 1
= + + FR(t ) + FR( s )
U HTC (t ) HTC ( s )
U *2
HTC =
(1 − U * ( FR(t ) + FR( s ))
where:
In the common data model the SimpleHx in PROII is retained as is and the following parameters
are calculated.
Volume of nodes
Total Moles
= Vol ⋅ MassDensity
MT
Mw
Flow Conductance
F ⋅ MW f
J=
∆P ⋅ R f ⋅ MW f
Ri + Rx
Rf =
2
MW f ⋅ Ri + MWx ⋅ Rx
MW f =
Ri + Rx
SIM4ME 133
Translation of PRO/II Models
where:
Fi - Inlet mole flow rate in (kg-mol/sec)
J - Flow conductance in (kg/sec)/sqrt(kPa kg/m3)
MWf - Forward molecular weight in (kg /kg-mol)
MWi - Inlet node fluid molecular weight in (kg /kg-mol)
MWx - Exit node fluid molecular weight in (kg /kg-mol)
Rf - Forward molar density in (kg-mol/m3)
Ri - Inlet node fluid molar density in (kg-mol/m3)
Rx - Exit node fluid molar density in (kg-mol/m3)
∆P - Pressure difference across the side in (kPa)
Metal Mass
Based on the volume of side and density of 7760 kg/m3 we can calculate the metal mass.
TotalDuty = Q + Qn
Q = U * Area * LMTD
Qn = n
U * Area
(Tin + Tout − 2.0 * Tavg )
2.0
(T + T ) + (Tin + Tout )side 2
Tavg = in out side1
4.0
TotalDuty − Qn
U=
Area * LMTD
2.0
h=
⎛1 ⎞
⎜ − 2.0 * Foul Re s ⎟
⎝U ⎠
In above equations, Qn can be calculated using Dynsim’s default value for Un and hence ‘h’.
SIM4ME 134
Translation of PRO/II Models
[1 - 2(lc/Ds)] /pp
where:
Lc/Ds - Baffle Cut (fraction)
pp - Parallel Pitch
0.8lc/pp
where:
Lc :- Baffle Cut (m)
where:
TubeOtl - Outer Tube Limit
Parallel Pitch
TubePitch * 0.707106781
Normal Pitch
TubePitch * 0.707106781
Shell Diameter
ShellDiameter * (NumShellsInPar)
Number of Tubes
NumofTubes * NumShellsInPar
SIM4ME 135
Translation of PRO/II Models
4 * FlowWindowArea
(1.57 * NumberOfTubes * (1 - FractionOfTubesInCrossFlow) * TubeOd + ShellDia * 2 * (1 - 2 * BaffleCut))
SIM4ME 136
Translation of PRO/II Models
Shortcut Column
This section describes the scope and various scenarios of the HYSYS™ Shortcut Column
translation to a PRO/II Shortcut distillation column.
PRO/II contains shortcut distillation calculation methods for determining column conditions such
as separations, minimum trays, and minimum reflux ratios. The shortcut method assumes that an
average relative volatility may be defined for the column. The Fenske method is used to compute
the separations and minimum number of trays required. The minimum reflux ratio is determined
by the Underwood method. The Gilliland method is used to calculate the number of theoretical
trays required and the actual reflux rates and condenser and reboiler duties for a given set of
actual to minimum reflux ratios. Finally, the Kirkbride method is used to determine the optimum
feed location.
The shortcut distillation model is a useful tool for preliminary design when properly applied.
Shortcut methods will not, however, work for all systems. For highly non-ideal systems, shortcut
methods may give very poor results or no results at all. In particular, for columns in which the
relative volatilities vary greatly, shortcut methods will give poor results since both the Fenske
and Underwood methods assume that one average relative volatility may be used for calculations
for each component.
There are two shortcut distillation models available in PRO/II. In the first method
(CONVENTIONAL), which is the default, total reflux conditions exists in the column. In the
second method (REFINE), the shortcut column consists of a series of one feed, two product
columns, starting with the bottom section. In this model, there is no reflux between the sections.
Parameters
SIM4ME 137
Translation of PRO/II Models
Parameters
SIM4ME 138
Translation of PRO/II Models
SIM4ME 139
Translation of PRO/II Models
This document describes the scope and various scenarios of the PRO/II Simple Heat Exchanger
translation to the Dynsim Heat Exchanger or Utility Exchanger and a ROMeo Heat Exchanger. It
also describes the HYSYS™ Heater/Cooler translation to a PRO/II Simple Heat Excahnger.
Simple heat exchanger could be two sided or one sided (Utility exchanger). Each side could have
one or more feed and one or more product.
Parameters
SIM4ME 140
Translation of PRO/II Models
SIM4ME 141
Translation of PRO/II Models
The Heat exchanger and Utility exchanger are single pass, two-sided heat exchanger that uses the
LMTD approach. In the Utility exchanger, utility fluid passes through one of the sides. Both sides
of Heat exchanger and process side of Utility exchanger are flow devices.
There are four nodes with each side containing two nodes (inlet and exit nodes). The heat transfer
across the sides is due to the heat duty based on LMTD across these nodes and to natural
convection.
Header is used for mixing up all streams and sending a single MergedFeed to Flow Device.
Drum is used for the phase separation and streams are connected to various ports based on the
product phase specifications.
Parameters
HeatSide
HeatSide Parameter UOM Description
Vol m3 Fluid volume of the side
J (kg/sec)/sqrt(kPa-kg/ m3) Flow conductance
UtilitySide
UtilitySide Parameter UOM Description
Cpf kJ/kg-K Fluid mass specific heat (required for OTHER
option, set for AIR & WATER options, not
used for CONST_T & HEATSTREAM
options)
Mf kg Utility fluid mass holdup (required for OTHER
option)
SIM4ME 142
Translation of PRO/II Models
Parameters to States.dat
HeatSide
HeatSide Parameter UOM Description
Hi kJ/kg-mol Inlet node enthalpy
Hx kJ/kg-mol Outlet node enthalpy
Zi fraction Inlet node composition
Zx fraction Outlet node composition
MT kg-mol Total mole hold-up
UtilitySide
UtilitySide Parameter UOM Description
W kg Utility mass flow rate
The Heat Exchanger models the heating or cooling of a stream to meet a given specification. The
heat exchanger unit can have one or two sides.
• One-sided units exchange energy between a process stream and a theoretically infinite
source or sink
• Two-sided units exchange heat between two process streams or exchange heat between a
process stream and a utility stream.
SIM4ME 143
Translation of PRO/II Models
• For a one-sided heat exchanger, the operating specification is either the duty or an outlet
stream condition. The outlet stream condition can be the temperature, the liquid fraction,
or it can be related to the dew or bubble point temperature of the stream.
• A two-sided heat exchanger transfers heat between two feed streams, adjusting the duty
to satisfy the operating specification. You must specify one operating specification for
the heat exchanger and, optionally, the pressure drop for each side of the heat exchanger.
The ROMeo Simple Heat Exchanger unit operation models one and two-sided heat exchangers
without zones analysis.
• The LMTD calculations assume that no phase change takes place (i.e. only sensible heat
is exchanged).
The ROMeo Simple Heat Exchanger model has one feed stream for each side. If multiple feed
streams are required, you must combine the streams using a Mixer unit operation before the heat
exchanger.
The ROMeo Simple Heat Exchanger model has just one product stream for each side. If you
require multiple product streams, you must divide the stream using a Splitter unit operation after
the exchanger. If you need to separate product phases, add a Flash unit operation after the heat
exchanger.
Both hot-side and cold-side streams can be either single or mixed phase.
Utility feed streams must be defined as product streams from Source unit operations
Temperature specifications
The product stream temperature can also be specified in relation to the dew or bubble point
temperature.
• You must specify the configuration of the exchanger as one or two-sided and specify the
hot side as either tube or shell side.
• For heat exchangers already on the flowsheet, you can change these specifications by
right-clicking on the unit icon for a menu of options.
• The hot side loses energy (duty is negative) and the cold side gains energy (duty is
positive). The heat exchanger will generate a warning if the sides are not correctly
specified, but the solution will still be correct. However, ROMeo does not automatically
switch sides even when the cold side has a higher temperature. Correct steam assignment
is the responsibility of the user.
SIM4ME 144
Translation of PRO/II Models
Parameters
Sub Model
Shell Parameter UOM Description
Pres kPa
PresDrop kPa
Duty kJ/sec Duty
DewPtPlus K Dew Point Plus
BubPtMinus K Bubble Point Minus
TempChange K Temperature Change (increase/decrease)
ProdTemp K Product Temperature
ProdVapFrac fraction Product Vapor Fraction
Tube Parameter
Pres kPa
PresDrop kPa
Duty kJ/sec Duty
DewPtPlus K Dew Point Plus
BubPtMinus K Bubble Point Minus
TempChange K Temperature Change (increase/decrease)
ProdTemp K Product Temperature
ProdVapFrac fraction Product Vapor Fraction
LMTD
DeltaTemp1 K
DeltaTemp2 K
DeltaTempHi K
SIM4ME 145
Translation of PRO/II Models
DeltaTempLo K
DeltaTempHi2 K
TempRatio
LMTD LMTD
CorrFact
CorrFactPrime
RVar
SVar
SPrime
CorrFact fraction CorrFact
RTemp
Heater and Cooler operations in HYSYS™ are translated as a single sided exchanger in PRO/II.
These models have a process feed stream, a product stream, and a heat stream connected to the
energy port.
Heater and Cooler can have the specifications: Duty, Product temperature, etc. If the
Heater/Cooler is specified with other than Duty, then it is mapped to product temperature.
Parameters
SIM4ME 146
Translation of PRO/II Models
Units of Measure
Internal Units of Measure for the Common Data Base Structure is in P2Internal units
Parameters
Parameter UOM Description
NumOfFeeds
NumOfProds
CoCounterFlag Flow Direction Flag
HeatDuty KJ/sec Duty
Hoci K HOCI Temperature Approach
Hico K HICO Temperature Approach
Hoco K HOCO Temperature Approach
MinHociHico K Minimum HOCI/HICO
UAValue KW/K U*A
UOverall KW/m2- U
K
Area m2 Area
LMTDFactor LMTD Correction Factor
LMTD LMTD Value
SpecTypeFlag Specification Type Flag
HxSides Two-Sided/Single Sided (Hot/Cold) param
SIM4ME 147
Translation of PRO/II Models
SIM4ME 148
Translation of PRO/II Models
SIM4ME 149
Translation of PRO/II Models
In the common data model the SimpleHx in PRO/II is retained as is and the following parameters
are calculated.
U /Area
If Uoverall or Area is also available then the other could be calculated otherwise a value of Uoverall
(0.284 kW/m2-K == 50 Btu/hr-ft2-F) will be assumed and Area will be calculated.
Volume of nodes
Assume equal volumes for each side. The tube-side volume can be calculated from following
equation (Plantwide Dynamic Simulators in Chemical Processing and Control, W. L. Luyben,
p.16)
D
V = * Area
4
SIM4ME 150
Translation of PRO/II Models
The pipe diameter can be fixed by selecting a standard pipe size. We will use a pipe with ¾” NPS
and pipe schedule of 40 which has
OD = 1.05"
ID = 0.824"
Thickness = 0.113
Total Moles
= Vol ⋅ MassDensity
MT
Mw
Flow Conductance
F ⋅ MW f
J=
∆P ⋅ R f ⋅ MW f
Ri + R x
Rf =
2
MW f ⋅ Ri + MW x ⋅ R x
MW f =
Ri + R x
SIM4ME 151
Translation of PRO/II Models
In TL layer the Total Duty and Uoverall *Area will always be available.
Qn = n
U * Area
(Tin + Tout − 2.0 * Tavg )
2.0
(T + T ) + (Tin + Tout )side 2
Tavg = in out side1
4.0
TotalDuty − Qn
U =
Area * LMTD
2.0
h=
⎛1 ⎞
⎜ − 2.0 * Foul Re s ⎟
⎝U ⎠
In above equations, Qn can be calculated using Dynsim’s default value for Un and hence ‘h’.
Metal Mass
Based on the volume of side and density of 7760 kg/m3 we can calculate the metal mass.
WMax = W / Pos
Mf = W * 5
SIM4ME 152
Translation of PRO/II Models
This document describes the scope and various scenarios of the PRO II Spec, Vary, and Define
utilities translation to the equivalent ROMeo model. Spec and Vary of controller and MVC and
internal spec and vary of column are supported while those from Optimizer, Calculator and
Stream Calculator are not supported.
Specification
The generalized performance specification is a powerful tool with which you can calculate the
values for flowsheet operating conditions needed for a desired result. The performance of any
unit operation can be controlled by a specification using a controller or MVC. Additionally, for
unit operations like the flash, column and splitter the performance can be controlled by internal
specifications.
PRO/II allows numerous stream and unit operation parameters to be selected for specifications.
All specifications may simply set a flowsheet parameter at a specified value.
Variable
The generalized variable parameters are those which can be explicitly varied in order to satisfy
the specifications set in unit operations such as controller, MVC and column. There is always a
one-to-one relationship between the number of specifications and degrees of freedom (number of
parameters that can be varied to achieve the desired result).
Define
Unit operation parameters are normally given fixed numeric values. The Define system provides
an alternative method of setting a unit operation parameter in terms of other unit or stream
parameters in the flowsheet. The defined parameter may be set equal to another flowsheet
parameter or it may be the sum, difference, product or quotient of any two flowsheet parameters
or constants. The parameters on which the defined parameter is based are called Reference
Parameters. If the values of the reference parameters change, the defined parameter will
automatically be changed as well.
Parameters
SIM4ME 153
Translation of PRO/II Models
where allowed math operators are “+”, “-“, “/” and “*”.
In both cases, Reference could be a variable or a constant and it is optional. In case of Define,
Primary could be a variable or a constant while in case of Spec, Primary is always a variable.
Spec parameters are subset of define parameters so, only additional define parameters are
mentioned after the table of Spec parameters.
SIM4ME 154
Translation of PRO/II Models
Additional Define
Description
Parameter
DefEstimate Estimate for define variable (not used so far)
Basis for define (1=mol basis, 2=wt. basis, 3=liq. vol. basis,
DefBasisFlag
4=gas vol. basis)
Parameter class for define (0=undefined, 1=stream related,
DefParameterClass 2=total feed to unit, 3=column tray internal flow, 4=unit op,
5=unit op spec, 6=constant value, 7=thermo, 8=reaction, 9=tag)
Value type for define (1=actual value, 2=fraction, 3=percent,
DefValueTypeFlag
4=parts per million (ppm))
DefVectorVatEntry Index of Define variable, if vector
DefWetDryBasisFlag Wet/Dry basis flag (1=wet, 2=dry)
DefInternalStreamID Stream ID of internal stream
DefUnitID Unit ID of unit of define variable
DefVatEntryNumber Define variable name
DefVectorVatName String element of Define vector variable
DefDimenUnit UOM for define
SIM4ME 155
Translation of PRO/II Models
There is no equivalent Dynsim model. Spec, Vary and Define used in PRO/II flowsheet is
ignored during translation to Dynsim.
All Spec, Vary and Define given in a PRO/II flowsheet are translated into a single flowsheet
customization in ROMeo database where the variable(s) is either set as independent or dependent
or set up in an equation form.
PRO/II allows user to vary flowrates of recycle loop streams via controller. In ROMeo, it is
not possible to do this using customization because the recycle stream flow variable is a
dependent variable. This leads to a customization error during translation. User should modify
the translated flowsheet appropriately.
Parameters
RM holders has following parameters, which are used to facilitate the translation.
Parameter Description
SIM4ME 156
Translation of PRO/II Models
Parameter Description
HYSYS™ has two models that perform similar operations to the PRO/II SPEC, VARY, DEFINE
functionality namely, SetOp Unit and Adjust Unit.
SetOp Unit
The SetOp unit transfers information between flowsheet objects using a generalized form of:
<Target> and <Source> can be attributes of a Unit Operation, Process stream, or Energy stream.
<Multiplier> and <Offset> are constant values.
Parameters - SetOp
Parameter Description
TargetObject The name of the Target object.
TargetObjectType The type of the Target object e.g. EnergyStreamObject,
MaterialStreamObject, ExpanderOpObject etc.
TargetVarDescription Text string describing the attribute of both the Target and
Source objects. For example, Temperature, Power, and Duty.
Note that there is no equivalent for the Source object – the
TargetVarDescription applies to both.
SourceObject The name of the Source object.
SIM4ME 157
Translation of PRO/II Models
Parameter Description
SourceObjectType The type of the Source object. For example,
EnergyStreamObject, MaterialStreamObject,
ExpanderOpObject.
Multiplier The value of the constant multiplier
Offset The value of the constant offset.
Adjust Unit
The Adjust unit performs the equivalent of a Controller in PRO/II. It can adjust an operating
parameter in the flowsheet to achieve a desired value for a specified calculated result.
Parameters - Adjust
Parameter Description
AdjustedObject The name of the Adjusted object.
AdjustedObjectType The type of the Adjusted object. For example,
EnergyStreamObject, MaterialStreamObject,
ExpanderOpObject.
AdjustedVarDescription Text string describing the attribute of the Adjusted object.
For example, Temperature, Power, Duty.
MinAdjustedVariable The minimum allowable value of the Adjusted variable (not
currently used)
MaxAdjustedVariable The maximum allowable value of the Adjusted variable (not
currently used)
MaxIterations Maximum number of iterations (not currently used)
StepSize Maximum allowable step size (not currently used)
Parameters - Target
Parameter Description
TargetObject The name of the Target object
TargetObjectType The type of the Target object. For example,
EnergyStreamObject, MaterialStreamObject,
ExpanderOpObject.
TargetVarDescription Text string describing the attribute of both the Target and
Matching objects. For example, Temperature, Power, and
Duty.
Note that there is no equivalent for the Matching object – the
TargetVarDescription applies to both.
NewSourceSelection Text variable which determines the form of the specification:
“User Supplied” for <TargetVariable> = <Value>
Otherwise for <TargetVariable> - <MatchingVariable> =
<Offset>
SIM4ME 158
Translation of PRO/II Models
Parameter Description
MatchingObject The name of the Matching object
MatchingObjectType The type of the Matching object e.g. EnergyStreamObject,
MaterialStreamObject, ExpanderOpObject etc.
TargetVariable The target value when the specification is
<TargetVariable> = <Value>
MatchingOffset The offset value when the specification is
<TargetVariable> - <MatchingVariable> = <Offset>
Tolerance Absolute Tolerance
There is one to one correspondence between P2 and TL parameter and their names are same so,
its not repeated here. The exceptions are:
Limitations
PRO/II to ROMeo
HYSYS to PRO/II
SIM4ME 159
Translation of PRO/II Models
Splitter
This document describes the scope and various scenarios of the PRO II Splitter translation to the
equivalent Dynsim, ROMeo and HYSYS™ model.
This model is used to mix multiple streams and split the total flow rate between them based on
the specifications.
The temperature and phase of the outlet streams of the splitter unit are determined by performing
an adiabatic flash calculation at the specified pressure, and with duty specification of zero. The
composition and phase distribution of each product stream will be identical. One feed stream or
mixtures of two or more feed streams are allowed.
For a Splitter unit having M number of declared products, (M – 1) product specifications are
required. This properly implies the Splitter requires a minimum of two product streams, and
every product stream except for one must have a product specification
Parameters
SIM4ME 160
Translation of PRO/II Models
The Header is a pressure node that can be used to model flow mixing, flow splitting, and piping
holdup dynamics.
Header includes both COMPRESSIBLE and INCOMPRESSIBLE options for holdup dynamics.
The INCOMPRESSIBLE dynamics option is the default and can be used for either vapor, liquid
or two-phase fluids.
The iterated and explicit solution options are available for pressure calculations. The iterated
solution option is used for INCOMPRESSIBLE and small volume COMPRESSIBLE systems.
The explicit solution option is used for large volume compressible systems and for decoupling
large incompressible pressure flow networks.
Parameters
Header
Parameter UOM Description
Vol m3 Header volume
Area m2 Header surface area
Mm kg Header metal mass
Parameters to States.dat
Header
Parameter UOM Description
Z [0]...........Z [i]
fraction Composition
FLASH.Z [0]...FLASH.Z [i]
H & FLASH.H kJ/kg-mol Enthalpy
P & FLASH.P kPa Pressure
T & FLASH.T K Temperature
SIM4ME 161
Translation of PRO/II Models
The Splitter unit models the division of a single feed stream into two or more product streams.
The principal operating specification for the Splitter unit is the portion of the feed stream that
exits the unit in each product stream. This specification may be given in relative terms (fraction
of feed leaving in each product stream) or in absolute terms (flowrate in each product stream).
The Splitter unit operation models the splitting of a feed stream into two or more product streams.
The temperature, pressure, and composition of the product streams are identical to those of the
feed stream.
The Splitter model allows multiple product streams but is restricted to a single feed stream.
You must specify one of the product streams as the “dependent” stream. ROMeo automatically
adjusts the flowrate of the dependent stream so that the summed flow rates of the activated (ON)
product streams equal the flowrate of the feed stream. The independent (non-dependent)
flowrates or fractions will be fixed at the values you enter. If the sum of the independent
flowrates exceeds the feed rate, a warning will be issued during Generate Estimates, and the
flowrate of the dependent stream will be initialized to a small positive value. If, at convergence,
any product stream has a negative rate, the Splitter will return an error when you Check Solution
Validity.
The Splitter model is independent of the number of phases in the feed stream and may thus be
used with VLE or VLLE systems.
Splitter model allows multiple product streams but is restricted to a single feed stream. A Mixer is
added at the inlet when multiple feed streams are encountered in PRO/II Splitter.
There are no pressure specifications in the Splitter model. A Valve is added at the inlet to account
for pressure imbalance arising due to pressure specification in PRO/II splitter.
SIM4ME 162
Translation of PRO/II Models
HYSYS™ equivalent for Splitter is Tee. This operation splits one feed stream into multiple
product streams with the same conditions and compositions as the feedstream. Flow Ratio is
generally between 0 and 1. If a ratio greater than one is specified, then one of the outlet streams
will have a negative flow-ratio and negative flow (backflow). Split-Ratio is usually given in the
Splitter flowsheets.
Parameters
Units of Measure
Internal Units of Measure for the Common Data Base Structure is in SI units
Parameters
SIM4ME 163
Translation of PRO/II Models
The Splitter in PRO/II is translated to Header in TLLayer. Volume, total moles, and individual
component moles characterize the TLHeader. These parameters are calculated as follows:
When TLHeader is translated to DS header additional parameters such as area of heat transfer and
metal mass should be calculated. The DSHeader parameters are calculated as follows:
4 ⋅ Volume
Diameter = 3
H / D Ratio ⋅ π
Height = H / D Ratio ⋅ Diameter
Area = π ⋅ Diameter ⋅ Height
Metal Mass = π ⋅ Diameter ⋅ Thickness ⋅ Height ⋅ MolarDensity
( Density = 7760kg / m 3 )
There is no derived parameter calculation for translation from TL to Dynsim layer mapping.
SIM4ME 164
Translation of PRO/II Models
Stream
This section describes the scope and various scenarios of the PRO/II Stream translation to
Dynsim and ROMeo Stream.
The streams in PRO/II can contain any number of components and can exist in mixed phases. It
is used to establish connectivity between the unit operation modules. The feed stream sets the
composition and thermal condition that will be used by the unit operation module for calculation.
Similarly, the unit operation usually sets the composition and condition of its outlet streams after
the calculation is completed.
There are other classes of streams such as MergedFeed and MergedProduct streams. These are
used by the unit operation modules for internal calculations. MergedFeed stream holds the flash
results of mixed inlet streams. MergedProduct stream holds the properties of the stream at the
outlet condition of the unit operation module prior to phase separation (if any).
Parameters
SIM4ME 165
Translation of PRO/II Models
Process stream is used to connect equipment models. The streams support for reverse flow,
reduces model complexity and overhead by using mixed property and enthalpy basis, includes
density and molecular weight to pass to downstream flow devices.
Parameters to States.dat
Stream is used to connect unit operation modules. It can be used for including objective
functions, adding value equations, selecting properties for viewing in the Report etc.
Parameters
SIM4ME 166
Translation of PRO/II Models
Parameter UOMDescription
Array holding the stream property domain (Enth,
~Props
Dens etc)
~Flows Array holding the flow domain (Mass, Vol etc)
~COMPSLATE Component slate
~DOMAIN_MoleFrac Mole fraction is defined over this domain.
~DOMAIN_PhaseFrac Phase fraction is defined over this domain
~DOMAIN_Prop Stream properties are defined over this domain
~DOMAIN_Flow Stream flows are defined over this domain
Equil.~DOMAIN_PhasePresence Phase presensce is defined over this domain
Liq.~DOMAIN_MoleFrac Liquid mole fraction is defined over this domain
Vap.~DOMAIN_MoleFrac Vapor mole fraction is defined over this domain
Second Liquid phase mole fraction is defined over
Liq2.~DOMAIN_MoleFrac this domain (dynamically created only if phase
exists)
Liquid phase composition (dynamically created
Liq.MoleFrac fraction
only if phase exists)
Second liquid phase composition (dynamically
Liq2.MoleFrac fraction
created only if phase exists)
Vapor phase composition (dynamically created only
Vap.MoleFrac fraction
if phase exists)
Note: All properties prefixed by tilds (~) are not ROMeo properties. These are used by
RMAccess to set properties in ROMeo database.
Parameters
SIM4ME 167
Translation of PRO/II Models
MassDensity
MolarDensity =
MW
There is no derived parameter calculation for translation from TL to Dynsim layer mapping.
There is no derived parameter calculation for translation from TL to ROMeo layer mapping.
SIM4ME 168
Translation of PRO/II Models
Stream Calculator
This section describes the scope and various scenarios of a HYSYS™ Component Splitter
translation to a PRO/II Stream Calculator.
The stream calculator is a flexible unit that allows blending of any number of feed streams and
produce top and bottom product with defined composition and thermal condition. The product
streams can be further split into individual phases as in a Flash unit operation. A pseudo product
can also be created which does not affect the material and energy balance of the unit.
Parameters
SIM4ME 169
Translation of PRO/II Models
HYSYS™ Component Splitter is a utility model to separate top and bottom products based on
user specified split fraction. Any number of feed and overhead product streams can be connected
to this unit. The user defines the product splits of each of the overhead product and thermal
condition of the overhead product stream by setting appropriate inputs for Pressure-Temperature
(PT), Pressure-Enthalpy (PH) or Pressure-VF flashes.
Parameters
BottomProduct ALIAS
ProductData ProdStreams BottomsStream.Stream.TaggedName
SplitFractionValSet ALIAS
OvhdRecov RecoveryFraction x_SplitFractionSet.x_SplitFraction.FractionToOverhead
BtmsTemp BottomTemperature
BtmsPress BottomPressure
OvhdTemp OverheadTemperature
OvhdPress OVerheadPressure
SIM4ME 170
Translation of PRO/II Models
Valve
This section describes the scope and various scenarios of the PRO/II Valve translation to the
Dynsim and ROMeoValve and HYSYS™ Valve and Relief Valve to a PRO/II Valve.
The valve unit operates in a similar manner to an adiabatic flash. The outlet pressure, or the
pressure drop across the valve is specified, and the temperature of the outlet streams is computed
for a total duty specification of 0. The outlet product stream may be split into separate phases.
Both VLE and VLLE calculations are allowed for the valve unit. One or more feed streams are
allowed for this unit operation.
Units of Measure
Internal Units of Measure for the Dynsim are mostly in SI units and the deviations are consistent
across PRO/II and Dynsim
Parameters
SIM4ME 171
Translation of PRO/II Models
The valve is a flow device in Dynsim and it will accept only single inlet and single outlet. The
flow rate of the valve is calculated using the Cv. Valve also had an optional flash flag, which will
flash the product and recalculate the properties.
Header is used for mixing up all streams and sending a single MergedFeed to Flow Device.
Drum is used for the phase separation and streams are connected to various ports based on the
product phase specifications.
Parameters
SIM4ME 172
Translation of PRO/II Models
Parameters to States.dat
Parameter UOM Description
J (kg/sec)/sqrt(kPa-kg/ m3) Volume
OP fraction Valve opening
POS fraction Valve stem position
DP kPa Pressure drop
L fraction Normalized valve lift
The ROMeo Valve unit operation models the adiabatic pressure drop of a fluid through a single-
input, single-output valve.
If a mixed phase product stream is required, a Flash unit operation must be included downstream
to model for separation of the phases.
Specifications:
• Outlet pressure, or
• Pressure drop across the valve, or
• An empirical correlation that relates valve stem position, feed (and sometimes product)
conditions (e.g. flow rate, temperature, molecular weight, density) to the pressure drop, or
• An empirical correlation with Pressure Drop
For initialization, the Valve unit copies the values from the feed stream to the product stream,
taking into account the change in pressure. If the individual phase compositions of the product
stream are required, ROMeo performs a black box adiabatic flash of the product stream.
Parameters
SIM4ME 173
Translation of PRO/II Models
HYSYS™ performs an isenthalpic flash on the fluid passing through a single-input, single-output
valve.
HYSYS™ solver is based on Number of degrees of Freedom. Hence, it can calculate an unknown
based on the known. The following three variables need to be specified in HYSYS™ for the
valve to solve:
• Outlet Pressure
• Pressure drop across the valve
• Outlet Temperature
Parameters
Prod ALIAS
The stream ID feed stream. Since
ProductStream.
HYSYS Valve is a SISO Unit
AttachmentName
Parameters
SIM4ME 174
Translation of PRO/II Models
HYSYS™ performs an isenthalpic flash on the fluid passing through a single-input, single-output
valve.
HYSYS™ solver is based on Number of degrees of Freedom. Hence, it can calculate an unknown
based on the known. The following three variables need to be specified in HYSYS™ for the
valve to solve:
• Outlet Pressure
• Pressure drop across the valve
• Outlet Temperature
Parameters - Valve
Prod ALIAS
The stream ID feed stream. Since
ProductStream.
HYSYS Valve is a SISO Unit
AttachmentName
SIM4ME 175
Translation of PRO/II Models
Parameters
HYSYS™ Relief valve is used to release pressure caused by a pressure buildup scenario. Relief
valve starts opening if the pressure in the process equals “Set pressure” of the relief valve. It
opens completely when the pressure reaches “Full Open pressure”.
SIM4ME 176
Translation of PRO/II Models
Parameters
The following calculations are made from Valve translation from PRO/II to TL layer
Valve Cv
F ⋅ MW
Cv =
0.00075379 ⋅ Op ⋅ DP ⋅ R
Valve J
J = 0.00075379 ⋅ Op * Cv
There is no derived parameter calculation for translation from TL to Dynsim layer mapping.
SIM4ME 177
Translation of PRO/II Models
Validation
Validation of the unit operations and flow sheet is performed at various stages to ensure that the
translated flow sheet adheres to the Dynsim rules.
Feed Validation
The feed validation is performed at unit operation level in TL Layer. In PRO/II most of the unit
operations can take multiple input streams. In Dynsim, only the pressure-nodes can take multiple
input streams while the flow devices like Valve, Expander etc can take only single input stream.
Whenever a PRO/II unit operation translates to a flow device in Dynsim, Feed Validation is
performed. If there is more than one feed stream a Header is inserted at the upstream, which will
account for flow mixing and the resultant mixed product stream is fed to the flow device. The
process condition of the inserted Header is updated from the MergedFeed stream of the unit
operation module translated.
For details of the sizing calculations of the inserted Header, refer to Mixer translation.
Product Validation
The product validation is performed at unit operation level in TL Layer. PRO/II allows phase
separation for most of the unit operation modules. In Dynsim only Drum and Separator allows
phase separation. Whenever a PRO/II unit operation translates to a flow device in Dynsim,
Product Validation is performed. When there is more than one product stream a Drum is inserted
at the downstream, which will account for phase separation. The process conditions of the
inserted Drum are updated from MergedProduct stream, of the unit operation module translated.
For details of the sizing calculations of the inserted Drum, refer to Flash translation.
A valve is inserted when the upstream node pressure is more than or equal to the downstream
node pressure. The Valve will be sized for a pressure drop of 10kPa and 60% opening. The
process conditions of the Valve will be updated based on the upstream conditions. For details
about the sizing calculations, please refer to Valve translation.
A StreamSet is inserted when the upstream node pressure is less than the downstream node
pressure. A boundary flow will be set in StreamSet to ensure continuous flow despite negative
head. These situations arise due to specifications in PRO/II flow sheet, resulting in non-adherence
to the pressure-flow concept of Dynsim. When this kind of situation arises, the user may have to
modify the PRO/II flow sheet
A new stream will be created and attached to the downstream of the Valve/ StreamSet and its
process conditions are updated from the upstream.
SIM4ME 178
Translation of PRO/II Models
Pressure Imbalance
Pressure Imbalances are handled at the unit operation level during TL layer to Dynsim layer
translation.
When there are multiple feed streams to a PRO/II unit operation module, the MergedFeed
pressure is set as minimum of the inlet stream pressures.
When positive pressure drop is set across PRO/II Flash, Mixer or Splitter, the unit pressure will
be set to minimum of inlet stream pressure minus the pressure drop.
Flow sheets consisting of these kinds of specifications when translated can result in steady state
results of PRO/II not matching with that of Dynsim. Whenever such pressure imbalances are
encountered, a valve will be inserted. The inserted valve will be sized for a pressure drop based
on the magnitude of imbalance. For details about Valve sizing calculations, refer to valve
translation.
When specifications like negative pressure drop is set across unit operations like Valve, Flash etc,
it cannot be directly handled by Dynsim as this does not adhere to the pressure-flow concept.
Whenever negative pressure drop is encountered, a StreamSet will be inserted with a boundary
flow.
SIM4ME 179
Translation of PRO/II Models
SIM4ME 180