Sie sind auf Seite 1von 186

\"" \ (~0 ( L

/2-.,

1''1 c v ;:

{c,

{2 ),A,) G

1'1
I

rZOE'

f::,

Curse de Capacitaci6n
en el Usc del Simulador

Ejercicios

soteica
H't~OT'ECH

-ij

Tecnologia e Ideas

r----------------------~ -.-----~

-Indice 1

Indice:
A Creaci6n de un paquete de fluidas.
S. Ajuste de punta de roclo - planta de gas refrigerada.

C Problema de Caracterizaci6n de Crudas.


D. Planta de Procesamienta Primaria
E. Ejercicia de Recambinaci6n de Analisis - Planta de Pracesamienta Prima ria.
F. Planta con Separador de Alta Presi6n y JT.
G. Tren de Campresi6n can Reciclas
H. Ejempla de Usa de Adjust y Recycle
I.

Estabilizaci6n de gasalina - usa del aptimizadar I usa del case study.

J. Optimizaci6n de una red de tuberias.


K. Simulaci6n de Tuberias con Ramificaci6n
L. Instalaci6n de gas gathering. Aplicaci6n de PIPESYS
M. Deshidrataci6n de gas natural utilizanda TEG
N. Endulzamienta de gas can DEA
0. Inhibici6n de formaci6n de hidratas
P. Hidratas en lineas de conducci6n.

Q. Usa del utilitaria de depresurizaci6n.


R. Apendice I: Tecnkas para canvergencia de columnas.
S. Apendice II: Cambia de unidades en HYSYS.
T. Apendice III: Usa del Spreadsheet. Cv de una valvula con liquidos.
U. Apendice IV: Cakulo de presion de vapar Reid (RVP).
V. Apendice V: Usa de las macros de HYSYS
W.Apendice VI: Usa de las aperacianes de usuaria de HYSYS

x.

Apendice VII: Usa de la interfase de HYSYS con excel.

Creacion de un Paquete de Fluidos 1

Creaci6n de un Paquete de F/wdos


FlUId

~. :~~~~1~
8.

IIIII!!! Ef

Peckene: Basls-l

",'P"P6~Pack,ge~ef"

. 0: ....

."

",~;:~ttPkg Fjltet,

.AAIlllI1&,
r Pkg,..
n ene

t,'

'-~l

,,:,,~.,.~:es
' r Activity Models

Uraa 5eader
;
'Chien Null
I;
Esso Ta b u l i ! l F '
EXtended NRTt

I'

ChaaSeaderModeJs
Vapoor Press Models

:~~=~:l ~Ion ,_~ r Mitce~::~_e~

II.i I
J

[COmpo"'"" ele"~" Con.olCompalible~enls


. __

1_

.' (:' OnlyPropertyPad:.age

r~1I Pure Component Libtary ~nC~~~~oalmended'Components)


Prop, Pkg

C~nts

Parame!'ern:'~ (Sbry:Coeffs

"Delete

StabTest

All";

T~r

Notes

Properly Pkg

HYSYS condensa toda la informacion necesaria para realizer los cekulos de flash y
de propiedades fislcas en su Paquete de Huidos (Fluid Package) Esto permite definir
toda Ja informacion pertinente (paquete de propiedades, componentes,
componentes hipoteticos, coeficientes de interaccion. reacciones qufmicas, etc.) en
el mismo lugar. Este enfoque presenta tres ventajas.
La rnodificacio-i de la informacion contenida se facilita al estar concentrada en
un unico luqar.

Los Paquetes de Fluidos pueden ser exportados en bloque para ser reutilizados
en cualquier simulaci6n.

Se pueden utilizar multiples Paquetes de Huidos dentro de la rrusma


simulaci6n, siempre y cuando todos esten definidos dentro del mismo Basis
Manager.
EI Simulation Basis Manager es una pantalla que permite rnanipular todos los
Paquetes de Huidos presentes en la simulaci6n. Siempre que se comience con una

nueva s.rnutacion (can New Case), HYSYS pasa directamente a esta pantalla. En la
pnmera paqina el Simulation BaSIS Manager presenta una lista de los Paquetes de
Fluidos con SUS Flowsheets asociadas y perrrute la rnodificacion de cada Paquete de
Fluidos. Tal como mencionamos anteriormente, se pueden utilizer multiples

Cre.3ciOn de un Paquete de f"luidos 2

paquetes de propiedades dentro de la misma simulaci6n asiqnandolos a distintos


flowsheets. Dentro del grupo Current Fluid Packages encontraremos los siguientes
botones.
View - nos permite examinar un Paquete de Fluidos seleccionado previamente
(siempre que este exista, si no el boton se desactiva)

Add - permite agregar un Paquete de Fluidos a la sirnulacion


Delete - elimina el Paquete de Fluidos de la simulaci6n
Copy - capia el Paquete de Fluidos seleccionado. Crea un Paquete de Fluidos
icentico al seleccionado (salvo el nombre)
Import - permite traer un Paquete de Fluldos (previamente exportado
con Export) desde el disco rigido

Se puede user el
Hot Key <CTRb B
para volver af
Simulation BaSIS
Manager de

Export - permite grabar un Paquete de Huidos en un archive para ser


reutilizado posteriormente (con el comando Import)

cualquier punta en

la simutacon. a
tambien

En este ejernplo mostramos, paso a paso la construccon de un Paquete de


Fluidos y la creaci6n de una corriente en el workbook de HYSYS

seiecconenoo er

EJEMPLOS

Parte 1 Creaci6n de un Paquete de F/uidos


,fSeleccione el icono New Case para crear una nueva simulaci6n

J Cree un Paquete de Fluidos seleccionando

M,L

[]J.

i del Simulation Basis

Manager.

Rlil EJ

SlmlJlatlOn OasIs Manager

t
iJ
l,---'--------'---~-~~--------_..:....---=-!I
r~rent AlJidPack:=

'j'

....

import..

Seleccione Add

"--\

Fluid Pkgs

HYllolhelic.!lls

OilManager

Heecnore

UserProperty

Enter SiJ:!)lJation Enviconment..

Seleccione Add

import..

Creaci6n de un Paquete de Fluidll' J

./ Seleccione la ecuaci6n de estado Peng-Robinson (EOS)


II!!!II!!!Ei

FllJld Peckaqe: Basls-1

I
BasePrope~ Package Selecticre
Gra,yoon Streed
Kabadi Damer

I
1

-I

EDS Enthalpy Method Specificaban,


r. Eguation of State

li.ee-Kes/iet I?lOcker

propest9'PkgF;aet"''---~:,.1 L_~ Lee../(etler

~teso
MIlWA

r.

r~~i",odt

NBS Steam
IlIRR

r _~~eajer~.,~j

r,V.!pOufFr'&ft;M'odeit
r ,1ioflS'Ce!laneoos. Types

PRSV
Sour PR
c~

AIH}!Pell.
EOS$

... co....

, ,i
,,'

Component Selectiorr Con

r.

On~ Propefty Paclta&le C

F,YII Pure Component Library

Delete

-I:

luding< NOI"t'Recommended Components)

p'

Component'S

PlOP Pky

pati:lle Componel'lts

einary Coelfs

ere

StabTest

Alm:J

Tabular Notes,

Prooety Pkgi

'"Name

Peng Robinson

Seleccione PR

./En la hoja Components


ri-C; 1-':..5/ n-C; and (6'
ll!!I~13

Fluid Packaqe: Basls-l

Cyrrent ComponentLios
Nitrogen

H2S
C02
,Methene
Ethane
Propene
iButene

nButane
iPentane
n.Pentane
n-HeKane

Add Com

r.-

Librasy

r. Hyp:leticat
<-~dd,PtJr&

,I'

( Substitute>

fferno'lp.Corrips,
SortLjsL

=:\ PropPkg\ Components


Delete

Parameters

't
I

n-Otlane
n-Nonane
n-D ecane

ea

n-C11
n-C12
n-C13

ell

n-C14
noC15
n-e16
rrC17

C12

en

ct4

C15
" c:r6
c.t7"

P' Show Sj.'nonyms


8ino!lIY Coeffs

CBH1B
CSH20
ClOH22
C11H24
C12H26
C13H2B
C14H3D
C1SH32
C16H34

C3
Cl 0

StabTest

PlOperty Pkg I

Ct7H3S
Ouster

Rxns

Tabular

Notes

Peng Robinson

creeeien de Uri Paquete de Fluidos 4

./ Seleccione el baton Hypothetical en el grupo Add Comps de la hoja


Components para agregar un componente hipotetico al Paquete de Huidos. Los
compuestos hipoteticos pueden ser usados para simular rnezdas que no se
encuentren entre los componentes puros. Usaremos un hipotetico para modelar la
fracci6n mas pesada que el hexano. Para crear este compuesto hipotetico.
seleccione el boron Quick Create A Hypo Camp ...

1!I~1E3

Fluid Pilf;kaqe' lIi1w:-l

I
urrent Component L'
N~rogen

[:

~
I M.......
Eow..

Propane
i-Butane

H.vpotheticals Available From TheH.vpothelico!Ir Mo!Inager


\/ieWCdrrr~:L

~~;::::::;
A.d.d Co
'r Libray
r. i~,Pthetic~

HypoGrOllp

Quick Accessto HypoMgr...

nButane
t-Pentane

l'l'f'entane

""~

Q;~ CseateASolid H~o ...

<---MdH.I'po.
RemoveC')!Tip:sc

Sort list..

0....

Seleccione
Hypothetical

Propel'lyPkg r

Quick Create a
Hypo Component

Peng Robinson

Crtacion de un Paquete de Flu(doll 5

ROO EI

"'- C7,"

En la paglna ID, \.( de la pantalla del


componente hipotetico debemos
suministrar el Nombre, (Component
Name) C7+. En este caso no
conocemos la estructura (par tratarse
de una mezcla) y no utilizamas el
Structure Builder.

Component!denlificatic
Compont!rlt Name
amily IDau
ChemForrnula
ID Number

C7-1-'
OCal!oon

2lliIOO

Groupl'-lame
CAS Number

H oGrCltl 1

Structure Builder...

Te Number

T Telo:l
.N:o,t$

",m

Defina el Nombre
del Hipotetico
ID'

Critical

~d:

POint TDep l,besPI'Dp-

Eslimate Unknown Props.

Pasando a la haja Critical, es suficiente


suministrar el Normal Boiling Pt. EI valor para este caso es 225 F. Preslone el baton
Estimate Unknown Props para estimar
todas las propiedades restantes. Can esto,
el componente hipotetico esta total mente
definido.

j225:oo

B _P!<'perti

i :'.

Punto de
ebullici6n 225 F

O~;1y

afecwl'W'eight

NormalBoingPt [FJ
de,; W.
Ilb/f"]

01
46.37

: I Critical Propelties
Temperalure [F}

548.00

~[psial

438.24
6.5761'6
032484

Estimate Unknown
Properties

olUrre

Ilbmole

centricity

Cuando el hlpotetico este defirudo. vuelva


al Fluid Package y agregue el hipotetico a
la lista de componentes (Current
Component List).

10 \ Critical /Poim bOep iUsefPmp /


""stlmate Unknown Props

..

,- - -- .. _- --.- --""'--, .~~ ~


al Fluid Package y agregue el hipotetico a
ICa lista de compo)nentes (Current
omponent List.

\
"

Cre3ci6n d", un Paquete de Flu;dos 6

CUnentCcmponenlL'

H2S
[:(Ie

AddCbOl

Itilthane
Elhan.

(' Libr."

Propane
iBWne
nButaM

r.

~Pentane

'n-Pet"ltane
n+rex~ne

C?+'"

Hypolhetic.![
("'"Add'.Group

(-~Hp

j.

.'
Hemove

II

:0e'11. Cerro__

Nill'ogen

Cada hipotetico que se erea es parte de un


Hypo Group Por defecto, este hipotetico se
encuentra en HypoGroupl. Podemos agregar
grupos adicionales y cambiar de grupo los
hipoteticos. Esto se hace en la hoja
Hypotheticals del Simulation Basis Manager.

Comp~ --,

Sort L.islL.

Can esto ya hemos completado la instalacion


de un Paquete de fluidos. Se puede edemas
exarrunar los coeficientes de interacci6n para Peng-Robinson y los compuestos
seleccionados en la hoja Binary Coeff ~ei~coefU,(
./ Cierre la pantalla fluid Package

mediante y luego presione el baton:

Enter Simulation Envuonmenl..

Parte 2 Como insta/ar una corriente en e/ Workbook


./ Una vez que se haya seleccionado Enter Simulation Environment, el
programa pasa al PFD. En el case de querer instalar la corriente desde el
Workbook seleceionar elkono Workbook de la barra de iconas.

t3.

./ Las corrientes se instalan en el Workbook al especificar un nombre para la


corriente. En este caso el nombre de la corriente sera 1.
./ Otra manera de instalar una corriente es hacerlo desde el PFD, presionando
mediante el baton Izquierdo del mouse la fleeha Azul de la barra de objetos (Object
Palette) e instalarla mediante un mouse click en cualquier lugar del PFD. Acceder al
View Properties de la carriente hacienda dab Ie click sabre la flecha instalada en el
PFD (otra forma de acceder es mediante el boton derecho del mouse y seleccionar
de la lista View Properties).

./ Mueva el puntero del mouse a la celda Molar flow (en el waekbook a en la


pantalla conditions de la carriente 1) y haga "dable cllek"can el boton izquierdo del
mouse, Aparece una pantaJia don de se ingresa la cornposicio-i. No es necesano
entrar ceros para componentes que no se encuentren en la mezcla La fun cion
Normalize asiqnara ceros a las celdas vacias, Si se estuvieran ingresando fracciones
mol, rnasa 0 volumen, no es necesario asegurase que los nurneros Ingresados ester:
entre 0 y 1, la func.on Normalize puede calcular fr acciones.

Creaclon de un Paquet!! de Flu(do& 7

Input Composition

fOJ

StIeam" 1

iQ

I~"" ::oJ
om M

CO""''''''''''B..

MoleFraeijons'

Liq~Fro!lctiorl;t

r.

MoleFlom

M.nsFlows
Lig VolUme- FlOwS'

r~a" Fracbon;t

CO""'''i,''''' ce ntrOI~
E[ase
--,-:=-

Setecclone Mole
Flows como

, "<><mali<o
Cancel
Toti!lf

l' OOJJJOO Ibmole/hr

OK

./ Instalamos tres corrientes con las composiciones siguientes:


1. Instale lassiguientes corrientes escribiendo sus nombres en el
Worksheet, haciendo doole dick sobre et tcono de comente en la
oaieta crafice 0 oreslonenado <F11>
2. Compcsocn: se accede aJ menu ccrrespcndlente haciendadoble
did:: sabre la celda de Flow del worksheet
3. rembten se pueden sumlnistrar ccmposldones selecclcnandc Ja
hoja de composldones del Stream Property View y luego
selecconando <Edit>
4
2
3
I ",
Ir
o zone
t .nnn
n Mnn
, Mo'" now'""
70

"Mo'" nr, <c'

,nr,n

, sooo

,,,,,,,.,.,,
",

MM

n nnnn

"

1;

n.7000

n onen

nMnn

"n'

o anon

,", ,',

, Mo'" '" ,

"

'Mn

nOOM

""

,FI"wl".

I r,

",

1 onnn
1

I
I

_--=::::======'--J

Observamos que HYSYS calcula autornaticamente el Ilujo masko y el flujo


volurnetrico estandar de llquido

c,

Seleccione
Normalize 0 Ilene
los espactos
vacios con ceres

r"

I,

Crll!aclon de un Paquete de Fillidos 8

./ Surnnistre un valor de Temperatura de 85 F Y una Presi6n de 400 psia para la


corriente 2. No es necesario suministrar 105 valores en la unidad en que este
trabajando HYSYS, simplemente escriba el valor nurnerico de la variable y presione
la barra espaciadora. Seleccione las unidades deseadas del menu que aparece.
HYSYS convierte automaticamente el valor suministrado en las unidades por
de/ecto. Tan pronto como se suministra la info-rnacion de T y P, HYSYS calcula
automaticamente la fracci6n de vapor y la entalpta.. Para demostrar el efedo de
aumentar la presi6n, especificamos la presi6n de la corriente 2 a 800 psia.
.,f Para realizer un calcuto de punta de roclo (par ejemplo a

800 psia), primero

barre el valor de Temperature de la corriente 2. A continuaci6n, esceofique el


valor de Vapour Fraction como 1.0. HYSYS calcula autornaticamente la
temperatura de punta de redo .
.,f Grabe esta simulaci6n presionando el icono can el diskette.

Ajuste de punta de facio: planta de gas refrigerada 1

Ajuste de Punto de Rocfo


PLANTA DE GAS REFRIGERADA

Introducci6n:
En este ejemplo se simula una planta de aiuste de punta de roclo. EI proposito es
encontrar ia temperatura del separador de baja temperatura (LTS) para la cual se
cumpien las especilicaciones de punta de roelo. EI liquido sobrante del proceso de
ajuste de punto de rocfo se trata en una columna estabilizadora para conseguir una
gasolina estabilizada.
Las condiciones que deben cumplir 105 productos de la planta son entonces:
Para el gas de venta: un punta de roelo de -15 O( a 6000 kPa.
Para la gasolina: una tension de vapor Reid de 13 psia 0 menor.

Espeoficaciones:
Adoptamos Peng Robinson como ecuaci6n de estado y definimos como
componentes los hidrocarburos de (1 a (6. Las unidades son 51. Especificamos en
la corriente de alimentaci6n.

Nombre

Alimentaci6n

Temoerature (O()

15

Pressure (kPaj

7000

Fluias mala res (kamal/h)

10000000

Como Mole Frac ((1)

0.3500

Corrin Mole Frac ((2)

0.2500

Como Mole Frac ((3)

0.1000

Como Mole Frac 0(4)

0.1000

Como Mole Frac (nC4)

0.1000

Como Mole Frac (i(S)

0.0500

Corne Mole Frac (nCS)

D.0300

Como Mole Prec ((6)

00200

Luego agregamos las operaciones de acuerdo al PFD que se muestra en la pagina


siguiente.

Dewpt1.hsc

Ajuste de punta de recto: olanta de gas refrigerada 2

Nota: para instalar operaciones podemos utilizar


FlowsheetiAdd Operation, a la paleta de operaeiones.

la tecla F12, la opcion

Breve descripci6n del proceso


EI gas ingresa a la planta a 7000 kPa y 15C, se separa el liquido que ingresa a la
planta en un primer separador (V, 00) y es enviado para su procesamiento a una
columna dernetanizadora. EI gas del primer separadar es enfriado en dos etapas,
primero a traves de un intercambiador GAS/GAS (E-l00). En una segunda etapa
pasa por un chiller (E-l0n. La temperatura del chiller debera ser ajustada hasta que
la temperatura de! punto de rode del gas tratado cumpla con las especificacianes
del gasodueto. Los Ilquidos condensados en el chiller se separan en el separador de
baja temperatura (V-IOn, mientras el gas retorna al intercambiador GAS/GAS (E100) para pre-enfriar la atimentacion.
La verificaci6n de la temperatura de punto de rodo de hidrocarburo se hace can
una operacion de tipo MOLE BALANCE (BAL-n. Esta operacion transfiere los fluros
malares de los comoponentes de la corriente de gas tratado a una corriente Punta
Rocio. Para efectuar el calcuio de la temperatura de punta de rocio en esta corriente
se debe espeelfiear su fraccion de vapor como 1 y su presi6n en 6000 kPa. Can esas
especificaciones, HYSYS calcuJa automaticarnente la temperatura de rodo
correspondiente.

Ajuste de punta de rccc: planta de gas refrigerada 3

Lista de Operaciones:

v.ioo

V-101

AJimentaci6n

Alimentacion

Gas al LTS

Salida Vapor

Alim Vap

LTS Vap

Salida Uquido

Alim Liq

LTS Liq

Energla

* * * no espeoficadc * * *

***no especificado***

Peroida de Carga

o kPa

Calor transfendo

o KJ/h

a kPa
o KJ/h

Cooler

E-101

Se arador
Corrientes:

Parametros:

Corrlentes
AJimentaci6n

Gas al Chjler

Producto

Gas al LTS

Enerqta

Chiller Q

Parametres
Perdida de Carga

35 kPa

Calor transfertdo

**calculado**

Balance

BAL-1

Ccnlentes
Entrada

Gas vente

Salida

Punto Rocio

Tipo de Balance

Mole

Auto Calculation

ON

Tlpc de Balance

Mole

Auto Calculation

ON

Ajuste de punta de rocfo: planta de gas refrigerada 4

Heat Exchan er

E-100

Corrientes
Lado Tubas. Entrada

AlimVap

Lade Tubes. Salida

Gas al Chiller

Lade Casco, Entrada

LTS Yap

Lado Casco. Sanda

Gas Vente

Parametres
Delta P. Lado Tubas

35 kPa

Delta P, Lado Casco

5 kPa

Especificaciones
1. Nombre
Tipo
Valor

Heat Balance
Duty

Especifkadc

2. Nombre

o KJ/h
Min Approach

Tipo

Min Approach

Pasos

Overall

Valor Es ecificado

5 -c

La temperatura de la alimentaci6n al separador de baja temperatura (Vl 01) se varia


con una operaci6n Adjust hasta encontrar la temperatura a la cual se satisfacen las
condiciones de punto de rocio. En un primer momento, la temperatura de la
corriente Gas al LTS se especifica en 0 O(
Como ultimo paso, grabe el caso (can File Save) can nombre DEWPT1.HSC para ser
utilizado posteriormente.
Nota: la operaci6n Adjust no asigna un valor de partida a la variable que se ajusta.
Par 10 tanto ef valor inicial debe ser suministrado par el usuario.

-!+

PuAto
Rodo

Punta Racio

Temperature
Pressure

-15.03
60.00

C
bar

Gas al LTS
Temperature

BAL-1

Pressure

V-100

Alim
Vap

Gas al
E-10OChilier

Alimentaci6n

E-101

+,

bar

ADJ-1

LTS

,-'"

-17.40
69.30

iller t
Gas
al
LTS

V-101

Gak
Venta
LTS
Liq
Alim
Liq

Fri Jun 16 09:56:34 2000

Case: O:\suppor1\EjemplosCursosIDOCUM\OEWPT\DEWPT1.HSC

Ftnwsheet. Case (Main)

fC-

r'-a
s

,r

Case Name:

O:\supportIEjemplosCursosIDOCUMIDEWPTlOEWPT1.HSC

Unit Set

EuroSI

Date/Time:

Fri Jun 16 09:58:42 2000

Sctejca S.R.l.

..e.:.

Calgary, Alberta

CANADA

Workbook: Case (Main)

e
;

Material Streams

ro

"tz
ta

"

ts
re

"

Name

Vapour Fri:!l:!,i9rJ
TerTIperature
Pressure
Molar Flow

(kg/h)

(m3Jh)
(I<ca!lhl

Heat Flow

Name
Vapour Fraction

zr

Temperature

10,44

-2.083e"'005
Gas al LTS

Pressure
MdarFlow

(kgmCllll!~)

Mess Flow

(kg/h)
(m3/h)

(bar)

Liquid Volume FIClVII


Heat Flow

1,0000
10,00

0.7757
-17 40

6925

69,30
10,44

8-099
1580

0.4852

keal/h

-1.562e+005

aa Name
co Camp Mole Frae (Methane)

~
ea

..

"
"
".,
M

Alimentaci6n
0.3500 .
0.2500
o 1000

Camp MOle Frae (Ethane)

"se
ss

f'!'er

69.65
10.44
225.6
0.6552
-2.1198+005
l TS li

1.0000 -

-1,5858+005

-1.5988+005

69,30
2,342

8099
158.0
04852

158.0
0,4852

00000
-17.40

-15.03
60.00

67.67
01700
5.662e+004

Alim L'

07351

0.1859

0.2507
0,1007

0,1859

Camp Mole Frae (n-Butane)

01000 -

Camp Mole Frac (i-Pentane)

0.0500
0,0300
0.0200

Name

Gas vente

LTS Va

03459

0,0346
0,0202

Con:1P Molef='@<:' (n-Pentane)


Como Mole rrac (~-Hexane)

Gas al Chiller

0.7351

0.1000 .

Camp Mole rrac (Propane)


Camp Mole Frac (i-Butane)

0.1008

00346
0,0202

0.0163

0.1009

0.0163

00048
0,0024

00505
0,0303

0.0048

0.0008
cee ar LTS

0,8070

0,7351

CompMole srac (Ethene)


Camp Mole Frac (Propane)

0.1567

0.1859

0.0204

0.0346

Camp Mole Free (l~Butane)

0,0084

gClrnpMole Frac tn-Butane)

0.0058

Comp~ole Fra<:.(r~,~entane)

Camp Mole srec (n-Pentane)


Como Mole Frac n-Heeanej

0.8070
0,1567
0.0204
0.0084
0,0058
0,0011
0,0005

0.0024
00008

0.0202
Punto Rocio

Camp Mde Frae (Methane)

0.0001

LTS uc
0,8070
01567

0,4.864

0,0202

0.0204
0.0084

0.0837
0.0607

00163

0.0058

0.0525

0.0011

0.0048

0.0005
0,0001

0.0024
00008

0.0011
0.0005
0,0001

0.0090

Products

rcnorec

0,2870

"

0.0033

Energy Streams
Name
Heat Flow

Chiller Q
4515

Ikealihl

Unit Ops

sa

se

2,662e+007

Punta Recio

225.6

Alim va

f!'sz
~

80.07

1 0000
-17.40
69.30
8.099

0.9201
.5.380e-002

Compositions

ae

"
~
f.'
"
~
"
"
"
I!!<0
fO'

3.644e+004

0.6552
-2.1648+005

LTS Vaa

Gas ill Chiller

0.0000
1500
70.00
9896

225.6
0.6552

-2.68:3e+007

(C)

zz

"zr

1000 .
3,666e"004
80.73

Gas venta

zi

"as

1.0000
15.00
70.00

(oar)

Mass Flow
Liquid Volume Flow

"
"
ac

0.0104
15.00
70,00

(C)
(kgmole/~)

Alim Lip

Alim vac

Alimentaci6n

Ooeration Name

Ooeration Tvoe

V-l00

Separator

V-101

Separator

E-100

Heat EXchanger

E-101

Cooter

sa SAL-l
aa ADJ-1

Balance
Aclust

Feeds

Calc, Level

Allmentacion

Alim uq
Alimvan

No

500,0

Gas al LTS

L TS Liq
LTS Vap

No

500.0 .

Allm vee
LTS vac

Gas al Chiller
Gas veota

No

5000 .

Gas al Chiller

Gas 01.1 LTS


Chiller Q

No

5000'

Gas verve

Punic Roeio

No

5000

No

3500

es

rotech Ltd,

HYSYS.Planl v2.

Build 3797

Paoel of 1

L,cen.ad to, <;ole,C;) S,R L

sa
~

"

ocerauon Name

ooerenon

v-roc
V-101

Separator

Separator

Tv~e

FeedS

, norec

Products

Arlmentaclon

Alim Liq
Alim VOla

Gas al LTS

L TS Liq

Calc, Level

No

500,0

~",,"

Problema de Ceractereacicn de Crudos 1

Problema de Caracterizad6n de Crudos


Predicci6n del equilibria Ifquido vapor de un sistema Gas Natural- Petr61eo Crudo.
Comparaci6n de resultados can distintos rnetcdos de caracterizaci6n de la fracci6n de pesados.
La muestra de petr61eo crudo - gas natural es tomada del articulo presentado par
"Wiespape et.al. - J. Chem. & Engg. Data, Vol 22(3), 1977" que consiste en la mezda
de componentes de la tabla 1. No habra informacion disoonible sobre la caracterizacion
de la fracci6n pesada, salvo el data de peso molecular aparente (181 g/mol) y el data
de gravedad especifica (0.8259).

Tabla 1
Cornposicion en %Molar

Componente
Methane
Ethane
Propane
n-Butane
n-Pentane
Hexane
Heptanes-plus
Heptanes-plus

47.47
651
4.89
661
6.87
759
20.06

Peso Molecular: 181 glmol


Gravedad especifica: 0.8259

EI objetivo es eJ de caracterizar la fraccion de C7+ tal que esta reproduzca los resultados
experimentales de equilibria Ifquido vapor.
1- Tratar Ia fraccion de (7+ como un solo camponente hipotetico creado a partir de
los datos promedio de peso molecular y gravedad especifica. Analizar la predicci6n
del equilibria liquido vapor usando los paquetes de propiedades Peng-Robinson y
SRK. Asumir can valor cera los pararnetros de interaccion del hrpotetico 0+ can el
resto de los componentes y luego volver a correr la simulaci6n usando los
parametros de interaccion generados par Hysys. Los resultados tienen que ser
similares a los de la tabla 2.

Tabla 2
stecto de los f)8,",trosde jnteracciOn en iii predkddn deJa (racoOn de ViJpar de un" mue:>tr" de GiJS N"rur"l- Petr6leo Crodo iJ2S{)" F
Nata: /a friJcdQn de fMsados se encuenUiJ iJgrupadiJ como componen/e rJnko urilizando ill propiediJdes de la fracc;on

Presion

Datos

psia

Exper.
0.3811
03305
0.2710
0.2216
0.1529

1795
2095
2295
2545
2845
% error
relative
promedio

SRK

Peng Robinson
kij

esttmaoo
0.3595
0.2925
0.2426
0.1720
00697
22

kij :: 0
0.3266
0.2488
0.1896
0.1038
00000
49

kij estimado

kij :: 0

0.3527
0.2848
0.2346
0.1643
0.0644
26

03226
0.2451
0,1869
0.1036

0.0000
50

Problema de Cerecterizaclon de Crudos 2

2- Caracterizar la fracci6n 0+ dentro del "Oil Environment" colocando los datos de


peso molecular y gravedad especifica dentro de "Bulk Properties". luego hacer un
"cut" de 5 componentes.

Procedimiento para generar los nlpoteticos:


1. Entrar en el "Oil Environment" y agregar un assay. Cargar los datos de "Bulk
Properties"
2. En la hoja "Cut/Blend" agregar un "Blend" y seleccionar el "Assay"
correspondiente en la hoja "Data", luego seleccionar la opci6n "User Points"
en "Cut Option Selection" y especificar 5 puntas en el nurnero de cortes.
3. luego instalar el Oil en la pagina "Install 011" del "Oil Characterization" y
volver al ambiente de simulaci6n.
Una vez que se cornpleto la caracterizaci6n del crudo y la instalaci6n de la
corriente en la simulaci6n, volver a la simulaci6n y volver a comparar los
resultados de los distintos paquetes de propiedades can los experimentaJes.
los resultados se muestran en la tabla 3

Tabla 3
Nota: fraccidn de pesecos caracten"zEdd con bulk properties en larutina de cersctetaaon de hidnxarburos de HYSYS. Se
uti/izaron cinco seuoocomponentes pararepresentar la mezda

Presion (psia)

Experimental

Peng Robinson

5RK

1795
2095
2295
2545
2845

0.3811
03305
0.2710
0.2216
0.1529

0.3769
03146
0.2688
0.2047
0.1130
8

0.369090
0305461
0.258979
0194482
0.103751
13

% error relativo promedio

HYSYS utiliza una correlacion propietaria para predecir los coeflcientes de interacci6n
entre los hidrocarburos. Como se puede observer en los datos anteriores, la
consideraci6n de los Kij entre componentes mejora sustancialmente las predicciones de
los paquetes de propiedades. Tal como se muestra en este ejemplo, la precision de la
prediccl6n de equilibrio liquido-vapor depende en gran medida de la forma de
caracterizar los pesados de la mezcla. La fracci6n (7+ caracterizada con los "bulk
properties" y cuya curva de destilaci6n ha sido estimada con el modelo de Whitson con
cinco seudocomponentes han dado resultados mucho mejores que los de un unico
companente hipotetico, En conjunto la ecuacion de Peng Robinson ha deado los
mejores resultados para este juego de datos.

Planta de Procesamiento Primario 1

PLANTA DE PROCESAMIENTO PRIMARIO


Termodinamica
Seleccionar Peng Robinson como paquete de propiedades y los componentes puros
que se encuentran en la lista del diagrama de flujo.
Cambiar el filtro para la selecci6n de componentes de "Library" a "Hypothetical".
Presionar el bot6n "Quick Access to Hypo Manager". Para crear los hipoteticos
necesarios para simutar las fracciones mas pesadas. Crear un grupo de hipoteticos
presionando "Add" y agregar los hipoteticos ingresando los siguientes nombres,
puntos de ebullici6n normal y peso molecular:

HYPl
HYP2
HYP3
HYP4

BP. F
194
320
482
612

MW
107
147
217
716

Estimar las propiedades desconocidas presionando el bot6n "Estimate Unknown


Properties" para cada uno de estos hipoteticos.
Luego, volver a la ventana en la cual se agregan los componentes a la simulaci6n y
agregar los componentes del grupo de hipoteticos presionando "Add Hypo Group".
Con esto se agregan los hipoteticos a los componentes seleccionados para la
simulaci6n. Cerrar la pantalla del paquete de propiedades y entrar al ambiente de
simulaci6n.
Creaci6n de la Simulaci6n
Crear el diagrama de flujo del proceso. Observamos que no hace falta agregar
presion y temperatura a las corrientes "Agua" y "Gas Seco". Estas son corrientes
ficticias que no tienen existencia real. EJ punta donde sf interesa fijar la temperatura
y presi6n es a la saida del mixer.
Pademos observer que a pesar que el mixer indique "not solved" en estas
condiciones, sin embargo resueJve el balance de masa del mixer. EI mensaje "not
solved" indica solamente que algunas de las corrientes atadas a la operaci6n se
encuentran totaJmente definidas, NO significa que la operaci6n no funcione
correctamente ni haga calculos parciales.
Agregar una operaci6n "Mixer" y especificar la presion y temperatura a la salida.
Luego un calentador especificando la calda de presi6n en 10 psi.
Agregar un segmento de tubcrta, en la hoja "Rating" / "Sizing" ingresar los valores
de longitud, Shedule y Diarnetro y en la hoia de "Heat Transfer" seleccionar el
cakclo del coeficiente externo de transferencia de calor. (Temperatura ambiente
40F). Estimar la temperatura de la corriente de salida del segmento en 80F.

Agregar una operaci6n "Mixer" y especificar la presion y temperatura a la salida.


Luego un calentador especificando la calda de presi6n en 10 psi.
Agregar un segmento de tuberfa, en la hoja "Rating" / "Sizing" ingresar los valores

Planta de Procesamiento Prima rio 2

Crear la utilidad para la formaci6n de hidratos. Del menu principal, desplegar "Tools
/ Utilities" y agregar la utilidad "Hydrate Formation". Seleccionar la carriente de
salida del segmenta de canerta para calcular la temperatura de farmaci6n de
hidratos. Especificar la temperatura de la corriente de alimentaci6n al separador en
forma tal que sea 20 F superior a la temperatura a la que se formarian hidratas.
Luego verificar nuevamente la temperatura obtenida.
Agregar un separador trifasico
Se simula el efecto de una planta de deshidrataci6n can un "Component Splitter".
Especificar una fraccion de vapor en el tope de 1.000 y una presion de 890 psia. En
la paqina "Splits" seleccionar "All 1" Y luego cambiar el del agua par 0.001.
Agregar el enfriadar de praducto vapor y colocar 10 psi en la calda de presion. En la
salida del enfriadar, especificar una temperatura de -10F. Agregar el separador
final.

srreems
109.8

9811,2

Camp Mole Frac (Nitrogen)

0,0000

0.0098

Camp Mole Free (C02)

00000

0.0037

Camp Mole Frae(Methane)

0.0000

0.4183

Camp Mole Fmc (Ethane)

0.0000

0.0887

Camp Mole Frsc (Propane)

0.0000

0,0711

Molar Flow

Ibmolelhr

Free (i-BUlane)

0.0000

0,0147

Camp Mole Frae (n-Butane]

0.0000

0.0375

Camp Mole Frac {i-Peolane}

0.0000

0.0125

Camp Mole Fmc (n-Pentane]

0.0000

0,0163

Camp Mole

Camp Mole Frac (H20)

1.0000

0,0000

Camp Mole Fmc (HYP1")

0.0000

0,132(1

Camp Mole Frac (HYP2")

0.0000

0.0780

Camp Mole Frac (HYP3")

0.0000

0.0651

Camp Mole Frac (HYP4",

0.0000

0.0523

-'-'.

Go,

secc

------.1/'
MlX-100

_. imenlaei6n

65F
1040

Q-COOU:R

psi

10.00

<:7;

G"

Frio
"rerroerauee 10,0000

G"

Deshidratada

El01

Pressure

8900

veoour Fraction

cse

1.0000

lkJuido
FriO

Tamp6l1llura del Separador: 20 F pot sabre de la


temperetura de Iorrnacion de Hidratos de la

comente de aumentacon er eeoereoor

afATER

-J'I'
E-100

PIPE-l00
Alimentaci6n
Caliente

BOF

1"

psta

Pressure Drop

Pressure Drop

..l

--.(

~-

Ag"

Vapor
FriO

Gas seco

Ag"

Allmentacion
al Separadcr

..

Vapor

PIPEQ

1000

Pipe Length

psi

Ambient Temperature
Nominal Diameter
Ambient Mooium

5.2BOe+004

It

400000

10.0(1

in

GroLJnd
Shedule40

'[

V-100

Llquido

Separado

X-100

l_

Ago,

Agua
Fonda

Separada
Presi6n Tope

890,0

f~

1.000

Tope

Apua Tope [Splits)

Wed Jan 0312:03:52 2000:a5e: O:\support\Ejemplo5Cursos\DOCUM\HYSYS.Examples.May98\Traducidos\F_~ldProcessingPlant\~ieldProcessing.HSC

psia

0.0010

FI~sheet:.C~~ (Main)

Reccmbinadon deAn<ilisis - planta de Procesarnento Primario 1

RECOMBINACION DE ANAL/SIS
. PLANTA DE PROCESAMIENTO PRIMARIO
Descripci6n
En la figura 1 que se adjunta se muestra el diagrama de flulO de un test de
producci6n.
EI fluido proveniente del reservorio se trata en una serie de separadores con
presiones descendentes. Un separador de alta presi6n (HP-SEP) que opera a 45"C y
7120 kPa cuyo producto liquido es caientado y alimentado a un separador
intermedio (ISS-SEP) operando a 39"C y 2130 kPa. EI Producto Ilquido del separadar
intermedio vuelve a calentarse hasta lograr en la corriente 3 una temperatura igual
a 45'C y luego se expande para ingresar al separador de baja (LP-SEP) trifasico que
opera a 310 kPa.

Objetivo
EI objetivo de este ejemplo es el de simular un test de producci6n para determinar
las propiedades del fluido de reservorio. EI flulda de reservario se obtiene a partir de
recornbmar las corrientes de productas HP-GAS, IS-GAS, LP-GAS, LP-LlQ y LPWATER. EI modelado del test de producci6n y las propiedades del fluido de
reservorio se analizan comparando las predicciones del modelo con los datos de los
analisis de estas corrientes.
Can este objetivo se crean las corrientes cuyos datos de cornposicion vienen dados
en los analisis del laboratorio CORE que se adjuntan. Estas corrientes se mezclan
luega en una operacion Mixer de acuerdo a las relaciones de flujos dadas en la
siguiente tabla:
Unidad
HP Sep.
IS Sep,
LP Sep.

Flujo de GAS 10'm'/d


523 (HP-GAS)
77.89 (IS-GAS)
1913 (LP-GAS)

Flujo de LlQ m'lhr

AGUA m'/hr

580 (LP-LlQ)

0.37 (LP-WATER)

Para caracterizar la fracci6n C6+ del llquido del separadar de baja presion se utiliza
el analisis cromatografico del producto LP-SEP provisto par "CORE Lab".
Esta caracterizaci6n se utilizers para definir todas las fracciones (6+ de las
corrientes de produeto gaseosa. Para hacer esto puede usarse un esquema mixertee, como se muestra en la
flgura 2:
Una forma alternativa de
construir cada alimentaci6n
Figura 2

vc e ,

I.,UIIIU

.>t::

Illue:::.Ud

ell

Id

figura 2:
tivtancs

I~

mezcla

-41"

Corncnte Final GAS

Recombmadon de AnCllisis - Planta de Procesamientc Primario 2

consists en utilizar como herramienta la macro specoiJ.wwb.

simatsdon
1. En este ejernplo la ecuaci6n de estado que se utiliza es la de "Peng Robinson".
La composici6n de cada produeto esta dada en los analisis provistos par "(ORE
Lab". La corriente de alimentaci6n "FEED" se calcula mezclando los produetos

de acuerdo a sus composiciones y flujos.


2. Observar que la caraeterizaci6n de la fracci6n C6+ es importante ya que va a
afeetar de forma significativa la solubilidad de los componentes livianos en el

llquido y consecuentemente la predicci6n de la distribucion entre las fases.


Como la mayoria de los componentes de la fracci6n C6+ aparecen en el analisis
del liquid a produeto del separador de baja (LP-SEP), se usara el analisis de este
produeto como ASSAY en el "Oil Environment" y generar los componentes
hipoteticos.
3. Si se ingresan los datos de las composiciones dadas en el analisis dentro de la

opci6n "Chromatograph", sin agregar los livianos, Hysys automaticamente


normaliza las composiciones a 1.00
4. Luego de haber completado el ingreso de los datos del ASSAY, seleccionar la
hoja "Cut/Blend" que permite generar los hlpoteticos que representaran al
crudo. En este paso, considerar la generaci6n de 10 componentes hipoteticos y

seleccionar un rango de corte de la siguiente forma:


Punta de Ebullici6n - Rango en O(
35-150
150-300
300-400
400-500

N de componentes
5
3
1
1

5. Esta selecci6n de rangos provee una distribuci6n razonable de los componentes


sabre el rango de temperaturas de ebuilici6n.
6. Es razonable considerar que todas las fracciones C6+ de los gases producidos en
los separadores tienen la misma cornposicion que la fracci6n (6+ del producto
LP-LiQ.

7. Instalar la corriente de crudo en la simulaci6n y utilizarla para generar las


corrientes HP-GAS, IS-GAS, lP-GAS, LP-LiQ. Para esto se pueden usar cualquiera
de los esquemas nombrados anteriormente (esquema mixer-tee 0 la macro
specoii.wwb).
Ejemplo de fa utitiseoon del esquema "mixer-tee "en fa recombineaon:

______

_ .

__

~,.

'U

...

",,'--'''_.H.'''',

, , , '" , ... , ,,,,

" .... ,....

" ... , ,"".-'T

, "c-

Recombination de A~lisis - Panta de Procesamento Primario 3

Observar la figura 2 de la pagina 1 de este ejercicia. Como ejempla utilizaremas


los datos de la carriente "Intermediate Stage Separator Gas". En la figura 1, esta
carriente tiene el nambre: "ISS-GAS-SO".

:;... Paso 1: Generar una corriente de nombre "Iivianos" que contenga la


campasici6n

>
>

de

livianas (sin fracd6n

de

pesadas C6+).

Narmalizar la

composici6n.
Paso 2: EI fluja molar de esa carriente sera el de la fracci6n de livianas. Par
ejempla para el casa del gas del Separadar de Media (pag 8 del analisis del
labarataria de CORE, el fluja de gas deberla ser (1-0.0075) sienda 0.0075 la
fracci6n de pesadas (C6+).
Paso 3: Capiar a la carriente "pesadas" mediante el bat6n "Define from other

Stream", la corriente generada mediante el "oil environment". Especificar el


"Molar Flow" de esta corriente con el valor de la composici6n de pesados (en
este ejempto 0.0075).
}>-

>

Paso 4: La corriente de salida "mezcla", debera tener una composici6n igual a la


composici6n de la corriente que se querfa sintetizar (en este ejsmplo, deberfa
caincidir can la compasici6n dada par el analisis del labarataria CORE para el
gas pradueta del separadar de media.
Paso 5: Como el "Molar Flow" de la corriente "rnezda" es igual a 1 (uno), la
aperaci6n TEE se utiiiza para definir el fluja molar de la carriente "Carriente Final
Gas". Hysys calcula la diferenda de fluja molar y se la asigna a la carriente
"dummy" (Natar que el fluja molar de la carriente "dummy" puede ser
negativa)

Nota: La macro specoil.wwb necesita de la existencia de dos corrientes una de las cuales contenga la
caracterizaci6n del crudo y cuya composicion de livlanos sea cere y otre en la cual este definida la
ccrnposkron de Jivianos y en la que la comoosicion de los hipotetkos es cera. La macro entonces
combine las corrientes afectandc las ccmposioones por Ia presencia relative de crudo en la ccrrtente
final.

8. Notar que las composiciones de todos los productos medidos se hicieron en una
base Iibre de agua. Par esa se agrega una aperaci6n "Adjust" para ajustar el
fluja de agua en la carriente LP-WATER ham que el fluja volumetrico de liquida
calculada de agua en la carriente LSS WATER sea 0.37 m3/hr.

9. Verificar entonces que las salidas de los separadores, reproduzcan los resultados
del anefisis CORE Lab.

-:tt j

f~'oo

"

J..

L~.

LPLIQ

'O~~, . .

~.\_-"

LS-SeP-GAS.
'0
__

j2-GAS

---.!i-
i

"

~'"

lX-l00

,
FEED

-)

"" .
""""
G'S

Vessel Tetrperalure
Vessel Pres<;ure

45.0000 C
71.2<l

bolr

ISS-GAS

HS-Sep-GAS

so

""
""

.i;
LS-Water

"'
"0

ass

HSVALVE

HEATER

iss

FEED

ISS-SEP

Vessel T~ture
Vessel Pre....re

39.0000 C
21.30

LSHTR
ISS-ua

bar

Ls-HTR

ISSNALVE

LPSFEED

LPS-GAS

LS-HTR

Caracletizaci6~

Feed Tenyleralure

39.00 C

U.

PrOOUOl T e<rperalure

45.00 C

Oe la Fracci6rl

Pressure Dr",

0.2500

bar

.'

FIGURA 1 -

LPS-L1Q

~'"
Vessel Press"'''

3.100'

~ar

LSS-WATER

ADJ-l

Thu Jut 06 10:37:272000


Case: O:\support\EjemplosCursos\DOGUM\Prod Test mod VER\TESTMODElEXA.HSC
- - --~
--.-----

Flowsheet Case (MainJ

Core Lab

GAS
--ro.CJJ.ATC~t "VlQ(J:

1 of 24

. - - ' - - - - - ' - - - ---r",.-...'

~------""'''''-e,~5i IAtVLl ~JOi,-i.",",iU-------

t.oc.I. Tl 0

h.n. (.. ) C~
Core Lalo r e t o r Le s

-----.,'TI"'" "~"""u",,--------

1.1

~"""J'LJ:II.

---_._---

. - - - .- - - - - "iHi' ii:i:ijvi:1i'Y_--------, . ' - - -

rtSl TYrt L uo .

L Tn'fC'iiSlIlo.

.lKT.

I
I

"

(_~~.,)

..;in'

L____

-c

~c,;;,""",,,,;;

Si',l.1lMOR

!ilftll S"'I(},\.[O

87 06 06
DArt s.ulrLl:D

twD IlLS[17!"ITY

CAS LIn

T[51 lIUDl.YA.l.S

[Ltv .

- PRESSURES, kPs. (gB.uge) 87 06 06

CtlM/O)

D"n R1:CUVLD

(i7"i1iiil

- TEHPERATUP..S,

87 06 09

'ID: tt: MlA1.n'iu (1/l;iBT

,lJU,J,.U.

I!D'.JJIY.S

oc

>

h.',

FRACT 1011

C~POHENT

"'"'"aece

fRH

AS

"
"
"

I ",EO

nlACT Ie.

AI, rue

ACiD GAS

fREE

"/~.

AU fREE
AS IlECElveO

CAl.nll.ATUI Q!;US:S -eA ll-.c VAllE


I'U/ .. ) '15"C ' 101.)2..:1

)).7S

O. 0003

0.37)7

CAI.O.ll A1rD 1U1Al

1.165

- "

O,ll282

"

0.0618

, cr

0.0190

69.9

- 0.0040

17.5

6f,24 .9

",

r~I

~s

1S0 c I- IOhJ25

"

29.5

10,

0.0015

7.J

c,

n 0019

9.2

'6+

0.0037

23.8

27.5
k.tL~Tlvr

MOltCULJ,l

TOTAL

1.0000

157,2

cs-

co 3

H,,~~

,
CAl a..l..A T'Etl f"$EUlOCII. rt I CAl ~TIE:5

"",,"ern

1<,.

(.hl)

281.5

",

""" '" '=


",

".

(.h. l

,I.-Hydrogen sulphide detetmined 'n the field


by T\lt.... I Lc r .
llydrogt:!n sulphide detennlned in the lab by
Tut",i let'
J6,62 mole percent

co page. 2 of 24 for extended


analysis of hexanes plus.

Re Fe r

'-I'.

uxPl.I:n

1tt'X/.R.t::s

0.0070

1]1 .10C

Mta"(1IT1LS (AU-1) :I

I.l:Lo, TI vz D.tUSJH

._----,

65.2

0.951

I<I/~]

Dr.llSTTY

------

y~ I>tES~ _~

I'W,AllES PLUS

--.'----~ZS'~I

,. ',5

".

"---"--.-

..

0.O77?

.....

OJ..a.u. TED

(ab . l

44.97

---_.---.---

0.0215

".

fJ:Ji~'M;JD Col.:; fll.Et

~lO I iliiR'r.Fiitr.

0.0002

co,

10,

.....e

",

----- -----_ ..

,._._---~

Core Lab

--- ...

ANALYSI~

GAS

LAloi./,foltr '-.:"'30-

---------~ L~'~r~/;,

-------------~---______n;;iiA""'""'-----

n.rv . (.) ci

Gore
tz s r

Hrt \ 110

Intermediate Stage Separator Gas


rol.1I or SAHl'U
p l1XJ" r 110

,----

AI1T. 1 "PI. t:VSHIO/f

rl.O\lJIlC __----'-___ __

CAl Llrt,'-

'!JAI

11U~

- PRESSURES.

87 06 06
D.llt .SJ.KJ"LtD (y/l'i/DI

'2
CD,

0.007.7

"2'

0.6261

All( fREE
ACIO G),S FREE

- TEHPERAnJR,S. DC-

87 06 08

D"'U: itCllV.tO ("t/H/D)

AIR FREE
AS IICEI\lfD

0.0001

kP. (gallge) -

87 06 06

ex e rRAeliOl/ "Xt , RACTI ON

"
,.

stl'AJU.'rOR

\/'fIJ:M SAl1tl.[ll

IC01POIENT

'"

0,
-- CORtATiiT.ii.--

'.

rII..',,!J

"

-~TH

DAn;' AllAl..'I'ZW (T/ii/Ol

. .

_._-

r.D'JJ>..1.5

CAl.OltATIJl ""oss IlEAH" VAI.~


K.l/ .. 3 tU"'c , 101.]23 k7& C-b . )

All: raas
AS RECEIVED

)6.26

Trnce

J.!51l"VI~Y

I1VD

all.

I:Lt'I

LaborBtor1e~
i~jll:"

l'lOIHVII[

rn.tr

CA.LC1A..),Ttn

"'0

67.21
HOlstVR[ \

V~

(Ll.

1't::E..':.:;l.,

1 tl1.1"e

84,0

~:~

CAS

rRl:[

PE1ITAH[S

fL~S

"

1.424

--

15 C ,

lal.~ ~.

.\S UKl'LW

0.0110

0.0370

...B.?..'l~~~~1

136.1

"0

48.1

- 0.0217

53,6

1.162
RJ.:I.Af!vt OJ.:IISITY

l:AI.fU.AlBJ
AS SAJoII'!-I:U

RJ:I.ATIV[

HOI.[CU'L'_~.

na r.o:a: IT I c:I4.

91.~

.0.0055

26,9

's

o. 0072

34.8

'<+

0.0075

66.0

TOTAl

1. 0000

383.3

C'

339.3
----,<0

,---

-cm cas
,

"0

".

n.~

Refer to page 9 of 2 for extended


8nalysis of bexancs "plus.

{. b. J

--

*lIydl'ogcn sulphide value dC!tcrmined [" the


neld by Tut.... Ll e r
Hydrogen sulphide' value deterlllined in the
lab by Tutwiler
62,23 mole percent

101 1

M"

I'1l1r'E.U, ES

IEI\.U:I:!;

n.n:

----

0.1-570

Ie,

1r.!~_:.. J

DElfSI TY

----

"
"

'e,

l<llSl'UllJ

0.0603

0.0639

"

CALa..A TED lUT AI.. s.,l,Iw>U I"Kf'UTlfS (AU ...1) :;


,

",

--l:Aio"qQIIY '''llIii''''

---------

---~-

-----Oiu"UOi'"------

of 24

-1:i7,i--

CiuF,;

" [ U V (.)

Core

rOOL

(JIl.

~borAtorle3

-----,--imm'-----

lOll', - - - - -

...,,",- .--------- rEi 'i"i"cOViJii---~------------------, Tl7t CUSKIOH

~T.

IL

... =,,"C''--

.II

I
L

LrAIlUOIl

-- - l'RF.SSURES. kPn.

(gal/gtl) -

E:

nut I I car

AIIl

AS"

(IIU

II~CE

I vel)

MOlE fllACllOlol
Alll ,n:~

xcrc

GAS FReE

Tr-I\cl!
",
_0-_"_- ------- ------0.0000
",
-'- ----._----,._--

RECElvEO

1. 631 h i . )
DF."iiSilY' .

..

238,3

iC4

0,0267

116.7

0.0571

2/,0. II

0.01.60

78.2

----- ------ -------- -----

':61_

----~_.--

0.07.07

100.2

0.0159

93.7

._------ -----

----- -------~-

lorAl

~_

755/1.8

,'.

non

15

1.330

t .& 101 -.:Q:s

'-""UD

38_S

CAtOltAf!:D ~ITU:,l,,[" ~TIES


LUd'l.F,:)

1t1'& !!_~

371.7

'"

""" =

,'.

~.r.

"'"

"Ilydr{}g~n

sulphide. value. determined In th,


fie 1<1 by Tut.... l Lc r .
Hydrogen s u l pltLd e value. dete.rminc. 1" the
lnb by Tutwiler 69 _99 mole percent
ana 1y5

------ ------1 0000

I s -of Ilcxnncs plus.

----867.5

--272.1

78.2
100.2

"',

IIlL ...r tve mUC1J1JJl ......s s

Refer to page V. of 24 for extt!nded

-----

','

"

I'Ell1JJIB PUIS

..

------- ----

"-5

!'REE

ft'MRl:S

--~--

"

92.7

"Cftl CAS

Rll...... UVt Dl.llSln

--

~-----

._._---,

KJlS'TtIt.)'

"
;(5

I:AlQAMUl V.lS'a1l I"l!"B!U'


i...r. (.b . J ~)7 o>e

C.b_ )

tAlOIl..Alf.D lor A.cl_ WO'U l'1ttr9 TI ES (Alit"")

0 .0648

----

.,.

10,,:,.00
tQISTlJllE

---,._---- --------

_--~--_.-

c,

1'01.___I.IE

11.J2..5

KH_' '1)"(:

...-

CAlD.l.ATED gno,."S

---_._~

oc-

-------ib~J.s -"~-

(.6.27

0.000',

----- ------0.0279
r.2
--'--- --------- -------" ea ...O.61179 ----._-, _..---0,031(,
c)
- - - - ._._----- -0 .0SlO
"
------

- TEXPERA71JRES.

t9l1snJllt "j"ii"[

_._-_.~_.,-.

",

1i:i1iAiAt'iITi)iTliiHi'j'

~/.
AI> fR~E

"

87 06 08

87 06 06

!'lOll

aliAI

St'...R.... TDII

1.IIlrw "'AlII'I,I,t)

a T'iV'i'TY-

'"

"
- 'l:i5ii'i'A1iii.i--

li"Hl"itcilViJj'"\YIIl/Pj

r z s r IllttJlv ...lS \ _ t l )

kUll 1.J:I

Hydlogen sulphide value. detnrlllinc. ill the


Inb hy Tlltwiler
69.99 mol e percent

,
,r

- .,

---------_.------------

-~.,-

.\'ore Lab

LIQI1ID

.J.MALTSIS]

-I...uQurOly .VY.In

16 0 f~2<-4,-_
------------------ofl~"''''''''''':--~---~------------ --r~[
-------,uii.rLLn..
;,-;.~""''''U: ,r.ocJ..'I"~,
..= '''-------U 11.rv.C'" CI
Core Laborator1c3
recr. 0. lQtl[

toccr rce

-----------------'------.,.v,r.'-uc.ovn"------------------

----- --;rfTh a..~.~,',_

n.rv.

-mT"'fYPi"'7~

Low S~age S~p'arator Liquid


.."i." e ,

~1.

IINn'I

eGIK'~

t tV'l

'

c..u Lln

~~

_".:J'I~'

coin A.I Il"L1I.

I.lSOVO.lll.

1m!:. 1mrU.D

- PRESSURES.

kP. (saug:') - -

87 06 06

87 06 06
DAn IXiO'LUJ (tHHPI

DArt

~=

OO"lL'--

flU

aL~tl~

-TEHPER.ATURES, 0c_ .

87 06 10

IY/HIDI

wi" AJlAl.l Z

[tI

n/H7Iij"

;"for"

,
~PONf:IlJ

"'"

f.ACT ICII

fRACTIOII

"

Trace

Trace

en,

0.0011

O,OOOS

0.0005

",

D,09St,

O. O)I.Q

0.0336

"

0.0003

0.0001

0.0001

"

0.0001

0.0013

0.0028

's

0.0180

0.0083

0.0125

Ie,

O.

0.0111

0.0151

0.0582

0.035'"

O.Ol,6/,

O.O(.lf.

0.0313

0.038/,

'",.
's

01~

- 0.073(,

','

0.6898

TOTAL

1.0000

h_

1I cu I D vtllU'1E

"""

rltAt 11011

Trace

lSEr.'In ~PES Of ~ ... ~Iooe (15/15"'1:)

,
,

,
,

aO).6 "'&''',3

,.

Ptl1SIT"t'

0,8226

-1.0000

0'.0673

0,7839

CAiCU,A1ED!

765.9

rt'Of"Einn

k./. l

"1.'~

Of"

TOTAl SN'PU' (1511!Ocl

0.7666
.z:u.Tlvt: IlDl'SITY

95,59

tI:U.rrn:

, , ,
.fe r- to pAg"" 17 of

l-I1l[C11t..AR.j"lASS

1.0000

44.5
,l,J>J\U~OC

114
R,:c...u tvt

DE'JlSUT

0.0551,

0.8043
a.D..ATIYJ: Dtlfslry

.......s

C._

iiiY;ni

for e x c e nd e d 'analysis .e f hex8nes plus.

tvlttD'Ult KloSS

53,2
M'r ,

Il.S" C

_:.~

f'ACF.
FILE
DAIF.

orF.RATOR

IJP,J.L
SAHN.'- f'oIHT

Low Stag" Sap_rata! l.lll"ld

1)

or

2 /,

B7 06 1 fJ

An_!,l.!.~~~6_~!.E.-:'<::.!=.!-~~
110](1

nol]1t1p' rnlll1'
~_al_1p,~__ .( ~~)

II"'XI\I1"'-:

(;6

6R.9- 9R.3

l1~ptnn".,

C)

'1R.3-17.5.6

Or::I~.I1 .. t1

C8

0.1178
0.077 2
0.01,(19

1?5.6-150.6

!tnllnll n"

(;9

150.6-17J.9

n...... nll".:'l

Gia

1'-1.9-]96.1
1')(,l-n5,O

UOld,.\.nnfl~

GIl

/)"olr'<'flll"'."1

(;12

0.0105

J(,.l.-

68.9

?J'i 0-7.35

0-757.2

0579
01118
0062
001 1 5

1.1)

0.0039
o 00)5
0.0031
0.0032

?~)2.2-?70_(,

II ... xndr.C'Il111":'l

GI J
C16

7R7.R-301.R

llf'I'tndrH~nlH:'.'i

C17

]07.8-317.7
.117. 2 ))0 . n
lJn. 0- J/,I,. (1

O(.I: ... d,.<::nlH'~


Non n d .... c nlH'!1

G18
G19

Fl~n_<;ntl~.r,

J/'("I,357.7

n... 1 l '-<:l.'JIII1("

G'20

lr'}.21fi?',

lJ(Jcn.<;'111"'~

1(,') 1,.]flO,O

Tr j ('()r;nl1f'.."

,J

0209

c II,

7.70 (,-I.A7.R

IRn.O-1Q]

Tl"1 dI':CJ\IIt'S

T"trndncntH'!R
r"tlt"d,.("/1I1,.:l

2)'}

f"rncl:iQf1

Cn

If'

en
en

0038

O. 00/.0
0.002.2
o 00 It.

H,'

~ ~

L!..E..~.~_ i '"

O. lOG1

(180']

0.0537
0.021'.1
O. Of3r, I
O. 021, )
0.0186

o. 0 17.~1
O.OW?/'
0.00/1;
O.OOIl/,
0.007')
O. 0081,
O. r ~7
O.\,. . (J

o ,OO(,P
0. COl,!,
a 00?5

C?5

o
o
o

en

0.0006

0025
D.0022

0010
0008

"17.7!,?2.7

T ... rl"~"~TlIH'"
ff'lltTlCn."iTlIl('';
HI'>,:nC:Q:'!Tlllr'.<;
ll ... pt:nco.<;Tlnr!s

I,?? 7-/,11.7

Ocraco s ou e s

en

0.0004
O. OOOf,

f,i17_

flnllnc:or,nJ\1'5

C29

0.0003

T):"inc:ot1tntH'.5 fJ nn

C10I'

BI'Il 7.1'1II"!
To Iue rre
F.t.:hylhl'll7.elll!,

C (,116

O.OllS

0.009'.

0.0735

CIJ"lO
CRII10

O.075J
0.0970

a .ozzo

0.1076
0.0300

Cgll12

0.0057

0.0071

CSll10

a
a

0012
02:;2
O. 0215

0.0386
0.6898

0.0396
O. S"?7.6

~9J.lI,Ol.7

t,f)]

1,/,1

.7.1,17.7

f,/').1

, I'LI)S

RO 0
J 1. fJ . (,
IV; .1-1
J I, I, . I,
1(,1'1. 9

an 9

c?/,

Cv

C-,lIa
p ;1 rn-XylI'IH'

o-Y..)'ll"!l1l'
1 ,7.,1, Lr iren thy l be nz e ne

1,8 '}
7'l , 7.

lil"!thylcyc:lopr!T1t nnl'

R1 . 1

CYI~l "IP'1;<;/1,Il"

101 .1

Cyclopronttq1~

Hrol],ylcyc:lo!lfOXt111l'

c c.." 12

C6 1ll2

(;7 11 111

TOTAL
(,R.9 PI.US

Hnln Frnctlo11 n[ (;7'

fiR.? rtus
r,n.'J 1'1.1)s
(,n. 9 rIJ.f,';
[011 . 9 PLUS

HIl';" Frn('_tl011 o I (;7 I


Cnlc;tdnl:,.d Re Ln t l vc Ho1('culn.r 'in .s s
Cn lruI n te d Re l e t Lvo De ns Lc y of C7+
CnlC\llntl'lu D~TI.11ty of G7~ (kg/til))

0007

0018

0.00)(l

0.0017
0015
00013
0.011 'j

0.0009

0227.

0.01119

o. s.
O. 7J 51)
17.0
0.830/,
BH.!i

Planta con Separador de Alta Presion y Separador JT 1

PLANTA CONSEPARADOR DEALTA PRESION YSEPARADOR iT


fmcio de fa SimufaCl6n
En este ejemplo, una corriente de crudo es mezclada con una corriente de livianos y
el vapor y llquido son separados a diferentes presiones en una serie de dos
separadores. Este ejemplo tarnoien muestra el usa de la operaci6n "Spreadsheet".
Datos de fa simufaci6n:

LV %
0
2
5
10
15
20
30
40
50
60
70
80
90
.95
98
100

TBP OF
35
78
119
,
167
197
238
309
390
477
568
673
809
1024
1191
1327
1429 I

Ecuaci6n de Estado: Peng Robinson


Componentes: H20, C1, 0, 0, iC4, nC4, iC5, nC5
Crudo:Corriente Crude Liquid de densidad 56.3lb1ft3
(a especificar en la secci6n de Bulk Properties).
Cut Option: AutoCut
Observamos que en la hoja "Composite Plot" se puede
ver cuan buena es el ajuste de Hysys de los datos
ingresados.
Una vez instaJada la corriente "Crude liquid" en la
simulacion, crear el diagrama de flujo con las
operaciones y las condiciones de temperatura y presion
del PFD que se adjunta.
EI caso deberla estar totalmente resuelto aillegar a este
punta.

OperaCl6n Spreadsheet de Hvsvs


Agregar una operacion "Spreadsheet" a la simulaci6n. En la paleta de operaciones
esta ubicada en la primera columna y la segunda fila contando desde abajo.
En la hoja "Spreadsheet" de la opera cion "Spreadsheet" importar las siguientes
variables en las celdas indicadas. (Para importar una Variable desde la simulacion.
posidcnarse sabre la celda y presionar el boton derecho del mouse. Seleccianar la
opcion "Import Variable" y elegir la variable del menu que aparece a continuaci6n.
En la columna Bpueden introducirse comentarios sabre las variables importadas.
A 1: Std Gas Flow (MMSCFD) de la corriente "HP Gas"
A2: Std Liquid Volume Flow (barrel/day) de la corriente " HP Liq"
A4: Se calcula la relacion GaR, per 10 tanto se ingresa la formula + 1000000'A1fA2

- -

----- .-

~""'""""""""'"

posicionarse sabre la celda y presianar el boton derecho del mouse. Seleccianar la


opcion "Import Variable" y elegir la variable del menu que aparece a continuacion.

Planta con 5eparador de Alta Presi6n y Separador JT 2

A6: Antes de completar este data, eliminar el valor de la presion de operacion del
Separador "HP Sep" ya que 10 que haremas sera especificar esta presion de
operacion desde la "Spreadsheet". En casa de no proceder de esta forma Hysys
rnostrara una incansistencia. Impartar a la celda el valor de SOO psia que
correspande a la presion de operacion del separadar "HP Sep". (Natar que sl
queremas expartar el valor de esta celda, mediante el menu que se despliega del

baton derecha del mouse, la opci6n para exportar el valor de la celda no esta
habilitada)
A7: Debe ingresarse la formula +A6, de esta forma se habilita el valor para ser
expartado a la sirnuladon. Par 10 cual al presionar el baton derecha del mouse sabre
la celda A7, se habilita la operon "Export Formula Result". Exportar el valor de la
celda a la presion de la corriente "HP Gas".

La simulaci6n esta totalmente resuelta.


Ejercicio
Obtener los valores de la relacion Gas/l'etroleo (GaR) para los siguientes casas:
Presion de "HP Gas" (Celda A6)
3000sia
350 psia
400 osia
450 psia
500 psia

GaR

Eiercicio Opciona/
Volver al "Oil Environment" y editar el "Blend - 1", Cambiar la opcion "Cut Option
Selection" par "User Points" y especificar 2 cortes.

Volver a la simulaci6n y repetir el ejercicia anterior.

~~",,---------t---------i

Notar en que medida la caracterizaci6n de los pesadas afecta el cakulo de la


relacion Gas I Petroleo (GaR)

Ii

!!..c,
" ~

$
-e
~

I~

6'

,6"'
:I:

e-

"0;,

;r
3

~
~

'i'
~

ci
0

If

-,

-,

~I

;([1'
~

,~

e!.
CO

<

.~.

i I

I~
,

lfit@

~gk,'

!"

,ss'"
~

il:I:

-o

III ~
~

t;
!i
.... p

I,

Of;

-t
"=n

~d

I ~~
~~
","

?ai .:b
,,~

mo

~ :I:

Gas Crude

see Crude

65

655556

Temperature

3447

Pressure

<

49.81

Molar Flow

201

0,'

Comp Mole Frac (H2O)

ethane)

Comp Mole Frac (Methane)

0.8200

rene)

0"
0.'

Comp Mole Frac (Ethane)

0.0900

opane]

0'

Camp Mole Frac (Propane)

lutane)

0.'

Camp Mole Frac (i-Butane)

0.0400
0.0050

0.'

Camp Mole Frac (n-Butane)

kPa
kgmole/h

0.0000

'entane} 0,1

0.0150
Comp Mole Frac (i-Pentane) 0,0100

Pentane) OJ

Camp Mole Free (n-Pentane) 0.0200

Butane)

SEPARADORES DE ALTA PRESION Y JT

JT Sep

Product Temperature 26.67

68.95

Pressure Drop

kPa

C
kPa

JT

G",

Q-JT

cas

~Cool

Crude

w,
o

Vessel Pressure 1724

JT Cooler

Well

Choke

HP

Manifold

MIX-100

HP

Crude
Liquid

C
kPa

Pressure

m3lh

Liquid Volume Flow

JT
JTVaive

JT
Feed

Sap

Sep

Crude Liquid
Temperature

JT
Cooler

Cool
Gas

SPROSHT-1

HPSep

655556

3447
6.624

Vessel Pressure 3447

HP

kPa

liquid

kPa
m3Jh

JT
liquid

Waler

,-"--

Case: 0:

Wed Jan 0310:48:592001

Case: 0 :\support\EjemplosCursos\DOCU M\H YSY S. Examples. May98\T rad ucidoslHPJT SeplHPJTSep, HS C

Flowsheet: Case (Main)

lp,
;

~--l

,! ..
! jll

H"..

,
~

l---?t

o...J

ow

I.

0::
Z

!,

oo

f'>l--I:--'

(~

I"
,

en
w
0::
0-

:2:

o
w
a
z

~
f-

1,. .
..

! ,

Lru
r-

g
N

c>

~I
c

il
.L:

Ejemp/o de Ad;ust y Recycle:


Un reciclo se define como una corriente de aguas abajo de la planta que se MEZCLA

con una corriente de aguas arriba en el proceso. Los recielos en HYSYS tienen tres

caracterlsticas. Estas corrientes se resuelven iterativamente.


A. Las corrientes de reciclo se encuentran separadas en dos partes, divididas par un
bloque Recycle" Como tal la corriente tienedos nombres, uno para la
alimentaci6n al reciclo (valor calculador) y atro para la estimaci6n inicial.
II

B. Debe fijarse una estimaci6n inicial para la cornente de reciclo Como minima un
estimado de flujo inicial de O.
C. Una operacion RECYCLE que conecta la corriente que funciona como estimaci6n
inicial con la corriente calculada. EI RECYCLE itera hasta que las corrientes de
entrada y salida difieran en men as de una tolerancia especificada

EI objetivo final es consequir una fracci6n mol de Metana de 80% en la corriente 7


Como un unico componente no puede ser especificado directamente, alqun
para metro de la simulaci6n, en este caso la temperatura de la corriente 6, debe ser
variado hasta consequir el objetivo deseado

I. Paquete de propiedsdes
Adc....

..... new package


Seleccione Peng Robinson (PR) como paquete de propiedades
Seleccione los componentes.
Close

Seleccione Enter Main Build Environment para ir a la simulaci6n principal

2. SIMULACION.
Defir-ir la corriente 1 (alimentaci6n)
Ingrese una estimacron para la cornente de redelo, 9 (flow=

ay pressuree l 000 psia)

Sin una estimaci6n inicial para la corriente 9 no se produce propagaci6n de la


Informacion
Instalar las operaciones unitarias Mixer, Separator, Compressor, Cooler y el
Separador Vl 01.
Especifique presi6n en la corriente 5 y temperatura en la corriente 6,

Sin estos valores, no se propaqaran valores mas alia de la segunda operaci6n


separador.
Una vez entrados los datos, examine la corriente 8 Antes de instalar la operaci6n
recycle, asequrese que la corriente este total mente calculada.

3. RECYCLE
Instale una operacion Recycle.
La corriente 8 ingresa a la operaoon, la corriente 9 es la corriente de producto.

Todas las otras cornentes quedan can los valores de defecto.


Observe las iteraciones en la hoja Convergence de la operaci6n.

NOTA: La operaci6n Recycle substituye el valor de 8 por los nuevos valores


calculados para la corriente 9 Can un Wegstein count de 3, una aceleraci6n es

aplicada a la cuarta estlmacion sobre la base de una extrapolacion de las Ultimas 3


iteraciones.

4. ADJUST
Observe la composici6n de la corriente 7 para e! valor de temperatura -20 F.
(estimaci6n inicial).
Carnbie el valor de temperatura en la corriente 6 y observe el cambio en la
composici6n.
Para variar automaticamente un valor para ajustar a un valor objetivo deseado

usa mas una cperaoon de HYSYS denorninada ADJUST.


Ingrese los siguientes valores en la hoja Connections:
Adjusted Variable:

Temperature de la corriente 6

Target Variable

Camp Male Frac de Methane en la corriente 7

Target Value

0.80

Observe las iteraciones en la hoja Conversion.

Tempefalure

-0.687

Pressure
IJolar Flow

b..

453.6

kgmdelll

Camp Male Frac (Melhane)

0.3500

Comp Mole F,ac (Etheoel

0~00

Comp Mole Hac (Propa"",


Coml' Mole Hac O-Bulane)
Coml' Mole Frac (n-Bulanel

0"00

Ejemplo de Adjust y
Recycle

0"00
01000

Camp Mole Frat

(i-Pe~la~e,

0."""

Camp Mole rrec

(~-P""l,""el

(031)(1

Comp Mole Frat (fl-He .. a~e)

4ll 2ti

1000 P'"
3'

(1.0200

5'

~
K-100

~OO

V-tOO

Cool,",
dlJty
6

V-101

E-l00
DeilaP
10 psta

T=-20F
Estimado
Inidal

.
A

"'"

RCY-1

inicialmenle suponer
Flow = a
Presion = 1000 psta

Thu Jul 22 11:4145 1999

Case: C:\user\OOC\CURSOS\OOCUM\HYSYS.Examples.May98\TraducidosIAdjust y RecyclelAdj-Recy1_HSC

Flowsheet: Case (Main)

Optimizaci6n de una estabjfzacon de eesolina 1

Optimizaci6n de una Estabi/izaci6n de Gaso/ina:


1. Usa del aptimizadar.
EI optimizador incorporado en HYSYS puede ser utilizado para optimizar cualquier
formula que puede ser calculada por el spreadsheet (planilla de cakulo).
Este problema optimiza la presion del separador de alta, media y baja presion en

funci6n de los precios de venta de los liquidos y gases y de los costas de compresi6n
y calentamiento. Adernas de ello tcnemos una restricci6n en la presion de vapor reid
de la qasolina entregada, que no puede superar los 14 psia

Construya primero el caso de acuerdo can las indicaciones en el diagrama de flujo


adjunto. Las presiones de 105 separadores de alta, media y baja son inicialmente de

sao,

250

y 50 psia. La

temperatura en los separadores de media

y baja se mantiene

constante en 150 F mediante dos calentadores intermedios. Suponemos un delta P


de 5 psi en cada uno.
Nota: observe el cartel de advertencia en los compresores en estas condiciones.
Para calcular la presion de vapor reid en la corriente LP Liq se debe acceder al
utilitario COLD PROPERTIES que se encuentra en Tools/Utilities/Cold Properties. EI

valor de RVP calculado debe dar aproximadamente 22 psia en estas condiciones.


Antes de poder utilizar eJ optimizador, el caso debe estar completamente resuelto.
Los pasos para poder completar Ja optirnizacion son como sigue:
A. Seleccione la opcion "Simulation/Optimizer" del menu. Esto permite acceder a
las opciones del optimizador. Seleccione el boton "Spreadsheet" para abrir la

planilla dedicada al optirnizador. En la paqina siguiente encontrara el contenido


de esta planilla. Ya que la celda 814 es la que contiene el beneficio operative
neto de la planta, es la que debemos maximizar rnarupulando las presiones de

los tres separadores.


8. En el Tab "Variables" del optimizer agregue las presrones de las corrientes FEED,
MP FEED Y LP FEED. Estas son las variables primarias (manipuladas por el

optimizador) y deben ser todas variables especificadas por el usuario. Para la


optimizacion adoptamos los rangos siquientes (tad 05 los valores en psia):

Low Bound (limite


inferior)

Valor actual

High Bound (limite


superior)

FEED

350

sao

750

MP FEED

150

250

300

LP FEED

15

50

100

optimtaacon de una estabtllzacon de Gasolina 2

C. En el tab "Functions", seleceione la celda B14 (Iuncion objetivo) y la opcion


"Maximize" .
D. En el tab "Functions" se deben agregar tarnbien las restricciones a nuestra
funcion objetivo En este easo particular que la presion de vapor Reid ealculada
no supere el valor deseado de 14 psia. Como estas restricciones deben tamar
valores del Spreadsheet. se reducen a que la celda B1 debe ser menor que la B2.
E. En la hoja "Parameters" seleccione MIXED como metoda de cptirnizacion.
F. Estando en la hoja "Monitor" active el baton START.

,~

OPT1M1ZAC10N DE UNA ESTABILIZAC10N DE GASOLINA

"'

,~

.,

\/-100

r-

Comp MIX_l00
\1101

~ ,

'"

VLV_llXl

,,1

t.1P
H~

'"

Ke.,er

t _-..'-

,-

50.00
5(l[I.~

MoiarFIow
C<lmPM:Me

F,,,,, (Hit_I

CcmpMo>eFraelC021
Comp MOle F"", (Melh.<>e)

Comp Mole F"", (E.... ".)


camp Mvlo F",c (prOp.",,)

f"'"

Com~ Mol.
~B"Iafl.l
Comp Mcle Fro" tn-Bulone)

'"

TotO'
?:!~
M'
1'101

."

&::'"

~'1X-101

IIENl

"'
~

M'
~

"'

,,,

\I.1D~

IIlV.,0c;.]6I

'MP
co

",

,.

',00
PIOS''''.

IK,OO

T~mperatu",

,-,

,~

'"
~-l

11\

,~

C~
,~,

uc
p5la

lPFee:l

:1526 'bmol"""
0 0010

00140
0.4820
O.13S0
0.0690

0.00,0
0.0=

Canp Mole Fro, Ii-Penta",,) U.G400


C<rnpMole F"", [""" .... '.ne) ~.041O
Canp Mcle Fr., In-He,a",,) U.0340

Temp""",u,,, lSO.O

p""'.ure

MPFeed

00.00

pSI'

T....."....lu,," 150.~ F

p-.,

"W.~

~Ia

NcI.i 1: TOODs los mix .... de"""

'!Iualor We>iooes

IfcIa 2: L. I~a'u",de oaM<lade ""'_.dores de IJf'


1lP - . 051" especihcad eo 150F

~::

.;; ~ f'~ de presi6n on I.. cal...." ' _ <Ie me~i. t

C......

&<Ill

I pr........ ~p!ima' ae Ojl.raalln

_.,adores?

pa'. lOS <res

C<rnp Mole Fro' {n-Hop""",,) O.02~O


Comp Mole F,,,,, {n-Qclllre) 0.0210

,
~

Wed Jan 0312:29:112001

Case: O:\support\EjemplosCursos\DOCUM\HYSYS,Examples.May98\Traducidos\Prod.Optimization\INICIAL.hsc

Flowsheet: Case (Main,

Case Name:

.....

F'aP6S.A.
BuerlO$Aires

C:IUSllr.NataliaIEjemplilos Hl"l"IOPTIMIZACION DE UNA ESTABILI

Unit Set

Flo"

Oalarnme:

Thu Aug 0510:47:531999

Spreadsheet: Optimizer Spreadsheet

Units Set

Field

CONNECTIONS
Imported Variables
1I

0 teet
RVP
MateriJI gtream- LP},IQ
,__~ergy Sl!eam:._LPJ:lE...
_ El'lIIrgy ~ea~._. ~~__J:l':_"
Cold P~rties:

81
_"'.,~~
_~B8_~

___ B9 _
_,.,_~ 11L

Variable Desai lion


~.,

2!,,!,l!'p.~
~_

Uquid Voh,J!'fl!'. FI2:N Ip 10


~ _~o~.!!cia

~__

KtQ!l

Po!eE',i!~:~_ _._~______

POlencJa K.102
,_ _ ?..l~ Ga~ Flow_,

!,,~~.rgy'~~......:....!:!.PC~_HP

,En~ Slnlam:

Q LP
Enerov Stream: O-MP

..

__~

__ ,P4_, ,_~~!I_tertal_~~~EJ_'__9~.~,~
"'DB
09

Value

Reid VP

'"""

._

2740 _barre!,cUlY

__. __ .,

_.~~

__,.

411.6hp

_
._.~

~_________

Heal Flow
Heal Row

_~

,,_

..

_.,.

363.4.hp __
1!53hP.__

__

_ _ 20.16 ~M~c:~O _"""


3.28~.l!~1!6 8tulhr"."..__

,_

5.611e+06 Blulhr

Exported Variables' Formula Results


Variable Oeseri lion

Cell

Value

PARAMETERS
Exportable Variables
Visible Name

Cell
_~2

8.5

_l;l_L_,
.B1~

B14

812;
814:

05
06

OS;
06:

011

~-----c~----____
__

B11;

__

Variable T

----------C=--- ---__ ~'___562e+~, - - - 15.00

.~__

2.892e-o-04
2.4<178+04
- 3000

6.047e+04._".

D12

__ "'", __ 9~?~ __

011;

Value

13.00

_~,,_"'

.. ,B11

Variable Oescri lion

1<1.00 p_~la

62:
:-~5~

4_26ge+04

012:

User Variables
FORMULAS
Cell
_ 86

Result

Formula
~5":'i?:"'
__",__

_ El,!L_
_ B~

".__...__ .~_.__

-o-(b8_+b9!,~.2r.~].!.....
"':,~":'d.-b1?:.q!I.

06

+04"05
012 --. '-:'1d8'~-dWdi

.~

.,,__ ,,_"""'__ ,~_ ._

"".."'

, ,.

..
~.""

"'._...,,

~ __.

______ ~,~?~04 _ """.,,"'~,~ __

__

,__ ~.__.__

._~ ..

__ ~,~2!'l:':Q4_ ..__ ___

.2:...~,!.~!J:i...

. '" 6.047El +()4

1"204--

--

4.25911+1)4

Spreadsheet
_~t_

2_
___;1

J3YE.9.aJ.!:~~,

RVP M<l~~

"'_ _,_,

.,,2J'-9.IS.P!l!~,

__._,

, __...!.i~L~,

_
~

__

_L _CaUl,l~degasOU~lI__ ,'- -274~1/(j~ --===-G~-P~~~o


,.,L
_6__

El_I!...~:i9li.n.BJ~lIrrliL"'''_~__,._.

~1~!lI.~!U!qlli!l.2~

__ "",..",

---'-2q:: 16~~~p_ ====---=~ ~=-=~===--=


__

1~,OO __ ~c;i~({~~9!2....

_ ;3.562e:'94. ,",. """" _.

~~,lI.X2_Elq'lS

___ ~qQQ

"_6,,o47e+04

"".,,_______ _

___ ,,,_,_,"'_. ,,,_.'-.__

,_'____

".'""

7
8

k_100

kl01

10

.roa

11
predc (Si{ttp-dayl.
,j 2_~El_ Compre-si~(.d~y)".

411.8hp
363.4hp
1153 hp
15.00

.J;'redo BTU

(J.()OO2000

__2.692e-o-().\_

!l"G:aIElla_~ie:,'.1.tl) (S/day}

___~,;~6_ge+~"

QE100

3.283e+06 81<J1'hr

QE101

5611e+06 Bluthr

_.13
14

BeneficlO Neto

Hvprotech Ltd.
L,c",,$e<I to: Sole,,,,, S.R.L

2.447e+04

HY YS.Process v2.1.1 Build 3198

Pae10f1

SelectedVo!,ir~bl', -------'----~

Adjusled(Plimaryj Vafiable
- Ilbi

P'

veiebe Desai tion

.- I
feed
Feed

Enable Selected Optimizer Variable.

PJeuure
Pressure
PJessure

MP F

300.00 sie
<em I >
150.00 103

erieble Reset
'AesetValue

V';'~=======

I'.

Save Current
: \V~liables Functions

Pllramelers

ResetCurrent '.\.

Monitor

, Delel~

III!IIf3

.....,;"Oplimizcl

::11
Objective Funclio

]Cell

814

Current Value

! rq-

Minimize
M~ize

ConslJ'aint Funclio

Numl

I Current Value I Cand I

LHS Cell

B1

21.963

AHS Cell

<

82

I CUflenl Value I Penalt Value f


14.000
1.0000

add
Delete

Vllrrllbles

Functions-

Peremeters

Monitor

Delete

I"d Oll-limizet - Spleadshee\

1
2

I!II!lEJ

A
I
RVP Celcclede
AVPMaxima

21.96 ~
14.00 sia

S
7
8
9

10

"

12
13
14

, Caudal de Gasolina
Preciode Ia Gaso~na $/barrel
$/dla de Ii uidos

2740 b';lIfel/da
13.00
3.5618-+04

k100
k101
kl02
Precio $/HP da
Coste de Com esice $/dll

412.1 h
362.3 h
1154 h
15.00
2.833e-+04

Beneficia Netc

Proouctc

20.16MMSCFD

Precio S/MMCF
$Jda' de G",s

6.0478+04

QE1OO
QEl01

3.285e+06 Btu/hr
5.606e+06 Stu/hr

GIIS

3000

Precio BTU
Costa de CaIelllmienlo :t:/da'i-

II

2,448e+04

0.0002000
4.267e+04

Optimizaci6n de una

estabntzacon de cssonna 3

2. Uso del Case Study


EI utilitario Case Study permite hacer estudios perametricos del efecto del cambia
sistematico de algunas variables de proceso. Ofrece tarnbien la ventaja de poder
registrar este efecto y presentarlo, tanto en forma tabular como grafica.

Utilizaremos el mismo caso que para el optimizador y estudiaremos la variaci6n de


los flujos de gasolina, el valor de tension de vapor Reid obtenido y el beneficia neto
en funci6n de las presiones de operacion de los separadores de media y baja.
Para poder utilizar el Case Study el caso tarnbien debe estar completamente
resuelto. Una vez logrado esto, se procede como sigue:
A. Seleccione la operon "Tools/Databook" del menu. En la paqma "Variables" se
deben seleccionar las variables que se desea tanto madificar como registrar. En
nuestro caso son las presiones de MP FEED Y LP FEED asf como los flujos de gas
de venta y de liquido y el valor de tension de vapor reid de la corriente de
lfquido.
B. En la hoja "Case Studies" se genera un Case Study. Las presiones de los
separadores de media y de baja se imponen como variables independientes y los
valores de flujos de Ifquido y vapor, el de tension de vapor reid y el beneficia
neto como variables dependientes.

C. Para Acceder al Case Study en particular se presiona el baton View. Se debe


ahara seleccionar el rango de las variables independientes y el paso de variacion.
Observen como varfa el nurnero de puntas a evaluar can la variaci6n del paso
utilizado (Step Size). Utilizamos los siguientes valores.

MP FEED
LP FEED

Low Bound

Hioh Bound

Step Size

150
15

300
100

10
5

D. Presione START para proceder con el calculo Para acceder a los resultados una
vez terminado el cakulo. presione el bat6n "Results". Para cambiar los graticos
mostrados ir al Case Study Setup I Display Properties, ahi se puede marcar el
grafico que quiere verse en Results.
E. Can el baton derecho del mouse sabre el grafico, se accede a Graph Control,
donde se pueden modificar el anqulo en el que se muestra el qrafico, y da la
posibilidad de adicianar curvas de nive! el mismo.

Optlrnizacion de una estabuizadon de GasoJina 6

Main

Case Stucues

~; ~

' O(ll~~ " "


'Wenning

Kl02 -Liquid in inlet streem

!I

PrQaSnapro6~6ftheAqtio:;;;;wihv:-.rt~r'
'" ' ' ' ,,,,",,,',,, ,',,','
,,,\",,,,,,,,,,,,,,--..',,"?,',,.'.

The case you are loading is from Wl older version ot HYSYS.

>;;>;),~;~,'y.i~--"-;,',l_j:;,}>',.":,:C,/.';T

"';Xt,;",
"",,--,

' , > F j l l:"'''c<,L::,


i"

_,~""

"",,-,'",

'

Some objec

;<;......

--------

Case Study 1

"g;

"'.00'-1--1--

'iii 40.00
~ 35.00

-o
'Qi

a::

30.00
25,00

300.0

20.00

280.0
260.0
240.0

15.00

2~0\1P FEED - Pressure (psia)

10.00

s.OOOf----

-l-110~~

10.00

140.0

LP FEED - Pressure (psia)

Case Study 1
~

'"

:!';

-~'" 4Ooo:t--,q
"'00

.0

u::

(1J

E
:J

15

>

3500.
3000.
2500.
2000.
1500.

280.0
260.0
240,0

no.oMP FEED ~ Pressure (psia)

1000.

:g 500.0

200.0

5-0,0000

180.0

:.:i

10~,0jIJ.ClIO.Q;lJ

QlO.OIb~,CN:I.Olbo.o

LP FEE - Pressure (psia)

160.0
140,0

~SSL

eed - Pressure (psia) vs LP Feed - Pressure (psia)


100.0

90.00 ----- ----------- ---

--------~--

---

.. _ - - - - - - - - - - - .. ,-------

co
.-

CIJ
0-

80.00

70.00

~
n,

60.00

- --- --

.-

-_ ....

..._ , ' - -

--------

::l
CIJ
CIJ

_.'.--'-

._-,'.'

-_._-.

50.00

-_._-- -- -- -

- ---

~_._-

------

.'.-

_. - .'_.

--

-0

C1J
C1J
LL

n,
---l

--- -_.__ .-

40.00

----_._---'---

----------

160.0

180.0

200.0

220.0

240.0

MP Feed - Pressure (psia)

_... _----- ._--

20.00
160.

----------

_.. --- .-

--_ ...-

30.00

-----

260.0

280.0

300.0

Case Study - 1
7.000e+04

6.000e+04
05.000e+04
(j)4.000e+04

c03.000e+04

U2.000e+04
'i=

CD1.000e+04
C

<D

0.0000

[1J

-1.000e+04

-2.000e+04
-3.000e+04.
140.0
160.0
180.0 ,
200.0
220.0 .
240.0

MP Feed - Pressure (psia)

26g~00'

dIP rfO' OilPO.0


diP oW .
_20 ri/P.o'/PdIP
.

300.0 10.00 .

LP Feed - Pressure (psia)

---_._~~.---

eed - Pressure (psia) vs LP Feed - Pressure (psia)


.

100.0 - - - -

90.00 --

--- ...- _.. -.-

------

C1l
C/)

80.00

-~

-_._-

--

--"

-------- --

--------

-----

....Q)::J
C/)
C/)

....
Q)

c----

70.00
60.00

(L

50.00

.._.,-

._---

.-------

------------

------

--

---------

.---

- - - - - - - - _.

_..

----------- ---- ..

Q)
Q)

40.00

-._--

-_.~----------

. _- ....-----

-------

-_.~

LL
(L

--l

30.00

----

------'

---- ------ -

---------------

20.00

--------- -

---------- -----_ ... '- - --------

---

.. ' - - - - - _ ....

.--------

.- --

-.,,-..

--

160.0

180.0

200.0

220.0

240.0

260.0

280.0

300.0

MP Feed - Pressure (psia)


e"",,, oc "BENEFicia Nno e, 0

OPTlMlZACl6N DE UNA RED DE TUBERfAS


Introducci6n
El objetivo de este ejernpio es el de optimizer el transporte de gas caudal de gas de

tres corrientes de producto.


Simulao6n
Crear un caso nuevo. Utilizaremos para la sirnulacion Unidades de Campo perc con
unidades de MMSCFD para el "Molar Flow".
EI paquete de propiedades = Peng Robinson y los componentes a agregar a la
simulaci6n, son los detallados en el PFD
Armar el diagrama de tlujo como se muestra en el PFD.

Informacion de los segmentos de tuberlas: Todos los segmentos de tuberfa tienen


Schedule 40.
largo (rnillas)
Operaci6n
Diametro (in)
. Pioe-100
13
6
Pioe-l0l
18
6
Pioe-l02
5
4
+"
,6
I Pipe-l03 _. .- 40
:
I-I Pipe-l04 _...
6
I
10
,
~! 1l
--..J
I Plpe-10sJ,,-7
_~

los segmentos Pipe-l00,1 01, 102, 103,


(temperatura del suelo 120 Fl,

104 yl0S

se encuentran

enterradas

Curvas de los Compresores.


Caudal (ACFM)
300
600
900
1200
1500
1800
2100

2400

2700
3000

3600
3900
4200
4500

K-IOO
Altura (ft)
0
5820
23280
43650
58200
72750
84390
87300
81480
72750
52380
43650
34920

23280

Eficienda
2
10
20
35
50
60
70
75
78
77
75
70
60
50

Caudal (ACFM)
150
300
450
600
750
900
1050
1200
1350
1500

1650
1800
1950

2100
2250
2400

"

' .. vv

....JU.,,1U

1500
1800
2100

58200
72750
84390

50
60
70

):1nll

07::>nn

'c

bUU

750
900
1050

K-IOI
Altura (ft) Eficiencia
0
2
10
3880
15520
20
29100
35
38800
50
48500
60
56260
70
75
58200
54320
78
48500
80
77
42680
75
34920
70
29100
60
23280
15520
50
7760
40

29100
38800
48500
56260

35
50
60
70

Funcion Objetive Func:

$35720/day

Ejercioo Opcional

En este punta utiJizaremos el "Case Study" del "Databook" para crear un orafico
3D de las variables optirnizadas y la funcion objetivo.
Procedimiento para el Case Study

1. Ingresar en el menu Tools... Databaok


2. En la hoja Variables se deben definir tadas las variables sabre las cuales
deseamas actuar (variables primarias de fa optirnizacion), En este caso son los
flujas molares de las corrientes 15 y Gas Vental.
3 Tarnbien debemos agregar las variables dependientes (cakuladas), que en este
casa pueden ser la celda con la funcion objetivo (810) del optimizador y nuestro
flujo molar de la corriente Gas Venta 2 (para poder verificar que se cumpla can

las restricdones).
4. Para configurar el Case Study se debe primero generar un nuevo case study
presionando el bot6n Add en la hoja Case Study y configurar el maximo y el
minimo de cada variable independiente presionando la tecla View del Case
Study. Podemos adopter los mismos maximos y mfnimos que en ei caso del
optirnizaoor. Aparte de esto se debe definir el paso de cada variable. Se puede
seleccionar un paso de 50 kgmal/h.
5. Presionar el baton "Start" para comenzar los calculos y "Results" para ver los
resultados una vez completados los calcu.os.

.
c
;

"

"

Case Study 1

/\

- ~~\
- /\ \

3.55Oe-l-04

c:::p450e+04

\\-,\..-\)\

JIl3 400e+04

\_ ------I,

'\

3350e+04

'/'

\
\

--

\ --",>-\---

300,0

/'

'/

-,
\

\
_/

\
\

\"

/,

/~\

\.-

\
\
\
\
\"
\ /'\
"
)(
\
\_ \ / \

100.0
200.0

Gas Venta 1 - Molar Flow (Ibmolelhr)

\_

\ \ \ x/ ---\
\

3.300e+04

'v . - \

\',

.as vente

'

\,._
\
\.,_.1,<\\_\
\
-\ - \
\
x
,
\- --~- - ', \,
\ // '
),
\
\
\
V
\
\ \
\
,/ \
\//
\

3.500e+04-

3.250e+04 0.0000

\,

------\
\
\
/
'-\\\),(
'.
\
\
\
/'
\
\\ \ .
V
\,
\
\
~,

\,
\

'y

\/

y'

001300

.\/'

110012

800 00 ~ooo

400.0
500.0

0600

600.0 500.0

15 - Molar Flow (Ibmolelhr)

S/MULAC/ON DE TUBER/AS CON


RAM/F/CAC/ON

Peng Rob<nsoo

2 '-!MSCFP

500 PO" (Clbj.bVD)

8RANCIi~

1"';001"""""
9 ....mcftl

;.~

Te~!ure

MOlOrFlow

~5

TEE~OO

CO'rc> Mews F"" IM.... n.~


C""ll Mole F,ac (Elhane)
C"""Mde Frac (Prop,mel
C""" MGlaF~ 4i-ButaM)
C""" MoIafrac (n-Butanal
Comp '.kIBFrac(~Pm"ne)

120.0000

2191)

~.

~"

to

a ftujo ell 2 has .. q"~ '" ~f~'ion "" 4 sea iguGl a I.a presion en 9
"'lllSta, ellki" oe 6 has .. qua Ia ~'''''''''' "" 14 ..... 1ll",,1a .. presioo erl 15
A""t>r .11k,", "" 1 .....' .. ~".Ia ",e.",..,..,.1 ...,. ;",,,1. Ia or"",,,, ~n 12

Aj......,

L....

. ".... <No

TCda.""

nocaoooo

COfl1l M<:le Fmc (nPentao9)

~JI020000

COITl' 'Aae fra" (fi-Hs""""J

0.0010000

Nola; PteS4rnarel

ADJUST

PipeS_oml,

OU2000J0

"Iomiflal OIamolel)
Pipe lenglh(l]

EIe"aba<l[l)

"'0

tolern,lCid,
<Ie 0.5 p.i
Ido<loSiru"~ on 100us 100 Adju'l

Ib<miel!ll

'00_
00050000

~1

ADJUSTS

e.sooeecc

'00_

ta

MIXl02

0-102

M~'

BRANCH2

MAIN2

1\
;::"[11

'"

TEE_1M

, ,If)a

re

BRANCH 3

2M"lSCFD

z
MAIN'

~3

~,

P".
,e 10"",I,-oon
...

._"
,

ts

,
""

~'"

BRANCH 1

.~

eooc

Z.ll4oe.OO4

1,3208+()1,)o1

0=

uccco

~"

BRANCH~

e.rco

e.coo

e.coc

e.cco

2,ll4Oe.OO4

52&1<1>00<\

2.6010,,+004

l.32Cla+004

o.ooec

noeoo

noecc

IlRANCH3

BRANCH 2

.=

"'*'" HOLD

a~l ..

de Irn;tatare ",ira "" ~.ciooe,

~"

eeoc ~"'a.coo

264O/l'004

2.64()o-tlO4

o.coco

o.cooo

TOO05I"" ~ tienM$cn 40
la l<>r'fl>e/atura an......... e. de 4Cl f
E'omar 01 coefloiOl1ja irllefno <10 ~rlSfefeflO'"

--~---

Thu Jun 1510:41:51 2000

Case: O:\s upport\EjemplosCursos\DOC UM\HYSYS Examples .May98\ Traducidos\Pi pe Nelwork\Pipenelwork.H SC


---~~--_._--

--~

Flowsheet: Case (Main)

PIPESYS Application

1-1

PIPESYS Application
1.1 Gas Condensate
Gathering System
In this PIPESYS Application, the performance of a small gas-

condensate gathering system is modelled. Figure 1.1shows the physical


configuration of this system superimposed on a topographic map. The
system consists of three wells distributed over an area of approximately
1.0square mile connected to a gas plant via a network of pipe lines.
FIgure 1.1

IWeliBI
2015

Pipeline Elevation
Point

28"

!Gas Plantl
198D

1-1

1-2

Gas Condensate Gathenng System

Field data shows that the wens are delivering the following rates:

Well A

8.6 MMSCFD

WellB

7.4 MMSCFD

Welle

10.1 MMSCFD

All three wells have the same composition. A residual of all the heavier
components in the condensate has a molecular weight of 122 and a
density of 760 kg/m 3. The characteristics of this component will be
accounted for by using the hypothetical component facility in HYSYS,
The compositional analysis of the gas-condensate resulted in the
following information:
Methane

0.623

a-Pentane

0.00405

Ethane

0.280

n-Hexane

0.00659

Propane

0.0163

C7.

0.00992

i-Butane

0.00433

Nitrogen

0.00554

n-Butane

0,00821

Carbon Dioxide

0.0225

i-Pentane

0.00416

Hydrogen Sulllde

0.0154

Pipe diameters for each of the branches are:


Branch 1

3"

Branch 2

3"

Branch 3

3"

Branch 4

4"

Branch 5

6"

Schedule 40 steel pipe is used throughout and all branches are buried
at a depth of 3 feet. All pipes arc urunsulatcd.
Elevation data for each of the branches are provided in the following

1-2

I_______
Branch5
IL6_"

------

Schedule 40 steel pipe Is used throughout and all branches are buried
",t '"

rlanth "r'l r"",t All

nln",~ "r",

""I"",,,bt.--..-I

PIPESYS Application

1-3

table. The elevation given for the pipe units is for the endpoint of the
pipe, i.e. the downstream end. Branches that traverse undulating
terrain have been subdivided Into a number ofsegments with elevation
points assigned at locations where there is a significant slope change.
Such locations in the network are labelled on the schematic diagram
with the elevation value in italics. The following table summarizes the
elevation data. For each of the branches, the resulting distance and
elevation data as obtained from the topographic map is listed. With
these data, you can simulate the performance of the given system using
PIPESYS extension and thereby calculate Important parameters such as
pressure losses, temperature changes and llqutd-holdup amounts as
well as predicting the flow regimes.
Branch

unu

Length (ft)

Elevationjft]

Branch 1

Well A

n/o

2095

Pipe Unit 1

945

2110

Pipe Unit 2

1110

2089

Pipe Unit 3

1056

2090

WellB

nI.

2015

Pipe Unit I

2822

2090

Welle

nf.

2085

Pipe Unit 1

528

2125

Pipe Unit 2

334

2080

Pipe Unit 3

670

2077

Branch 4

Pipe Unit 1

1161

2011

Branch 5

Pipe Unit 1

2110

1980

Branch 2

Branch 3

In this simple example, the flow rate at each well Is specified and Is

Independent of the flow rate at each of the other wells. In cases such as
this, the system can be modelled with only one pressure drop
determination per branch. Simultaneous pressure and temperature
calculations can be performed if the temperature at each wellhead is
also known.

1-3

1-4

Gas Condensate Gathenng System

Figure 1.2shows the PFD generated by HYSYS for the completed case .

...

w... 11
C

",

Junction
ps11

WA-:I---f::==~'"
I
_
ES1
Branch

Sincepressures are continuous throughout thenetwork, the pressure can


bespecified at only onepoint. For instance, the pressure can be fixed at
anyone well or at the final delivery point and PIPESYS will compute the
pressure everywhere else. For this application example, a pressure of
1060 psla will be specified for WellA, PIPESYS will then determine the
pressures elsewhere In the network that are consistent with this
specification.
Heat transfer calculations should be performed in the direction of flow
whenever possible. Furthermore, wellhead temperatures are generally
known. For this example, the fluid temperatures at wells A, Band C are
known and must be entered as flxed conditions. PIPESYS will then
perform an iterative pipeline calculation in branches where the
upstream temperature and downstream pressure are known.
Temperatures of the blended fluids will be computed on a mass basis
downstream of the junctions of two or more streams.

1-4

PIPESYS Application

1.2 Setting up the Flowsheet


Carry out the following steps to model the gathering system with
PIPESYS;
For addJrJonal information on

HYSYS views and conventions,


see the HYSYS Reference
Manuall. ChaptliT 1Inilirfacli.

1. Start HYSYS and create a New case, In the Simulation Basis


Manager, create a fluid package using the Peng Robinson equation
of state and consisting of the pure components: methane, ethane.
propane. i-butane, a-butane. i-pentane, n-pentane. hexane,
nitrogen. carbon dioxide and hydrogen sulfide.

ci, CZ. C3,1-C4, n-C4,IC5, n-C5.

C6, Nitrogen, COZ, H2S


2.

signifies required input

Create a hypothetical component, C7 +, with the following userdefined properties. Add it to the fluid package before entering the
Main Simulation Environment.

Nam.

C7+"

Molecular Weight

12Z"

Std Liquid Density [lb/ft3]

47,45""

3.

Open the Workbook and add the 10 Material Streams listed below;

Material Streams

WellA, WellB, WellC

PSt, PS2, PS3, PS4,PS5


FS4,FS5

1-5

'-6

Setting up the Ptowsneet

4.

Open the Compositions page on the Workbook View and enter the
compositional data for Well A as specified in the following table:

Methane [mole frac.]

0.623"*

Ethane [mole Irac.]

0.280

Propane [mole frae.]

0.0163"

i-Butane (mole frac.]

0.004.33"

n-Butane [mole Irac.]

0.00821"

f-Pentane [mole frac.]

0.004.16

n-Pentane [mole (rae.}

0.00405"

n-Hexane [mole frac.]

0.00659"

C7+ [mole frac.]

0.00992

Nitrogen [mole frac.]

0.00554"

Carbon Dioxide[mole frae.]

0.0225"

Hydrogen Sulfide [mole frae.]

0.0154'"

Because the stream composition is identical over the entire system. the
composition of stream specified for Well A may be copied to streams
Well 8 and Well C.
5.

Use the CopyStream SpecsFrom button on the Uti! tab orWell


B's stream view to define its composition by copying the stream
specs from Well A. Repeat for Well C.

6.

Now open the Energy Streams page on the Workbook view. Enter
the names of five energy streams:

EnergyStreams

I ES1.ES2.ES3,ES4,ES5

For this case, each of the five branches ofthe pipeline will be
represented by a separate PIPESYSextension.

1-6

PIPESYS Application

1-7

1.3 Setting Up the Case


1.3.1
7.
8.

Adding the First PIPESVS


Extension

Add a PIPESYSExtension to the flowsheet.


Complete the Connections page as shown in Figure 1.3..

see rhe PIFESYSReference


Manual. Chapter 3 Tb~
PIPSYS Jlio:ow for a
description of all pages in the

main PIPESY$ view.

On the Elevation Profile page. and enter 0 ft into the Distance cell
and 2095 ft into the Elevation cell.
10. Add the first of three pipe units for this extension on the Elevation
Profile Page. The Pipe Unit view will appear.

9.

1-7

1-8

Settmg Up the

Case

11. On the Dimensions Page of the Pipe Unit view, specify the pipe as
being 3 inches in diameter, schedule 40. The completed page is
shown in Figure 1.4.
Figure 1.4

l Z. On the Heat Transfer page, click on the Centre line Depth cell and
press the Ihfauh button. All other parameters may be left at their
default values. See Figure 1.5 for the completed form.
Figure 1.5

1-8

PIPESYS Application

1-9

13, Close the Pipe Unit view and complete the Elevation Profile page
by entering 945 ft for the Run parameter and 2110 ft for the
Elevation parameter. Allother parameters are automatically
calculated, as shown in Figure 1.6:

14. Add the remaining 2 pipe units. Because all the pipe units for the
extension have identical properties to Pipe Ii 1, you may use the
Copyand Past~ buttons as a time saving measure for adding the
new units.
IS. Complete the elevation profile as shown by adding the Elevation
and Run parameters for all units. (Figure 1.7)

1-9

1-10

ScUmg Up the Case

16, Go to the Temperature Profile page and enter 40 F in the Ambient


Temperature cell in the Pipeline Origin group box.
Figure 1 B

This completes the first PIPESYS extension for your case.

1-10

PIPESYS Applil;;allon

1.3.2

111

The Second PIPESVS


Extension

The second PIPESYS extension consists of a single Pipe Unit.


17. Enter the required information for the second extension as defined
in the following table:
Connections Page

Elevation Profile Page

Pipe Unit View

Temperature Profile

N=,

Branch 2

Inlet Stream

WellB

Outlet Stream

P52

Energy Stream

E52

Distance (ft)

Elevation fft]

ZOl5

Pipeline Unit

Pipe #1

Pipe If 1 Elevation [It]

2090

Pipe#l Run [ft]

ZB22

Nominal Diameter
[Inches]

Pipe Schedule

40

Centre Line Depth

Default

Ambient Temperature [F]

40

1-11

112

Setting Up the Case

1.3.3

Adding a Mixer

For this pipeline configuration, a HYSYS Mixer is used to merge


streams. Other HYSYS operations can be used to merge streams but the
Mixer is the simplest to use and the most suitable for the this example.
18. Add a Mixer to your simulation. Named Junction 1, His used to

merge streams PSI and PS2. Figure 1.9shows the completed


Connections page.
More information regarding
Hl':5'YS unite opemtiom is
located tn the HYSi'S
Referencc ManuBl2. Chapter
13 - PhpJcaJ Operations.

Figure 1 \1

19. On the Parameters page of the Mixer, select the EqualizeAll radio
button in the Automatic Pressure Assignment group box.
Figure 110

1-12

PIPESYS

1.3.4

1-13

Apphcatl!~n

The Third PIPESYS Extension

The third PlPESYS extension you add is used to represent Branch 4. It


consists of a single pipe unit.
20. Enter the data for the third PlPESYS extension as defined in the
following table.
ccnnecttons Page

Elevation Profile Page

Pipe Unit View

Temperature Profile

N=,

Branch 4

Inlet Stream

F54

Outler Stream

P54

Energy Stream

E54

Distance [ft]

Elevation [ft]

2090

Pipeline Unit

Plpe-lll

Pipe #1 Elevation [ft]

2077

Pipe if 1 Run [ft]

1167

Nominal Diameter
[Inches]

Pipe Schedule

40

Centre Line Depth

Default

Ambient Temperature [F]

40

1-13

1-14

Setting Up tile

Case

1.3.5

The Fourth PIPESVS Extension

Branch 3 of this pipeline system is represented by the fourth PIPESYS


extension. Three Pipe Units in the elevation profile matrix correctly
characterize the changes in elevation occurring over the length of the
pipeline.
To save time, add and define
Pipe #1 and then use the Copy
and Paste buttons to create
Pipe #2 and Pipe n.

21. The following table contains the information required to complete


the fourth PIPESYS extension:

Connections Page

Elevation Proflie Page

N=.

Branch 3

Inlet Stream

w-u c

Outlet Stream

PS3

Energy Stream

E53

Distance [ft]

Elevation 1ft]

2125

Pipeline Unit

Pipe #1

Pipe #1 Elevation 1ft]

2077

Pipe #1 Run [ft]

528

Pipeline Unit

Pipe #2

Pipe #2 Elevation 1ft]

2080

Pipe #2Run

Pipe Unit View (All


Pipe Units IdenticaJ)

Temperature Profile

uu

334

Pipeline Unit

Pipe #3

Pipe #3 Elevation 1ft]

2077

Pipe #3 Run lft]

670

Nominal Diameter
[Inches]

Pipe Schedule

40

Centre Line Depth

Default

Ambient Temperature IF]

40

Pipe Schedule

40

Centre Line Depth

Default

1-14

T"'<nn",~,,'"'''' p~~mQ

d~h'a~'

'T'h ___ .~"'~_ ","

'"

PIPESYS Application

1.3.6

1-15

The Fifth PIPESVS Extension

The fifth and final PIPESYS extension for this case represents Branch 5
of the pipeline system. In this segment. the total gas flows from WellsA,
Band C are merged and the endpoint of the extension is the gas plant.
22. Enter the Information for the final extension as defined in the
following table:
ConnectionsPage

Elevation Profile Page

Pipe Unit View

Temperature Profile

1.3.7

N=,

Branch 5

Inlet Stream

'55

Outlet Stream

PS5

Energy Stream

ES5

Distance [ft]

Elevation [ft]

2090

Plpelfne Unit

Pipe Ifl

Pipe Ifl Elevation [ft]

1980

Pipe Ifl Run [ft]

2110

Nominal Diameter
[Inches)

Pipe Schedule

40

Centre Line Depth

Default

Ambient Temperature IF]

40

The Second Mixer

Asecond Mixer merges the streams from Branches 3 and 4 with the
outlet stream entering Branch 5.
23. Add a Mixer named]unction 2 to your simulation. Inlet streams for
the mixer are PS3 and PS4 and the outlet stream is FSS, See Figure
1.11 for the completed Connections Page:

1-15

1-16

Setting Up the Case

Figure 111

24. On the Parameters page of the Mixer, select the EquaIizeAlJradio


button in the Automatic Pressure Assignment group box.

1.3.8

Well Stream Information

To finish the case and have PlPESYS complete the calculation, the
following stream parameters for the wells are required.
25. Finish specifying streams Well A, Well B and Well C with following

data:
WellA

WellB

WellC

Temperature [F]

105

Pressure [psia]

1060

Molar Flow [MMSCFD]

8.6

Temperature [F]

115

Molar Flow [MMSCFD]

7A

Temperature [F]

110

Molar Flow [MMSCFD]

10.1

26. Save your case as network.hsc.

1-16

PIPESYS Application

1-17

1.4 Results
27. Go to the Material Streams page of the main Workbook. The

results calculated for the product streams should appear as


follows:

'w

nu

VlljIout" Fraction

Qj6~S

IUIIlnturi III

PmiW:e Ipsia)
!olar flog I~olelhrl
ll.m rIllt Ilbjhrl
Liqui~ Voluu nOlI 1~!ml/d1y)
Hellt Flog lBtufr.lrl

105. a
1060.
944.3
2.2S?et04
4lH.
-3.m.tO?

'W
Vapour 'raction
TOIIoperatur! IF!
Prusure Ipsial
!clar Flov 11hoLe/hr)
!asl Hilt 11lljhri
liquid Vol\ll! Flov (baml/liayl
Hut nOlI jBtuJhr)

ielL B
0.9709
U5.0

lieU C

usee

PSi

rsa

G.3S8~

0.9640
100.4

s; u

1.l42e+04
3627.
-3.llietOi

HO.O
101S.
!l09.
t6Sht04
49S1.
-4.262etO?

Pl'

lS4

P55

IS.

Ii!

U65B
lOU

0.%91
9Ul
m.l
li57.
4.me+04
784l.
-s. 19SeIO?

0.9607

0.9612

0.9612

93. n

~S.1S

96.5~

993. J
1757.
4.1991t04
784l.
-1i.790e+O?

m.l

972.1
H09.
U51et04

mI.
-4.l10et07

1~44.

en.s

96U
'Olili.

6.850ef04
1.met04
-l.lOae+OS

m.l

ssa.s

9H.3

Z.met04
4215.
-3.6S6et07

812.0
U4le+04
3m.
-UJ4et07

zess.
Ii.~SOej04
1.mef04
-UO?e+oa

To optimize the performance of the gas-condensate gathering


system created in this example. see PIPESYS Application 2:
Optimization Application.

1-17

PIPESYS Application

2-19

PIPESYS Application
2.1 Optimization Application
Optimizing the Gas Condensate Gathering System
This application Is a continuation of the Application 1: CasCondensat~ Gathering System. in which you modelled the
performance of a small gas-condensate gathering system given flxed
wellhead rates and plant delivery requirements. As the next step, you
will attempt to increase production from the wells by adding a
compressor to the fifth PIPESYS extension. Using supplied wellhead
performance curves, the effect ofiowering the pressure at the
wellheads will be gauged in terms of the resulting increased flow rates.
Figure 2.1 shows the completed PFO for the completed Application:
Figurl'! 2.1

Well

ES4

Junellon

....

PO'

Branch

_ _J P81
Well
A

Branch
1

' 81

PS5

ES5
Branch

ESJ

w:i~
C
~;;;
I

8ranch

Adjust

2-19

2-20

Optimization Application

You must complete the GasCOlJdensate GatheriIJ6


System Application before you
<Ire able to begin work on this

sppttcstion.

1. Start HYSYS and load the case file network.bs that you saved upon
completion of the Gas-Condensate Gathering System of the first
part of this application exercise.
The first modification you make will be to add an ADJUSToperation.
The adjust will be used to maintain a constant pressure of 1000 psta at
the Gas Plant with the pressure at Well Abeing the adjusted variable.
2. Add an ADJUST operation with the following specifications,

N=.

Adjust

Adjusted Variable - Object

Well A

Adjusted Variable - Variable

Pressure

Target Variable - Object

P55

Target Variable - Variable

Pressure

Specified Target Variable

1000 psla

l'dethod

Secant

10lerance

0.10 psi

Step Sue

100 psi

Max. Iter.

25

3. Press the Start button at the bottom of the Adjust property view to
begin the adjust calculations. HYSYS will require several minutes to
reach a solution. This is because the entire PIPESYS network must
be recalculated for each Iteration,
Upon convergence, the well pressures should be:
Well

Pressure (psie)

1093

1077

1052

The next step will be to add an in-line compressor at the upstream end

2-20

PIPESYS ApplIcation

2.21

ofPIPESYS Branch 5. If this addition reduces the pressure at the wells to


an extent that production can be Significantly increased, then the
additional cost of the compressor tsjustfflable. It is also useful to look at
the incremental performance increase of a larger compressor in order
to get a feel for sizing the compressor. The performance of a 1000 hp
compressor to that of a 750 hp compressor will be compared for this
application.

See the PIFESYS Manual.


Chapter 7 In-lint!
ComprusorfOf more
information on adding and
defining compressor

parameters.

4. Add a Compressor to the upstream end of the PlPESYS extension


Branch 5. To do so. open the Elevation Profile page of Branch 5,
click on the Pipe Unit and the select the Compressor from the Edit
Bar drop-down list.
Figure 2.2 shows the Elevation Profile Page of Branch 5 with the added
in-line compressor.

The performance of the 1000 hp compressor will be evaluated first.

2-21

2-22

Optimization Application

Figure 2.3 shows the In-line compressor Connections page:


Figure 2 3

5. Use the following information to complete the Compressor


Property view. On the Parameters page:
Brake Power- Specified

1000 hp

Max. Discharge Temp

100 F

Max. Interstage Temp

100 F

NwnberofStages

AdiabaticEfficiency

0.73

Interstage delta P

10 psi

On the Mechanical Losses Page:


OverallEfficiency

0.95

Once again. the solution process will require several minutes to


perform the iterative calculation for the PIPESYS network and
converge.

2-22

PIPESYS Application

223

When the process is complete, the well pressures should be as follows:


Well

I Pressure [psta)

686.5

655.5

619.3

To compare the performance between two compressors, the same


calculations are repeated using a 750 hp compressor.
6, Change the 1000 hp parameter in the Specified cell of the Brake
Power group box to 750 hp.
When the HYSYS completes the iteration, the new pressures are:
Well

Pressure (psta]

753.0

725.9

696.4

The PIPESYS calculations indicate that when a 1000 hp compressor is


used the wellhead pressure is lower than when a 750 hp compressor is
used. However, this may not result in an economically significant
higher production rate, especially if these pressures are located on the
steeper region of the wellhead performance curve. Figures 2.4. 2.5 and
2.6 at the end of this application show the wellhead performance
curves for Well A, Well B and Well C, respectively. These curves can be
used to evaluate compressor size that would be most economical for
use in a particular pipeline network.
Locate 686.5 psia and 753.0 psfa on the WellA wellhead curve and you
should find that these correspond to flows of ILl MMSCFD and 10.8
MMSCFD respectively. This Indicates that the 1000 hp compressor
would increase production by less than 5%, over that of the 750 hp
compressor. It is therefore reasonable to conclude that adding
compression to the system is worthwhile since both compressors lower
the wellhead pressures by a large amount, but the small increase In
production may not be enough to justify the choice of the 1000 hp

2-23

2-24

Optimization Appucattcn

compressor. For this example. assume that economic and engineering


considerations favour installing the 750 hp compressor.
In steps 4 through 6 it was determined that compression would
significantly improve production and that the 750 hp compressor is the
better candidate for doing so. Now you must find the actual flow rates
and wellhead pressures that correspond to having the compressor in
the system. This will be a process of adjusting the flow rates at each of
the wells to manually converge on a particular point on the wellhead
curves.

7. Locate the flow rates on the wellhead performance curves that


correspond to the pressures calculated in Step 6. Reading from the
curves these should be:
Well

Pressure (psia)

I Flow (MMSCFD)

753.0

10.8

725.9

9.6

693.4

12.4

8. Press the Stop button and enter the flow rates from the above table
into the stream data for the wells. Specify the a value of 10.8
MMSCFD for the Molar Flow ofWell A.Similarly, enter the flow rates
for Well B and Well C.
9. Press the Go button and let PIPESYScomplete the iterations.
When the program is finished solving the network, the new well
pressures calculated by PIPESYS should be:

2-24

Well

Pressure (psla)

868.3

837.5

782.9

PIPESYS Application

2-25

10. Find the flow rates that correspond to these pressures from the

wellhead curves. These values should be:


Well

II.

I Flow (MMSCFD)

10.3

9.0

11.9

Once again. press the Stopbutton and enter the flow rates from Step
11 into the well stream data as you did in Step 9.

12. Press the Go button. When the program is finished, the well
pressures should read:
Well

I Pressure

842.3

8iOA

763.6

(psla)

You will find that the flow rate and pressure for Wells Band C are close
enough to the curves and can consider these to be a valid solution.
However, the point 10.3 MMSCFDand 844.5 psia on the Well A
Wellhead Performance curve is still some distance from the graph. You
will need to do one or two more iterations to find the solution.
13. Find the flow rate on the Well A curve that corresponds to 844.5
psia, (this should be 10.5 MMSCFD). Press the Stop button and
enter 10.5 into the flow rate parameter for the Well A stream.

14. Press the Go button. When the program is finished, pressures at the

wells should be:


Well

I Pressure

848.8

812.6

765.1

(pSla)

2-25

ACid Gas Sweetening with DEA

Reid Gas Sweetening with


OER

HI99 AFA Technology pIc - All Rights Reserv",l.

Gas 8_Lpdf

ACId G"" Swe"lelllng wllh DEA

Workshop
In this example, a typical acid gas treating facility is simulated. A watersaturated natural gas stream is fed to an amine contactor, For this
example, Diethanolamine (DEAl at a strength of28 wt% in water is used
as the absorbing medium. The ccntactor consists of20 real stages. The
rich amlne is flashed from the contactor pressure of6900 kPa to 620 kPa
before it enters the rich/lean amine exchanger, where it is heated to the
regenerator feed temperature of9S"C. The regenerator also consists of
20 real stages. Acid gas is rejected from the regenerator at SO"C, while
the lean amine is produced at approximately 110"C.The lean amine is
cooled and recycled back to the Contactor.

~earning Objectives
Once you have completed this section, you will be able to:
Simulate Amine towers in HYSYS
Supply tray dimensions to calculate component efficiencies for
Amine towers
Use the Set operation
Use the Spreadsheet

Prerequisites
Before beginning this section you need to have:
Completed Modules 1,2,3, and 4

Ac,d Gas Sweetening wIth DEA

2.

JI

Make sure you enter rhe DEAl


H20 composition on a weight
(mass) basis.

Add a second stream for the lean amine feed to the amine
contactor with the listed values.

N=,

OM to Contactor

Temperature

35C (95F)

Pressure

6850 kPa (995 psia)

UqVolFlow

43 m 3/h (190 USGPM)

Component

Mass Fraction

H2O

0.72

DEA

0.28

The values for the Stream Dea to Contactorwill be updated once the
recycle operation is installed and has calculated.

Adding the Physical Unit Operations

-~~"
S~GM

nc

Separator Operation
Any free water carried with the gas is first removed in a Separator

operation, FWKO TK. Add a Separator and provide the following


information:

L-

Ccnnecticns

Name

FWKOTK

Feed

Sour Gas

Vapour Outlet

Gas to Contactor

liquid Outlet

FWKO

What

~ tlw flow,""

a/wa,,, in FWJJ'

i
_

::3

=
.:>~

:=
>-

=
=

-====
~

u'-'u~

2-26

Optimlzatlcn Application

Now the pressure/flow rate for Well A is reasonably close to the curve.
The pressures for Band C have changed a little but not significantly
from the last iteration. Fortunately. the pressure at a given well is fairly
insensitive to pressure changes at any of the other wells. This process
can be repeated to obtain a solution of any arbitrary precision subject
to the limits Imposed by the computer, but this solution is accurate
enough for further analysis.
Compression has increased flow rates by a considerable amount:
Well

Flow Without
Compression (MMSCFD)

Flow With Compression


(MMSCFD)

8.6

ro.s

7.4

9.0

10,1

11.9

The engineering analysis shows that adding the compressor increased


production by about 20% at each of the wells. These results can be used
in an economic study to further examine the value of adding
compression to the pipeline system.

2-26

PIPESYS Application

2-27

Figure 2 4

Wellhead Performance Curve for Well A


1600.0

'-

1500.0

..........

1400.0

<,

1300.0

<,

';" 1200.0

.....

'in

S:

1100.0

2!
:I

1000.0

"-

.....

.....

In

<,

900.0

'\.

a.. aoo.o

i::5

roO.O

'\

~ 600."

500.0

'\

400.0
JOO.O

200.0
0.0

1.0

2.0

"unstable rate

3.0

4.0

5.0

6.0

7.0

8.0

9.0

10.0

11.0

12.0

13.0

Gas Flow Rate (MMSCFD)

2-27

14.0

2-28

Optimization Application

Wellhead Performace Curve for Well B


2000
1900
1800
1700

1600
-

.!l!

1500

Jo-.

l!!. 1400
l!!

.....

1300

r-.............

m1200

<,

1100

<,

0.. 1000
'C

r-,

'00

"-

800

roo

<,
\

600

I'\..

500

"

400
300

200

012
"unstable rate

2-28

618

Gas Flow_Rate (MMSCFD)

10

11

12

PIPE:SYS Application

2-29

Figure 2 6

Wellhead Performace Curve for Well C


1700
1600
150U

-....

1400

i" 1300

-!

...... r-..

~ 1200

t-,

1100

I"-..

::l

=1000

" -,

""' 900
II.

-g

800

"

700

:5

1'\

600

-,
1\

500

\.

400
300

200
0

1
"unstable rate

10

11

12

13

14

Gas Flow Rate (MMSCFOI

2-29

1!

Deshldratacion de GAS con TEG 2

Deshidrataci6n de Gas con TEG


Sales Gas

t
Sales

MakeupTEG

Gn

a-e-

TEG

G.,
-~9 """

TEG
Contactor

Regenerator

-'Inlet Gas

I
Free

Water

~~

Desaipdon del proceso


EI objetivo de la planta es deshidratar la corriente de gas natural utilizando trietilenglicol.

La composici6n de la corriente de gas natural Inlet Gas se suministra en base libre de agua. Para
saturar esta corriente, se la mezcla con la corriente Water To Saturate. La corriente saturada con
agua Gas + H20 se alimenta a un separador para eliminar el agua libre. La corriente de gas
remanente (Gas To Contactor) se alimenta a la absorbedora con TEG donde se pone en contacto
con una corriente de TEG pobre en contracarriente con el gas (TEG Feed). La corriente TEG Feed
absorbe la mayor parte del agua presente en Gas To Contactor. EI TEG rico sale por el fondo de la
absorbedora (Rich TEG) y se calienta hasta 220 F con el TEG pobre de salida de la regeneradora
(Regen Bttms), dcspuss de 10 cual se alimenta al stripper para su reqeneracion. La columna de

stripping es una columna de destilaci6n que consiste en 3 etapas mas un condensador. EI TEG
regenerado se enfrfa y se retorna a la absorbedora. Se requiere una operaci6n recycle para
completar esta simulaci6n, ya que el circuito de TEG es cerrado. Una estimaci6n inicial de la
corriente de TEG se requiere para converger la absorbedora, perc luego esta primera estimaci6n
es reemplazada por la corriente de TEG pobre calculada par la regeneradora. Este reemplazo se

efectua automaticamente can la operaci6n recycle.

Deshidratad6n de GAS con lEG 2

r - - - - - - - - -I \

..t

E-101

Pump

TEG 10

".~

<Ill ~

Recvele

""'

SPllt'_~-4,

,.,

G~s

-rao

cu

00

".

pump
0

TOO

Feed

G8810

Conlact<,.
Inls ,

"'0

00'

W~tarto

Sstu.sts

Flloh

;;::.ale

~,

T_H10

Oa8

~,

FWKO

Reg.,n
IOlIms

W"'le.
ou

Main Flowsheet
Regeneradora de lEG

Dry

Gao
TEG
Feed

,.

Sou.

0 ..

Condenser

:t

Co",
Reflux

TS-1

~
"-i

"p

re

eo'up

eo,
Q

Reboije.

Rich
TEG

Absorbedora can lEG

Regen
f"sed

Re<;Ien

Gas to
""~_-I
Cantactor

Absorbedora can lEG

Condense.

Reooller Regen
,~.

Deshidrataci6n de GAS con TEG 2

Introducci6n

Name

Empleamas la ecuacron de estada Peng-Rabinson y


unidades Field (Inglesas). Los componentes requeridos se
muestran en el recuadro de la derecha:
EI flujo Molar de la carriente Inlet Gas es 10 MMSCFD, el
LiqVolFlow de TEG Feed es 2.00 USGPM.
Name

TEG Feed

Vapour Fraction
Temperatura [F]

0.0
120.00
900.0000
007326
1129
2.000

Pressure [psia]
Molar Flow [MMSCFD]
Mass Flow (Ib1hr)
Liq Vol Flow (Usgpm]
Heat Flow (Btulhr)
Comp Mass Frac [TEGlycol]
Comp Mass Frac [CO2]

Inlet Gas
, 0
85.0000
900.0000
10.0000

Vapour Fraction
Temperature [FJ
Pressure [psia]
Molar Flow [MMSCFD]
Mass Flow (Iblhr)
Li;:;-Vol Flow US,,"':::m]

20245.08
121.4389
-4.03Be7

Heat Flow (Btu/hr)


Comp Mole Prac [Nitrogen]

0.0010
0.0284
0.01S5
0.8989
0.0310
0.0148
0.0059
0.0030
0.0010
0.0005
0.0000
0.0000

Comp Mole Free [CO2]


Comp Mole Frac [H2S]
Comp Mole Frac [Methane)
Comp Mole Frac [Ethane]
Comp Mole Frac (Propane]
Comp Mole Frac [I-Butane]
Camp Mole Frac In-Butane)

-2.602e6
0.99
0.01

Comp Mole Prac [i-Pentane]


Comp Mole Frac [nPentane]
Comp Mole Frac lTEGlycol]
Camp Mole srac [H2O)

"

\.

Instale una operaci6n Mixer lIamada Saturate. La presion


de la corriente Water To Saturate es fijada par el Mixer.
EI flujo de Water To Saturate se flja de tal manera que la
fraccion vapor de GAS+H20 sea menor que uno, con 10
que la corriente de salida se encuentra saturada en agua
(un flujo de agua excesivo puede resultar en remoci6n de
productas solubles), Especifique un fluja de 1.1
Ibmole/hr para Water to Saturate, y una camposici6n de
100% H,Q.
EI separador (FWKO) se instala a contmuacion.

MIXER
" CONXIQNES
Entradas

Saturate
Inlet Gas
Water to Saturate
Gas + H2O

Salidas
';Pa'iametros
Asignacl6n de
Equallz@AII
sresjones
Comentsrtos
Especlfique flujo de H20 Saturate igual a 1.1
Ibmolelhr
ccrrccsicco de H20 Saturate es aqua ourar

SEPARATOR
CONEXIOIllESJG
Alimentaci6n
Salida Vapor
Salida tjquido

I FWKO

'~>ki>
GAS + H2O
GAS TO CONTACTOR
WATER OUT

Para instalar la absorbed ora TEG Contactor , presione el


bat6n Absorber. Esta columna tiene 14 platos ideales. La
eficiencia de las PARAMETROSi;,.
COLUMN
TEG CONTACTOR
a
etapas 2 a 13 se Pardlda oreslco
,CONEXIONES
fija en 0.50. Es habitual dejar las eficiencias
Nro Etapas
Corrente alim.
TEG FEED (1)
de la primera y ultima etapas can valor 1,
GAS TO CONTACTOR (14)
(Etapa allm.)
para asegurar que las corrientes de salida
Vapor borne
DRY GAS
de la columna esten en equilibria.
Uquido nome
NfA

,.

U uido Fonda
PRESIONES
Presion Domo
Presion Fondo
EFF1CIENC1AS
Etapa 1,14
Eta~a 2-13

RiCH TEG

Presione el baton Run para proceder con el cakulo de


la columna.

900 psia
900 csra

Baton

1.0
0.5

Absorber

" ..... ,.... "n"".', ....

'-'~,'-'"

nn ",.."", .... ~''''

del

Deshidrataci6n de GAS con TEG 3

VALVE

La presion de la eorriente Rich TEG se reduce can la valvula VLV100. La presion de salida se deja sin valor espeoficado.

VLV 100

:tONEXImiE5
RICH TEG
LP TEG

Entrada
Salida

La siguiente operacion es el intereambiadar de calor, UR Exeh. Se especifica la temperatura


y presion de la carriente Regen Feed can un valor de 220 F Y 16 psia.

HEAT EXCHANGER
MIXER
CONEXIONES
Entradas

MakeU
Lean From lJR
Maceup TEG

TEG To Pumn
Salida
,.P.i$AMETROS:>:;',
Asignacion de
Equalize All
preslcnes

EI regenerador
TEGRegenerator
se simula como un Distillation Column,.

[G-2 I

UR Exch

'i;CONEXlON5"Coraza, Entrada
Tubos, Entrada
Coraza. Salida
Tubes, Salida
;PARAMETROS;
Delta P, lade tubes
Delta P lado coreza

LPTEG
Regen attrns
Regen Feed
Lean from LR

ii. ,,',
0.1 pste
10 csla

Comemedas.
La corriente Regen Feed debe tener una
presion de 16 csta, y una temperatura
de 220 F

La regeneradora de TEG consiste de un condensador, un reboiler y una etapa ideal. Opera a


aproximadamente presion atrnosterica. con una presion de condensador de 14.7 psia y de 15
psia en el Rebailer. Para esto debemos dejar libres los delta Pen el candensador y el reboiler
Se instalan las especificaciones de la columna y se presiona
el baton Run para resolver la columna TEG Regenerator.

EI TEG se pierde gradualmente de forma que debe incluirse


una pequena corriente de reposici6n para asegurar que el
balance de materia se mantenga. La reposici6n es la
eorriente MakeUp TEG. Esta carriente se mezcla can la
corriente de TEG pabre en el Mixer MakeUp.
EI Liquid Volume flow de TEG to Pump debe ser 2.00
USGPM. La bomba P-100 eleva la presion de la corriente
Pump Out a 910 psia.
Name

MakeUp
TEG

Temperature IF]
Pressure [psiaj
Come Mole Frac TEGlycal
Comp Mole srac H2O

60.0000
15.0000
0.9900
0.0100

TEG Re enerator

COLUMNA
EsPircrilHCAClOHES
1. TrayTemperature
Stage
Spec Value

Active
Condenser
215 F

2. Tray Temperature

Active

aaccner

Stage
Spec Value

400 F

3. Reflux Ratio
Spec Value

Estimate
3.0 Molar

4. Draw Rate
Draw
Spec Value

Estimate
Sour Gas
3 MMSCFD

PUMP
CONEXIONES
Entrada
Salida
Ener Ia
PARAMETROS
Iodcs

P-100
TEG To Pump
Pump Out
PumnQ
Valor cor defecto

Deshidrataci6n de GAS con TEG 4

EI intercambiador de calor, E-1 01, se instala a continuaci6n. Su funci6n es enfriar la corriente


TEG To Recy a 120 F.

La operaci6n recido, Recycle, completa el circuito. Antes de anadir el reciclo debemos


asegurarnos que la simuJaci6n haya sido completamente calculada.
La corriente TEG Feed sera alimentada can valores nuevas de la corriente TEG to Recy. Como
la concentraci6n de TEG es muy alta, es necesario ajustar las tolerancias, especialemente en
composici6n para asegurar soluciones precisas.. Los cambios a las tolerancias se especifican a
continuaci6n.
Las tolerancias se especifican en la hoja "Parameters" del "Property View" del Recycle.
Tolelance

HEAT EXCHANGER I E-l01

Sen$jtjvitje~

epour Fraction
Temperature
Pressure
Flow
Enthalpy
Composition

f:<:ONEXIONESr
10.000

10.000
10.000
1000
1.000
0.100

Tubos. Entrada
Tubas, Salida
Coraza, Entrada
coreze. Salida
,PAAAMEIROS
Delta P lJTubos
Delta P UCoraza
Pasos

PumpOut
TEG To Recy
Dry Gas
Sales Gas
10 kPa
5 kPa
Counter Current

RECYCLE
caNEXlONES

RECYCLE

Fe"

TEG TO RECY
lEG FEED

Product

Deshidrataci6n de GAS con lEG 5

Punta de Racfa de Agua

Un criteria para determinar la eficiencia de una unidad de deshidrataci6n es el punta de rodo


de agua obtenido. Esto puede determinarse buscando la temperatura a la cual el agua
empieza a desprenderse de la mezda. Como primer paso, todos los restos de TEG deben ~
ser eliminados de la corriente porque el TEG afecta el punta de roclo del agua. Esto se ~
logra con una operacion de tipo Component Splitter (Remove TEG).

Debe especificarse una corriente de energia, aunque no se utiliza en este caso (Split Q).

COMPONENT SPLITTER
'e:ONEXIIDNES
Entrada
Salida
Enerafa
PARAMETRQS
Preston de Fondo

'OTROS
Preccicn TEG ocr cabeza

\ Remove TEG
Sales Gas
TEG only
Water Dewpt
S lit Q

900 sta'"
....'"
:::1E
1.0

r itomerrtaoosc

Especifique la temperatura de Water Dewpt

iauai a -5 F

Luego, mediante una aperaci6n "Mole Balance" se cakula eJ "Dew Point" de agua.

-,---

Remove

rEG

lEG

only

Sales

G"

rEG
10

E-101
Pump

rEG
Feed

I I

Water to
Saturate

Gas +

If

II
H2O

'"
Saturate

'

FWKO

Sour

r.:
G"

UR ~
E<oh

Ccntactor

G"

fram

1-100

Inlet

t'~"
UR

".-

Gas to

rEG

Pump

Pump

Dey
G"

Waler

DewPt

MakeUp

lEGta

0"'

RCY-1

Split
Q

MakeUp

P-100

Recy

~
Rege

Cond
Q

Feed

lP

TEG

,
Rich

rEG

j;><;l
VlV-100

II~II

Rblr
Q

R ,_

--

~~
Stlms

W'W

0"'

I-wed Jan 03 11 :55

- _..- -

_
..-

- ._-"--

Case: c:\program files\aea technology\hysys.planI2.2 build 3797\Samples\G-2.hsc


- - . - - - ----- - - - - -

Flowsheel: Case (Mainl

ACId Ga5 Swcctcrunq wIth OEA

Adding the Basics


Adding the feed streams
I.

Add a new stream for the inlet gas with the following values:

Name

Sour Gas

Temperature

25C (75F)

Pressure

6900 kPa (1000 psial

MolarFlow

1250 kgmolerh (25 MMSCFD)

Component

Mole Fraction

N,

0.0016

H,S

0.0172

CO,

0.0413

C,

0.8692

C,

0.0393

C,

0.OOS3

i-C4

0.0026

n-C 4

0.0029

I-Cs

0.0014

n-C 5

0.0012

C,

0.0018

HZO

110122

DEA

0.0

ACid Gas Sweetening with DEA

Building the Simulation


Defining the Simulation Basis
For this case, you will be using the Amines Property Package with the
following components: Nz> HzS. COz> c, c, C3 , i-c; e-c, i-C5 n-C 5
c; H 20, and DEAmine.

Amines Property Package


The Amine property pa.-:k.age

does not allow hypothetical


components.

Amine

w,%

MEA

15 - 20

The Amines package contains the thermodynamic models developed


by D.B. Robinson & Associates for their proprietary amine plant
simulator, AM:SIM. The equiJibrium acid gas solubility and kinetic
parameters for the aqueous aJkanolamine solutions in contact with HzS
and CO2 have been incorporated into this property package. The
Amines property package has been fined to extensive experimental
data gathered from a combination of D.B.Robinson's in-house data,
several unpublished sources, and numerous technical references.
The Amlnes package incorporates a specialized stage efficiency model
to permit simulations of columns on a real tray basis. The stage
efficiency model calculates H2S and CO2 component stage efficiencies
based on the tray dimensions and the calculated internal tuwer
conditions for both absorbers and strippers.

DEA
TEA.MDEA

3550

DGA

45 - 65

ACId Gas Sweetening with DEA

Contactor Operation
The amine contactor is simulated using an Absorber operation in

HYSYS.
Add an Absorber column operation with the following specifications:

Connections
Name

Dea Contactur

No. of Stuges

20

Top Stage Feed

Dea to Contactor

Bottom Stage Feed

Gas to Contacror

Ovhd Vapour

Sweet Gas

Bottoms Liquid

Rich Dea

Pressures

Column Estimates can be


added as specs and toggled as
Estimates.

Top

6850 kPa (995 psia)

Bottom

6900 kPa (1000 psial

Estimates

Top Temperature

40'C{lOO"P)

BottomTemperature

70"C (l60"F)

Ovhd Yap Rate

1245 kgmolelh (25 MMSCFD)

The Amines Property Package requires that real trays be used in the
contactur and regenerator operations. To model this, in HYSYS,
component specific efficiencies are required for H 2S and CO2 on a tray
by tray basis. These proprietary efficiency calculations are provided in
the colwnn as part of the Arnines package. Tray dimensions must be
supplied to enable this feature. Tray dimensions enable component
specific efficiencies to be calculated by estimating height ofliquid on
the tray and the residence time of vapour in the liquid. To supply the
dimensions. open the Tray Section property view which can be
accessed via the Object Navigator.
1.

Press the Navigator button or use the &3> hot key to open the
Object Navigator.

Navigator Buttoll

Acid G"s Sweeten""J wIth OEA

2.

Select DEAContactor from the Flowsheets group, and then TS-l


from the Unit Operations group.

3.

Press the VieW button to open the Tray Section property view.
On the TraySection property view,go to the Sizing page on the
Rating tab and enter the dimensions shown in the figure below.
The dimensions in field units are given in the table on the left.

Tray Dimensions can only be


set on the Tray Section

property view.

4.

Weir Height

0.062

,.

Weir Length

3.3 rr

DC Volume

lft 3

Diameter

5.

6.
7.

Close this view when you are done.


Run the Colwnn.
Once the Column has converged, move to the Efficiencies page
on the Parameters tab.

10

ACId G"" Sw .... knmg wIth DEA

8.

Select the Component radio button in the Efficiency Type group


to view the component efficiencies.

What is the concentration ofH2S and CO~ in the Sweet


CO2

Gas? H2S

Valve OperatIon
Rich DEAfrom the Absorber is directed to a Valve, VLVlOO, where the
pressure is reduced to 620 kPa (90 psia), which is close to the
Regenerator operating pressure.

Add a Valve with the following values:

~h

DEA

-t><l

VLV100

DEA to FleSh TK

VLV_100

Product Pressure

Connections

520,0 ioPa

Rich DEA.

Outlet

DEA to Flash TK

WOlkSheet
Pressure ofDEA to Flash TK

10

520 kPa (90 psia)

ACId Gas Sweetenmg wIth DEA

11

Separator Operation
Gases which are flashed off from Rich DRA are removed using the rich
amine flash tank, Flash TK, which is installed as a Separator operation.
Add a Separator with the information shown below:
I"lesh

vee

Flash

nc

OEA to Ft1lsh 11<

Connections
Flash TK
Rich to LJR

Feed

DEA(Q Flash TK

Vapour Outlet

Flash Yap

liquid Outlet

Rich to LlR

Heat Exchanger Operation


Regen Feed is heated to 95C (200F) in the lean/rich exchanger, UR

R~e;'Bltms61t~
Rico to UR

..

~"" F..,d

Leanfrom UR

UR HEX
Tul>e OLJllet T~mpe""lIM
T"b' Skit Pr",1Irt Drop
ShellSide Pr ..", Drop

HEX. prior to entering the Regenerator, where heat is applied to break


the amine-acid gas bonds, thereby permitting the ORA to be recycled to
the ccntacror.
Add a Heat Exchanger with the following values:

9!.OO C
10,00 kP~
70.00 kPa

Connections
Name

LJR HEX

Tube Side Inlet

Rich to LlR

Tube Side Outlet

Regen Feed

Shell Side Inlet

Regen Stuns

Shell Side Outlet

Lean from LlR

Parameters
Tubeside Delta P

70 kPa (10 psi)

Shellside Delta P

70 kPa (10 psi)

11

12

ACid

Gas Sweetening with DEA

Regenerator Operation

Damping Factors will have no


effect on problems where the
heat ana spec error does not
converge.

Certain columns require the


use ofo damptngfactor:
Amine regenerators. TEG
Strippers. and Sour Water
Strippers use 0.250.5

The Amine Regenerator is modelled as a Distillation Column. There are


20 real stages . 1Bstages in the Tray Section plus a Reboiler and
Condenser. The component efficiencies for this tower are assumed to
be constant atO.S for HzSand 0.15 for COz. The efficiencies of the
Condenser and Reboiler must remain at 1.0, so only stages 118 should
have efficiencies entered for them. A Damping Factor of 0.4 will provide
a faster. more stable convergence. The Damping Factor controls the
step size used in the outer loop when updating the thermodynamic
models in the inner loop.
Add a Distillation column with the following information:

Connections

JI

The Input Experts are toggled


on and offfmm the
Simulation tab o[the
Preferences view.

N=,

Regenerator

No. of Stages

18

Feed Streams I Stage

Regen Feed I 4

Condenser Type

Full xenux

Ovhd Vapour

Acid Gas

Bottoms Liquid

RegenBtons

Reboiler Duty

Rblr Q

Condenser Duty

CondQ

Parameters
Fixed Damping Factor

0.40

Pressures
Condenser Pressure

190 kPa (27.5 psia)

Condenser Delta P

15 kPa (2.5 psi)

Reboiler Pressure

220 kPa (31.5 psia)

Efficiencies
CO 2

0.15

H,S

0.8

12

0.8

ACid Gas Sweetening wLth DEA

Monitor
Overhead Rate (Estimate)

75 kgmolelh (1.5 :MMSCFDl

ReiluxRatio (Estimate)

1.5

Estimates

Condenser and Rebailer


temperature specifications are
added as Column
Temperature specification.

Tray 1 Temperature

10000C (210"Fj

RebollerTemperature

125'C (260'Fj

Specifications
Condenser Temperature

50'C 020'F)

Reboiler Duty

i.aez krIh (Ue7 Btu/hrl

Mixer Operation
Water make-up is necessary, since water will be lost in the Absorber and
Regenerator overhead streams. A Mixer operation combines the lean
amine from the Regenerator with a water makeup. These streams mix
at the same pressure.
1.

Add a new Stream.

Connections

Makeup H20
Temperature

ZO'C (70'F)

Component

MuleFraction

H20

I.D

13

13

14

ACid Gas Sweetenmg with DEA

2.

Add a Mixer with the following information:

lean to L.iR

Me~euD

Connections
M[X.l00

Product Volume Flow

43.00

m~

Makeup H20

Inlets

Lean from LIR


DEA to Cool

Outlet
Parameters

Pressure Assignment

Equalize All

WorkSheet

The Mixer will adjus~ the


water flowrate ro achl4ve the
circulation rate. An Adjust
operation could have been
used but is not noc&;';ary.

Liq. Vol. Flow ofDEA to Cool

43 m 3/ h (190 USCPMl

l-Vhat is the flowrate ofMakeup H2O?

Cooler Operation
Add a Cooler with the values given below:

Cooler

, p,.ssu.. O<op

I as.cc I !\Pa

I
Connections

CoolerQ
~
D~A

to Pump

0-

Name

Cooler

Feed Stream

DE!\.to Cool

product Stream

DE!\.to Pump

Energy Stream

CoolerQ

DEA It> Cool

COOler

Parameters

Pressure Drop

14

35 kPa (5 psI)

ACId G.,!> Swcctcninq with PEA

Pump Operation
Add a Pump with the following information:
P-1QQ
F'roduct remp,rlllure

3S.00 C

P-100

loiR'CYC~ ~ OeA l~ Pump

DEA

F'ump

Connections
Inlet

DEA to Pump

Outlet

DEA to Recycle

Energy

PurnpQ

work sheer

Temperature for DEA 10 Recycle

3S"C (9S"Fj

Adding Logical Unit Operations


Set Operation
The Set is a steady-state operation used to set the value of a specific
Process Variable (PY) in relation to another PY. The relationship is
between the same PV in two like objects: for instance. the temperature
of two streams, or the UA of two exchangers.

II

I.

Double click on the Set button. Complete the Connectjons tab as


shown In the following figure.

Set Button

"

15

16

ACid Gas Sweetening with OEA

2.

Go to the Parameters tab. Set the Multiplier to 1, and the Offset


to 35 kPa (5 psi) as shown below:

Reeyele Operation
The Recycle installs a theoretical block.in the process stream. The feed
into the block.is termed the calculated recycle stream, and the product
is the assumed recycle stream. The following steps take place during
the convergence process:
HYSYS uses the conditions of the assumed stream and solves
the Flowsheet up to the calculated stream.
HYSYS then compares the values of the calculated stream to
those of the assumed stream.
Based on the difference between the values, HYSYS modifies
the values in the calculated stream and passes the modified
values to the assumed stream.
The calculation process repeats until the values in the
calculated stream match those in the assumed stream within
specified tolerances.

In this case, the lean amine (DFAto Contactor) stream which was
originally estimated will be replaced with the new calculated lean
amine (DEA to Recycle) stream and the Conractor and Regenerator will
be run until the recycle loop converges.

16

ACid Gas Sweetening with DEA

1.

Double click on the RcycIe button. On the Connections tab enter


the following information:

Tilflsma.lIflr the Tolerance


Sensitivity the tighta the
tolerance.

Save your case!

17

17

18

ACId Gas awcctcn.nq wIth DEA

nnal~zing the Results


If you saved your case as a template, close the template and open the
saved case.

The incoming sour gas contained 4.1% C02 and 1.7% H2S. For our inlet
gas flowrate of 1250 kgmole/h (25 MMSCFOJ,a circulating solution of
approximately 28 wt% ORA was used to remove H2S and C02. The
conventional pipeline gas specification is no more than 2.0 vol% C02
and 4 ppm (volume) H2S.
What is the CO2 1101% in the Sweet Gas?

What is tlwHzS ool ppm lellel?

Halle the sped.flcations been met?

Rdvanced Modelling
Concentrations of acid gas components in an amine stream are
typically expressed in terms of loadings of amine - defined as moles of
the particular add gas divided by moles of the circulating amine. The
Spreadsheet in HYSYS is well-suited for this calculation. Not only can
the loading be directly calculated and displayed, but they can be
incorporated into the simulation to provide a "control point" for
optimizing the amine simulation.
The following variables were used for the loading calculations:

18

ACId Gas Sweetening wIth DEA

19

The following formulas will produce the desired calculations.

The acid gas loadings can be compared to values recommended by D.H.


Robinson.

C02

H2S

MEA,DEA

0.50

0.35

DEA

0.45

0.30

TEA,MDEA

0.30

0.20

20

ACId Gas Sweetening wnh DEA

Exploring with the Simulation


Exercise 1
You just received a phone call from the plant manager at a
neighbouring gas plant. They are having a problem with their contactor
and must shut down. You have agreed to take on their gas for
processing, which doubles the flowrate of gas to your plant. Make the
necessary changes to handle the upset.

2.

Inhibici6n de Formaci6n de Hidratos 1

INHIBIC/ON DE FORMAC/ON DE HIDRATOS


Introducci6n
En las corrientes con mezclas de compuestos HC can pequerias cantidades de
agua pueden formarse hidratos solidos si las condiciones de presion y la
temperatura favorecen su formaci6n.
Hay molecules 10 suficientemente pequerias que entran dentro de cavidades de
la estruetura red del agua.
Las molecules que exhiben este comportamiento son parafinas de bajo peso
molecular hasta n-C4, algunas olefinas y algunos componentes morqanicos
como par ejernplo CO2, N2 Y H2S.
En este ejemplo se simula la inhibici6n a la formaci6n de hidratos mediante el
agregado de una soluci6n de metanol a una corriente conteniendo una mezcla
de parafinas Iivianas. Esta accion disrninuira la temperatura de formaci6n de
hidratos de la mezda resultante con respeeto a la corriente inicial (libre de
metanol).

Comienzo de fa 5imufaoon
Crear un caso nuevo. Seleccionar la ecuaci6n de estado Peng Robinson, agregar
los componentes necesarios para definir la simulaci6n (ver PFD).
Armar el diagrama de flujo de la simulaci6n como se muestra en el "PFD". Es
necesario incluir dos operaciones Set para especificar la temperatura y presion de
la corriente de inhibidor iguales a las de aiimentaci6n.

Determinacion de fa Temperatura de formacion de Hldratos


Una vel que se haya armada la simulaci6n y el caso este completamente
resuelto. es necesario determinar s1 las condiciones de presion y temperatura de
la corriente de salida de la tuber!a PIPE-100 (Gas Venta) favorecen la formaci6n
de hidratos. Para esto utilizar el "utility" de predicci6n de formaci6n de hidratos
("Tools I Utilities I Hydrate formation Utility").
Se forrnaran Hidratos solidos en las condiciones actuales?
A la presion de operaci6n del caso. a que temperatura se forrnaran hidratos?

Nota. Observer que como la temperatura actual de la cortiente "Gas Venta" es menor que la
temperatura de formacon de hidratos a le presi6n de opetacion calculada por la "Hydrate
Formation Utility". se forrneran hidratos en la corriente "Gas venta".

de hidratos. Para esto utilizar el "utility" de prediccion de formaci6n de hidratos


("Tools I Utilities I Hydrate formation Utility").
Se forrnaran Hidratos solidos en las condiciones actuales?

lnhibicicn de Porrneclon de Hidratos 2

Inhlbk:i6n dg Hidratos
Se rnezclara metanol can la corriente de atimentacion en el Mix-l00 para

disminuir la temperatura de f6rmaci6n de hidratos de la corriente "Gas Venta".


Se agregara una operation "Adjust" para calcular la cantidad de metanol que
debe agregarse tal que la temperatura de forrnacion de hidratos de la corriente
"Gas Venta" sea -20 F.

ADJ-l :
Adjusted Variable: Inhibidor - Molar Flow
Target Variable: Hidrate Formation Utility - Hidrate Formation Temperature
Target Value: User Suplied / -20 F
Tolerancia: 1 F
Step Size: 1 mollhr
Minimum: 0 mollhr
Recordar presionar el baton "Start" de la operacion "Adjust" para dar comienzo
a los calculos.
Cual es la nueva temperatura de formaci6n de hidratos de la corriente "Gas

Venta?"

Inhibici6n de Hidratos
.---------- -

--- -- - -

-+

----- ------------

AJimentacion

ADJ-1

PIPE-100

V-100

InhibidOf

QTuberla

MIX-100
4
lnhibidor

Alimenlacion
Temperature

Molar Flow

15.5556

Pressure

69.98

ba'

Molar Flow

317.5

kgmole/h

2.495

Camp Mole Frac (H20)

0.2000

Camp Mole Frae (Methanol)

0.8000

kgmole/h

Camp Mole Frae (Nitrogen)

0.0590

Camp Mole Frae (Methane)

0.7091

Nominal Diameter (Nominal Diameter_1)

Camp Mole Frac (Ethane)

0.0468

Pipe Length (Pipe Length_1)

Camp Mole Frac (Propane)

0.0192

Elevation (Elev8tion_1)

Camp Mole Frae (n-Butane)

0.0078

Profile Increments (Profile Increments_1)

Camp Mote Frae tn-Pentane)

0.0078

Estimate Ouler HTC

Camp Mole Frae (CO2)

0.1404

Ambient Temperature

Camp Mole Frae (H2O)

0.0099

Ambient Medium

Ground

Camp Mole Frac (Methanol)

0.0000

Ground Type

Dry Peat

I07 11:56:072000

PIPE-l00
152.4

mm

1.60ge+005 m
0.0000

10
Yes

10.0000 C

___
Case: O:\support\EjemplosCursos\DOCUM\HYSYS.Examples.May98\Traducidos\lnhibHidratos\inhibHidr2.HSC

Flcwsheet: Case (Main)

Hidratos en Lineas de Conduccion 1

Hidratos en Jineas de conducci6n


CONTROL DE PUNTO DE ROCIO POR TEMPERATURA Y SEPARACION
Introducci6n:
En este ejemplo se depresuriza un fluido llevandolo de las condiciones de reservorio (93 C y 31650 kPa)
a la presion del gasoducto ( 6000 kPa) . El fluido se calienta para prevenir la formacion de hidratos y se
elimina el agua libre que pueda forrnarse. Un segundo calentador tiene como objetivo evitar la formacion
de hidratcs en el gasoducto. Un diagrama de procesos de 1a p1anta se muestra en la pagina siguiente.

Especijicaciones
Utilizamos Peng-Robinson como ecuacion de estado.
Los componentes seleccionados son N2, H2S, C02, H20, Cl, C2, C3, iC4, nC4, iC5, nC5.
La fteccion C6+ se especifica como un componente hipotetico con un punto de ebullicion de 125 C.
La corriente FLUIDO-RES se especifica con las especificaciones indicadas a continuacicn:

Nombre

FLUIDO-RES

Fluios molar (m3/d)

1,250,000

Camp Mole Frac (N2)

0.0002

Como Mole Frac (H2S)

0.0406

Como Mole Fmc (C021

0.0142

Comp Mole Frac (H2O)

0.0000

Como Mole Fmc (Cl)

0.8253

Corne Mole Frac (el)

0.0615

Como Mole Frac

0.0255

(e))

Como Mole Frac CiC4)

0.0079

Comp Mole Frac (nC4)

0.0134

Como Mole Fmc (iCS)

0.0035

Come Mole Frac (nC5)

0.0042

Como Mole Frac (C6+)

0.0037

Como Mole Fmc (C31

0.0255

Como Mole Frac (iC4)

0.0079

Corne Mole Frac (nC4)

0.0134

Hidratos en Lineas de Conduce ion 2

La corriente FLUIDO-RES (para la eual no es necesario especificar condiciones de Temperatura y


Presion) se debe saturar can agua a las condiciones del reservorio (T=93 C y P=31650 kPa). Para ello se
define una corriente de agua pura Hamada AGUA-RES y se utiliza una operacion MOLE BALANCE
Ilamada BAL-l para combinar las dos conientes (PUJIDO-RES y AGUA-RES. La pantalla de
conexiones de la operacion MOLE BALANCE se indica a continuacion.

1!I~E3

BAL-l

~I

]AGUA.RES
Connections
Eonnecticne

Inlet Streams
AGUARES
FLUIDORES
""Add Stream"

Outlet Streams

1
~"Add

Sbeem"

Connections

Parameters

Worksheet

User Veriebles

Not Solved

Delete

P: Auto Calculation

Ignored

Como la saturacicn con agua se debe realizar a las condiciones de reservorio la T y P del reservorio se
debe especlflcar en la corriente de salida de la operacicu MOLE BALANCE (corriente 1). Esto se
puede hacer tanto del workbook de la simulacion como desde el Work Sheet de la operacion MOLE
BALANCE que 5e ve a continuaci6n.
Nota: es importante activar la opcion de "Auto Calculation" del MOLE BALANCE para que responda a
cualquier cambia en las condiciones de las corrientes de alimentacion.

Qpipe
IPE-l00

c"
4

4
Temperalufe

....----J

60.15

Pressure

5950

kP,

Molar Fiow

ares

kgmolelh

Q-cal2

3
Caleruador

Cadeza-Pozc

Caoeza-Pozo

Temperature

Temperature

Pressure

Pressure

Molilr Flow

MolilrFlow

28.00
2.635e+04
2215

....----J
o-cen

Alimenta~

PCV

2I

lim.. nl~
?e~ :::-liqu'do
-- ,
j

C
kPa

H20-KO

kgmole/h

ll:;"~

~
e

93J)I
3.165e+().
2211

Ternperalura
Pressure
Molel FlOW

93_00 C
3.165e+04
2216

>P,
kgmolelh

AGUARES

FLUIOORES

-.

T ernperature

26.00

Pressure

6000

kPa

Molar Flow

2215

kgmolelt1

FondoPow

sep.t

>

BAL-l

"i
H20-SAT

rue Auq 24 14:46:04 1999

Case: C:\User,Nalalia\Dewpointzip\Oew1.HSC

Flowsheet: Case (Mai

Hidratos en Lineas de Couduccion 3

1III~13

J BAL'
IAGUA.RES
Worksheet

led'
.
, on Itlon*,
Properties
Composition

Name
apour
Temperature Ie}
Pressure [kPaJ
Molar Flow [m3ld [gas]]
Mass- Flow (kg/h]
01 Flow m3/h
Molar EnthaTrlUTkJ/komoie
Moler Entropy IIcJ /kgmole-Cj
Heet Flow kJlhl

onv

AGUARES
<em t >
cemcn
<em t )

FLUIDOAES
<emrllU>

7040.7659
223.5200

1250000.0000

0.2240
<emnlu>

I
10000

cemono

930000
316500000
I 257040.759
452999041

<emotu>
45076.3841
127.2814
<emotv>

cemco
cemcoo

127.5054
R267e+04

cemou

142.5

cemon

1 .831 2e+OS

I
=\

Connections ) Parameters)'Worksheet / User Variables


Not Solved

PaUlO Calculation

Delete

J.gnored

EI flujo masico de la corriente AGUA-RES se ajusta hasta lograr que quede una pequeiia cantidad de
agua libre formada, esto ocurre cuando la fraccion vapor de la corriente de salida (1) es menor que
uno, 10 que indica la presencia de liquido en esas condiciones.
EI separador SEP~1 separa el exceso de agua (corriente H20-SAT) de la corriente de hidrocarburos
saturados FONDO-POZO.
A medida que el fluido asciende por el pozo, experimenta tanto una calda de presion como una
temperatura. La operacion POZO es un enfriador (cooler) cuya funci6n es absorber estas diferencias.
perdida de carga del enfriador se deja como desconocida (el campo debe indicar "empty").
temperatura y presion de ta corriente C..A.BEZA-POZO es T= 28 C y P=28350 kPa. La corriente
energia del enfrirador se denomina "Tierra" y representa el calor cedido a las paredes del pozo.
Para prevenir la formacion de hidratos
al bajar la presion a Ia presion del
gasoducto, el fluido es calentado en un
calentador de glicol Calentador 1.
Este calentador se simula con una
operacion HEATER. La perdida de
carga se especifica en 50 kPa. Las
condiciones de salida de este
calentador dependen de las condiciones
de formacion de hidratos en el
separador
SEP-2
por
10
que
momentaneamente se debe dejar Iibre
la temperatura de salida de este
calentador.

calentador de glicol Calentador 1.


Este calentador se simula con una
operacion HEATER. La perdida de
__ .

,r.

"-""

LT'-

. .

t
. '. ""'","

~:'';,~I_.
jJ.
, .

.,',<~.

., -- '<'

..".:,

de
La
La
de

:::JI

I~' ....

.:,.,:,"

Dnign Raina
:,~,,~,._,

.. _.. ,.:..o,..., _,'.,

Workshl!llll

PeriorllWlCe

D~

r-.,

Hidratos en Lincas de Conduccion 4

La valvula PCV reduce la presion del gas a un valor


de 6000 kPa en su corriente de salida (corriente 2).
Como indicamos anterionnente, debemos verificar la
temperatura de formacion de hidratos en la coniente
2. Esto se consigue mediante Tools/Utilities/Hydrate
Formation. Este utilitario calcula la temperatura de
formacion de hidratos a una presion determinada. Para
la corriente 2 calcula una temperatura de formacion de
hidratos (a 6000 \cPa) de alrededor de 21 C. Tornando
5 C de margen especificamos una temperatura de 26 C
para la corriente 2.
Una vez especificada esta temperatura, HYSYS
inmediatamente calcu1a 1a temperatura de salida del
calentador de glicol necesaria para obtener una
temperatura de 26 C despues de la valvula PCv.

Hydrafe Forma.ion Utility" Hidratos

-.
rFormation Tempelalure at Stream Pressure
Formation Terceretcre C
Hydrate Type-Focmed
Calculation Mode

21,5966 I :
Ivoe I
Free Water Found I

"ill

i
,

Formation Preuureat Streem Temperalure


Formation Pressure [kPa]
Hydrate Tvce Formed
Calculation Mode

"

cemon i
.<errcb

Free'weter Found I

I,

Connection \ Hydrale PIT INotes I

I
Stream Not Solved

Delete

ignored

La operacicn Sep 2 (separador trifasico - Three phase separator) se instala a continuacion. La corriente
de hidrocarburo liquido va a la corriente HC-Liquido y la corriente de agua libre a H20-KO.
Para evitar que se fonnen hidratos durante Ie transmision en cl gasoducto se instala un segundo
calentador de glicol, Calentador 2. La caida de presion es de 50 kPa y el calor es absorbido por la
corriente Q-CaI2.

I
Vapour

Design
Connection:s

. :~;~:~:Ie$-c :It'E.~~~~:~T::::'~'---"1~;rT'
ce

tv>

Notes

,,~'u
'"~
... qu ~
.,.~",,~\.,.:.; ~

Energv. (OpooMij,

...

i":

1"-3
_".i

-.1

Design

Ae<'lction:s:

Rating

WOlk:s:heet

D,Ynamics

ignored

Hidraros en Lineas de Conducci6n 5

Simulacion del gasoducto


El gasoducto se representa como una operacion Pipe Segment. La corriente 4 es la entrada y la corriente
5 es la descarga, tal como se ve en Ia pantalla adjunta.

"10113

'-' PIPE-l00

ill
Design

Harne

\ Connections

Inlet

I Parameter'S

14

Calculation

[PIPE.,oa
Outlet

il

of)

UserVariables

I
I

Noles

il

15

Energy

I
I

lapOe

Design Rating
Delete

II

Worksheet

Performance

:
3

Djlnamics

r~

Not Solved

A continuacion se especifican las dimensiones de la tuberia. Adoptarnos las dimensiones de una tuberia
de 8" SCH 40 Yde largo 5.0 Ian..

I!!lliI EJ

..... PIPE-100

Rating

NotSolved

neem
.'219.1

.. "-- 202.7
Mid Steel

Hidratos en Lineas de Conduccion 6

Para agregar elementos se debe presionar el baton "Add Segment" en Ia hoja Dimensions. E1 tipo de
segmento puede ser una tuberia (pipe) 0 un accesorio (que se selecciona de la Iista de accesorios
disponibles).
Las dimensiones estandar pueden seleccionarse de la pantalla que aparece presionando el boron View
Segment (una vez que hemos definido el tipo de elemento como Pipe).
E1 terreno es llano con 10 que el campo "Elevation Change" queda en cero.

Una vez que hemos definido las dimensiones de la tuberia queda par definir 1a transferencia de calor.
Esto puede hacerse de diversas formas. Todas estas opciones se encuentran en 1apagina "Heat Transfer".
1. Especificando directamente el calor total transferido en el campo "Heat Loss".
2. Especificando una temperatura ambiente y un coeficiente global de transferencia de calor.
3. Especificando una temperatura ambiente y dejando que el programa calcule el coeficiente global de
tranferencia de calor para la tuberia. En 10 que sigue optaremos por esta tercera opcion.

Como se puede ver en la pantalla de mas abajo, se especifica la temperatura ambiente (Ambient Temp)
con un valor de 0 C. Suponemos que la tuberia se encuentra expuesta a la atmosfera con una velocidad
del viento de 1 mls.
A continuacion se indica al programa que calcule el coeficiente interior de transferencia de calor. La
correlaci6n se deja en el valor por defecto (Petukov), Esto se consigue marcando con una cruz el campo
correspondiente a "Estimate Inner HTC".

.j'

',:j

;'~""

"''';.:''.'''-

.... '''::'' ..: ":,,-.,

':;[,~;~;."-~,i~
',:;;f~~:'~"';':]~ij~f':i

:~ ::~i; "-;;Y;~ii~s~~,
~ ..""' ..,,,
,-,,~,:,;:;;

:'of

Hidratcs en Lineas de Ccncuccicn 7

El paso siguiente es dar las bases


de calculo del coeficiente de
transferencia de calor exterior.
Para esto se especifica el medic en
el cual se encuentra la tuberia
(puede ser expuesta al aire, bajo
agua 0 enterrada).

I!!lliJEI

PIPE-100

1.a"

rSQeCify By

ROIling

, (0""

Sizing

Over~

By Se!Jlllenl:

' Het Transfer Summar


eat Lc$:!'

Heat Transfef

cern

rnbient Temil

Ir

vera. HTC

En nuestro caso esta expuesta al


eire y Ia velocidad del viento que
se toma para el calculo es de 1
mls. Si fuera enterrada, el
programa solicita que se le informe
el tipo de suelo y propone diversos
coeficientes de transferencia de
calor ttpicos para cada tipo de
suelo.

1
I

~Raling

Conwclion
,",

"'"

1.0000 mit i

'Worlcl1eet

II

De!ele

"~

>

E$timate Outer HTC


mbient Mecfun

I
I

HeatTr~fCf Coelficienl E
c;- ,iOr~~
Irmge

!,

t) I

Il0000JC

Pefcsmerce

f O~rrOC:t

Not Enough Informa~on for thePice C4lei.labon

!JInored

Tambien se podria especificar aislacion para Ia tuberia, que no se considera en este caso. Por 10 tanto la
opci6n "Conduction" se deja sin modificar.
Observamos que sigue apareciendo el mensaje "Not Enough Information for the Pipe Calculation" en
amarillo en la parte inferior de la pantalla del pipe segment. Esto indica que hay alguna informaci6n
faltante para el calculo del gasoducto.

En el Worksheet de la
operacion PlOO (pipe segment) podemos ver que
la corriente de entrada al
gasoducto no es totalmente
conocida. La temperatura
de salida del gasoducto se
especi fica de manera de
evitar la fonnaci6n de
hidratos
dentro
del
conducto a las condiciones
de salida (que son las mas
desfavorables).

lIeJEJ

::...; PIPE-lon

Ie
~.

Worksheet

""'~

Conditions

TemperatuleIC]
reulQ[kPa

PropertiC$

oIaI: Fbw {mJld [gao

Compot~icn

<om I
<om I

~nFbw

01 Pow m3Ih
oI.s- Enthal~ [kJ/k~e

Molar ErtrC9l'
e~t Flow [kJ1h]

>
>

5950
1240434.2424
43922.S2BD
125.4146

>

.3922._

1240434:2424

125:4146:

c
c

< I>
cern

'om

c
c

>
>
< .. >
.... "

"

<0

".0

0.

;"".

..

>
>
>

c
c
c
'0"._',:....
.~

"":':.::"""';':'. ~,;.;""",:~,;~,
; ';~!";::..y :'::,-;;"~:7::~~.~~

, .. '':;:"'-:"'i;'::

"0

""

imJoi

':':'~':" \::~ ::.cil.'if.:l:

La
temperatura
de
-\D_ IR.""g\"'o'k.h_t/p~~,~ID",,,,,,,, "
','
.
.'. . :.:-<.,.,
.' ''':':"':'~'.
.:.~
fonnaci6n de hidratcs a la
Delete
I
.
~?!E~ugh
__
I,~?J.mation
for
the.
~pe
C~c_ul~!~!"
......_,

C)~"td
r
:-_~":~
..
.. ... " ...._.... ...... ......__.>.,~_,.h,..-..
...
......
............
--".~"
..
presion del separador es de
..
.. _. '...,,_.'._.._
....W;.. ,"~~.......
.
alrededor de 21 C, por 10
que podemos especificar 26 C como temperatura de salida para resolver el pipe-segment. La temperatura
de entrada necesaria es calculada automaticamente, esi como tambien la perdida de carga.

conducto a las condiciones


de salida (que son las mas
desfavorables).

LJ

>

"0

0,

......

'.

.
..
,

...
.. ...,:.:.::.,.,. '';':'.
.

:-.~!";::..

..

'

'"-

"0

. .~

~,

~,

;'j'",,,,:~,;~,

:'::,-<:7::~~.~~

..... ':;:"'-:"'i;':: ,:".-" -:." , ::.cil.'if.:l:


'

Hidratos en Lineas de Conduccicn 8

Preguntas adlcionales:
1. Modifique la simulacion para calcular que cantidad de solucion de Metanol se necesitaria para

inhibir la fonnaci6n de hidratos si con el Calentador 1 solo se consigue una temperatura de 9 C


despues de la valvula pey.
2. Modifique la simulacion para que la cantidad de inhibidor se modifique automaticamente para
reflejar variaciones en el flujo de gas.
3. Utilice el programa de macros de HYSYS warer.wwb para detenninar la cantidad de agua (medida
en Ib/mmscfd) presente en el gas en la corriente de salida.

eece SA
Buenos Aires

Case Name

c-user NalaiialOewpointziplOew1 .HSC

Unil Set

HidralOS en noees de concuccon

oetenee:

Tue Aug 24 16:22:591999

Workbook: Case (Main)


Material Streams
AGUA-RES

Fonoc-Pozc
H200SAT
1.0000
_J .0000 ." __ ~._9..:9QQ.Q.,,
________:-,~
93.00
__ "__ 9,~,;,Ilq,_ .. _,_""_,,_,,,,,_. __~~:,QQ
l)'~PE!ra.tlJr~
(C)
3. 165e"'04
J.165~:,:04
~J_l?.?~:':04
___~~~~':!~ __ '''' """""""
~ __._ 1~.P_!il)
~", _ _
1.~Z~0?,,"' ,._."'." ",_-h-?57E!+OL
3.461
Molar FIC!'"':
, """"""".,""J_m.::~_(g~)L_
,_".""",,_,...!:,??9.!!.:_~,,", ".,,_,",_~"_,?041
Mass Flow
(kg/hL ~
.__4.5_0_8e+04
,_.. _.__2?~":L. _.__,
4.530~0~ ,.
1??Q.l'l":.Q4_f-.-.-_---.-Q,..1_!!B._
127.3
0.2240
127.5
127.5
~_...Qo0001:L0:5
Liquid Volume Flow
(~3It1)_
-1.831e+08
-1.831e+08
-1701
Heat Flow
kJJtl\
Alimenlacion
H20-KO
caoeza-cozo
2
3
Name
Vapour Fraction
1.()()QO~_ ,_, --".- "'. " .._- 0.0000
0.9948 I "
.. "_"SI.99.!.?",,, ",,"'_.., ","_. 0..:~868
(e,
76.:36
28.00
___26.00
26.00
TemPl'!rature
- 26.00
6000
6000__
_.2.835e+04
2.830e+04
Pressure
6000
.. ",". (k.f'~)
6128..'" (m;!ld_(gas))
Molar Flow
_...!}:S!,!t:':0!'! I. _ _....!,m-e +@._
____ :!..:?:5"(~~06 .., '"'''''''''' _1.2~~06 - -_., .._-"".,,_._._"._
Mass Flow
4.5?Oe+,~ ". _, _,"',,_ ~~.ge+04
__~_5_~0e+04'" ",,_,.,.,_ ". ~c?92e+~ ,."",-1.9.?",Q..",,
{~Il!~L
127.5
127,5
0.1957
.~_
127.5
125.4
LiCluid VOlume Flow
(m3ll1)
-1.853e+08
-1.793e-+-08
-3.074e+06
-'.924e-+-08
-1.85Je+06
Heat Flow
(kJ'h'
HC-Li uioo
5
Name
0.0000
'.0000
_~,_ 0,99981,."".
__
I Va~lJr Fraction
Temceratore
_
_.(C)""j,,,,,
26.00
60.15
.26.00
~ _ _...._
PreSSU!El~~
, _,_,
."J~E(I}_ ,,", __ ,~_,_,.~9Q0_", _ ., __ ,
~_595IL
5460-l-.__ ~_""'_..
MolarFlow
(rTJ:!Id_(gll::>.)}
~_ 1.048e+0~ .. ,
~ .. ...!.:.24~Q!L ~".
1.24.~_:':.9.'L _ _ ~,. _ _'""""". , ,.,._,,_,
".,.
Mass Flow
{~glbL
1182
4.392e+04
~-'-J92e+04
Liquid VOlume Flow
(m3Ih)
1.895
125.4
125.4
Heat Flow
kJlh
-2.920e+06
-1.755e-+-08
-1.789e-+08

FLUIOO-RES

Name
Vapour Fraction

"._"=,, ."'"" _.

t-.".__.__,.._,._..

.,

Compositions
Name

FLUIDO-RES

C0'!lPIlll()IElf'r?~!Nitrogen),

Qomp MoleFrac (H2S)


c:,,"~pl;A,ClI,E1,E~~c:J99?:)

__ __
'''"' ,.,,_,","
ccmc Mole Frae (Mettlan.e)
Comp Mole Frac (Ethane)
Comp Mole Frac (Propane),

.9()~p lIIloIElf'r~g,(t:l,~Q),

'"

_
1____
, __.,_,_~

1.-,. ~__

C:.l?~p MOh'lf'ri'll:.Ji~,Butane).,
C:Cl'!lp'~le f'ri3c:(~:~'-!.lar1.eJ.

C:Ofl1PlIIlole Frac: (1:~erJ.!anE!) .._ __

-6~~~~-~~-~-~6~i-+-~nlB~_----Name

rctecn Ltd,

Comp Mole Free (Methane)


C:0'!lp MOle",Eti3c:(Etr1~I111L
,"",.9-Cl~p ,M.<?le F,~,;3gJ?ropar1.e)
c:ompMole Frac(i:8ulane)
Como Mol.. F... " (n.Bulan.. \

AGUA-RES
0.0008+00

Fcncc-Pcac
H20-SAT
1.9896-04
t",98~~ _,, __ ,_4.8~~~7
~}]'9~9J,_ "_._,, , ,_9..:900e~~QQ.... _ ",,_ _'_.O}.7e-Q~._ __.__ --,037~,QLI--_,,_
2.472e-{)3 _
1.420e- 0 :l .
~_...Q..OOOe+OO_f----'_,!l?e-O_:l..... ~_._ 1.4t~e-02
3.535e-04 ..
g"Qooe-+Q~L -1---- ~_1..,9~_.... QO
5.601e-03~
5,598&-03.,_,
9.971e-D1
8.~5.~:9~ ..__
_Q,Qgoe_+Q9~. _~ __ ~8.207!l.:QL
._._~~_~,207,3:::9',_ ,_,__._". 2.466&-05
6.15Qe-02 ~._._ O.OOOe+OO
?,!.!.6:e:Q;L
8.t.1.s~2
__. 6.442e-08
_2.5508-02
O.oooe+OO
2.536e--02
__2..5J6,~02
. __.
5.062e-10
7.90oe-oJ
0.000e+00
__].856e'()3 _.__
__ L~~e:Q~ ""~."'.'.
_,.1",,?,:?~!:!~_
1:,~?
0.-q<:l,Oe~Q.9
_!_.J32e-02 l-:
1..33~9:l __._"" _.,~,~::!~'?
_..?,,s0<J:e.:9,:3,,,,, _ ".
.Q,QQQe+09 '" , __,",_,.,," ",__3.48Q'S!:9_J, _",
"~"_..1:~~Q!t'.Q~_""~
~:z.97e-15 .
2.00Cl,~,~~,

;:~=~ I
cateee-soec

~::~:::

i Alimentaci6n

--Hi~2

---- ----;:~i~:~~"I,-~
3

H20-KO

HYSYS.Pmcess 1/2.1.1 Build 3198


8.207e-01
j.116e-02
2.5366-02
7.~6,e.:()~"

1.332e_02

8.207e-D1
6.116e-02

~:~~i6--

Pae1of2
8.207e-01
6.116e-02

8.297e-01
~~l~_1,~J: "'" ,~

_.. ,,,3:,~3~~2
""'" .,_ .,.,,,,_,,?~J!i.ll::.lJ,2 . """""" "'.___ ~_~9"~!?2..", """.,"
7 :,~,5~~Q?_, """"""",,__.,,_~.7..:...~!!.~9,~"_ _."'..
7.)8&3::03 _~
1.332e-02
, .332e-02
1.267...02

2.4!~.9z.."
~..!5a?~!.Q...

.". ..:!~5e-1 3
,,_, 3.0876-1 L
8.326e-'6

.,I-II"

Pepe SA
Buenos Aires

Case Name:

C .uscr. NatalialDewpointziplDewl .HSC

Unit Set:

Hidratos en uoeee de ccnduccion

DatelTima:

Tue Aug 24 16:22:591999

Workbook: Case (Main) (continued)


Compositions
Name

HC-Li uidO

c:91l1P~le Frac (Nitrogen)

~_rnp~!-~~r~H~(I:l??)
COmOMQle Frsc (C02)
Cil~pMOL~,F!acv:!~g) ,~,
Camp Mole Frae (Metnane)

CI''"lPrvt0lll frac(l-Butane)
C:9f1lP ~()I,'!..F.@,c,(n:81Jt3n~)"
C0'T'fl M91e Fl}'lc:(j-Pent<l~~l

2.014e-04

5.927e-02

4.04Qe.OZ

8.79~e-O?_

_______ ,

1..5l?&-pL

_ _

""" "",?~S4:!!.tt():!."" ,,_. "'_. __


2.308~Ol

__
~

come MoleFr8C (Ethane)


Cornp Mole Fn;lc (Propane)

,?,:_6~1J,:(),5:,

__

6.65~e:-9.2

7.04~",-o2

Como Mole Fra~ (C5+',

_._ ""

3.004e-01

1,Q~Oe-02__

__"'"

1j.?~~.Q~L

7,_4,!-1~Oi, ".,_,_~

le-g..

8.297e-Ol
6.141e-02
2.508e-02
7.588e-03- ~
1.267e:-02
3.12:le-Q3
~37~ " '"""
1.192e:-03

8.297&"01
6.141e-02
2.508e-02
7.588e-03 """"'" ,
1,267e-02 "''''.
3.1238-03
3.637e-03
1.192e-03

7,296e-02
4.4188-02"'''''''' "''''''' , """,,__ jl,81?e-92
_. 4.780e:,02

Camp Mole Frac (n-Pentane)

2.014e-04
____ __

Energy Streams
Tierra
Heal Flow

kJ~

Q-CaI1
9.328e+06

Q.ca12

7,18&+06

Q- ,

3.776e+06

3.455e+06

Unit Ops
o

ration Name

ereuco T

BAl-l

Balance

sec-t

SeparatOl'

Feeds

Products

FlUIDD-RES

Cooler

Calentador 1

Healer

Cal 2

Heater

J
Q-ca12

PCV

Valve

Alimentaci6n

Cabeza-Pozo
-"-'--' ....,.- _._._---~

Tierra

caoeae-scao "'"' ."""',,,_-"

c-cen
2

....
3 Phase Separator

No

Celc.Level

500.0
500.0

Poodo-Pozc

Pmo

Sop ,

lonored

~ __ "'_.,_.~_ _ ~

AGUA.RES

H..Qi-i_qLli~q~.

No

500.0

NO

500.0

No

500.0

No

500.0

No

500.0

No

500.0

H20-KO

PIPE-100

L
I"

Hvnrotech ltd.
1I0"",5eO "', So,,,,,,," 3,FU,

Pipe Segment

~~~~I-'

avsvs.ercceee v2.1.1 Build 3198

Pa e aor a

0---

,I

,:1"""

Pepa SA
Buenos Aires

Case Nama:

C:\Usef.NataliaIDewoointzipIDewl .HSC

Unit Set:

Hidra!05 en lineas de ccnouccron

DateITime:

roe Aug 24 16:24:42 1999

Pipe Segment: PIPE-100


CONNECTIONS

Inlet Stream
FROM UNIT OPERATION

STREAM NAME
Healer

c."
Outlet Stream
TO UNIT OPERATION

STREAM NAME

Energy Stream

I
TO UNIT OPERATION

STREAM NAME
Q.

i e
PARAMETERS

Pressure Gradient/Pipe Parameters

2 - Phase Flow Ma

Pressure Dro

489.8 kPa

Length Elevation Dimensions


5 mel'Il Number
Fittin PI

PI

Distance

5000

Iml

Elevatioo
octe- Diameter

m
mm

0.0000

Inner Diameter

mm

219.1
202.7

Material

Mild Steel

Increments

Specific Pipe Parameters


Pi

Schedule 40
203,2 mm
202.7 mm

Schedule

Nominal Olameter
Inner Diameter

Material

Mild Steel

4.57211-00 m

Rou hness

Fittings Parameters
Fittln Name

~.

K saeor

Inner Diameter

202.7mm

Heat Transfer Summary


Heat Loss:

3.455e+06 kJJl1

Ambient Tem ;

0.0000C

Overall HTC:

24.58kJitl.m2C

Inside Heat Transfer Coefficient Estimation


Estimate Inner "TC:

Enabled

Correlation:

Petukov

Outside Heat Transfer Coefficient Estimation


Outer Diameter

EstimateOuter "TC
Enabled

AmbientMedium

veioo
1.000 m's

Air

Conduction Heat Transfer Coefficient Estimation


Include Conduction:

No

Urethane Foam

Thermal Cond.:

0.01800 W/m-K

0.01000 m

Thickness:

CALCULATION
Pressure Tolerance
Tam rature Tolerance
Heat Flow Tolerance
Len th InitialGuess

'P,
C
,~"

0.1000
0.01000
0,3600
5000

Len ltl Sre Site


Flow Ini~al Guess
Flow Ste Site
Defautt InCrerm;lnt,

1000
2,043e+05
1,021s+05
5

m
m3Jd (oas)}
m~'

ee

User Variables

I
H

avsvs.crcceee v2.1.1

rotecn Ltd.

Build 3198

Pa e1013

r 'rA""..... ..,. ""tA,r~.~ '" L

Enabled

Air

1.000 m's

Conduction Heat Transfer Coefficient Estimation


Include Conduction:

No

rvoe:

Urethane Foam

Thermal Cond.:

0.01800 W/m-K

Thickness-

0.01000 m

f -....

cece SA.
Buenos Aires

Case Name:

C .use-. NataiialDewooinlZiplDew1HSC

Unit Set:

Hidratos en uneas de condUCcion

Datetnme:

roe Aug 24 16:24:42 1999

Pipe Segment: PIPE-100 (continued)


PROFILES

0 eta

aevenco

Dlslance
1m)
",-,"",.~~

..

~.",-,"",

..

~~

Increments

1m)

___Q:.OQQQ.

5000

--

''''''''''''

,'~-

--- - -

--~-

00000
-~--"'""'"'-~

0.0000

--- - -

,,,"',--,""'",'-"

... _---

--- - -- - - 5

Pipe Table
Len Ih
Elevation
Pressure

0,0000
0.0000
5950

584'

5749

60. 15

51.02
-938,2

43.22

rature

'rem

Heat Transferred
FlowR ime

V.

Li . Re

0.1026

(kPaim

0.0000

kPaim

0.0000

Len th

,p.

'rem
Heat Transferred

kJlh-m

V.

FlowR frne
Li uid HOldU
kPalm)

mI,
mI"

ur Veloo

0.0000
0.09626

ur Onl
0.0000
0.09678

5.676e+06

5.764e+06

7.699
4000

7,520

7.377

7.266

0.0000

0.0000

0.0000
0,0000

5000

5<60
26.00
-479.5

ur ani

Strallfied
6.123e-OS

0.09492
0.0000
0.0000
245.2
5.910e+06

5.842e+06

LI uid veoc

v.

0.0000
0.1002
0.0000

V.

5.582e-<-06

0.09569
0.0000
0,0000

(kPalml
kPaim

Va . Re nolds

veoour Onrv

0.0000

Friclion Gradient
Static Gradient
Accel. Gradient
uc. Reynolds

-6n1

-795.3

vecccr oor

0.0000

5558
30.83
-566.5

,C

rature

5652
36.55

...

m
m

Elevallon
Pressure

3000
0,0000

,I

5.476e-+06

mI,
mI,

2000
0,0000

0.0000
0.0000

orcs

Vao. Re olds
Li uid Veloci
vaoocr Velocity

urOnl
0,0000

kPaim

sccet Gradient

0.0000

kJJl1-m

liQuid HoidU
Friction Gradient
Stalic Gradienl

>000

m
1m
kPa)

0.0004369

7.185 I

7.134

PROPERTIES
4
Overall
Vat:XlUrlPhase Fraction

C
>P,

Tern erenee:
Pressure:
Molar Flow
Man Flow
W uld VOlume Flow
Molar EnthClI

Ma" Enthal
Molar Entro
Mass Er"llro
Heat Flaw
Molar Densi
Mass Den5i
Std UQuid Mass Dens,
Majar Heat Ca eel
Mass Heat Col act
Thermal Conducllvi

vrscosn
Surface T ens.on
Hvorolect'1 Ltd.
Uce=e<lIO, Sole"" $.R.L

,,"

m~d

m""
kJlk mQe
kJlk
kJlk mole-C l
kJlk -C
kJlh
(kamolelm3
k 1m3

1,000

Va our Phase
1.000

60.15

60.15

5950
1,24001+06

5950
1,2408+06

4,392e-+04

4,392e+04

125.4
--8.028e+04

125.4
--8.028e-+04

-3995
156.9

-3995
156.9

7609

7.809
-1.755e+08

-1.755e+06

2.....
49.10

2.444
49.10

4943

49.43

2460
004040

2.460
0,04040

001399

0.01399

m3

kJIk rrcte-c
kJlk 'C

Wlm-K

,p

, "'=

HYSYS.Process v2.1.1 Build 3198

ee e20fJ

i
Pepe SA

;...c.

v:

Buenos Aires

Case Name:

couser. NalalialOewpoinlziplOewl ,HSC

uon Set:

Hrcrarcs en lineas de ccocuccon

OaterT;me:

roe Aug 24 16:24:42 '999

Pipe Segment: PIPE100 (continued)


PROPERTIES

ve

Overall

Molecular Wei hI

Z Factor

ur Phase
20,09

20.09
0.8787

0.8787

5
Overall

V, urlPhase fraction
Ie

Temoerature:

,p,

Pressure:
Molar Flow

m>d

Molar e
Mass Entro
Heal Flow

Molar Oaf'si
Me99

Thermel Conductivi

Molecuier Weklht

5'60

"'60

'.240~6

1.240e+06

ars.a

4.38ge+04
125.4

kJlk mole
kJlk

-8.186e+()4

-8.184e+{)4

32.22
0.05099
1624e+05

-4074

-4075

-2445

kJik mc'e-C

152.5

'52,5

136.0

kJ/k -C
(kJItI

7,590

7.594
-1.78ge+08

2.537

2.537

2.048
-7.87&+04
9.555

52,99

52.95

634.7

50.16

50.14

144.9

2.496

2.496

2.182

-1.78ge+08

k mole/m3
k 1m3)

548.3

(k 1m3
kJlk mcle-C
(kJlkaC)

W/mK

,p

Vlscosilv
Surface Tension

0.0002219
26.00

125.4

SId Li uid Mass Densi


Mass Heal Ca

"'"

4.392e+04

oeresv

Molar Heal Ca act

26,00

Llouid Phese

"h

Liouid Volume Flow


Molar Enthal

0.9998
2600

m~h

Mass Flow

Mass Enltlal

veccw Phase
0.9998

~,m

,
I

0,03612

0.09776

001295

0,2292

20.08

56.43

0.8326

0.2298

12.02
2009

Z Factor

rotech Ltd.
Sot..,,,,, $.RL.

l.>~en.ecIlo:

avsvs.eeeeee \12.1

1 Build 3198

Pa e30f3

Depressurlng

Depressuring

1999AEA'rechnclogyptc- All Rights Reserved.

ADV-l3.pdf

Dcprcssunng

Workshop
HYSY$ contains a Depressuring utility that lets the user examine
pressure and temperature profiles in process vessels during simulated
gas blowdowns and pressure letdowns. This utility can also be used to
safely size Pressure Safety Valves (PSV's) under normal shutdowns and
emergency conditions.
In this module, two types of depressuring will be examined. Adiabatic

depressurization which is used to simulate the normal gas blowdown of


pressure vessels andlor piping. and the Wetted Fire model which is
used to simulate emergency conditions in a plant.

Learning Objectives
After completing this module, you 'Will be able to;
Use the Depressuring utility of HYSYS
Predict pressures and temperatures inside process vessels
during pressure letdowns and emergency conditions
Size Pressure Safety Valves to safely meet the conditions in
your plant

Prerequisites
Before beginning this module, you should be able to;
Navigate the PFD and the Workbook screens
Add Streams and Unit Operations in HYSYS

Youmust also have access to the tlowsheet that was used in the two
previous modules.

Depressuflng

Information on Depressuring
The Depressuring utility in HYSYS has been created to perform
rigorous time dependant pressure and material reduction calculations.
The model is comprised of three distinct areas: physical description of
the vessel, thermodynamic constraints of the process, and the flow
regime through the valve,
Although depressurization is a dynamic process. the small steps that
HYSYS takes in achieving a solution allow this process to be modelled
in a steady state environment.

Thermodynamic Models
There are four models that HYSYS can use to simulate the
depressurization process, and each has its own particular application.
Using the right model is very important if accurate results are to be
obtained:

Experience has shown that a


value of100% works weI/for
most pure vapour systems,
while a value between 40%
and 70% wurks wel/lur must
two phase systems.

Fire Mode - used 10 simulate conditions that could occur during


a plant fire. The application of an extemal heat source is
considered during the calculations for pressure, temperature,
and flow profiles, The heat flux into the fluid is user defined.
Wetted Fire Mode - used as above, except that the heat flux
into the fluid is calculated according to API equations for heat
transfer from a fire to a liquid containing vessel. A wetted area
must be supplied.
Adiabatic Mode - used to model the normal gas blowdown of
pressure vessels and/or piping. No extemal heat is supplied.
Heat flux between the fluid and the vessel is modelled as the
fluid temperature drops. Typically used to model the
depressurization of compressor loops on emergency
shutdown, The adiabatic model requires an isentropic
efficiency term. An efficiency of zero means that the system will
behave isenthalpically, t.e. there will be no loss of enthalpy
during depressurization. An efficiency of 100%. on the other
hand. means that the system will behave isentropically, l.e.
there will be no loss of entropy during depressurization.
Isothermal Mode the temperature of the fluid remains
constant during the depressurization process. The necessary
heat flux is determined by HYSYS.

heat flux is determined by HYSYS.

Depressuflng

Valve Equations
There are also four types of valves that can be used to model the PSv.
Having these options allows you to customize the simulation. The
choice of type depends of the information that the user has available
and the physical conditions of the simulation.

Constant rate aeoressur-

Subsonic Valve - can be used only if the flow across the valve
is expected to be completely subsonic. This is usually the case
if the upstream pressure is less than twice the backpressure of
the valve. This valve is modelled by the following equation;
therefore, two constants must be given, C1 and C2.

tzar/on can be modelled wirh

rhis valve equanon by setting


the Cl term to be equal to the
flow, and the C2 tenn to o.

Supersonic Valve - used in cases where little or no


information is known about the valve. This valve is modelled
according to the following equation: therefore. again two
variables are needed, C1 and C2. Generally, C2 will never vary
from 0.5.
FLOW

CI X(P upxP uplC2

Masonellan Valve - used for general depressuring valves to


flare stacks. The equation for this model follows. C1 and C2
are automatically set by HYSYS; these values should not be
changed without good reason. The C1 term can be changed to
maintain dimensional consistency within the equation. The Cv
of the value is usually available from the valve manufacturer.
FLOW

Cl

Cvx CFx YFx (P up)( Pup)C2

General Valve - use this model if the effective throat area of


the valve is known. The model makes limiting assumptions
concerning the characteristics of the orifice. The equation used
by this model follows. Gc will be 1 if 81 units are used, and
32.17 if field units are used. C1 will vary with the geometry of
the valve, when modelling orifices, C1 is equal to the
Coefficient of Discharge of the orifice. C2 will be equal to 0.5,
as usual.
FLOW = CI x 43200 xAvx Kia", x (G c x Pup x Pup X k)C2

More information on these valve equations can be found in the


Reference Section ot thts folder.

Depressuring

Generalized Depressurization
Procedure
The following steps are meant as a general outline for using the
Depressurization utility in HYSYS.
1.
2.
The streams attached to the
Depressurlzarion utility musr
befully defined.

3.
4.

5.

6.

7.
8.
9.
Pressing rhe Equation Help
burron on me Heat Flux or
valve Bqns page will bring up
details on the available
equations.

10.

11.
12.
13.
14.

Access the Depressurization utility by selecting Tools/Utilities


from the Menu Bar, or by pressing the hot key <Ctrl><U>.
On the Connections page, change the name of the utility if
desired.
In the Stream Connections group box, attach a stream of known
composition. (Up to four streams can be connected).
If desired, specify the vessel and liquid volumes. If these values
are not specified, HYSYS will size them to hold one hour's worth
of flow. This applies to both the liquid volume and the total
volume of the vessel.
A wetted area must be entered if the Wetted Fire model is to be
used as the thermodynamic model. Otherwise, it is not necessary.
However, a known parameter should never be left out of a
simulation.
Once all the streams are attached, press the Settle Out button.
HYSYS now calculates the combined vessel information. The
results of this calculation can be seen on the Vessel page.
On the Parameters page, specify a thermodynamic mudel. The
four options are listed on page 3 of this module.
Enter a relief pressure. A pressure build-up can be simulated by
specifying a reJiefpressure greater than the settle out pressure.
Make changes to the depressuring time, the final pressure, and
the number of steps if desired.
On the Heat Flux page, enter the parameters governing the heat
transfer between the fluid and the vessel. This page will change
depending on the thermodynamic model chosen.
On the Valve page, select a valve to modeL The choices are
described on page 4 of this module.
Once the valve is chosen, the Equation Parameters and! or
Equation Units can be modified..
Press the Calculate button. I-1YSYS now runs the utility.
The results can be seen on either the Plots tab, or the Table tab.
The information contained on both tabs is identical; however, the
presentation form is different.

Oepressunng

Rdding the utilitQ


1.

2.

Open the Utility menu by pressing the hot key combination


<Ctrl><U>.
Highlight Depressuring and press the Add Utility button.

Defining the Utility


1.

Botll streams here are vapour


oruy: tlwn:!or1!, there is no
liquid present. In omer words,
the Liquid Volume Is O.

In the Stream Connections box, add the streams To LP Sep and


To IS Sep. Add the following infonnation to the current view.

In This Cell...

Enter...

Enter...

Stream

To LP Sep

To

Vessel Volume, m3 (ft')

25 (flSO)

20 (700)

Liquid Volume, m~ (fill

0(0)

0(0)

Wetted Area. m l

45 (480)

35 (375)

(ttl)

The screen should now look like this:

IS Sep

Oeprr.ssunng

2.

Press the Settle Out button and check the calculated values on the
Vessel page (on the Results tab),

3.

Move to the Parameters page on the Design tab. and specify the
thermodynamic model as Adiabatic, Supply a relief pressure of
70 bur. Set the final pressure to 15 bur. The page should look
something like this.

Depressuring

4.

On the Heat Flux page (on the Equations tab), specify the
isentropic efficiency as 70%. The vessel's specific heat as 0.42 kIt
kgC (0.1 BTUllb 0Fj, and the vessel's mass as 8000 kg (17640Ib).
Leave me value for the Heat Transfer Coefficient as eemprys.

Read!! ToColc<l&te

Recall that tile Cl term can be


used to maintain dlmensionai
CQnsi$lenq in the valve
equation. Here. we will use
baras the pressure unit so we
need til 1L~e a CI ya.1ue that is
10 times larger than the
uriginul value.

I ~"\r'"

"",,....::

On the ValveEqns page. change the value ofCI to 16.663, and use
the drop-down menu to select the "Upstream Pressure Units" as
bar. Press the Calculate button.

Move to the Plots page, and answer this question.


What is the pressure inside the system after the 15 minutes
have passed?

Return to the ValveEqns page, and enter a Cv value of 15.2.


Recalculate the utility.
What is the pressure after 15 minutes now?

Save your case!

Dcprcssurlng

Exercise
For this exercise, it is desired to use the depressuring utility to size a
PSv. Use the following data for this exercise:
lr is nor necessary to delete the
previous depressurization
utility; just build a new one
from the beginning.

Connections
Streams

To LP sep

Vessel Volume, m 3 (fil)

25 (880)

Liquid Volume, m 3 (tt3)

0(0)

Wetted Area, m 2 (ft2)

10 (110)

Parameters Page
Mode

Fire Wetted

Relief Pressure

68 bar

Final Pressure

50 bar

Depress. Time

15 minutes

Pressure Steps

100

Heat FluxPage
CI

37

C2

O.!l2

C3

Units

kWandm 2

valve Bqns Page


Valve Equation

Masonellan

CI

16.663

C2

0.5

Cv

tjnits

kg/h, kg/m 3, and bar

10

Dcprcs.sunnq

Leave all unspecified variables at their default values. Calculate the


utility.

What is the final pressure in the system at the end ofthe


depressuring process?

This simulation shows a gradual rise in system pressure up to the


specified relief pressure (68 bar) and then a gradual drop in pressure as
the valve opens and material is released.
A properly sized PSVwill hold the system pressure at the relief pressure
without too much of a decline. Therefore, decrease the Cv of the valve
until you find a properly sized PSv. Note: do not make to large a change
in the Cv; start by making a 0.1 decrease and observe the effect that this
has on the simulation.

What Cv is required to maintain the system pressure at the


reliefpressure?
~
Does the reliefpressure hold constant?
Would this be possible in "real life"?

Save your case!

,.

Depressunng

11

Analijsing the Results


The results of the Depressuring utility can be seen under either the
Plots tab or the Table tab. The information on either tab is identical;
however, the method of presentation is different.
On the Plots page, there are five different plots that can be displayed.
These five plots are defined here:
Temperature - The temperature of the fluid, the vessel, and
the fluid exiting the valve are atl plotted against time. This
allows you to see if the thermodynamic model is acting
properly.
Pressure- The pressure of the fluid inside the vessel is plotted
against time. This provides you with a quick reference as to the
relief pressure, final pressure, and the depressurization time.
Inventory. The total number of moles of material remaining in
the system is plotted against time.
Valve Rate - The molar flow rate of material through the valve
is plotted against time. The user can quickly see the maximum
flow rate that occurs during the depressurization.
Composition. The composition of the material remaining in
the vessel during the depressurization is plotted against time.

On the Table page, all of the information is presented in tabular format.


The table headings are: Pressure, Fluid remp., Valve Outlet, Inventory,
Vapour Fraction, Vessel Temp., Valve Rate, Sys. Den. (Yap), Sys. Den.
(Liq), and Heat Flux.
From the table headings it can be seen that me information presented
on the Table page is identical to the information presented on the Plots
page.
The composition of material remaining in the vessel during the
depressurization process can be seen in tabular format by pressing the
Compositions button.

11

Comments on HYSYS Depressurtng Equations


DS I ProSol
5.3.98

1.

HYSYS Masoneilan Equation - SI Units

.p.

The basic equation for flow through a Masoneilan control valve is taken from the Masoneilan catalogue as follows

W~1834862C

v C f

G0f 5 (y - 0 . 148 y ' )

(1.1)

0,
Where

Mass flow
Valve co-efficient
Critical flow factor
Upstream pressure
Downstream pressure
Specific gravity at flowing temperature
Gas specific gravity (air = I)
Gas molecular weight
Flowing temperature
Compressibility factor
Expansion factor
y_O. 14 8 y 3

C,
C,
p,
p,

G,
G
MW

T
Z

Y
y,

y max

Dimensionless

b",

b",
Dimensionless
Dimensionless

= G"'288/ZT

=MW / 28.97

K
Dimensionless
Dimensionless

1.5

In HYSYS / HYSIM:, (SI units), the Masoneilan equation is presented in the form

(1.2)
By inspection, it can be seen that the equations (1.1) and (1.2) take virtually the same format, however are expressed in
slightly different ways. We therefore need to manipulate the original Masoneilan equation (1.1) to get it into a format
compatible with (1.2), and also to allow us to use the units we may be working with in HYSVS.

In SI units, we normally work with the following

Mass flow
Upstream pressure
Upstream density

p,

p,

kg'h

kP,
kg/m'

We will rearrange equation (1.1) to allow for OUI customary Sl units, and also introducing conversions to replace the G f
term in (1.1) with density
Pt = MW*Pl ';(8.31"1'Z)

(for density in kg/m3)

",d
Gf

(MWI28.97)" (28811'2)

So
G r = 82.61236

>I<

PI/PI

We will rearrange equation (1.I) to allow for OUI customary SI units, and also introducing conversions to replace the G f
term in (1.1) with density

Substituting the above into equation (\ 1), we get

W = 18.34862' C,

c, eEL. ( 82.612236 P,

*(p p)o.. 'i*yf

(1.1b)

100

PI )

0.5

* Yf

(1.1a)

Which gives

W=1667*C
*Cf

Finally, comparing our modified equation (l.tb) to equation (1.2), we can use the following in HYSYS

w
w
c,

c,
C,
PI

P,
y

= C

Ie,

Cf

YI (P, P,)C'

Mass flow
Valve co-efficient
Critical flow factor
Equation exponent
Upstream pressure
Upstream density
Expansion factor
y_O.148 y 3

(1.3)
kg/h
Dimensionless
Dimensionless

kP,
kg/nr'
Dimensionless
(maximum value ofy= 1.5, which gives Yf= L)

So for use with "normal" 8I units, C 1 should be assigned the value 1.667 (HYSYS defaults to 1.6663 which may be the
result ofa slightly different derivation of unit conversions. This is abo acceptable). C2 should be assigned the value 0.5.
For other combinations of units (mass flow, pressure and density), adjustments should be made to the C\ value to ensure
consistency of calculation. For instance, when pressure is in bar, a value of 16.67 should be used for C1.

2.

HYSYS MasonciIan Equation - Field Units

The basic equation for flow through a Masoneilan control valve is taken from the Masoneilan catalogue as follows

Whore

C.
C,
p,

p,
G,
G

MW
T
Z

Y
y,

y max

Iblh

Mass flow
Valve co-efficient
Critical flow factor
Upstream pressure
Downstream pressure
Specific gravity at flowing temperature
Gas specific gravity (air = I)
Gas molecular weight
Flowing temperature
Compressibility factor
Expansion factor

Dimensionless
psia
pete
Dimensionless
Dimensionless

G*520/ZT

'" l\1W /28.97

R
Dimensionless
Dimensionless

y_O.l48 y 3

1.5

In HYSYS / HYSTh1, (Field units), the Masoneilan equation is presented in the form

(2.2)
By inspection, it can be seen that the equations (2.1) and (2.2) take virtually the same format, however are expressed in
slightly different ways. We therefore need to manipulate the original Masoneilan equation (2.1) to get it into a format
compatible with (2.2), and also to allow us to use the units we may be working with in HYSYS.

In Field units, we normally work with the following

W
p,
p,

Mass now
Upstream pressure
Upstream density

Ib/h
pSIa

Ib/fr'

We will rearrange equation (1.1) to allow for our customary Field units, and also introducing conversions to replace the
G r term in (1.1) with density
PI :::MW*Pl '/(1O.73TZ)

(for density in Ib/ftJ)

and
Gf = (MW/28.97)

* (520ITZ)

So
Gr = 192.599

* PI/pI

Substituting the above into equation (2.1), we get

W = 2.8 * C,

* Cf

>I<

PI

* ( 192.599 Pl I PI) O,S '" Y I

(2.1a)

Which gives

(2.1b)
Finally, comparing our modified equation (2.lb) to equation (2.2), we can use the following in HYSYS

(2.3 )

Mass flow
Valve co-efficient
Critical flow factor
Equation exponent
Upstream pressure
Upstream density
Expansion factor

y,

y~0.148yJ

c.
c,
c,
p,
p,

Ibih
Dimensionless
Dimensionless
psia
Iblft'
Dimensionless
(maximum value ofy = 1,5, which gives Yf= 1)

So for use with "normal" SI units, C 1 should be assigned the value 38.86 (HYSYS actually defaults to 38.61 which may
be the result of a slightly different derivation ofunit conversions. This is also acceptable.) C2 should be assigned the
value 0.5.
For other combinations of units (mass flow, pressure and density), adjustments should be made to the CI value to ensure
consistency of calculation. For instance, when pressure is in bar, a value of 16.67 should be used for Cl.

For other combinations of units (mass flow, pressure and density), adjustments should be made to the Cl value to ensure
consistency of calculation.

3.

HYSYS General Depressurtng Equation - SI Units

The basic equation for compressible / sonic flow through an orifice is taken from Perry (6 th Ed, Page 5-14, Equation 520) as follows

W=C A,

s.

(E..L)
v,

(_2)(:::)
+
k

(3.1)

(3.2)

W=C A,

Where

w
C

A,
g,
k

p,

v,

p,

Mass tlow
Co-efficient of discharge
Orifice area
Dimensional constant
Ratio of specific heats
Upstream pressure
Specific volume
Density

kg/s
Dimensionless

m'

1.0 kg.miN.s 2
Dimensionless

Pa

m 3/kg

kg/m'

In HYSYS / HYSIM, (SI units), the equation is presented in the form

W = C, 43200 A, kterm (g, k p,p, f'

(3.3)

)(,i;~'ll

2
kterm= - ( k+ 1

By inspection, it can be seen that the equations (3.2) and (3.3) take virtually the same format, however are expressed in
slightly different ways. We therefore need to manipulate the rust principle equation (3.2) to get it into a format
compatible with (3.3), and also to allow us to use the units we may be working with in HYSYS.

In 51 units, we oonnally work with the following

w
p,

Mass flow
Upstream pressure

kg/h

kP.

By rearranging equation (2) to allow for our customary SI units

W'=C3600A,kterm(g, klOOOp.'p,r'

(3.2a)

Which gives

W'= C 113842 A, kterm (g, k p.'pJ'

(3.2b)

And in tum

W';;;;;; 2.62531 C

43200

A v kterm

(g

k 1000 P,'PI

(32c)

Finally, comparing our modified equation (3.2c) to equation (3.3), we can use the following in HYSYS

w~
w
C,
C

43200
Av
g,
k

p,
v,
p,
C,

C, 43200 A, kterm

Mass flow
Dimensional constant
Co-efficient of discharge
Dimensional constant
Orifice area
Dimensional constant
Ratio of specific heats
Upstream pressure
Specific volume
Density
Equation exponent

(s.

k p,p,)C2

(3.4 )

kg/h
2.62531 C
Dimensionless

m'
1.0 kg.mrN.s 2
Dimensionless

kP.
mJ/kg
kglrn'

0.5

For other combinations of units (mass flow, orifice area, pressure and density), adjustments should be made to the Cl
value to ensure consistency of calculation.

HYSYS General Deprcssuring Equation - Field Units

4.

The basic equation for compressible! sonic flow through an orifice is taken from Perry (5th Ed, Page 5-12, Equation 518) as follows

C A,

( 4 .1)

A,

( 4 .2 )

Where
Ibis
Dimensionless

Mass flow
Co-efficient of discharge
Orifice area
Dimensional constant
Ratio of specific heats
Upstream pressure
Specific volume
Density

ft'
32.17Ib.Mbr.s2
Dimensionless

Ib,ft'
ft'nb
lb/ft]

In HYSYS I HYSIM, (Field units), the equation is presented in the form

~ C ,43200
2

= (

kterm

A, kterm

) (,

(s ,

k p,p,

Y'

(4.3)

;,~-' >) 1

k + 1

By inspection, it can be seen that the equations (4.2) and (4.3) take virtually the same format, however are expressed in
slightly different ways. We therefore need to manipulate the first principle equation (4.2) to get it into a format
compatible with (4.3), and also to allow us to use the units we may be working with in HYSVS.

In Field units, we normally work with the following

W'
p,

Iblh

Mass flow
Upstream pressure

psia

By rearranging equation (4.2) to allow for our customary Field units

(4.2a)
Which gives

(4.2b)

rr

= L

Which gives

,:lOVV

/tv taerm

\g c

K 1'+'+

p , PI J

After modification, it can be seen that our revised first principle equation (4.2.b) is identical to the HYSYS equation
(4.3). The HYSYS equation can therefore be used as follows

w = C,
w
c,
C
43200
Av

g,
k

p,

v,

p,

C,

43200 A, kterm

Mass flow
Dimensional constant
Co-efficient of discharge
Dimensional constant
Orifice area
Dimensional constant
Ratio of specific heats
Upstream pressure
Specific volume
Density
Equation exponent

(g,

p,p,r

(4.4)

Iblh
Identical to C
Dimensionless

ft'
32.17 lb.Mbr.s l
Dimensionless

Ib,ft'
ft'nb
Ib/ft'
0.5

For other combinations of units (mass flow, orifice area, pressure and density), adjustments should be made to the C1
value to ensure consistency ofcalculation.(See section three for the treatment for ST unit, where the Cl value in the
equation is different to the orifice C value)

Depressurisation
" A Practical Guide"

HYPROTECH

This guide has been prepared based on frequently


asked questions to HYPROTECH 's support desk.
We have aimed to give a simple explanation of how to efficiently use the depressuring module in HYSYS I
HYSIM and how to interpret the results correctly.

What can J use this utility for?


The depressuring utility can be used to simulate the depressuring of gas, gas-liquid filled vessels,
pipelines and systems with several connected vessels or piping volumes depressuring through a single
valve. References to "vessel" in this guide can also be "pipinq" or "combinations of the two.
What types of depressuring calculations can I do?
There are four types of depressuring calculation available:

Fire Mode - used to simulate plant emergency conditions that could occur during a plant fire,
Pressure, temperature and flow profiles are calculated for the application of an external heat source to
a vessel, piping or combination of items. Heat flux into the fluid is user defined.

Wetted Fire Mode- as above except that the Heat flux into the fluid Is calculated from the API
equations for a fire to a liquid containing vessel. A wetted area for the vessel is required.

Adiabatic Mode - used to model the gas blowdown of pressure vessels or piping. No external heat is
applied. Heat flux between the vessel wall and the fluid is modelled as the fluid temperature drops due
to the depresauriaaticn.
Typical use of this mode is the depressuring of compressor loops on emergency shutdown.

Isothermal Mode - the temperature of the vessel fluid remains constant HYSYS determines the
necessary heat flux required achieving isothermal depressuring.

How do I start?
On the connections page choose the stream that represents the fluid you want to depressure. For a single
vessel for example this is the feed stream into the vessel,
Calculate the vessel volume from the diameter and tan-tan length. Add a small amount to this volume if
you want to include the contribution from the piping in the system. Specify the normal expected liquid
volume of the vessel l.e.: at the NLL. If the feed stream is two phase the composition of the liquid will be
calculated from this. If you do not specify a liquid volume HYSYS will take a volume equal to 1 hour's flow
based on the feed liquid.
Note If the system conditions at settle out are such that the vapour is superheated, HYSYS will not allow a
liquid inventory. The settle out conditions for mixed sources and volumes are calculated on a constant
enthalpy, volume and mass basis.

Wetted area is the area of the vessel that is used to calculate the heat flux to the fluid. The way in which
this is used depends on the mode chosen.
Calculation
Mode
Fire mode
Wetted Fire
Adiabatic

Area Usage
Not used. Heat flux into the fluid is a user-defined function of the vessel temp and liquid
inventory at each time steo.
Heat flux into the fluid is calculated from the API equations for a fire to a liquid containing
vessel.
Heat flux between the fluid and the vessel walt is calculated from Ihe user-specified area
and the temp difference. Heat transfer coefficient is either user specified at a fixed value
or jf left blank HYSYS will calculate it at each time steo.

03/08/00 rev 2.2


Page 1

HYPROTECH

How do I specify the parameter page?


Having filled in the sources you must now first select the required depressurinq mode.

Relief pressure value will depend on the mode chosen.


Adiabatic type depressurisation - use the settleout pressure of the sources.

Fire relief could be equal to the design pressure of the vessel or piping i.e.: the set pressure of the
relief valves on the system. If the relief pressure in a fire mode is higher than the settleout
pressure then the heat flux will initially raise the system pressure up to the reuet pressure, thus
determining the time for the relief valve to actually lift.
Depressuring time is defaulted as 15 minutes (900 sec) based on API 521, alter this if required.
Final pressure is defaulted as atmospheric. Based on API it is normal to depressure to 50% of the starting
pressure or to 100 psig ( 6.89 barq), whichever is the greater, in the 15-min. Alter as necessary.
HYSYS will stop the depressuring calculations when either the final pressure, the depressuring time or the
number of calculation steps is reached. For simple systems 30 should be adequate, if not increase this
number.

.. and The Heat Flux page?


Adiabatic mode.
You first need the isentropic efficiency %.
0% - the fluid will not Jose enthalpy during the expansion (isenthaipic) but the entropy will change,
as this is an irreversible process.
100% the fluid utilises a required amount of enthalpy during the expansion to maintain constant
molar entropy.
The correct value to use is the subject of much debate. Studies have shown that 100% gives a good
accord with experimental data for gas filled systems. For liquid containing systems values of 40 -70 % are
generally used. Higher values yield lower final temperatures for the fluid.

Heat transfer area is the surface area of vessel or piping in contact with the fluid that wilt be used to
calculate the temperatures by heat balance between the fluid and lhe wall. E.g.: for a gas filled vessel this
is the total vessel internal surface area. For liquid containing vessels the area exposed to the liquid
volume should be used since the HTC for a liquid is much higher than that for a gas.
Vessel specific Heat of the metal and vessel mass are needed if you wish to calculate the average vessel
wail temp on depressunsatlon.
Typical values of vessel specific heat are:
Mild steel
Stainless steel
Aluminium

0.420 kJlkglC

Titanium

0.523 kJlkglC

0.510 kJlkafC

Cooner
Brass

0.370 kJ/ka/C

0.880 kJlka/C

0.385 kJlkalC

03/08/00 rev 2.2


Page 2

HYPROTECH

Stainless steel
Aluminium

0.510 kJ/kafC
0.880 kJlka/C

Copper
Brass

0.385 kJ/k IC
0.370 kJ/ka/C

The Heat transfer coefficient refers to the metal to fluid side. No heat transfer between the environment
and the vessel is included. This is considered reasonable since as the system would see very low
temperatures during the depressurlnq the vessel exterior would probably be insulated.

Fire
Five coefficients C1 to C5 need to be specified in order to set up the following generalised equation;
As ~n example. you Pf!uld ~del

SrV?j

Q-C] +C2t+C3tC4 -T}+C5

heat transfer equation:

Q=UAi1r
Vo
By setting ell C 2 and c, to zero. Set C3 to UA and C4 to the constant temperature in the t..T term.
Wetted Fire

Three coefficients C 1 to C3 need to be specified in order to set up the following equation, which is an
extension to the standard API equation for flux to a liquid containing vessel.

Q = C1 * [wetted.area(time

OJ" C Z

.lViHd<liIMR'}Wm6!f"1l11vo'IJ_6If'i:latti/NeT 0) * {1- C, *[1- LiqVol(time = t)! LiqVol(time ~ O)]}


... and finally, which valve equation do we use?
The units specified for the valve equations pertain only to the equations as viewed on this page; they are
not the same as the units used in the simulation.
The selection of valve equation is dependent upon two criteria.
1.lf the pressure in the vessel is such that sub critical flow is present (generally upstream pressure
less than twice backpressure) then you have no option but to use the sub sonic equation for the
valve.
2.Depending on the data that you have available for the valve, one of the other 3 equations can be
used.
Supersonic- use this for modelling systems when no detailed information is available on the valve.
In general the constant C2 will never vary from 0.5 and the flow through the valve will then be
proportionai to C1. One specific exception to this is the modelling of constant flow
depressurisation. In this case set C2 to 0 and C1 to the required constant flow rate.
Masonellan - can be used for general depressuring valves to flare. Often the Cv for a valve is
known from vendor data so when Masonellan is selected the appropriate valve C1 and C2 will be
automatically set as well as the units. DO NOT change these unless you have a justified reason to
do so.
Please note
C1 in the Masonellan equation is
C1
C1 "

( psia, Ib/hr)
38.61 for field units
1.6663 for SI units
( Kpa, kg/h)
16663 for EuroSI units ( bar,kg/h)

HYSYS will estimate a valve Cv based upon the peak mass flow rate.The user must adjust this
initial Cv in order to ensure that all criteria are fUlly satisfied.

03/08/00 rev 2.2


Page 3

HYPROTECH

General- use this if you know the valve throat area. This equation makes certain limiting
assumptions concerning the characteristics of the orifice

The depressuring utility will now run.

How would I model the depressuring of a compressor loop system?

TYPICAL COMPRESSOR LOOP

...

Recycle

,-------INI+----~-----,
C1
C2
C3
IC4
nC4

60%
20%
10%
5%
5%

__---+I

..-r..-_F~.-d

~~_TOFl'"

00-,:"'"~_

"'1.2m

40C
P= 100 bar

Dp '" 0.5 bar

TIT '" 4.0 m

~product

.lOI<l

L_--n"-~""'-~""

.....

eso-c

ESD_in

= 15 C
P= 40 bar

l-..

di.$Chsrge volumes

suctcn volumes

Liquid
Drain

For the compressor loop as shown use the following input to evaluate the settle out conditions ..

i) suction piping,
ii) suction drum
iii) discharge piping
iv) exit cooler

Source

volumes m 3

Feed
Feed
Product
Product

2 m'
5 m'
2 m'

SettJeout
liquid

vot 0.75 rn'


emp
Press

1 m'

=20.35 C
=55.85 bara

Hit the settJeout button to calculate the volume-averaged pressure of the sources. Note that HYSYS
assumes an instantaneous settleout across the system. In practise the blowdown valve will normally open
as soon as the ESD valves are closed and consequently the initial flow of gas through this valve will reflect
the fluid in the suction drum.
Parameters page choosing;

adiabatic mode
relief pressure
depress time
final pressure
Pressure steps

55.85 bara
15 mlns
27.93 bara
30.

On the Heat flux page try the following settings:

isentropic efficiency 70%,


vessel specific heat
vessel mass
Heat transfer coefficient

0.420 kJ Ikg I C
6000 kg ( vessel 3000 kg, pipe + excn 3000 kg)
leave blank

03/08/00 rev 2.2


Page 4

HYPROTECH

On the valve page choose the Masonellan valve with the equation units in kg, hr and m3.
Leave the Cv number as initially estimated by HYSYS and hit calculate.
HYSYS will run until either the final pressure, pressure calculation steps or time limit is reached. When
this is done examine the output table and verify that your final pressure has been reached. If the time limit
is reached but the pressure not then increase the Cv of the valve, if the final pressure is reached before
the time limit then decease the valve Cv. Using a quick trial and error process you should arrive at a Cvof
20.7 as being the required valve size.
Note that for gas filled vessels the depressurlnq time will be approximately inversely proportional to the
Cv. For two phase systems the liquid behaviour during depressurlsation complicates the blowdown
volumes significantly and the above may not be valid.

03/08/00 rev 2.2


Page 5

HYPROTECH

Frequently asked questions ....


Can I model a relief valve with HYSYS?
A relief valve can be simulated by choosing a Cv size adequate to pass the generated vapour due to fire
such that the pressure of the vessel is maintained at the relief pressure Prent>r.

To do this model the fire case, choosing a supersonic valve and run the depressuring an initial C1 value.
Examine the results and adjust the C1 accordingly to maintain the pressure at Prelief

Can I model an orifice plate or "leak" using the depressuring utility?


No not rigourously. Try using the general equation, but note that it is not possible to specify the orifice size
relative to pipe in order to calculate the orifice coefficient.

Why does the temperature sometimes rise in the vessel towards the end of the depressuring?
This is due to the fact that the heat transfer from the vessel mass is such that it overcomes the
temperature loss due to the expansion of the fluid in the vessel.
Does HYSYS take Into consideration the heat transfer from the air to the vessel?
At present no, the only energy transfer is from the mass of the vessel to the fluid.
Does the "fluid" in the depressuring refer to the vapour or liquid?
Neither, it's a composite mixture of the two. The Heat Transfer coefficient used on the Heat Flux page
should reflect the relative volumes of each phase when estimating.
How can I speed up the calculations?
The depressunnq utility can be fairly slow to reach completion due to the number of flash calculations
performed. If the fluid you are depressuring contains a number of components that have zero flow or very
small flow these will add to the calculation time.
For example if you are depressuring the compressor circuit shown above the stream definition will contain
ail the components used in the simulation lncludlnq any hypotheticals. NBP cuts and water. In practice the
actual composition at this point in the process will consist of the lighter hydrocarbons oniy. If you wish to
do repetitive depressuring evaruation consider copying the stream to a subflowsheet in HYSYS and
remove all the components with insignificant content. In HYSIM copy the streams to a new simulation and
use the actual components in the stream oniy. Note that selecting higher isentropic efficiencies in the
adiabatic mode will also sow down the calculations.
What plans are there for improving the depressuring utility further?
Yes HYPROTECH have significant plans to make the depressuring feature in HYSYS a state of the art
design tool incorporating the ability to:

biowdown from top andlor bottom of vesseis


size relief valves
perform orifice and "leak" type depressurlsanon
Ailow orientation, dimensions and materia's for vessels and piping.
Allow multiple venting from several blowdown valves simultaneously
incorporating time delay between valves opening.
Determination of peak blowdown rates based on the above concept
Direct interface into FLARENET to allow full network analysis including
superimposed backpressures and line packing

03/08/00 rev 2.2


Page 6

HYPROTECH

HYSYS - 'recntces para ccnvergencla de cctumnas I

TECN/CAS PARA CONVERGENC/A DE COLUMNAS


Ocasionalmcntc Ia convergencia de columnas puede presentar dificultades, especialrnente
si se trata de columnas cornpiejas. Por ejemplo columnas atmosfericas con rnuchas
operaciones anexas, columnas de vaclo, etc... La convergencia de columnas se facilita si
se siguen algunas reglas basicas.

PASOS A SEGUIR
Si Ia simulacion de una columna no converge,
Paso 1
Tome nota del Equilibrium Error (Lazo extemo) y el Heat&Spec Error
(Lazo Interno)

Paso 2

Vaya a Ia hoja Column Summary ~

Paso 3

Use los diagramas de flujo adjuntos. Verifique si se cumplen las


siguientes reglas generales

REGLAS GENERALES

1) Use Especificaciones de Flujo para la convergencia inicial


En general es siempre mas facil obtener una primera convergencia de la columna
utilizando especificaciones de flujo en vez de especificaciones de pureza de productos. La
zona de convergencia para especificaciones de flujo suele ser mucho mas amplia que para
especificaciones de pureza.
nvhdve Rate
Distillate Rate

0,000 I mol hri


4,674 Ibm le/h

9.776e21
4.674

0.0000
0.0000

2) Especifique calor en Condensador 0 Reboiler pero NO ambos


Si se especifica el calor en el condensador y en el reboiler, las entalpias en la columna
quedan fijas par ei balance de energia. Esto hace que sea practicamente imposible
cumplir can ambos aimultaneamente.

3) Suminlstre una estimacion de temperatura para el plato 1


Algunas columnas tienen grandes cambios de
temperatura entre el plato I y el condensador, esto
ocurre especial mente cuando se simulan
condensadores parciales con cantidades signifi cativas
de no condensabies. En estes casos suele ser
necesario suministrar un estimado de temperatura
para primer plato de La columna.
Gran salta de temperatura del
condensador al plato I.
Suministrc un esnmado de
temperatura para el plato I

n... u"'....

,"011.

..

''''

...
'"

I '

1 ...
,I '

.......
'"

.. . .. . .
~-

HYSYS Tecmcas para ennvergeneia de cctumnas 2

4) Verifique el balance de masa


Suministre estimados de flujo levemente inferiores a los esperados. La surna del estimadc
de flujo de cabeza y de fonda deben ser, en total, levemente inferiores a 1a alimentacion
de la columna. Estimados de flujo mayores que el estimado totalllevan a grandes valores
del Equilibrium Error.

5) Extracciones de agua
Si hay agua presente en [a alimentacion de la columna, existe la posibilidad que se
formen dos fases liquidas en Ia cabeza de Ia columna. En estes casas suele ser necesario
agregar una extraccion de agua.
Observaciones:

Equilibrium Error y Heat&Spec Error Oscilantes


Si los errores de Equilibrium y Heat&Spec osci1an, el perfil de la convergencia es
altamente no-linear y se requiere reducir el paso de Ia variable manipulada. Esto se
consigue cambiando el Damping factor en la hoja Column Parameters del valor par
defecto, 1, a un valor <1. Como casas tipicos, un Stripper de aguas agrias requiere un
valor de damping de 0.4-0.5, mientras que las columnas de crudo pueden variar entre 0.7
y

1.0.
Iter I

te
o.OOoai

9
10

E u
224.1616 4

0.000 013445.525243
33.5354 8
0.00 I
0.00001
05.516985

2.534

Equilibrium Error
Heat&Spec Error
oscilantes

4.8747+

Verifique la composicion de la alimentacion de las columnas aguas abajo


para los casas de columnas en serie.
Can un numero de columnas en serie, tal como se encuentran en un tren de
fraccionamiento de una pianta de LNG, las primeras columnas son normalmente faciles
de converger con especificaciones de fluje y calor. En estes casas puede ocurrir que la
composicion de livianos en la alimentacion de ia siguiente columna sea demasiado baja.
La columna siguiente puede no converger si se usa una especificacion de temperatura en
el condensador.
Como ejemplc podemos tomar el caso de una colunma demetanizadora que converge can
especificaciones de calor en reboiler. La corriente de fonda que va a la deetanizadora
puede no tener suficiente metano a etano para cumpiir con una especificacion de
temperatura. La solucion en estes casos puede ser introducir, en la columna aguas arriba,
una especificacion de relaci6n molar, por ejemplo una relacion de Cl/C2 en el fonda de
una demetanizadora.

La columna stguiente pucde no converger si se usa una especificacion de temperatura en


el condensador.
Como ejemplc podemos tomar el caso de una colunma demetanizadora que converge can
esnecificaciones de calor en rr:hoilt->T T.::I ('nrri..."tp rlp -tnnrln ""... .,.., ... 1... .-I ... ~+~_: __ .J _

-n

"s3

c,

sr
;;

1__

....J

Itnpresl6n SpeC$heet de
columna
~

Reset y Run

R,'

T~das las mil,m""s

fiujos de Slliida
_,

--j"'". L"m"~ r I
1

"

Columna

especiftque ta

temf"'ratura de
I lope; uSeIa
I opci6n de
subenfrlamiento
en la operaclcn

cceoeoeeccr
(denlm del
subfiowsheel de

co',,"'na)

__

Run solamenle

'0

l--

Iverif'Que

MMBTU vs BTU
Ibmol vs Ibs
liQ_ ~"'" vs side ~q flow

e~

-I

- ,~"maoos

calor!!f\ los side exchangern y flujos '


wter""s M_,=a elap;l _

CO<ldenSlloore<
p3fciales

Especifoque no
mas de 2 de los
si~ierues eo ~
purnp3fCMHJd
- Flujo
- Calor
- Ternpel1ltura de
",tomo

1,,,"",oL'",,, ,,, i l N-'-'->"-'-O-ir~ue-k";'ment'-.-'


-

No

Reset y Run

~riflqUe unida"'-'s

'-- lc::::c::::_._-----,
__
_ __ I

POI lipo de cOlumna::::J

VeoifiQue por conniclQentre


especificaciones

-f

_L
1_-

Reset y Run

",

nn"

i,

Colum~s s ' j

conde'lSador

--=r.

EspedflQl'e no
mas de 2 "'-' los
siguienles e'l un
r:ondensooor'
- Tempefalura
, Flujo de vapor
Flujo de Ilqutde>

__--.J

Use COOderlSlldof
lotel e> una
eSf"'cifir:aci6n de
Hujode ..epor por
cebeza nulo_

...J

l,

e,,,,,
~""
la al,mentaci6n
de la etap" 1

IL

Absorbedoras sin
retKJiler

IL . I I

Flujo de ""por
por <:abEz"debe
se' mayor 'lJe el

CoO'';''
",
reboiler

, Tempereiura de
foodo "'-'bE!ier
rna,or que I"
temperatura "'-'
alimenlacl6n

..--.J

Temperat",,, de
fondo debe See
moyOl que la de
a1imentacion

-r

C~umnas de
deSlilaciOn

Absorbedoras S
retKJiler

No especilique el
,calordefoodoy ,
' caudill de Iof'"
slrnuMneamente

_J

rerroaranna dl
fondo debe Se'
moyOl que la dl
a1imentacion

U
I

~----~

Cambia de Unidades en HYSYS 1

Cambia de Unidades en HYSYS


Todas las opciones de cambio de preferencias en HYSYS se encuentran bajo el menu Tools /
Preferences. Una vez ingresado a este menu aparece la pantalla siguiente:

. n Session Preferences (HYSYS PRFJ

R"I!lEl

Una vez que se ingresa a esta pantalla, para cambiar el sistema de unidades, se pasa a la hoja
Variables / Units. En esta paqina aparecen tres sistemas de unidades por defecto: Field, SI y EuroSI.
Estos sistemas de unidades par defecto no pueden ser cambiadas.

Cambia de unidades en HY$Y$ 2

Para poder generar un sistema de unidades modificado, seleccionamos uno de estos tres sistemas
(el mas similar al sistema que deseamos crear) y seleccionamos el bot6n Clone. Automaticamente
se genera un sistema de unidades copia del anterior, lIamado inicialmente New User. Una vez
generado este sistema se puede modificar su nombre en la celda Unit Set Name.
Para modificar las unidades se debe ubiear la unidad correspondiente y seleeeionar la nueva del
menu desplegable de la barra de ediei6n. En easa que la unidad deseada no este dispanible se
puede agregar una conversion de unidades seleccionando el baton Add ....
,.; Session Pseferenees (HY5YS PAr)

1!!1iIi3

Cambia de Unidades en HYSYS 3

'..: Session Preferences (HYSYS.PRF)

II!!!I~

EJ

Los sistemas de unidades pueden ser grabados en el disco presionando el bot6n Save Preference
Set, Para traer un sistema de unidades previa mente grabado en el disco se utiliza e) boton Load
Preference Set.

Uso del Spreadsheet (PlanHla de C.:ilculo) 1

Uso delSpreadsheet (Planilla de Cekulo)


EI objetivo de este ejemplo introducir al usuario a la aplicaci6n de la operaci6n Spreadsheet al
calculo de variables de proceso. La operaci6n Spreadsheet es una de las herramientas mas
poderasas de HYSYS. Mediante ella se pueden:

>-

Importar variables de proceso de la simulaci6n al spreadsheet.

>-

Evaluar expresiones aritmeticas (incluyendo expresiones 16gicas)

J- Exportar resultados de f6rmulas del Spreadsheet ala simulaci6n.

Construcci6n del caso:

>>-

Seleccionar (6 como unico componente. Ecuaci6n de estado Peng-Robinson.


En la sirnulacion. especificar 40 O( Y 10 bar a una corriente "entrada", la composici6n es (6
pure. EI flujo volurnetrico es 15 m3/h.

>-

Instalar una valvula. La corriente "entrada" como alimentaci6n y una corriente "salida" a la
salida. En la hoja "Parameters" dejar vacia (empty) la

caida de presion.

Calculo de la perdid de carga en la valvula en funci6n del flujo


Para un hquido que no experimenta cam bios de fase, podemos relacionar la catda de presi6n en la
valvula con el flujo volurnetrico, la gravedad especifica y el Cv de la valvula con la siguiente

expresi6n:

F ~ Cv* JI'J'/sG
Dande:

J- F es el flujo en USGPM (galones americanas por minuto)


J- eves un parametra de la valvula, data del fabricante.
J- LlPesla caida de presion en la valvula, en pSI.
}>

SG es la gravedad especifica.

Usa del Spreadsheet (Planllla de Cafculol 2

Construcci6n del Spreadsheet:


EJ paso siguiente en el procedimiento esla introducci6n de esta f6rmula en la simulaci6n.
l> Generar una operaci6n Spreadsheet mediante doble click con el bot6n izquierdo del mouse
sabre el tcono correspondiente de la paleta de operaciones.
l> Importar las variables de proceso deseadas (FluiO Voiurnetrico y Densidad de la corriente). Esto
se logra tomando posicion sabre una celda de la hOla "Spreadsheet" y presionando el bot6n
derecho del mouse. Aparece entonces la opci6n "Import Variable".

>- Gravedad espedfica: como la densidad de la corriente relativa al agua no es una propiedad
calculada par HYSYS, se puede importar la densidad, introducir en otra celda la densidad de
referencia (1000 kg/m3) y calcular la gravedad especifica en otra celda can una f6rmula. La
f6rmula se introduce escribiendo un sfmbolo "w" al comienzo (par ejemplo en este caso
+b2/b3 calcula la gravedad especifica.

>-

Como paso siguiente se introduce otra celda can el para metro Cv, que tomamos can valor
inicial 7 (data del fabricante).

>-

Como paso siguiente se introduce otra celda can el para metro Cv, que tomamos con valor
inicial 7 (dato del frlhrirrlntp)

usc del Spreadsheet (Planilla de GiJculo) 3

y En la celda restante, introducimos la expresi6n despejada de la cafda de presion en funci6n del


resto de las variables, donde P2 es la presion de salida y PI es la presion de entrada.

P2 Pl-SG{::J
=

EI aspeeto final de la plan ilia es como sigue:

,-

Usa del Spreadsheet (Planflla de

C~lcula)

Esta ecuaci6n no suministra resultados validos si las unidades no son las que indicabamos al
comienzo, para cambiar las unidades de cakulo debemas especificar un sistema de unidades
compatible y especificarlo como el sistema de unidades del spreadsheet en la hoja parameters.
EI sistema de unidades que especificamos es en base a las unidades Field, con la adici6n de
USGPM para flujo volumetrico. Una vez especificado este sistema de unidades se 10 asocia con el
spreadsheet en la hoja Parameters.
La presion de salida resultante es de 6.044 bar (876558 PSI a en el spreadsheet). Tal como se ve
en la pantalia siguiente se puede emplear un sistema de unidades local en el spreadsheet,
totalmente independiente del de la simulaci6n principal.

REIO Vapour Pressure


HY51M and Realitij
Dain Stone, Process Solutions Pty Ltd

Introduction
RVP measurements of liquid samples are of key importance to the oil and gas processing industries. HYSIM will automatically calculate the RVP for a given composition via the
Print Stream Cold Properties option (the same method is used when an RVP specification is
used in a Column). In addition, there is a Calculator Operation. RVP.hco, which also calculates the RVP for a mixture. This Technical Update illustrates a further approach, whereby a
flowsheet is built which 'mimics' the ASTM method. The three approaches, HYSIM 4: 1
method, RVP.hco and the 'Air' simulation method were used and compared with actual RVP
measurements on a variety of condensate and oil samples. The results, which are detailed
below, indicate that all methods available predict RVP to an acceptable degree of accuracy.

Rigorous (Air) Simulation Method


The "rigorous" method
for predicting RVP models
the steps of the test procedure to obtain an RVP. Air
(78.5 mole% nitrogen, 21.5
mole % 02) is used in the
model. A sketch of the
model is shown above. The
steps in the HYSIM-Air
method are as follows:
L The Temperature and Pressure of streams Feed and
SaCAir are both set at O~ C and 1 atmosphere. The
Flow of SaCAir is ADJUSTED until the Flow of
Excess_Air is 0.001, ensuring the sample stream
(Feed) is saturated with air (stream SatFeed).
2. The Flowef stream SatPeedt is ADJUSTED until
the votume.Ptowci SatPeedj is 20 units.
3. Stream Air (78.5 N2 and 21.5 02 mole %) is specified at 100 P and 1 atmosphere. Its Flow is
ADJUSTED until it has a Volume_Flow of 80 units.
4. Streams Air and SacFeedl are mixed in a MOLE
BALANCE (4:1 ratio). The temperature of the product stream (RVP_Stream) is specified as 100 F.
5. A second MOLE BALANCE (Bal2) is used to create
stream RVP_Press.
6. Using a SET; Pressure of RVP~Press = I
RVP_Stream - 14.7 psia. This deducts the contribution of the Air to the pressure of RVP_Press.
7. An ADJUST is used to vary the pressure of
RVP_Stream until the Volume_Flow of
RVP_Stream is 100 units.
8. The calculated pressure of RVP_Press is the
required RVP

RVP_Stream - 14.7 psia. This deducts the contribution of the Air to the pressure of RVP_Press.
7. An ADJUST is used to vary the pressure of
RVP_Stream until the Volume_Flow of

AS1M TestMethod
The test procedure for Reid vapour Pressure measurement is
detailed in ASTM test method D323 - 1994. In simplistic terms, the
procedure is as follows:
1. The test apparatus consists of two cylindrical chambers ~ a liquid chamber and a vapour chamber. The volumetric ratio of the
vapour to liquid chambers is in the range 3.6:1 to 4.2:I. The two
are connected via couplings at the bottom oCthe vapour chamber and the top of the liquid chamber.
2. A pressure gauge is connected to the top of the vapour chamber.
3. The vapour chamber is filled with air (atmospheric pressure) and
heated in a water bath to 100 E
4. The liquid sample is cooled to 0 - 1 C, then contacted with air to
ensure air saturation of the sample (Saturation with air is not
performed on samples with high RVP's > 180 kpa).
5. The liquid chamber is filled with the liquid sample, chilled to 01 C. Filling of samples with high RVP (> 180 kPa) is performed
under pressure.
6. The fWO chambers are then connected. The apparatus is inverted, and vigorously shaken eight times to ensure mixingof the
liquid and air, It is then placed in the 100 F water bath.
7. The apparatus is then left in the water bath for 5 minutes. The
procedure uf shaking and heating in the water bath repeated at
least five times, until a constant pressure is reached.
8. Atmospheric pressure is deducted from the pressure reading, and
the result is the Reid Vapour Pressure of the sample, in absolute
pressure. (Thus if the recorded pressure if 100 kpag. then the RVP
L - is lOG kPa (absolute).
_

The fWO chambers are then connected. The apparatus is inverted, and vigorously shaken eight times to ensure mixingof the
liquid and air. It is then placed in the 100 F water bath.
7. The apparatus is then left in the water bath for 5 minutes. The
6.

The RVP test procedure allows a volume ratio in


the range 3.8:1 to 4: l . Ideally, the volume ratio of the
test equipment used in RVPmeasurement should be
used [0 simulate the tests, but this is generally not
possible. since the volume ratio is not quoted on test
results. In fact, the variation in volume ratio has little
impact on results, as can be seen by comparing
results obtained by using the HYSIM air method, and
different volume ratios.

Method

Volume Ratio

RVP (kPa)

Sample 1

41.8

HYSIM air method


HYSIM air method
HYSIM air method
HYSJM RVP.HCO
HYSIM AVP.HCO
HYSIM RVP.HCO

40.37
40.29
40.22

3.8:1
4.0:1

4.2:1
3.8:1
4.0:1
4.2:1

40.30

40.23
40.17

Volume Rario modified frOm default 4.0:1

Data Comparison
Comparisons have been made between available test data and HYSIM predicted results, as follows
Sample Description
Sample 1
Sample 2
Sample 3
Sample 4
Sample 5
Sample 6
Sample 7
Sample 8
Sample 9

Condensate (Indian Ocean)


Condensate (Indian Ocean)
C5 - 70 naphtha cut from 1
70 - 100 naphtha cut from 1
C5 - 70 naphtha cut from 2
Condensate (Pacific Ocean)
Crude (Indian Ocean)
C5 - 70 naphtha cut from 7
70 - 100 naphtha cut from 7

Measured
RVP (kPa)
41.8
72.0
108.9
20.7
119.5
84.0
24.5
94.5
24.2

HYSIM "air"
RVP (kPa)
% Diff
-3.59
40.3
67.3
-6.53
110.0
1.01
22.6
9.18
123.0
2.93
81.6
-2.86
-3.27
23.7
-6.67
88.2
10.74
26.8

Conclusions
During the actual ASTM test, 4 volumes of air at 100F and I atmosphere
are mixed with one volume of air-saturated sample. and the mixture temperature is reheated to 100 E Atmospheric pressure is then deducted from the [est
pressure to give RVP
Ignoring minor variations in air volume during the test due to absorption
into the liquid sample as the temperature increases from initial sample temperature to 100 F, the partial pressure of the air in the test equipment remains
at 1 atmosphere. If the air could then be physically removed to reflect the
deduction of one atmosphere from the test results, the pressure would fall to
meet constant volume conditions. The vapour volume would contain only
vapour in equilibrium with the test sample. The test sample volume would
drop slightly due to vaporization, but the vapour to liquid volume ratio would
be approximately four. As we have seen. the RVP value is largely insensitive to
an exact volume ratio. and so the assumption that the ratio remains at 4 after
the hypothetical removal of air is acceptable.
The 4:l method can therefore be justified when considered in terms of the
test procedure, and regarded as a rigorous method rather than a convenient
short cut method. This is borne out by comparison of test results versus simulation results, as has been illustrated.
Based on the above, it can be concluded that it is possible to simulate
RVP tests to an acceptable level of accuracy. This can he done via the development of a rigorous simulation model (the "Air" method) duplicating the steps
of the test procedure. Alternatively, a calculation procedure (the HY$IM4:1
method) which conceptually mirrors the test procedure can be used. The "air"
method appears to give slightly better matches with test data than the 4:1
method, however the improvements are insignificant and the 4:1 method is
preferred for its ease of use.

HYSIM
RVP (kPa)
40.2
67.8
112.0
22.4
125.4
82.7
23.4
89.6
26.7

4:1
Diff
-3.83
-5.83
2.85
8.21
4.94
-1.55
-4.49
-5.19
10.33

HYS1M 4:1 method


This is the internal method used
by HYSIM to calculate RVP.
1. The stream temperature Is set
to 100 F, and the pressure of the
stream varied until the volumetric ratio of vapour to liquid in
the stream is 4:1. A variation of
the method Is seen in the
HYSIM calculator program
RVP.HCO.
2. The two methods (HYSIM internal and RVP.HCO) differ slightly
in their results. The HYSIM
internal method uses a virial
equation for volume calculations. whilst RVPHCO uses the
results ofHYSIM flash calculations with the user selected
property package. The differences between the two methods
are small in terms of RVP.
3. On occasion, (particularly for
high RVP streams) the volume
ratio obtained using the HYSIM
internal method may appear to
be different from 4;1. however
as can be seen here. this is relatively unimportant in predicting
the "correct" RVPvalue.

Uso de las Macros de Hysys 1

Uso de las Macros de HYSYS


Descripci6n genera!.'

los programas de macros de HYSYS son utilitarios creados usando un editor de


lenguaje Basic instalado en HYSYS. Este editor se encuentra en el menu Tools I
Macro language Editor. los archivos que son ejecutables de esta manera son
siempre para ejecutar desde dentro de un caso de HYSYS y se reconocen par su
extensi6n .wwb (Win Wrap Basic).
Modo de uso:

:> Para ejecutar los programas descriptos a continuaci6n se debe proceder de la


siguiente manera:

J- Entrar a un caso de HYSYS.


J- Ir al menu Tools IMacro Language Editor
J- Can File Open cargar el archivo .wwb que se desee. En este punto puede
examinarse el c6digo del programa en la ventana que aparece del editor de
Basic.

:> Para ejecutarlo hacer Run

>-

Nota: pueden cargarse varios programas de macros en la misma sesi6n de


HYSYS.

Descripci6n de /05 programas


MACH: Calculo del ntJmero de Mach para una corriente.

'> Objetivo del programa: calcuJar el nurnero de mach para una corriente de
una simulaci6n, para un rango de diarnetros de tuberia. En todos los casos se
calcula el numero de mach para una velocidad MEDIA dentro de la tuberla.
No se intenta calcular el perfil de velac/dades dentro de las tuberlas ni la
velocidad maxima resultante.

>-

Utilizaci6n: se carga y ejecuta el archivo mach.vvwb en una simulaci6n. Se


selecciona la corriente para la cual se desean efectuar los cakulos. Debe ser
una corriente rnonotaska. Una vez seleccionada la corriente, se calcula
automaticamente el nurnero de Mach para una gama de diarnetros de
tuberfa (entre 2 y 16 pulgadas) est como la velocldad del son/do en esas
condiciones en ftls.

HEA TlNG2: CJlculo de poder calorlflco de mezdas de Hldrocarburos.


J- Objetivo del programa: este programa calcula el poder calorlfico de
corrientes dentro de la simulaci6n utilizando las tabfas del NGPSA.

Usa de las Macros de Hysys 2

;.. UtiJizaci6n: se carga y ejecuta el archivo Heating2.wwb en una simulaci6n


siguiendo las instrucciones dadas anteriormente. A la izquierda aparece una
lista de las corrientes instaladas en la simulaci6n activa. Al seleccionar una de
las corrientes se calcula automflticamente los valores de poderes calorfficos
en Btu/ft3 y Kcal/m3 para ambas corrientes. 51 hay componentes no incluidos

en las tablas, su poder calorifico se considera como nuJo y aparecen listados


en una tabla en la parte inferior de la pantalla.
"

Nota: existe la posibilidad de modificar las unidades de presentacion de las


celdas donde aparece el poder calorlfico en Kcal/m3. Para hacer esto se debe

cambiar el valor de UnitConv. Esta variable contiene el valor del factor de


conversion entre los Btu/ft3 y la unidad deseada. Tambien se debe cambiar el
contenido del string UnitName que indica la unidad presentada en la

pantalla. Para efectuar esta modificaci6n se puede editar el archive


heating2.vvvvb con un editor de texto 0 con la pantalla del editor de macros

de HYSYS. Ambas variables se encuentran definidas en la subrutina con


titulo "Public Sub Main" y pueden modificarse alii.

GPM: Cekulo de los flujos de condensables en una corriente


"

Objetivo del programa: calcular los GPM totales de condensables presentes

en una corriente ceterrninada. Tarnbien surninistra los valores de los flujos


parciales de cada tipo de condensable presente en la mezda
"

Utilizacion: acceder al editor de macros de HYSYS de la forma detallada al


principio, cargar GPM.WWB y ejecutarlo. EI programa solicita que se Ie
defina (de un menu) la corriente para la cual se quieren calcular los GPM.

HYPODATA: Impresion de datos de los hipoteticos presentes en el caso.

>-

Objetivo: esta macro imprime todos los datos de los compuestos hipoteticos

del caso activo,


"

Utilizacion: acceder al editor de macros de HYSYS de la forma detallada al


principio, cargar HYPODATA.WWB. Antes de ejecutarlo se debe ir al menu
View y seleccionar "Always Split'. Esto presenta la pantalla Inmediate del

editor de macros. A diferencia de otras macros, este programa imprirne a la


pantalla inmediate del editor de macros, no a una pantalla especial. En el

momenta que el programa se ejecuta, presenta toda la informaci6n de los


hipoteticos en la pantalla Inmediate.

WATER: Contenido de agua de una coniente de gas en Iblmmsd.


).>-

Objetivo: esta macro calcula el contenido de agua en una corriente de la


simuaci6n en la que se encuentra en las unidades de Ib de H20 par mmscf
de gas.

"

Utilizacion: acceder al editor de macros de HYSYS de la forma detallada al

principia, cargar WATER.WWB. A continuaci6n se debe seleccionar la


corriente para la cual se desea conocer el contenido de agua.

srmuacion en la que se encuentra en las unidades de Ib de H20 par mmscf


de gas.
"

Utilizacion: acceder al editor de macros de HYSYS de la forma detallada al

Uso de las Macros de Hysys 3

STOKES: Velocidad terminal de una gota de Ilquido


~

Objetivo: esta macro calcula la velocidad terminal de una gota esferica de


diarnetro dado utilizando las formulas de Stokes y de Newton.

Utllizaci6n: acceder al editor de macros de HYSYS de la forma detallada al


principia y cargar STOKES.WWB. A continuaci6n se debe seleccionar el
separador para el cual se desea realizar el calculo. Luego se debe ingresar el
diarnetro de gota para el cual se desea realizar el cakulo,

SA TURATE: seturedon de una corriente con agua

>-

Objetivo: esta macro satura una corriente con agua.

Utilizaci6n: acceder al editor de macros de HYSYS de la forma detallada al


principia y cargar SATURATE.WWB. A continuaci6n se debe seleccionar la
corriente que se desea saturar.

Nota 1: el agua debe estar seleccionada como componente para que


funcione el programa.

>- Nota 2: la corriente a saturar debe tener su


usuario (no puede estar calculada).

composkion especif1cada par el

Uso de las operaciones de usuario en HYSYS


Descripcion de las operaciones de usuario:
Las operaciones unitarias de usuario de HYSYS son operaciones creadas
con un lenguaje de programaci6n (como ser Visual Basic, Visual C, C++).
Estas operaciones S8 registran para su usa en HYSYS y aparecen en el
menu de operaciones de HYSYS. Todas elias S6 pueden encontrar en el
menu Simulation! Add Operation. Aparecen en la lista de operaciones, si se
desea S8 puede ver todas las operaciones unitarias de usuario en este menu
seleccionando el filtro "extensions" para ver solamente las que son
extensiones.
Como registrar una operaci6n de usuario?

Para registrar las operaciones unitarias de usuario S8 debe proceder de la


siguiente manera:

>-

Copiar los archivos de la operaci6n a un directorio. Observara que uno de los


archlvos es de extensi6n .dll,

'" Entrar en HYSYS


;;:. Ir a Tools ... Preferences ... Extensions. Dentm de esta pantalla tencra una lista
de las extensiones de operaci6n . Para registrar la nueva operaci6n se debe
presionar el boton "Register an Extension". Luego de esto se debe indicar la
ubicaci6n del archivo .dll que contiene el c6digo de la extensi6n.
;;:. Una vez registrada la extension aparece un mensaje informando si se pudo
registrar exitosamente la extensi6n.

Descripcion de los programas:


SA TURA TE: satura can agua una corriente de gas.

Archivos necesarios: requiere los archivos Saturate.dll, Saturate.edf,


regextn.exe, register.bat y tarnblen requiere tener el archivo Vb40032.dll en
el directorio de sistemas de Windows.

Prueba de tuncionamiento: este programa tue probado en HYSYS 2.1.1 build

3198.

>-

Objetivo del programa: esta operacicn satura una corriente con agua.
Tarnbien genera una corriente de agua con la cantidad de agua necesarta
para efectuar la saturacion.

>-

UtHizaci6n:

S8

instala la operacion y

S8

selecciona la corriente de

alimentaci6n, la corrienta de salida y una corriente de agua. No S8 debe


especificar la composici6n, temperatura 0 presion de la corrienta de agua. La
temperatura y presi6n de las corrienles de saiida (saturada) y ia de agua son
asignadas como iguales a la de la corriente de entrada y especificadas par la
operaclon,

>-

En la hoja parameters pueden especificarse distintos parametres adlclonales,


como ser la humedad relativa. Con esto se puede usar la operacion como un
humidificador sin lIegar a la saturacion can agua. Tambien calcula el
contenido de agua de la corriente en condiciones nonnales y estandar y en
distintas unidades.

REALSEP: Separador "Real"

Objelivo del programa: slmular ei comportamlenlo de un separador real

Utilizaci6n sa instala la operaci6n Real Separator del menu de


operaciones de HYSYS. Se definen las corrientes de entrada, salida de
vapor, liquido (hidrocarburo) y Iiquido acuoso. En la hoja Parameters se
puede definir una perdida de presi6n a la entrada, una perdlda de presion
para la corriente de gas (simulando el etecto del demister). los
porcentajes molares de arrastre de Iiquidos en el vapor y de agua en el
hidrocarburo y viceversa.

EJECTOR: Eyeetor de vapor

Objetivo del prograrna: simular el etecto de un eyeetor de vapor. La


operaci6n calcula el flujo de vapor (dadas sus condiciones) si sa
suministra las condiciones de entrada y la presion de salida del eyector.
Tamoien calcula la presi6n de alimenlaci6n dado el flujo de vapor y la
presi6n de salida y viceversa (presi6n de salida con el flujo de vapor y la
presion de entrada).

_.

"-J-

~~

.'-',.... ... ,

\'"' ....... """"

""u.::>

,-,UIIUIl..IUIIt:::;j

::;1

::;I:l

suminlstra las condiciones de entrada y la presion de salida del eyector.


Tamoien calcula la presi6n de alimenlaci6n dado el flujo de vapor y la
presi6n de salida y viceversa (presi6n de salida con el flujo de vapor y la

Utlllzacion: instalar la operacion Steam Ejector del menu de aperacianes


de HYSYS. EI agua debe estar definida como campanente. La carriente
de agua debe tener su cornposlcton, temperatura y presion definldas.

Nota 1: esta operacion esta basad a puramente en


terrnodinarnicos. No efectua un disefio mecanico del eyector.

balances

Gas Properties: Propiedades de una corrtente de gas.


~

Archivos
requeridos:
gasprops.edf,
gapspraps.dll,
regextn.bat,
register.exe. msvbm50.dll debe estar en el directorio de sistemas de
windows.
Prueba de funcianamienta: funcianan en HYSYS.Pracess 2.1,1 build

3198.
~

Objetiva del pragrama: calcular distintas propiedades de utilidad de una


corriente de gas. Entre elias S8 cuentan

Poder calorlflco inferior y superior.

indice Wobbe (par ISO 6976)

Punta de rocio de agua y de hidrocarburo de una corrlente.

Contenido de agua de una corriente.

Cp molar y mastco, Cv "semi-ideal" (caiculada de la formula


Cv=Cp-R) y Cv riguroso, con sus valores correspondientes de
Cp/Cv.

Ver el archive gasprops.txt para mas detalles sabre los modos


de calcuto

Utlllzaclon: Instale la operacion unltaria hacienda Flawsheet I Add


Operation y seleccionancto "Gas Properties" de la secci6n "Extensions"

>-

Nota: los valores calculados pueden ser utilizados como variables de una
operacicn ADJUST.

MACH No Calculator: Calculo del namero de mach para una corriente


segmento de una operaci6n Pipe Segment

un

Archivas: mach.edf, mach.dU, requiere tener el msvbvmSO.dU en ei


directorio de sistemas de windows.

Prueba de funcianamienta: funcianan en HYSYS.Process 2.1.1 build 3198

Objetiva del pragrama: calcular el nurnero de mach de ias segmentas de un


pipe segment 0 de una corriente.

}i>-

Utilizaci6n: Agregue Ia operaci6n unitaria hacienda Flowsheet I Add


Operation y seleccionando Mach No. calculator de la secci6n de
"Extensions",

Para calcular los nurneros de Mach para todos los sub segmentos de todos
los Pipe Segments de la simulaci6n presione el bot6n "Calculate Mach
Numbers" en la hoja "Pipe Segments". Los datos que aparecen pueden ser
copiados como texto 0 en un formate que puede ser copiado a planillas de
calculo, Las unidades del reporte pueden ser cambiadas en la hoja "Options".

Nota Importante: la velocidad del sonido es calculada a las condiciones de


ENTRADA en la tuberla, las condiciones de P y T van a variar luego a 10
largo de la misma.

Para calcular el numero de Mach para una corriente dada, ir a la hoja


Streams. Seleccionar la corriente del menu. Si la corriente requerida no S8
muestra en el menu, asequrese de tener seleccionada la opcion "Multiple
Stream Connections" de la hoia "Simulation" del menu de preferencias de

HYSYS.
y Si la opci6n "Get diameter from connected Pipe Segments" se encuentra
habilitada, la operaci6n intenta tamar los datos de diarnetro de los pipe
segments conectactos. Si S8 encuentra alguno, S8 toma su diarnetro y el
nombre de la operaci6n. Alternativamente puede especificarse el dlarnetro a
mana. Con asta opci6n pueden calcularse los nurneros de Mach de la
SALIDA de un pipe segment.
y

Nota: se toma la velocidad MEDIA para el calculo del nurnero de Mach. La


velocidad en el centra de la tuberla es mayor. Ver mach.txt para mas detalles
sabre los rnetodos de calculo utilizados

WELLHEAD: representacion de la curva Presion vs Flujo de una cabeza de


pozo.
y

Archivos: requiere los archivos fwhp.edf, fwhp.dll,


msvbvm50.dll en el direc!orio de sistemas de windows.

requiere tener el

Y Objetivo del pragrama: representar el comportamiento (en presi6n vs flujo) de


una cabeza de pozo.

Y Utilizaci6n: Agregue la operaci6n unitaria hacienda Flowsheet I Add


Operation y seleccionando Well Head PO Relationship de la secci6n
"Extensions".
Y Ingrese los datos de flujo (volurnetrico - tipo "liquid volume flow" unicarnente)
contra presion en la hoja PO relationship. Los puntas datos y la curva
calculada para regresionarlos se puede observer en forma grafica
seleccionando la opci6n "plot".
Y Conectar la operaci6n a corrientes de entrada y salida en la hoja
"connections". Si sa conoce la presi6n, tanto de la corriente producto como
de la corriente de alimentaci6n, S8 calcuta el flujo. Si S8 conoce el f1ujo (sea
de la alimentaci6n 0 el producto), la operacion calcula la presion.
~

Si S8 canace tanto la presion como el f1ujo, no S8 etectua ninqun calculo.

BP Curves: curvas de destllaci6n de varias corrientes

Archivos: este programa requiere la presencia de los archivos bpcurves.edf,


bpcurves.dll, bpcurve.dll. Tambien requiere tener el archivo msvbrm50.dll en

el directorio de sistemas de windows. EI archivo bpcurves.txt contiene mas


detalles sobre el funcionamiento del utilitario.

' Prueba de funcionamiento: funciona en HYSYS.Process 2.1.1 build 3198.

>

Objetivo del programa: representar en forma grafica las curvas de destilaci6n

de distintas corrientes de la simulaci6n.

>

Utilizaci6n: seleccione la corriente haciendo Flowsheet / Add Operation y


seleccionando BP curve plotter.

>

Se puede seleccionar el tipo de ensayo que se desea graficar (TBP, 086,


etc..)

>-

Se puede seleccionar la opcion "multiple streams". en cuyo caso todos los


ensayos cubren todo el ancho del plot (de 0 a 100 %).

>-

Se puede tarnbien seleccionar una opcion "composite" en la cual una


corriente cubre todo el ancho del plot y las corrientes secundarlas

especificadas "sub streams" se grafican en el plot en en forma sucesiva


dependiendo de su punta de ebulllci6n.

Equilibrium Plots: curvas de equllbrio XY, TXY, PXY, equilibrio IIquidoI/quido y equilibrio IIquido-vapor de componentes.

>-

Archivos: este programa actualiza en la instalacicn los archivos de OLE y


neceslta el run time library de visual basic 6.0. La instalaci6n se efectua
automatlcamente. Una vez hecho esto se debe registrar ta .dlJ
correspondiente desde HYSYS como se indica al principia. Eqplats.dll,
Eqplats.edf

>

Prueba de funclonamienta: funciana en HYSYS.Process 2.1.1 build 3198

>

Objetivo del programa: representar las curvas XY, TXY, PXY y de equilibria
IIquido-liquida y equilibria IIquido-vapor de los campanentes.

>

Se deben seleccionar los companentes de la lista de componentes

disponibles y seleccionar add components para los componentes que se


desean agregar.

>

Una vez hecho esto se debe seleccionar el tipo de grafico que se desea
reallzar (XY, TXY, PXY). EI tipa de datos, presi6n, temperatura 0 temperatura
o presion varia sequn el tipo del grMico. Presionar el boton Plot cuando se
encuentre toda listo. Presianando View Table se pueden ver los resultados
en forma tabular.

..., 1-""".0>,"""

va,'Cl ':"::;;~U"

O::::l

ut-Jv UO::::I tjldlllVU. r-i esrouet ~I UULun 1""'101

cuanoo se

encuentre toda listo. Presianando View Table se pueden ver los resultados
en forma tabular.

Crystallizer; cristalizador adiabatico. Modela sistemas de cristalizaci6n


adiaMticos en equilibria par conversion del soluto a componentes
bipoteticos so/idos de acuerdo a curvas de solubilidad suministradas por
el usuario

Archivos necesarios: requiere el CrystallizerExtn.dll y CrystallizerExtn.edf. EI


registro de la .dll desde HYSYS se efectua como se refiere al principia.

Prueba de funcionamiento: funciona en HYSYS.Process 2.2.0 build 3797

Objetivo del progama. Se puede utilizar este programa para representar


operaciones de cristaJizaci6n de equilibria adlabaticas. Funciona convirtiendo
un soluto en un hipotetico solido de acuerdo a curvas de solubilidad
suministradas par el usuario. Tarnbien se pueden ingresar multiples curvas
de solubilidad que varfan con la presencia y concentraci6n de un
componente modificador de la solubilidad. En eJ archivo se encuentra un
documento con una descripci6n mas detallada del funcionamiento del
utilitario.

Usc de Interfase Hysys con Excel 1

Uso de Interfase de HYSYS con Excel


Descripci6n de 105 programas externos:
HYSYS puede interactuar con programas externos generados en un lenguaje de
programaci6n compatible con OLE (como ser Visual Basic, Visual C, C++). Como
consecuencia tarnbien puede interactuar con planillas de Excel, que admiten
programaci6n en Visual Basic for Applications (VBA). Estos utilitarios cumplen
distintas funciones, como ser generar archivos de entrada de datos, copier una
corriente de un caso en otro casa, etc
Para cada caso se especifica en terrninos generales el rnodod de funcionamiento
del programa y cualquier requisito especial necesar.o.

Descripci6n de los programas:


DEWPT.XLS: calculo de puntas de roclo.
Y Objetivo del proqrerne: esta planilla permite entrar una compasici6n, una
presion para el calculo y calcular el punta de roda en forma automatica sin
necesitar entrar en HYSYS explfcitamente.
.,. Utllizacion:

Cargar la composici6n (hasta C8) de las cornentes. En todas las ocasianes


DEBE esoecificarse un nombre (unlco) para la corriente.

Especificar la presion a la cual se desea calcular el punta de rocio de la


eorriente.

Preslonar el baton" Calcular T roclo'

Las valares de temperatura de racio aparecen abaja de las carrientes.

Nota: la plan ilia puede ser extendida hacia la derecha tanto como se
desee. Simplemenre deben lIenarse las celdas correspandientes.

HYSYS User Inputs 1. 1.xls: especificaciones de usuario en una simu/acidn:


l- Objetivo del programa traer a una planilla de excel los datos especificados por el
usuar:o en una simulaci6n
).- Utilizaci6n:

Abrir HYSYS Y cargar la sirnulacon deseada (esto debe ser hecho


explfcita mente)

Usa de Interiase Hysys can.Excel2

Abrir la planilla de excel.

Seleccionar el sistema de unidades (SI

Field) y que unidades de

composicio-r se desean leer (traccion mol, traction masa, etc. . .l.

Presionar el bot6n "Get HYSYS Input".

Una vez leida la informacion, aparece en las hojas siguientes. "Basis"


incluye la informacion del paquete de propiedades, "Stream Specs" de
las corrientes y "Operation Specs" de las operaciones.

Report.xls: traer informaci6n de operaciones mediante Excel

>-

Objetivo del programa: es traer mforrnaoon de las bombas y separadores de una


sirnulacion Esto es solamente un ejemplo practice de la forma como proceder.

No fue creado para generar reportes utiles de las operaocnes, Este programa se
suministra en el directorio \Extras en el CD de instalac'cn de HYSYS.

versiones en las que funciona: HYSYS 2.1.1 build 31 98 YExcel 97. Venficado el
13 de Octubre de 1999.

>-

Utilizacion:

Abrir la planilla de excel. Habilitar las macros si el programa 10


salicita.

Presionar el baton "Select a HYSYS case" y seleccionar un caso de

HYSYS

Presionar el boton "Get unit op list". Se presenta una lista de las


operaciones existentes en la hoja de excel.

Seleccionar la operaci6n deseada (de npo bomba


ahara).

Presianar el baton "Create report for selected objects" Con esto


se genera un informe para el objeto seleccionado.

flash tank par

Assey.xls: efectuar cekutos de assay de crudoy traer datos de caracterizaci6n de


crudo desde HYSYS desde y hacia Excel.

Objetivo del programa: es mostrar como se puede utilizar HYSYS (desde una
plan ilia de excel) para exportar datos de un crudo (completos, con light ends,
curva de densidad, viscosidades, etc. ..)

y traer nuevamente los datos completos

del assay calculado, de los blends y los breakdown de crudo sequn tipos de
producta. Esta plan ilia es unicamentc para demostraci6n de la forma de escribir
y leer datos de crudos a HYSYS y como utilizar el modulo de caracterizaci6n de
crudo en forma externa. Este programa se surninistra en el dlrectorio \Extras en
el CD de instalacio-r de HYSYS

curva de densidad, viscosidades, etc. ..)

y traer nuevamente los datos completos

del assay calculado, de los blends y los breakdown de crudo sequn tipos de
producta. Esta plan ilia es unicamentc para demostraci6n de la forma de escribir
II loor ~:ltr.<: ~o rrll~""''' " I-IVC::V';;: " r,...,,..,..,,..., ,,+ili7:H 01 mArl,.In rl,~ r-,'-,,-t,..,r;-.,...,,-,A .... ,-I,...,

Usc de Interfase Hysys con Excel 3

j>

versiones en las que funciona: HY5Y5 2.1.1 build 3198 y Excel 97. Verificado el
13 de Gctubre de 1999

>-

Utilizacion:

Abrir la plan ilia de Excel. Habilltar las macros SI el programa as! 10

solicita.

En la primera hoja se encuentran los datos de un assay de crudo


(TBP con li9ht ends). No se puede seleccionar el tipo de assay por
ahora. Tarnoien se especifican curvas de densidad, viscosidad,
etc ...

Ir a la hoja "Results-Blend", si hay resultados en la hoja, presionar


el bot6n "Clear Cells", para borrerlos. Luego presionar el bot6n
"Start Macro". No debe haber un caso de HYSYS abierto y HYSYS
debe estar cerrado al comenzar la eiecucion.

En la hoja Results podemos apreciar los resultados finales de la


curva cargada, convertida a 086 y a otros assays y los resultados
de los breakdowns de este crudo en distintos tipos de procesos
(columna atmosferica. vacio, fcc).

Untoplst.xls presenta una lista de lasoperaciones unitarias presentesen el caso de


HYSYS activo.

>-

Objetivo del proqrarne: generar una lista de las operaciones unitarias presentes
en un caso de HYSYS abierto. Este programa se suministra en el directorio
IExtras en el CD de instalaci6n de HY5Y5.

j>

versiones en las que func.ona: HYSYS 2.1.1 build 3198 y Excel 97 Verificado el
13 de Gctubre de 1999

>

Utilizacion:

Abrir la planilla de Excel. Habilitar las macros si el programa as! 10


solicita.

Presianar el baton "unit operation list", que se encuentra en la


primera hoja de la planitla de excel.

Aparece un menu donde se selecciona el

EI programa presenta una lista de las operaciones unitarias


disponibles en el caso abierto

casa que

se desea abrir.

MB-TableB.xlt permite traer datos de las corrientes a una plani/la de excel

>-

Objetivo del programa: traer datos de las corrientes de un caso de HYSYS a una
planrlla de excel.

>

Versiones en las que funciona. HYSYS 2 1.1 build 3198 y Excel 97 Venficado el
28 de octubre de 1999

Usa de Interfase Hysys con Excel 4

Y Utilizaci6n.

Abrir la plan ilia de Excel. Habilitar el usa de las macros si el


programa asf 10 solicita.

SI el caso de HYSYS deseado se encuentra abierto. deje el baton


de radio "Select a HYSYS Case" en la opcion "Use Active Case",
de 10 contrario seleccione "Open Case" para abrir un caso de
HYSYS. En este caso supondremos que se desea abrir el caso de

HYSYS

Presione el boton "Browse" y seleccione el caso de HYSYS que


desea rmportar a Excel. Una vez seleccionado el caso habilite el

check box "GO" para cargar el case. HYSYS carga


autornatlcsmente el caso.

Vaya a la hoja "Mass Balance Tables" y seleccione la variable que


quiere traer de la simulaci6n de los menus descolgables que

aparecen en las celdas de la columna B de la plan ilia de cakulo (el


menu descolgable 5010 aparece si se hace click sabre la celda).

Una vez seleccionada la variable haga "Run" y fa planilla trae 105


datos de la simulaci6n seleccionada.

Monitor-Tower-vsl.xls: esta planilla permite comparar los datos de una corrida


dmsmk de una columna de destiisoon con los datos grabados de una corrida en
estado estacionario. -Automaticamente todos los datos de la columna son

transfendos a una operaci6n spreadsheet


);;- Objetivo del programa: traer automaticarnente los para metros clave de una
corrida de columna en estado estacionario a una operaci6n spreadsheet con el
objetivo de copiarlos y compararlos con los resultados de una corrida dinamica
" Versiones en las que tunciona: HYSYS.Plant 2.1 1 build 3198 veriticado ell? de
Diciernbre de 1999.
>- Utilizaci6n:
Cargar un caso con una columna de destilaci6n en HYSYS (esta
planilla sirve fundamentalmente para corridas d.narrucas de la

columna)

Cargar la planilla de cakulo Monitor-Tower.xls. Ignorar el mensaje


advirtiendo sabre las macros (la plan ilia contiene macros).
Presianar el bat6n "Retrieve Column data from HYSYS". Una vez
hecho esto, aparece una lista de las columnas disponibles en
HYSYS. Seleccionar la que se desea importar y de la lista.
Incorporarla a la lista de la derecha can el baton CHOOSE (0 todas

can el baton CHOOSE ALL.

Hecho esto aparece una Iista de las variables que se van a


importar. En caso de no desear incuir alguna, efirrunarla de la llsta.

Ir ala hoja GO de la plan ilia de excel.

~_ Use de Interfase Hysy~ cen Exc~1 ~

Presionar eI boton "Send spreadsheet to HYSYS". En el menu que


aparece a continuaci6n, seleccionar la columna que se desea
exportar. Hecho esto, se genera automMicamente una operacicn
spreadsheet con tad os los datos de la columna.
En este momento los datos aetuales de la columna pueden
eopiarse a la columna de allado con CTRL+C f CTRL+V y se puede
correr el caso de HYSYS dinarncarnente. Los valores en la columna
original se aetualizan automaticamente y se pueden comparar con
los valores de la columna copiada en su momenta.

StreamComparer_ "" I.x/s: permite traer gran cant/dad de datos de todas/as


cortientes de una simu/ad6n a una hoja de una p/ani//a excel. Fad/ita fa

comparaci6n de los casas de simulaciones distintas.

>-

>-

Objetivo del programa: trae automaticamente datos de todas las corrientes de


una si-nuladon cargada en HYSYS a una hoja de la planilla de excel. Permite
comparaci6n rapids de resultados entre distintas simulaciones.
Versiones en las que funciona: HYSYS.Proeess 2.1.1 build 3198 Verifieado el 17
de Diciembre de 1999.
Utilizaci6n:
Cargar un caso de HYSYS que se desea analizar.
Abrir la planilla de excel StreamCamparer_vs1.xls, ignorar la
advertencia sobre la presencia de macros (s: aparece) y presionar el
baton "Run".
Una vez hecho esto, el programa solicits el nombre de la hoja del
workbook don de se exportaran los datos. Par defecto el nombre
de la planilla se denomina "Results".
Presione OK y luego de unos sequndos se genera la hoja con toda
la informacion.
Observaciones: la cpcion de seleccionar las unidades se encuentra
desactivada en este momento.

StrmData.xls: permite traer informaci6n de las distintas corrientes de un csso.

>y

>-

Objetivo del programa: traer autornaticarnente los datos de todas las corrientes
de una sirnulacion cargada en HYSYS a una plan ilia excel. A diferencia de
StreamComparer_vs1.xls no permite cargar distintos casos en hojas distintas.
versiones en las que funelona: HYSYS.Process 2.1.1 build 3198 Verificado el 17
de Dieiembre de 1999.
Utilizacion:
Cargar un caso de HYSYS que se desee importar a excel.
Abrir la pJanilia strmdata.xls, ignorar fa advertencia sobre la
presencia de macros (si aparece) y presionar el baton "Run".
Una vez hecho esto, si se presion a el baton "Contact to HYSYS",
se trae toda la informaCion del caso abierto de HYSYS a la planilla
de excel.

c arqar un caso de HYSYS que se desee importar a excel.


Abrir la pJanilia strmdata.xls, ignorar fa advertencia sobre la
presencia de macros (si aparece) y presionar el baton "Run".

Una VP.7 hsr-ho p<;to <:.j ,1=1 nr~"inn.:::. c! hnt/m "ff"\nt:> ....+ +,...

LJVCVC"

Uso de Interfase Hysys c!?n Excel 6

Para ir a la informaci6n importada de excel, se debe Ir a la hoja


"Stream Data" 0 presionar el bot6n "View Stream Data".
5e puede seleccionar la unidad deseada de tipo 51 a Field
unicamente
EI boton "Clear Stream Data" borra los datos de las corrientes en
la hoja de resultados.

Data-Managec vs2. a.xls: esta es una planilla para campararpropiedades


termoffsicas de compuestos puros en un rango de temperatura y presion.

>-

Objetivo del programa: generar tablas de propiedades termoflsicas de


compuestos puros para una matriz de valores de temperatura y presi6n. Las
propiedades que se pueden tabular san la entalpia del vapor, la del liquido, el
Cp del vapor y el del ltquido. la densidad del Ilquido, la entropla tanto del vapor
como delliquida. Esta planilla se puede utilizar como una herramienta de
investigaci6n de los resultados de distintos paquetes de propiedades.
" Versiones en las que funciona: HY5Y5.Process 2.1.1 build 3198. Verrficado el 17
de Diciembre de 1999.
,. UtHizaci6n:
Cargar un caso de HYSYS que se desee investigar.
Abrir la planilla Data_Manager_vs2.0.xls, ignorar la advertencia
sobre la presencia de macros (si aparece) y seleccionar con los
check boxes las propiedades que se deseen tabular.
Seleccionar el rango de temperatura en el cual se desea trabajar,
esto se ingresa en el campo T-start. EI valor de temperatura inicial
seleccionado aquf es en grados C y no puede ser modificado. En el
campo a la derecha se debe ingresar el numero de pasos de
temperatura deseados y el incremento en cada paso.
Seleccionar el rango de presiones en el cual se desea trabajar, el
valor inicial de presiones es en bares y se ingresa en el campo
Inmediatamente inferior al de temperatura. En el campo a su
derecha se ingresa el nurnero de pasos de presion deseados y el
incremento en cada paso.
Presionar el baton "Get Data" para conseguir los resultados. Se
genera una nueva hoja por cada componente.
Si se desea generar una nueva corrida (par ejemplo con un
paquete de propiedades distinto) y compararla con la anterior se
debe habilitar el check box "append" y poner el nurr ero de
campos a la derecha que se desea correr los resultados (el defecto
es seis), Una vez hecho esto, presionar "Get Data" nuevamente,
con esto se ingresa la nueva columna de resultados en la posicion
inciada.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _-'u"s~ de lnteriase Hysys con Excel 7

BIP-Manager_V52-I.xls: Importa a Excel los datos de coeticientes binsrios de


interscaon del paquete de propiededes de la simulaci6n. Una vez en Excel, esos
coeficientes pueden variarse y actualizarse en Hysys sutometicemente.

>-

>-

Objetivo del Programa: Este programa permite editar y modificar los coefidentes
binarios de interaccion de todos los paquetes de propiedades presentes en una
simulaci6n desde una plan ilia de excel. Versiones en las que funciona: Funcrone
can la version 2.1.1 de Hysys (build 3198) y Excel 97. Verificado el 20 de
Diciernbre de 1999
Utilizaci6n:

Abrir un casa de Hysys e ir al " Simulation Basis Manager" (La


pantalla "Simulation Basis Manager" debe estar abierta para que
la conexi6n funcione correctamente.)
Abrir el archive de Excel "BIPManager_vs2-1.xls" posicionarse en
la pantalla "Go", EI bat6n "Notes" tiene informacion sabre el

programa. Reporta bugs conocidos. EI bot6n "Info" contiene una


util descripcion de la aplicaci6n del programa. EI baton "Sample"

Quia al usuario a traves de un ejemplo de aplicaci6n.


Presionando el bat6n "Retrieve Interaction - Data"

el programa

erea una ho)a de Excel para cada "Property Package" y trae los

coeficientes binarios de interacci6n de todos los paquetes de

propiedades presentes en la simulaci6n.


Una vez allf los coeficientes pueden variarse en la haja de excel.
Nota: Es importante no a/terar /a disposici6n fJlas-co/umnas ya que el

programa no reconoce los matces de los componentes sino que trabaja


reconooendo la ubicecion en la matnr.

Cuando los valores de los coefioentes binarios se han actuanzsco


en la haja de excel, presionando el baton " Send Interaction -

Data"

el programa varia los coeficientes de interacci6n del

"Simulation Basis Manager" de Hysys actualizando a los nuevos


valores ingresados en la planilla de excel

TEMASheet.xls: Genera una hoja tipo TEMA para cada intercambiador de calor
presente en fa simufaci6n sctivs.

>-

Objetivo del Programa: Este programa permite generar una hoja tipo TEMA para
cada intercambiador de calor presente en una simulaci6n dada. La plan ilia se
conecta con la simulaci6n que se encuentra activa
~ Versiones en las que funciona: Funciena con la version 2 1.1 de Hysys (build
3198) y Excel 97. Verificado el 20 de Diciembre de 1999
> Utilizacion:
Cargar un case de Hysys que contenga intercambiadores de calor.
Abrir el archivo TEMASheet.xls. Posicionarse en la hoja "Main".
Una vez allr, presienar el boton "Conectarse a Hysys" Si exrste un
case activo de Hysys y en &1 hay aperaciones de "Heat Exchanger"

~so de

Intertase Hysys con Excel 8

resueltas, entonces la conexi6n sera exitosa, en caso contra rio, el


proqrarna reporta un error.
Si la conexi6n ExcelHysys es exitosa, entonces la opci6n "Caso de
Hysys" se completa con la ubicaci6n completa y el nombre del
archive de Hysys activo.
Presionar el boton "Generar las hojas tipo TEMA". EI programa
genera una hoja tipo TEMA para cada intercambiador resuelto en
la simulaci6n.
Si luego se desea conectarse a otro caso de Hysys, este debe estar
activo dentro de Hysys. Presionar el bat6n "Descanectarse Reset" tal que la planilla de Excel se descanecte del casa de Hysys
anterior y una vez que este activo el nuevo casa de Hysys,
presianar el baton "Conectarse a Hysys".
Repetir el procedimiento tantas veces como se desee.

Das könnte Ihnen auch gefallen