All Downloads are FREE. Search and download functionalities are using the official Maven repository.

termo.equilibrium.FlashSolution Maven / Gradle / Ivy

Go to download

Thermodynamics properties and equilibria calculations for chemical engineering.

There is a newer version: 3.5
Show newest version
/*
 * 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