Difference between revisions of "MemEOL"
From Desal Wiki
Line 139: | Line 139: | ||
} | } | ||
− | function calculateROReuseQuality(damage, | + | function calculateROReuseQuality(damage, permeability, saltRejection){ |
var j=0; | var j=0; | ||
var k=0; | var k=0; | ||
Line 169: | Line 169: | ||
if(rangesRO['Low NaCl rejection range (%)'][y] <= saltRejection){ | if(rangesRO['Low NaCl rejection range (%)'][y] <= saltRejection){ | ||
console.log('rangesRO[Low NaCl rejection range (%)][y] - saltRejection: ' + String(rangesRO['Low NaCl rejection range (%)'][y])+ " - " + String(saltRejection)); | console.log('rangesRO[Low NaCl rejection range (%)][y] - saltRejection: ' + String(rangesRO['Low NaCl rejection range (%)'][y])+ " - " + String(saltRejection)); | ||
− | if(rangesRO['Min permeability range (l.m-2.h-1.bar-1)'][y] | + | if(rangesRO['Min permeability range (l.m-2.h-1.bar-1)'][y] < permeability){ |
− | console.log('Min permeability range (l.m-2.h-1.bar-1)][y] - | + | console.log('Min permeability range (l.m-2.h-1.bar-1)][y] - permeability: ' + String(rangesRO['Min permeability range (l.m-2.h-1.bar-1)'][y]) + " - " + String(minPermeability)); |
return y; | return y; | ||
} | } |
Revision as of 07:56, 12 December 2014
Introduction text