Listing 1

Example 1. An Example of MEL Input for a Hydraulic Analysis Program.
(Note that tokens will be unique to each application.)


title, 'Example Problem Illustrating MEL';
fluid, "water"
    density = 62.4 (lbm/ft3),
    viscosity = 1 (cp);
node, 1, pressure = 8.67 (psi); "20 ft of water"
branch, 100, from_node = 1, to_node = 2;
    pipe,
      length = 100 (ft),
      id = 6 (in),
      material = steel;
end_of_branch;
node, 2, pressure = 6.5 (psi); "15 ft of water"
next;