home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_08_02
/
8n02038a
< prev
next >
Wrap
Text File
|
1990-03-01
|
916b
|
40 lines
*****Listing 4*****
Example 4. An Example of Output Generated by a Hydraulic Analysis
Program using MEL. (From the input data given in Example 1.)
program,
name = 'HAPN - Hydraulic Analysis of Piping Networks',
problem_title = 'Example Problem Illustrating MEL';
message,
text = 'Date: Thu Jul 13 09:02:11 1989';
message,
text = 'Input filename: input';
equations,
node = 0,
loop = 0,
iterations = 7;
branch,
number = 100,
type = 'independent_branch',
flow_rate = 436238 (lbm/h),
flow_change = -6.20476e-007 (%),
flow_dp = 2.17 (psi),
elevation_dp = 0 (psi);
component,
branch_number = 100,
component_number = 0,
type = 'pipe',
resistance = 4.95228 (Pa*s2/kg2),
change_resistance = -1.24095e-008 (%),
pressure_drop = 2.17 (psi);
node,
number = 1,
pressure = 8.67 (psi);
node,
number = 2,
pressure = 6.5 (psi);
next;