User defined output unit set
Last updated
Last updated
For all the flash computations, the user can optionally specify the unit of each output value in the Stream output in the params.unitSetInfo section. The table below describes the supported output units.
All unit entries do not have to be specified. The ones that are not will be overridden by the default.
composition units can be specified as any units above
Below is an input sample containing the params.unitSetInfo optional object using isothermal flash function input as an example.
Explanation of each property and available units will be documented later.
params.unitSetInfo
definition
default unit
units available
liq1_phs_comp
liquid 1 phase composition
mol
see composition units below
solid_phs_comp
solid phase composition output
mol
see composition units below
vapor_phs_comp
vapor phase composition output
mol
see composition units below
liq2_phs_comp
liquid 2 phase composition output
mol
see composition units below
combined_phs_comp
total composition output
mol
see composition units below
density
density of a phase/total stream
g/L
g/ml, kg/m3, g/L, kg/L, lb/ft3, lb/gal
mass
mass of a phase/total stream
g
g, kg, lb, mg, (g/100), metric ton
vol
volume of a phase/total stream
L
L, ml, cm3, m3, E3m3, E6m3, ft3, Mft3, MMft3, gal, MMgal, bbl
moles
total moles in a phase/stream
mol
mol, kgmol, lbmol, mmol, μmol, (mol/100)
pt
pressure of stream
atm
atm, bar, barg, mbar, Pa, kPa, MPa, mmHg, Torr, inHg, psia, psig, inH2O, kg/cm2
t
temperature of stream
°C
K, degree_Fahrenheit, °C, °F, degree_Celsius, R
enthalpy
enthalpy of a phase/stream
cal
cal, E3cal, E6cal, J, kJ, MJ, Btu, MMBtu
visabs
Absolute viscosity
cP
cP, Poise, Pa-s
i
Ionic strength, x-based
mol/mol
mol/mol
im
Ionic strength, m-based
mol/kg
mol/kg
econd
Specific electric conductivity
µmho/cm
mho/m, mho/cm, µmho/m, µmho/cm
econdm
Molar electric conductivity
m2/ohm-mol
m2/ohm-mol, cm2/ohm-mol
fug
Fugacity
atm
atm, bar, barg, mbar, Pa, kPa, MPa, mmHg, Torr, inHg, psia, psig, inH2O, kg/cm2
mob
Mobilities
cm2/s-volt
cm2/s-volt, m2/s-volt
dif
Self diffusivity
m2/s
m2/s
alkalinity
Alkalinity
mg HCO3/L
eq/L, meq/L, mg HCO3/L, mg CO3/L, mol HCO3/L, mol CO3/L, mg CaCO3/L, mol CaCO3/L
tds
Total dissolved solids
mg/L
mg/L
cp
Heat capacity
cal/g K
J/kg K, J/g K, cal/g K, Btu/lb R
entr
Entropy
cal/K
J/K, cal/K, Btu/R
thermalcond
Thermal conductivity
cal/hr m °C
Btu/hr ft °F, cal/hr m °C, cal/s m °C, J/s m K
surface_tension
Surface tension
N/m
N/m, dyne/cm
mol_entr
Molar entropy
cal/mol K
J/mol K, cal/mol K, Btu/mol R
interfacial_tension
Interfacial tension
N/m
N/m, dyne/cm
kinetics_k
K value of kinetic reaction
mol/hr m3
mol/hr m3
kinetics_rate
Kinetic reaction rate
mol/hr hr
mol/hr hr
kinetics_extent
Kinetic reaction extent
mol/hr
mol/hr
hardness
Hardness
mg/L of Mg+2 and Ca+2
mg/L of Mg+2 and Ca+2
tic
Total inorganic carbon
mol C/L
mg C/L, g C/L, mol C/L
energy
Gibbs free energy
cal
cal, E3cal, E6cal, J, kJ, MJ, Btu, MMBtu
mol_energy
Molar Gibbs free energy
cal/mol
cal/mol, E3cal/mol, E6cal/mol, J/mol, kJ/mol, MJ/mol, Btu/mol, MMBtu/mol
part_pressure
Partial pressure
atm
atm, bar, barg, mbar, Pa, kPa, MPa, mmHg, Torr, inHg, psia, psig, inH2O, kg/cm2
molefrac
Mole fraction
mol/mol
mol/mol, mole %, ppm (mole)
induction_time
scaling induction time
hr
s, min, hr, day, yr
unit types
units
moles
mol, kgmol, lbmol, mmol, µmol, (mol/100)
mole fraction
mol/mol, mole %, ppm (mole)
mass
g, kg, lb, mg, (g/100), metric ton
mass fraction
g/g, mass %, ppm (mass)