Difference between revisions of "MemEOL"
From Desal Wiki
Line 161: | Line 161: | ||
//max < rejection < min. perm > minPerm | //max < rejection < min. perm > minPerm | ||
if(rangesRO['High NaCl rejection range (%)'][y] > saltRejection){ | if(rangesRO['High NaCl rejection range (%)'][y] > saltRejection){ | ||
+ | console.log('rangesRO[High NaCl rejection range (%)][y] - saltRejection: ' + String(rangesRO['High NaCl rejection range (%)'][y]) + " - " String(saltRejection)); | ||
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)); | ||
if(rangesRO['Min permeability range (l.m-2.h-1.bar-1)'][y] > minPermeability){ | if(rangesRO['Min permeability range (l.m-2.h-1.bar-1)'][y] > minPermeability){ | ||
+ | console.log('Min permeability range (l.m-2.h-1.bar-1)][y] - minPermeability: ' + String(rangesRO['Min permeability range (l.m-2.h-1.bar-1)'][y])+ " - " String(minPermeability)); | ||
+ | console.log('y: ' + String(y)); | ||
return y; | return y; | ||
} | } | ||
Line 232: | Line 236: | ||
console.log('salt rejection: ' + String(getNaClRejection())); | console.log('salt rejection: ' + String(getNaClRejection())); | ||
roReuseResult = calculateROReuseQuality(getPhysicalDamage(), getPermeability(), getNaClRejection()); | roReuseResult = calculateROReuseQuality(getPhysicalDamage(), getPermeability(), getNaClRejection()); | ||
+ | console.log('roReuseResult: ' + String(roReuseResult); | ||
if(roReuseResult===-1){ | if(roReuseResult===-1){ | ||
scoreObject[CONST_REUSE_RO]=0; | scoreObject[CONST_REUSE_RO]=0; |
Revision as of 06:37, 12 December 2014
Introduction text