Changeset 530 for trunk/eml


Ignore:
Timestamp:
May 30, 2008, 5:21:43 PM (14 years ago)
Author:
Argimiro Resende Secchi
Message:

Fix some examples.

Location:
trunk/eml/reactors
Files:
4 edited

Legend:

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

    r471 r530  
    112112
    113113        for i in [1:NComp]
    114           if (Outletm.z(i) > 0) then
     114          if (Outletm.z(i) > 1e-16) then
    115115            "Molar conversion"
    116116            Outlet.F*Outlet.z(i) = Outletm.F*Outletm.z(i)*(1 - conv(i));
     
    203203
    204204        for i in [1:NComp]
    205           if (Outletm.z(i) > 0) then
     205          if (Outletm.z(i) > 1e-16) then
    206206            "Molar conversion"
    207207            Outlet.F*Outlet.z(i) = Outletm.F*Outletm.z(i)*(1 - conv(i));
  • trunk/eml/reactors/gibbs.mso

    r471 r530  
    108108                G(i) + sumt(lambda*na(:,i)) = -Rg*Outlet.T*ln(activ(i));
    109109
    110           if (Outletm.z(i) > 0) then
     110          if (Outletm.z(i) > 1e-16) then
    111111            "Molar conversion"
    112112            Fi(i) = Outletm.F*Outletm.z(i)*(1 - conv(i));
     
    195195                G(i) + sumt(lambda*na(:,i)) = -Rg*Outlet.T*ln(activ(i));
    196196
    197           if (Outletm.z(i) > 0) then
     197          if (Outletm.z(i) > 1e-16) then
    198198            "Molar conversion"
    199199            Fi(i) = Outletm.F*Outletm.z(i)*(1 - conv(i));
  • trunk/eml/reactors/stoic.mso

    r426 r530  
    7373       
    7474        for i in [1:NComp]
    75           if (Outletm.z(i) > 0) then
     75          if (Outletm.z(i) > 1e-16) then
    7676            "Molar conversion"
    7777            Outlet.F*Outlet.z(i) = Outletm.F*Outletm.z(i)*(1 - conv(i));
     
    124124
    125125        for i in [1:NComp]
    126           if (Outletm.z(i) > 0) then
     126          if (Outletm.z(i) > 1e-16) then
    127127            "Molar conversion"
    128128            Outlet.F*Outlet.z(i) = Outletm.F*Outletm.z(i)*(1 - conv(i));
  • trunk/eml/reactors/yield.mso

    r426 r530  
    8585       
    8686        for i in [1:NComp]
    87           if (Outletm.z(i) > 0) then
     87          if (Outletm.z(i) > 1e-16) then
    8888            "Molar conversion"
    8989            Outlet.F*Outlet.z(i) = Outletm.F*Outletm.z(i)*(1 - conv(i));
Note: See TracChangeset for help on using the changeset viewer.