Ignore:
Timestamp:
May 8, 2009, 10:22:18 AM (14 years ago)
Author:
Rodolfo Rodrigues
Message:

Updated to use 'Protected' and 'Hidden' modifiers

File:
1 edited

Legend:

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

    r530 r752  
    6262        NReac           as Integer              (Brief="Number of reactions", Default=1);
    6363    stoic(NComp,NReac) as Real  (Brief="Stoichiometric matrix", Symbol="\nu");
    64         Rg                      as Real                 (Brief="Universal gas constant", Unit='J/mol/K', Default=8.314);
    65         fs(NComp)       as pressure     (Brief="Fugacity in standard state", Default=1, DisplayUnit='atm');
    66         To                      as temperature  (Brief="Reference temperature", Default=298.15);
     64        Rg                      as Real                 (Brief="Universal gas constant", Unit='J/mol/K', Default=8.314, Hidden=true);
     65        fs(NComp)       as pressure     (Brief="Fugacity in standard state", Default=1, DisplayUnit='atm', Hidden=true);
     66        To                      as temperature  (Brief="Reference temperature", Default=298.15, Hidden=true);
    6767
    6868        VARIABLES
    6969out Outlet              as vapour_stream(Brief="Outlet stream", PosX=1, PosY=1, Symbol="_{out}");
    7070
    71         G(NComp)        as energy_mol   (Brief="Gibbs free-energy of formation");
    72         K(NReac)        as Real                 (Brief="Equillibrium constant", Lower=0, Default=1.5);
    73         activ(NComp)as Real             (Brief="Activity", Symbol="\hat{a}", Lower=0, Default=0.2);
     71        G(NComp)        as energy_mol   (Brief="Gibbs free-energy of formation", Protected=true);
     72        K(NReac)        as Real                 (Brief="Equillibrium constant", Lower=0, Default=1.5, Protected=true);
     73        activ(NComp)as Real             (Brief="Activity", Symbol="\hat{a}", Lower=0, Default=0.2, Protected=true);
    7474       
    7575        rate(NComp) as reaction_mol (Brief="Overall component rate of reaction");
     
    153153        NReac           as Integer              (Brief="Number of reactions", Default=1);
    154154    stoic(NComp,NReac) as Real  (Brief="Stoichiometric matrix", Symbol="\nu");
    155         Rg                      as Real                 (Brief="Universal gas constant", Unit='J/mol/K', Default=8.314);
    156         Ps                      as pressure     (Brief="Standard pressure", Default=1, DisplayUnit='bar');
    157         To                      as temperature  (Brief="Reference temperature", Default=298.15);
     155        Rg                      as Real                 (Brief="Universal gas constant", Unit='J/mol/K', Default=8.314, Hidden=true);
     156        Ps                      as pressure     (Brief="Standard pressure", Default=1, DisplayUnit='bar', Hidden=true);
     157        To                      as temperature  (Brief="Reference temperature", Default=298.15, Hidden=true);
    158158
    159159        VARIABLES
    160160out Outlet              as liquid_stream(Brief="Outlet stream", PosX=1, PosY=1, Symbol="_{out}");
    161161
    162         G(NReac)        as enth_mol     (Brief="Gibbs free-energy of formation");
    163         K(NReac)        as fraction             (Brief="Equillibrium constant");
    164         activ(NComp)as Real             (Brief="Activity", Symbol="\hat{a}");
     162        G(NReac)        as enth_mol     (Brief="Gibbs free-energy of formation", Protected=true);
     163        K(NReac)        as fraction             (Brief="Equillibrium constant", Protected=true);
     164        activ(NComp)as Real             (Brief="Activity", Symbol="\hat{a}", Protected=true);
    165165       
    166166        rate(NComp) as reaction_mol (Brief="Overall component rate of reaction");
Note: See TracChangeset for help on using the changeset viewer.