Changeset 172 for branches


Ignore:
Timestamp:
Mar 2, 2007, 10:16:58 AM (16 years ago)
Author:
gerson bicca
Message:

updated batch reactor

Location:
branches/newlanguage
Files:
2 edited

Legend:

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

    r171 r172  
    3030PARAMETERS
    3131
    32 ext     NComp as Integer;
     32outer   NComp as Integer;
    3333        NReac as Integer;
    3434        stoic(NComp, NReac) as Real (Brief = "Stoichiometric Matrix");
  • branches/newlanguage/sample/reactors/sample_batch.mso

    r82 r172  
    3535       
    3636        PARAMETERS
    37         k1 as Real(Unit="(l/mol)^3.5/min", Default=18.7);
    38         k2 as Real(Unit="l/mol/min", Default=0.58);
    39         k3 as Real(Unit="(l/mol)^2/min", Default=0.09);
    40         k4 as Real(Unit="(l/mol)^1.5/min", Default=0.42);
     37        k1 as Real(Unit='(l/mol)^3.5/min', Default=18.7);
     38        k2 as Real(Unit='l/mol/min', Default=0.58);
     39        k3 as Real(Unit='(l/mol)^2/min', Default=0.09);
     40        k4 as Real(Unit='(l/mol)^1.5/min', Default=0.42);
    4141        Ks as inv_conc_mol(Default=115.83);
    4242        K  as Real(Default=34.4);
     
    7575        SPECIFY
    7676        "Feed conditions"
    77         feed.T = 300*"K";
    78         feed.P = 1*"atm";
    79         feed.h = 0*"J/mol";
     77        feed.T = 300*'K';
     78        feed.P = 1*'atm';
     79        feed.h = 0*'J/mol';
    8080        feed.v = 0;
    8181        feed.z = [0,1,0,0,0];
    8282
    8383        "Reactor volume"
    84         reac.Vr = 1 * "l";
     84        reac.Vr = 1 * 'l';
    8585       
    8686        INITIAL
    8787        "Initial concentration"
    88         reac.C=[0.444, 0.00122, 0, 0.007, 0] * "mol/l";
     88        reac.C=[0.444, 0.00122, 0, 0.007, 0] * 'mol/l';
    8989
    9090        OPTIONS
    91         time = [0:100:180*60];
     91        TimeStep = 100;
     92        TimeEnd = 180*60;
    9293end
Note: See TracChangeset for help on using the changeset viewer.