Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Standard view
Full view
of .
×
0 of .
Results for:
P. 1
PONTOON WATERLINE ESTIMATION ALGORITHM (C LANGUAGE)

# PONTOON WATERLINE ESTIMATION ALGORITHM (C LANGUAGE)

Ratings: 0|Views: 815|Likes:
PONTOON WATERLINE ESTIMATION ALGORITHM

Pontoon is a float to support a structure or system on the water. For instance, pontoon is used to mount dewatering pump in mining area. The shape of several pontoons is common, as depicted below:

Writer is not familiar with the subject of marine or its derivatives, so just let me make my own notation for the parameters, use only for this article, not for general standardized textbook. OW OL OH Ot : Overall Width : Overall Length : Overall Height : Overal
PONTOON WATERLINE ESTIMATION ALGORITHM

Pontoon is a float to support a structure or system on the water. For instance, pontoon is used to mount dewatering pump in mining area. The shape of several pontoons is common, as depicted below:

Writer is not familiar with the subject of marine or its derivatives, so just let me make my own notation for the parameters, use only for this article, not for general standardized textbook. OW OL OH Ot : Overall Width : Overall Length : Overall Height : Overal

### Availability:

See More
See less

01/28/2013

pdf

text

original

PONTOON WATERLINE ESTIMATION ALGORITHM
Pontoon is a float to support a structure or system on the water. For instance, pontoon is used tomount dewatering pump in mining area. The shape of several pontoons is common, as depictedbelow:Writer is not familiar with the subject of marine or its derivatives, so just let me make my own notationfor the parameters, use only for this article, not for general standardized textbook.OW : Overall WidthOL : Overall LengthOH : Overall HeightOt : Overall Height to the upper end of trapezoid bottomBottomFlatLength : Length of Flat Horizontal Bottom FaceOh : Waterline/ Immersed heightArchimedes Law applied: body weight equals the weight of water displaced by the body’simmersed volume. Displaced water volume is the immersed volume of pontoon. Based on thisprinciple, to find how deep the pontoon immersed to the water, we should find the immersed volumefirst. Pontoon’s width and length are known, if the volume is known, then the height can becalculated. Finding volume is by calculating how much water needed to equal the to total weight ofpontoon (the pontoon, payload, accessories, and everything else onboard). Mathematically, wecan write the formula as:WeightOfWaterDisplaced = 1000 x PontoonImmersedVolume= 1000 x OL x OW x Oh

However, there is tricky problem: pontoon shape is not a simple rectangular block, the bottom istrapezoid. For simplification, the ends of trapezoid are of 45 degree angled. To solve this, we split thevolume into two parts, bottom part: trapezoid; upper part: rectangular. For further simplification, justconsider it’s rectangular and add correction factor. But in this article we don’t use the lattersimplification for improving accuracy.If the total weight does not reach the weight of water with volume of lower trapezoidal, thencalculation is only using volume of trapezoidal.WeightOfDisplacedWater = 1000 x OL x [(BottomFlatLength x Oh) + 2(Oh x Oh / 2)]= 1000 x OL x (BottomFlatLength x Oh + Oh
2
)Terms (Oh x Oh / 2) is the area of triangular end of trapezoid. The 45 degree angle makes trianglebecome the same length of its two sides, its vertical side and its bottom horizontal side.If total weight exceeds the weight of water with volume of lower trapezoidal, it means that two areaparts should be calculated. The bottom trapezoid is fully immersed, so it can be calculated becauseall variables known. The case is now how much volume should be added to the trapezoidal volume.WeightOfDisplacedWater = 1000 x OL x [(BottomFlatLength x Ot) + (Ot x Ot) + (OL x (Oh-Ot))]To find Oh, iteration can be used. I use C for doing this. Flowchart is below:
STARTOW, OL, OH, Oh, Ot,BottomFlatLength, TotalWeightWeightOfDisplacedWater at Volumeof Bottom Trapezoidal1000*(BottomFlat*Ot + Ot^2)TotalWeight>1000*BottomFlat*Ot + Ot^2
WeightOfDisplacedWater =1000 x OL x [(BottomFlatLengthx Ot) + (Ot x Ot) + (OL x (Oh-OtWeightOfDisplacedWater =1000 x OL x [(BottomFlatLengthx Oh) + 2(Oh x Oh / 2)]
Oh
ENDYES NOITERATE

C PROGRAM LISTING
#include <stdio.h>main(){float OL, OW, OH, Oh, Ot, BottomFlatLength, WeightTotal, WWaterAngled, W;//WWaterAngled = Weight of Water at volume equals lower trapezoid’s volume//W = Weight of Water displaced by pontoonchar again;//prepared for do-while loopprintf ("PONTOON WATERLINE ESTIMATION CALCULATOR BY DICKY\n \n");//titleagain = 'y';do{//input dataprintf("Overall Top Length (cm)? "); scanf("%f",&OL);printf("Overall Width (cm)? "); scanf("%f",&OW);printf("Overall Height (cm)? "); scanf("%f",&OH);printf("Overall Angled Height (cm)? "); scanf("%f",&Ot);printf("Bottom Flat Length (cm)? "); scanf("%f",&BottomFlatLength);printf("Total Weight (cm)? "); scanf("%f",&WeightTotal);//checking water height to upper end of angled faceWWaterAngled = 1000*(OW/100)*((BottomFlatLength*Ot/10000)+(Ot*Ot/10000));if (WeightTotal>WWaterAngled)// if total pontoon weight > weight of water at lower trapezoid's volume{Oh = 1;do //find at what height the displaced water volume equals total pontoon weight{W=1000*(OW/100)*((BottomFlatLength*Ot/10000)+(Ot*Ot/10000)-(OL*Ot/10000)+(OL*Oh/10000));Oh=Oh+0.0001;// iterate Oh to closest value to W, increment of 0.0001}while (W<WeightTotal);}else// if total pontoon weight < weight of water at lower trapezoid's volume{Oh = 1;do //find at what height the displaced water volume equals total pontoon weight{W=1000*(OW/100)*((BottomFlatLength*Oh/10000)+(Oh*Oh/10000));Oh=Oh+0.0001;}

## Activity (2)

### Showing

AllMost RecentReviewsAll NotesLikes