termo.equilibrium.FlashSolution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of materia Show documentation
Show all versions of materia Show documentation
Thermodynamics properties and
equilibria calculations for
chemical engineering.
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package termo.equilibrium;
import java.util.HashMap;
import termo.component.Compound;
/**
*
* @author Chilpayate
*/
public class FlashSolution {
double vF;
private HashMap liquidFractions;
private HashMap vaporFractions;
public FlashSolution(double vF,HashMap liquidFractions, HashMap vaporFractions){
this.vF = vF;
this.liquidFractions = liquidFractions;
this.vaporFractions = vaporFractions;
}
double getVF() {
return vF;
}
/**
* @return the liquidFractions
*/
public HashMap getLiquidFractions() {
return liquidFractions;
}
/**
* @param liquidFractions the liquidFractions to set
*/
public void setLiquidFractions(HashMap liquidFractions) {
this.liquidFractions = liquidFractions;
}
/**
* @return the vaporFractions
*/
public HashMap getVaporFractions() {
return vaporFractions;
}
/**
* @param vaporFractions the vaporFractions to set
*/
public void setVaporFractions(HashMap vaporFractions) {
this.vaporFractions = vaporFractions;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy