Fuel calculator
More Nautical Miles per USD. To calculate the energy of an oil requires 4 parametres: Sulphur, Water, Ash and Density. Try the Simple Fuel Calculator and test what will be the best buy.
p = is density at 15°C, in kilograms per cubic metre, ex. 991.0.
x = is the water content, expressed as percentage by volume.
y = is the ash content, expressed as percentage by mass.
s = is the sulphur content, expressed as percentage by mass.
Typicals for IFO, 41 MJ/kgs good, 39MJ/kgs bad.
To separate number use . (full stop) not , (comma)
Density 15°C, in kilograms per cubic metre
p
Water pct. expressed as a percentage by vol.
x
Ash per pct. expressed as a percentage by mass
y
Sulphur pct. expressed as a percentage by mass
s
Price USD/MT
Specific Energy Gross
MJ/Kgs
Price per MJ
function fuelCalculate()
{
// Fuel beregning
var p = (document.getElementById('p').value!='') ? parseFloat(document.getElementById('p').value) : 0.0;
var x = (document.getElementById('x').value!='') ? parseFloat(document.getElementById('x').value) : 0.0;
var y = (document.getElementById('y').value!='') ? parseFloat(document.getElementById('y').value) : 0.0;
var s = (document.getElementById('s').value!='') ? parseFloat(document.getElementById('s').value) : 0.0;
var u = (document.getElementById('u').value!='') ? parseFloat(document.getElementById('u').value) : 0.0;
var fuel = (52.190 - (8.802 * (p * p) * 0.000001)) * (1 - 0.01 * (x + y + s)) + 9.420 * (0.01 * s);
var price = u / fuel;
document.getElementById('fuel').value = DecRound(fuel);
document.getElementById('price').value = DecRound(price);
}
function lg(v)
{
return Math.log(v) / Math.log(10);
}
function DecRound(value)
{
var p = Math.pow(10,3);
return Math.round(value*p)/p;
}
function updateBreadCrumb()
{
try {
parent.document.getElementById('Breadcrumbstrail_span').innerHTML = "Home | Tools | Fuel calculator";
} catch(e) {}
}
function clearBreadCrumb()
{
try {
parent.document.getElementById('Breadcrumbstrail_span').innerText = "";
} catch(e) {}
}
$(document).ready(function() {
$('input[type="text"]').keyup(function() {
$(this).val($(this).val().replace(',','.'));
});
});