Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Linear Orifice Flow Meter Entrance Code Documentation and Drill size Determination

Intro

Research is being done to determine the optimal process for determining the diameter of the orifices on the LOFM. The drill size is currently was previously determined using the assumption of 5 holes in the first row of orifices and then applying that drill size to the rest of the LFOM. the new method will calculate the optimal drill size based on the flow rates through the upper holes, currently all of the upper rows are being evaluated to determine the critical row.

Initial 5 orifices in the first row assumption.

...

Currently we are looking at integrating over a height of two centimeters the row spacing starting at the top of the LFOM and working our way down. this to determine the hole diameter that best approximates the row area. This will allow us to make sure that the height is appropriate at the most critical area, the top of the LFOM where normally only 1 hole is needed. By integrating over different heights and comparing the errors associated with each option we will be able to see which row of holes is the most critical (aka causes the least amount of error).

...

Model Optimization

I am currently working on evaluating the optimal way to determine diameter using a mathcad code. The current version of the code is available hereEntrance Tank Code is available through the SourceForge repository, a storage system. To access the code follow these folders: design repository -> Automated Design -> Design -> EntranceTank. The code does not come with references at the top of the code, in order to run the file you need to add the following references: User Inputs, Math Functions, Pipe Database, Minor Loss Coefficients, Fluids Functions, Design Assumptions. All the references are available in the same folder as the Entrance Tank Code.

Model Optimization Code Documentation:

Step 1: Calculate the width of the rectangular portion of the weir

Image Added

Step 2: Calculate the s value, the zero point of the sutro weir.

Image Added

Step 3: Calculate the width of the entire weir, the curved portion and rectangular base.

Image Added

Step 4: Create height arrays. The arrays will allow us to evaluate the flow rate occuring over one row.

Image Added

Step 5: Calculate the area of each row and put that information into an array. Sample outputs for the height and area arrays are also show below.

Image Added

Step 6: Determine the fewest number of holes by dividing the entire row area by the area of one hole with a diameter equal to the row spacing and rounding to an integer number of holes.

Image Added

Step 7: Calculating the area of the optimal orifices for each row based on the rough number calculated in the previous step.

Image Added

Step 8: Calculate the diameter of the orifices for each row based on the area of the orifices calculated above.

Image Added

Step 9: Create the height arrays. The H_flowloc is an array of the height at which the flow rate is calculated (this is equal to 1/2*the row spacing above the row being evaluated). H_orificeloc is an array of the heights at which orifices will be made. The ramp funtion called herer is available in the math functions file.

Image Added

Step 10: This creates the array of target flow rates based on the heights given by the H_flowloc array and assuming a perfectly linear realtionship.

Image Added

Step 11: This is a function that calculates the actual flow rate through the LFOM for a given height of water. The program determines the flow through all orifices below the water level based on varying amounts of head (water elevation).

Image Added

Step 12: This is a function that calculates the number of orifices necessary at each H_orificeloc based on a given diameter.

Image Added

Step 13: This function calculates the error of the design based on the differences between the predicted flow rate and the actual flow rate through the LFOM.

Image Added

Step 14: This funciton returns the maximum error, the absolute value of the errors is taken so that the positive and negative errors are accounted for.

Image Added