Ignore:
Timestamp:
Mar 15, 2007, 2:18:39 AM (16 years ago)
Author:
Argimiro Resende Secchi
Message:

Fix more sample problems to new language.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/eml/reactors/cstr.mso

    r169 r208  
    4848EQUATIONS
    4949
     50"Molar Concentration"
     51        Outlet.z * M = C * Vr;
     52
    5053"Molar fraction"
    51         Outlet.z * M = C * Vr;
    52        
    53 "Vapourisation Fraction"
    54         Outlet.v = Inlet.v;
    55 
     54    sum(Outlet.z) = 1;
    5655end
    5756
     
    8584        Info            =
    8685        "write some information";
    87        
     86
    8887VARIABLES
    8988       
     
    9796
    9897"Reactor Energy Balance"
    99         diff(M*Outlet.h) = Inlet.F*Inlet.h - Outlet.F*Outlet.h +sum(Hr*sum(stoic*r))*Vr - q;
     98        diff(M*Outlet.h) = Inlet.F*Inlet.h - Outlet.F*Outlet.h +sum(Hr*sum(stoic*r))*Vr - q; #FIXME sum(sum())
    10099
    101100end
Note: See TracChangeset for help on using the changeset viewer.