public class Desiccant
extends Elements.FMix
FMix
Constructor and Description |
---|
Desiccant()
Creates an instance with 20.0 °C of drybulb temperature, 101.325 kPa of
atmospheric pressure and 0.5 kg/kg of Calcium Chloride salt concentration.
|
Desiccant(Elements.Desiccant.Salt type)
Creates an new instance with the specified salt type, with 20.0 °C of drybulb
temperature, 101.325 kPa
|
Modifier and Type | Method and Description |
---|---|
double |
getHum()
Equilibrium humidity ratio
|
Elements.Desiccant.Salt |
getType()
Returns the integer value of enumerated type of salt
|
void |
refresh()
Update all the physical properties of Desiccant based on the initial
parameters
|
void |
setHum(double hum)
Interpolates to find the closest concentration to obtain the desired humidity
ratio
|
void |
setType(Elements.Desiccant.Salt type)
Adjust the type of salt based of the enumerated internal database
|
void |
setXCon(double con) |
public Desiccant()
Fluid
public Desiccant(Elements.Desiccant.Salt type)
type
- an integer
value of Salt enumerationpublic void setType(Elements.Desiccant.Salt type)
type
- Integer value from enumerated type of saltspublic Elements.Desiccant.Salt getType()
public void setXCon(double con)
setXCon
in class Elements.FMix
con
- Concentration of salt double value(kg_salt / kg_sol)public void setHum(double hum)
setHum
in class Elements.FMix
hum
- double
value of humidity ratiopublic double getHum()
getHum
in class Elements.FMix
double
value of equilibrium humidity ratio (kg/kg)public void refresh()
refresh
in class Elements.Fluid