Ignore:
Timestamp:
Dec 10, 2007, 11:24:49 AM (15 years ago)
Author:
Rodolfo Rodrigues
Message:

Updated to use vol_tank.mso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eml/reactors/gibbs.mso

    r421 r426  
    7272        G(NComp)                as energy_mol   (Brief="Gibbs free-energy change of formation");
    7373        lambda(NElem)   as energy_mol   (Brief="Lagrangian multiplier", Symbol="\lambda");
    74         activ(NComp)    as Real                 (Brief="Activity", Symbol="\hat{a}", Lower=1e-20);
     74        activ(NComp)    as Real                 (Brief="Activity", Symbol="\hat{a}", Lower=0);
    7575       
    7676        rate(NComp)     as reaction_mol (Brief="Overall component rate of reaction");
     
    8080        EQUATIONS
    8181        "Outlet stream"
    82         Outlet.F*Outlet.z = Outletm.F*Outletm.z + rate*Vr;
     82        Outlet.F*Outlet.z = Outletm.F*Outletm.z + rate*Tank.V;
    8383       
    8484        "Mechanical equilibrium"
     
    167167        EQUATIONS
    168168        "Outlet stream"
    169         Outlet.F*Outlet.z = Outletm.F*Outletm.z + rate*Vr;
     169        Outlet.F*Outlet.z = Outletm.F*Outletm.z + rate*Tank.V;
    170170       
    171171        "Mechanical equilibrium"
Note: See TracChangeset for help on using the changeset viewer.