G'day Sven,
An idea for an enhancement would be some form of air usage per dive minute indication. Perhaps as a calculated value for each dive.
Statistics should show the average air usage, average usage per dive, most effective dive and least effective dive for air use. Maybe even a chart option.
Best Regards, Lloyd Borrett.
Air Usage Feature
-
- Posts: 228
- Joined: Sun Jun 11, 2006 09:24
- Location: Frankston South, Victoria, Australia
- Contact:
-
- Posts: 228
- Joined: Sun Jun 11, 2006 09:24
- Location: Frankston South, Victoria, Australia
- Contact:
Hi Lloyd
There are different ways, but I use this. To calculate the SAC in liter/min (all units in metric):
To calculate it in ft³/min:
Best regards,
Sven
There are different ways, but I use this. To calculate the SAC in liter/min (all units in metric):
Code: Select all
SAC = ((PresS - PresE) * Tanksize) / (Divetime * (AverageDepth / 10 + 1))
Code: Select all
SAC = SAC * 0.035335689046
Sven
-
- Posts: 228
- Joined: Sun Jun 11, 2006 09:24
- Location: Frankston South, Victoria, Australia
- Contact:
-
- Posts: 228
- Joined: Sun Jun 11, 2006 09:24
- Location: Frankston South, Victoria, Australia
- Contact:
Okay,
So just what is the format of the "Profile" string that I've got in the MySQL database.
I'm assuming there must be something to give me the time interval for each value, then an array of depth values. Maybe even some other values.
Right now my graph is giving me a calculated 80 minutes of dive time for an actual 40 minute dive from a Suunto Vytec.
It's calculating some 400 minutes of dive time for an actual 75 minute dive from a Uwatec.
So I'm assuming there must be a value held somewhere that gives the sample rate.
Best Regards, Lloyd Borrett.
So just what is the format of the "Profile" string that I've got in the MySQL database.
I'm assuming there must be something to give me the time interval for each value, then an array of depth values. Maybe even some other values.
Right now my graph is giving me a calculated 80 minutes of dive time for an actual 40 minute dive from a Suunto Vytec.
It's calculating some 400 minutes of dive time for an actual 75 minute dive from a Uwatec.
So I'm assuming there must be a value held somewhere that gives the sample rate.
Best Regards, Lloyd Borrett.
-
- Posts: 228
- Joined: Sun Jun 11, 2006 09:24
- Location: Frankston South, Victoria, Australia
- Contact:
G'day Sven,
I'm getting the same value as Diving Log for the Average Depth, but different values for the SAC.
The code I'm using is:
Diving Log 27.99, me 28.81.
Diving Log 24.91, me 25.53.
Diving Log 32.51, me 38.80.
Diving Log 21.42, me 23.64.
UPDATE: I tried calculating the dive time and I'm now getting the same values for SAC.
By the way, just what do the initials SAC stand for?
Best Regards, Lloyd Borrett.
I'm getting the same value as Diving Log for the Average Depth, but different values for the SAC.
The code I'm using is:
Code: Select all
$sac = (($result[0]['PresS'] - $result[0]['PresE']) * $result[0]['Tanksize']) / ($result[0]['Divetime'] * ($averagedepth / 10 + 1));
Diving Log 24.91, me 25.53.
Diving Log 32.51, me 38.80.
Diving Log 21.42, me 23.64.
UPDATE: I tried calculating the dive time and I'm now getting the same values for SAC.
By the way, just what do the initials SAC stand for?
Best Regards, Lloyd Borrett.