termo.equilibrium.MixtureEquilibriaPhaseSolution 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;
import termo.matter.Substance;
/**
*
* @author
* Hugo
*/
public class MixtureEquilibriaPhaseSolution extends EquilibriaSolution{
private HashMap vaporFractions;
private HashMap liquidFractions;
public MixtureEquilibriaPhaseSolution(
double temperature,
double pressure,
HashMap liquidFractions,
HashMap solutionFractions,
int iterations){
super(temperature, pressure, iterations);
this.liquidFractions = liquidFractions;
this.vaporFractions = solutionFractions;
}
public HashMap getLiquidFractions() {
return liquidFractions;
}
public void setLiquidFractions(HashMap mixtureFractions) {
this.liquidFractions = mixtureFractions;
}
public HashMap getVaporFractions() {
return vaporFractions;
}
public void setVaporFractions(HashMap vaporFractions) {
this.vaporFractions = vaporFractions;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy