Changeset 419 for trunk/eml


Ignore:
Timestamp:
Nov 26, 2007, 12:48:55 PM (15 years ago)
Author:
Rodolfo Rodrigues
Message:

Updated stoic reactor model and added sample for this.

File:
1 edited

Legend:

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

    r417 r419  
    183183        EQUATIONS
    184184        "Reaction rate"
    185         rate*V = sumt(stoic)/sumt(stoic(KComp,:))*Outletm.F*Outletm.z(KComp)*kconv;
     185        rate*V = sumt(stoic)/abs(sumt(stoic(KComp,:)))*Outletm.F*Outletm.z(KComp)*kconv;
    186186end
    187187
     
    204204        EQUATIONS
    205205        "Reaction rate"
    206         rate*V = sumt(stoic)/sumt(stoic(KComp,:))*Outletm.F*Outletm.z(KComp)*kconv;
    207 end
     206        rate*V = sumt(stoic)/abs(sumt(stoic(KComp,:)))*Outletm.F*Outletm.z(KComp)*kconv;
     207end
Note: See TracChangeset for help on using the changeset viewer.