Amazing how that works every time!dsteding wrote:Breathe it down, the bubbles go away . . .BDub wrote:Minor detailsdsteding wrote:You know they are too full when champagne bubbles are coming out of the burst disc . . .BDub wrote:
As far as your tanks, Sean. I've had my double lp95's pumped up to 3700 before. Just dive em.
Calculate tank volume?
Re: Calculate tank volume?
http://www.frogkickdiving.com/
"It's a lot easier when you're not doing it" - CaseyB449
"There needs to be more strawberry condoms. Just not on my regulator" - DSteding
"It's a lot easier when you're not doing it" - CaseyB449
"There needs to be more strawberry condoms. Just not on my regulator" - DSteding
Re: Calculate tank volume?
Sean, and Paul,dsteding wrote:Breathe it down, the bubbles go away . . .BDub wrote:Minor detailsdsteding wrote:You know they are too full when champagne bubbles are coming out of the burst disc . . .BDub wrote:
As far as your tanks, Sean. I've had my double lp95's pumped up to 3700 before. Just dive em.
ignore the guy behind the curtain.......
Re: Calculate tank volume?
because he's Doing It Wrong.Pez7378 wrote:Sean, and Paul,dsteding wrote:Breathe it down, the bubbles go away . . .BDub wrote:Minor detailsdsteding wrote:You know they are too full when champagne bubbles are coming out of the burst disc . . .BDub wrote:
As far as your tanks, Sean. I've had my double lp95's pumped up to 3700 before. Just dive em.
ignore the guy behind the curtain.......
Re: Calculate tank volume?
1) PSi is paranoid about >10% overfills. Not legal blah blah blah. If its not spelled out in compressed gas association (CGA) guidance or DOT rules they will not go there.Pez7378 wrote:Since were on the topic, and well, most of us involved in this conversation don't have much experience with this stuff, I'd like to hear some stories of tanks gone bad. Bob, CaptJack, Matthew, Romer, Steding, BDub, DMitchell? Anyone? What are some stories that PSI is telling? What have you witnessed?
2) On 6351 AL tanks they follow the DOT rules and will not admit that just taking all these 20+yo tanks (that you can buy new for $150) out of service might be a plausible risk management approach. Doing eddy currents on these and more frequent VIPs, they are all over those concepts (kaching$$)
I have condemned only a couple AL tanks that I have seen in the past ~4yrs of doing my own VIPs. One for pitting (corrosion), one for a suspected neck crack (6061 AL btw). I have never seen a steel tank with a crack or excess pitting, although I have seen quite a few manufacturing folds which look like cracks.
Sounder wrote:Under normal circumstances, I would never tell another man how to shave his balls... but this device should not be kept secret.
Re: Calculate tank volume?
YW.Pez7378 wrote:This is helpful for me. I generally use a calculator for all numbers that add up to more than 1 so any little trick that makes it easier to add is great!CaptnJack wrote:For me using stuff like 2.5 vs 2.6 adds up to 3cf in an AL80, no big deal and trivial compared to gauge variation anyway. These numbers a little easier to work in your head.
E.g. lp85s and hp100s are not exactly the same cf/psi
85cf/26.4 (100s of psi) = 3.21 cf/100psi
100/34.42 = 2.91
But for all practical purposes you can round both to "3" and its totally adequate for the purpose. Tank manufacturing tolerances aren't that great anyway, some are 1/4" taller or shorter etc.
Sounder wrote:Under normal circumstances, I would never tell another man how to shave his balls... but this device should not be kept secret.
Re: Calculate tank volume?
As far as tanks gone bad-
Steel - Rarely any problems even when rusty they tumble out and usually come out fine. The instance of steel tanks exploding around the world is very low and those that have were generally badly neglected. I just had 4 tanks come in the other day, ancient old st72's they had a little water in them and enough rust to require tumbling. Tumbled (or my wife did) them and sent them to hydro all 4 passed no problem.
AL - I for on treat the 6351's with caution but think that mass hysteria about the issue is unwarranted. We've condemned our fair share, but we also pass many of them every year. I mean come on - 19 or 20 out of something like 4 million have exploded. To me that means more careful checking but not mass hysteria. How many cars have had worse safety records and are still on the roads. Otherwise, I've failed AL tanks for ridiculous corrosion or thread problems or pits (internal and external) beyond spec. I've got a 13 in the shop that some commercial guy used for a bailout. It was about 2/3 full of saltwater for 6 years - Fail
I agree that PSI can get a little over the top from time to time but they have been there and in some court sometime, I don't want to find myself sitting across from them.
DM
Steel - Rarely any problems even when rusty they tumble out and usually come out fine. The instance of steel tanks exploding around the world is very low and those that have were generally badly neglected. I just had 4 tanks come in the other day, ancient old st72's they had a little water in them and enough rust to require tumbling. Tumbled (or my wife did) them and sent them to hydro all 4 passed no problem.
AL - I for on treat the 6351's with caution but think that mass hysteria about the issue is unwarranted. We've condemned our fair share, but we also pass many of them every year. I mean come on - 19 or 20 out of something like 4 million have exploded. To me that means more careful checking but not mass hysteria. How many cars have had worse safety records and are still on the roads. Otherwise, I've failed AL tanks for ridiculous corrosion or thread problems or pits (internal and external) beyond spec. I've got a 13 in the shop that some commercial guy used for a bailout. It was about 2/3 full of saltwater for 6 years - Fail
I agree that PSI can get a little over the top from time to time but they have been there and in some court sometime, I don't want to find myself sitting across from them.
DM
Re: Calculate tank volume?
Bash shell calculator:
[root@Deathbydoornails ~]# sh tankVolume.sh 95 3000 2640
107.7000 cf
[root@Deathbydoornails ~]# cat tankVolume.sh
[root@Deathbydoornails ~]#
[root@Deathbydoornails ~]# sh tankVolume.sh 95 3000 2640
107.7000 cf
[root@Deathbydoornails ~]# cat tankVolume.sh
Code: Select all
#!/bin/bash
if [ "$1" == '' ]
then
echo "Usage - tankVolume.sh <cf> <maxPsi> <actualPsi>"
exit 1
else
run=$1/$3
cfPsi=$(echo "scale=4; ${run}" | bc)
run1=$2*$cfPsi
CF=$(echo "scale=4; ${run1}" | bc)
echo $CF "cf"
fi
Re: Calculate tank volume?
Well that makes sense.........defied wrote:Bash shell calculator:
[root@Deathbydoornails ~]# sh tankVolume.sh 95 3000 2640
107.7000 cf
[root@Deathbydoornails ~]# cat tankVolume.sh[root@Deathbydoornails ~]#Code: Select all
#!/bin/bash if [ "$1" == '' ] then echo "Usage - tankVolume.sh <cf> <maxPsi> <actualPsi>" exit 1 else run=$1/$3 cfPsi=$(echo "scale=4; ${run}" | bc) run1=$2*$cfPsi CF=$(echo "scale=4; ${run1}" | bc) echo $CF "cf" fi
Re: Calculate tank volume?
It's friday. I was bored. Makes me look busy while waiting for the important stuff to come.
D(B)
D(B)
Re: Calculate tank volume?
And I thought you had just crashed the thread.defied wrote:Bash shell calculator:
[root@Deathbydoornails ~]# sh tankVolume.sh 95 3000 2640
107.7000 cf
[root@Deathbydoornails ~]# cat tankVolume.sh[root@Deathbydoornails ~]#Code: Select all
#!/bin/bash if [ "$1" == '' ] then echo "Usage - tankVolume.sh <cf> <maxPsi> <actualPsi>" exit 1 else run=$1/$3 cfPsi=$(echo "scale=4; ${run}" | bc) run1=$2*$cfPsi CF=$(echo "scale=4; ${run1}" | bc) echo $CF "cf" fi
Sean
Re: Calculate tank volume?
Nah, I've been contemplating writing a script to maintain a bunch of dive math, so as convos come up, I figure I'll make little snippets, and eventually lump them all together in to one big script I may even Gui-ize, and maybe build out for the iphone, or G1, or hell, maybe even java.
D(B)
D(B)
- Grateful Diver
- I've Got Gills
- Posts: 5322
- Joined: Mon May 15, 2006 7:52 pm
Re: Calculate tank volume?
Techies and cavers routinely overfill cylinders ... and I've read that it's common practice in Europe.
In fact, a common rule of thumb in tech/cave circles is that "when your tanks are full, it's time to turn the dive" ...
... Bob (Grateful Diver)
In fact, a common rule of thumb in tech/cave circles is that "when your tanks are full, it's time to turn the dive" ...
... Bob (Grateful Diver)
Threats and ultimatums are never the best answer. Public humiliation via Photoshop is always better - airsix
Come visit me at http://www.nwgratefuldiver.com/
Come visit me at http://www.nwgratefuldiver.com/
Re: Calculate tank volume?
As an update...the LDS didn't fill the tanks to just 3000psi, when I hooked it up on Monday it was at 3400psi! A 119! I needed the extra air as I was all over the place.
Sean
Re: Calculate tank volume?
Defied, there's a slight error in your script.
Here's an example. Notice the cf for an overpressurized 130 is showing low.
I think you accidentally processed variables in the wrong order. I've edited lines 7 and 9.
Try it like this and I think you'll get the correct values:
Sample output:
ps - Thanks for posting this by the way. I do not have your scripting skills and you just showed me how to use bc to do floating-point math with bash. Cool! I've only used bash to work with integers.
Here's an example. Notice the cf for an overpressurized 130 is showing low.
Code: Select all
ben@phoenix:~$ ./tankVolume.sh 130 3442 3600
124.2562 cf
ben@phoenix:~$
Try it like this and I think you'll get the correct values:
Code: Select all
#!/bin/bash
if [ "$1" == '' ]
then
echo "Usage - tankVolume.sh <cf> <maxPsi> <actualPsi>"
exit 1
else
run=$1/$2
cfPsi=$(echo "scale=4; ${run}" | bc)
run1=$3*$cfPsi
CF=$(echo "scale=4; ${run1}" | bc)
echo $CF "cf"
fi
Code: Select all
ben@phoenix:~$ ./tankVolume.sh 130 3442 3600
135.7200 cf
ben@phoenix:~$
Last edited by airsix on Wed Mar 25, 2009 3:54 pm, edited 1 time in total.
"The place looked like a washing machine full of Josh's carharts. I was not into it." --Sockmonkey
Re: Calculate tank volume?
That looks right to me, Ben!airsix wrote:Defied, there's a slight error in your script.
Here's an example. Notice the cf for an overpressurized 130 is showing low.
I think you accidentally processed variables in the wrong order. I've edited lines 7 and 9.Code: Select all
ben@phoenix:~$ ./tankVolume.sh 130 3442 3600 124.2562 cf ben@phoenix:~$
Try it like this and I think you'll get the correct values:Sample output:Code: Select all
#!/bin/bash if [ "$1" == '' ] then echo "Usage - tankVolume.sh <cf> <maxPsi> <actualPsi>" exit 1 else run=$1/$2 cfPsi=$(echo "scale=4; ${run}" | bc) run1=$3*$cfPsi CF=$(echo "scale=4; ${run1}" | bc) echo $CF "cf" fi
Code: Select all
ben@phoenix:~$ ./tankVolume.sh 130 3442 3600 135.7200 cf ben@phoenix:~$
-Ron T.
"When I'm 80 I'll take up real diving, which is done in a pub..." Ray Ives.
253-227-0856
My Dive Pics...
https://www.facebook.com/RETOPPPHOTOGRAPHY
"When I'm 80 I'll take up real diving, which is done in a pub..." Ray Ives.
253-227-0856
My Dive Pics...
https://www.facebook.com/RETOPPPHOTOGRAPHY
Re: Calculate tank volume?
I based it off of this:
You're doing it wrong.
You were placing the actualPSI before the maxpsi. That is if 3442 is your actual, and 3600 is your max.
If you're overfilling to 3600, and your max is 3442, then that could require more math, I'm sure.
D(B)
Notice the flip. You:
Me:
spatman wrote:
95cf divided by 2640psi = roughly .036 cf/psi
so 3000psi x .036cf/psi = 108cf
yay, scuba math!
Code: Select all
[root@Deathbydoornails ~]# ./tankVolume.sh 95 3000 2640
107.7000 cf
[root@Deathbydoornails ~]# ./tankVolume.sh
Usage - tankVolume.sh <cf> <maxPsi> <actualPsi>
You were placing the actualPSI before the maxpsi. That is if 3442 is your actual, and 3600 is your max.
If you're overfilling to 3600, and your max is 3442, then that could require more math, I'm sure.
D(B)
Notice the flip. You:
Code: Select all
ben@phoenix:~$ ./tankVolume.sh 130 3442 3600
124.2562 cf
ben@phoenix:~$
Code: Select all
[root@Deathbydoornails ~]# ./tankVolume.sh 130 3600 3442
135.7200 cf
[root@Deathbydoornails ~]#
Re: Calculate tank volume?
Code: Select all
Usage - tankVolume.sh <cf> <maxPsi> <actualPsi>
You have to divide capacity by rated pressure, then multiply by actual pressure. Your original script divided by actual pressure, then multiplied by rated pressure.
Spatman's example was showing that a LP95 rated at 2640psi has a capacity of 108 when overfilled to 3000psi.
2640 = maxPsi
3000 = actualPsi
-Ben
"The place looked like a washing machine full of Josh's carharts. I was not into it." --Sockmonkey
Re: Calculate tank volume?
Then I'm doing it wrong.
I wonder if maybe it's the terminology that I need to replace, and not the code.
echo "Usage - tankVolume.sh <cf> <maxPsi> <actualPsi>"
should probably be:
echo "Usage - tankVolume.sh <cf> <actualPSI> <ratedPSI>"
Rofl.. Same as what you were saying... but easier to one line it.
I misunderstood his intentions.. oops... Where's the dunce cap smiley? :defied:
Thanks for the fix!
D(B)
I wonder if maybe it's the terminology that I need to replace, and not the code.
echo "Usage - tankVolume.sh <cf> <maxPsi> <actualPsi>"
should probably be:
echo "Usage - tankVolume.sh <cf> <actualPSI> <ratedPSI>"
Rofl.. Same as what you were saying... but easier to one line it.
I misunderstood his intentions.. oops... Where's the dunce cap smiley? :defied:
Thanks for the fix!
D(B)
Re: Calculate tank volume?
No dunce cap. I was sitting here thinking I probably misunderstood and was making a fool of myself.
I suggest naming the variables something like:
$ratedCapacity
$ratedPressure
$actualPressure
I suggest naming the variables something like:
$ratedCapacity
$ratedPressure
$actualPressure
"The place looked like a washing machine full of Josh's carharts. I was not into it." --Sockmonkey
Re: Calculate tank volume?
$1, $2, and $3 don't work for you? 0]airsix wrote:No dunce cap. I was sitting here thinking I probably misunderstood and was making a fool of myself.
I suggest naming the variables something like:
$ratedCapacity
$ratedPressure
$actualPressure
So set the <cf> to be the ratedCapacity? That makes sense. I will be able to fit this into a case structure better depending on command line variables given.
Here, this should be a little cleaner:
Code: Select all
[root@Deathbydoornails ~]# ./tankVolume.sh 95 3000 2640
Actual Capacity is: 107.7000 Cubic feet.
[root@Deathbydoornails ~]# cat tankVolume.sh
#!/bin/bash
if [ "$1" == '' ]
then
echo "Usage - tankVolume.sh <rateCapacity> <actualPressure> <ratedPressure>"
exit 1
else
ratedCapacity=$1
actualPressure=$2
ratedPressure=$3
run=$ratedCapacity/$ratedPressure
cfPsi=$(echo "scale=4; ${run}" | bc)
run1=$actualPressure*$cfPsi
actualCapacity=$(echo "scale=4; ${run1}" | bc)
echo "Actual Capacity is: "$actualCapacity" Cubic feet."
fi
[root@Deathbydoornails ~]#
D(B)
Re: Calculate tank volume?
Code: Select all
"Usage - tankVolume.sh <rateCapacity> <actualPressure> <ratedPressure>"
-Ben
"The place looked like a washing machine full of Josh's carharts. I was not into it." --Sockmonkey
Re: Calculate tank volume?
I've had my low-pressure aluminum 14 that has a rated fill pressure of 2050 psi filled to 3000 psi before.Pez7378 wrote:I've seen tanks filled to 3900 psi before. I'm not too keen on the Hydro test, but I bet it's way above and beyond anything the shops can do to them. Sean, they're fine.Paulicarp wrote:is it safe to overfill that tank to 3000psi, or did that shop make a dangerous mistake?
I've read that some tanks marked with a + are safe to overfill by 10% why is that true for some tanks and not others?
That's like filling an LP steel (2640) tank to 4000 psi or a standard Al80 to 4500 psi.
Still that is just a hydro test pressure and tanks should be able to take even that a few times accidentally, and a 2650 service pressure tank filled to 3000 psi isn't really going to matter (particularly with steel tanks):
(iii) Cycle Test. Three cylinders must be cycle
tested to destruction to an upper cyclic pressure
of 1.5 times service pressure. The successive
hydrostatic pressurizations from the lower cyclic
pressure to the upper cyclic pressure must not
exceed a rate of ten cycles per minute. Adequate
recording instrumentation must be provided if
equipment is to be left unattended for any period
of time. Lower cyclic pressure must not exceed 10
percent of the upper cyclic pressure. Cylinders
must withstand at least 10,000 cyclic
pressurizations without distortion or failure.
The failure must occur in the sidewall and the
failure mode must be leak before burst (LBB). At
least one cylinder must be cycled using water as
the pressurizing medium.