Return to sample list

 

 

A SIMPLE NITROGEN DISTRIBUTION NETWORK

 

 

View:               Process Flow Diagram

 

View:               Simulation Results

 

 

Description

This example shows a simple nitrogen distribution network built up by 8 pipes and 4 nodes, as may be viewed in the process flow diagram.

The network has one inlet stream S1 and three outlet streams S5, S7 and S8.

Distribution network operations are to be simulated to satisfy the following constraints on the outlet streams.

 

Spec No

Spec Type

Stream

Value

1

Pressure

S5

28 psia

2

Flowrate

S7

2550 s-cuft/h

3

Flowrate

S8

2550 s-cuft/h

 

Inlet stream S1 is initialized at 40 psia and 70 °F with an initial flowrate of 25 lbm/h

The network is easily solved using 5 iterations.

The final calculated flowrate S1 is 29.9 lbm/h or 838 lb/h.

 


Generated Keyword Input File

 

<XPSIM>  ...generated by XpsimWin v.1.06 ...

*

RUN ID=DEV CUSTOMER=STAFF PROJECT='NITROGEN DIST'

DESC  PIPE NETWORK

DESC  EXAMPLE 1 - NITROGEN DISTRIBUTION SYSTEM

DESC  IDEAL GAS EQUATION

DIMENSION INPUT ENG

System Data

CHEMCOMP N2

THERMSET UID=M1

METHODS K=SRK HS=SRK CP=SRK DV=SRK DL=IDEAL VIS=IDEAL THC=IDEAL +

 SURT=IDEAL

Default Data

PIPE

PARA ROUGH(ABS)=0.0018

Flowsheet Data

STREAM=S1 TEMP=70. PRES=40.0 RATE(M)=25

COMP 1.000

PIPE IN S1 OUT L1O UID=L1

LINE DIAM=3 LENGTH(M)=20 ECH(M)=-10

FITTING GLOBE 6.0

NODE IN L1O OUT L2I L3I UID=NODE2

ESTIMATE STR=L2I RATE=0.5 RATIO

PIPE IN L2I OUT L2O UID=L2

LINE DIAM=2 LENGTH(M)=20

FITTING GLOBE 2.7

PIPE IN L3I OUT L3O UID=L3

LINE DIAM=1 LENGTH(M)=30

NODE IN L3O OUT L5I L4I UID=NODE3

ESTIMATE STR=L5I RATE=0.5 RATIO

PIPE IN L4I OUT L4O UID=L4

LINE DIAM=1 LENGTH(M)=30

FITTING GLOBE 6.75

PIPE IN L5I OUT L5O UID=L5

LINE DIAM=1.5 LENGTH(M)=20 ECH(M)=-10

FITTING GLOBE 6.75

NODE IN L4O L5O OUT L6I UID=NODE4

PIPE IN L6I OUT S5 UID=L6

LINE DIAM=2.0 LENGTH(M)=50

FITTING GLOBE 30.

NODE IN L2O OUT L8I L7I UID=NODE6

ESTIMATE STR=L8I RATE=0.5 RATIO

PIPE IN L7I OUT S7 UID=L7

LINE DIAM=1 LENGTH(M)=10 ECH(M)=-6

PIPE IN L8I OUT S8 UID=L8

LINE DIAM=1 LENGTH(M)=10 ECH(M)=-6

Network Data

PIPENET NITER=10

SPEC PRES=28. STR=S5

SPEC RATE(G)=2550 STR=S7

SPEC RATE(G)=2550 STR=S8

Output Data

PRINT FORMAT=2

END