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/stoic.mso

    r421 r426  
    6161        EQUATIONS
    6262        "Outlet stream"
    63         Outlet.F*Outlet.z = Outletm.F*Outletm.z + rate*Vr;
     63        Outlet.F*Outlet.z = Outletm.F*Outletm.z + rate*Tank.V;
    6464       
    6565        "Mechanical equilibrium"
     
    112112        EQUATIONS
    113113        "Outlet stream"
    114         Outlet.F*Outlet.z = Outletm.F*Outletm.z + rate*Vr;
     114        Outlet.F*Outlet.z = Outletm.F*Outletm.z + rate*Tank.V;
    115115       
    116116        "Mechanical equilibrium"
     
    158158        EQUATIONS
    159159        "Rate of reaction"
    160         rate*Vr = sumt(stoic*extent);
     160        rate*Tank.V = sumt(stoic*extent);
    161161end
    162162
     
    177177        EQUATIONS
    178178        "Rate of reaction"
    179         rate*Vr = sumt(stoic*extent);
     179        rate*Tank.V = sumt(stoic*extent);
    180180end
    181181
     
    203203        EQUATIONS
    204204        "Reaction rate"
    205         rate*Vr = sumt(stoic)/abs(sumt(stoic(KComp,:)))*Outletm.F*Outletm.z(KComp)*kconv;
     205        rate*Tank.V = sumt(stoic)/abs(sumt(stoic(KComp,:)))*Outletm.F*Outletm.z(KComp)*kconv;
    206206end
    207207
     
    225225        EQUATIONS
    226226        "Reaction rate"
    227         rate*Vr = sumt(stoic)/abs(sumt(stoic(KComp,:)))*Outletm.F*Outletm.z(KComp)*kconv;
    228 end
     227        rate*Tank.V = sumt(stoic)/abs(sumt(stoic(KComp,:)))*Outletm.F*Outletm.z(KComp)*kconv;
     228end
Note: See TracChangeset for help on using the changeset viewer.