Changeset 752 for trunk/eml/reactors
- Timestamp:
- May 8, 2009, 10:22:18 AM (14 years ago)
- Location:
- trunk/eml/reactors
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/eml/reactors/equil.mso
r530 r752 62 62 NReac as Integer (Brief="Number of reactions", Default=1); 63 63 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); 67 67 68 68 VARIABLES 69 69 out Outlet as vapour_stream(Brief="Outlet stream", PosX=1, PosY=1, Symbol="_{out}"); 70 70 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); 74 74 75 75 rate(NComp) as reaction_mol (Brief="Overall component rate of reaction"); … … 153 153 NReac as Integer (Brief="Number of reactions", Default=1); 154 154 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); 158 158 159 159 VARIABLES 160 160 out Outlet as liquid_stream(Brief="Outlet stream", PosX=1, PosY=1, Symbol="_{out}"); 161 161 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); 165 165 166 166 rate(NComp) as reaction_mol (Brief="Overall component rate of reaction"); -
trunk/eml/reactors/gibbs.mso
r530 r752 61 61 62 62 PARAMETERS 63 outerNElem as Integer (Brief="Number of elements", Default=1);64 Rg as Real (Brief="Universal gas constant", Unit='J/mol/K', Default=8.314 );63 NElem as Integer (Brief="Number of elements", Default=1); 64 Rg as Real (Brief="Universal gas constant", Unit='J/mol/K', Default=8.314, Hidden=true); 65 65 na(NElem,NComp) as Real (Brief="Number of elements per component"); 66 fs(NComp) as pressure (Brief="Fugacity in standard state", Default=1, DisplayUnit='atm' );67 To as temperature (Brief="Reference temperature", Default=298.15 );66 fs(NComp) as pressure (Brief="Fugacity in standard state", Default=1, DisplayUnit='atm', Hidden=true); 67 To as temperature (Brief="Reference temperature", Default=298.15, Hidden=true); 68 68 69 69 VARIABLES 70 70 out Outlet as vapour_stream(Brief="Outlet stream", PosX=1, PosY=1, Symbol="_{out}"); 71 71 72 G(NComp) as energy_mol (Brief="Gibbs free-energy change of formation" );73 lambda(NElem) as energy_mol (Brief="Lagrangian multiplier", Symbol="\lambda" );74 activ(NComp) as Real (Brief="Activity", Symbol="\hat{a}", Lower=0 );72 G(NComp) as energy_mol (Brief="Gibbs free-energy change of formation", Protected=true); 73 lambda(NElem) as energy_mol (Brief="Lagrangian multiplier", Symbol="\lambda", Hidden=true); 74 activ(NComp) as Real (Brief="Activity", Symbol="\hat{a}", Lower=0, Protected=true); 75 75 76 76 rate(NComp) as reaction_mol (Brief="Overall component rate of reaction"); 77 77 conv(NComp) as Real (Brief="Fractional conversion of component", Symbol="X", Default=0); 78 Fi(NComp) as flow_mol (Brief="Component molar flow rate" );78 Fi(NComp) as flow_mol (Brief="Component molar flow rate", Hidden=true); 79 79 80 80 EQUATIONS … … 148 148 149 149 PARAMETERS 150 outerNElem as Integer (Brief="Number of elements", Default=1);151 Rg as Real (Brief="Universal gas constant", Unit='J/mol/K', Default=8.314 );150 NElem as Integer (Brief="Number of elements", Default=1); 151 Rg as Real (Brief="Universal gas constant", Unit='J/mol/K', Default=8.314, Hidden=true); 152 152 na(NElem,NComp) as Real (Brief="Number of elements per component"); 153 Ps as pressure (Brief="Pressure of standard state", Default=1, DisplayUnit='atm' );154 To as temperature (Brief="Reference temperature", Default=298.15 );153 Ps as pressure (Brief="Pressure of standard state", Default=1, DisplayUnit='atm', Hidden=true); 154 To as temperature (Brief="Reference temperature", Default=298.15, Hidden=true); 155 155 156 156 VARIABLES 157 157 out Outlet as liquid_stream(Brief="Outlet stream", PosX=1, PosY=1, Symbol="_{out}"); 158 158 159 G(NComp) as energy_mol (Brief="Gibbs free-energy change of formation" );160 lambda(NElem) as energy_mol (Brief="Lagrangian multiplier", Symbol="\lambda" );161 activ(NComp) as Real (Brief="Activity", Symbol="\hat{a}", Lower=0 );159 G(NComp) as energy_mol (Brief="Gibbs free-energy change of formation", Protected=true); 160 lambda(NElem) as energy_mol (Brief="Lagrangian multiplier", Symbol="\lambda", Hidden=true); 161 activ(NComp) as Real (Brief="Activity", Symbol="\hat{a}", Lower=0, Protected=true); 162 162 163 163 rate(NComp) as reaction_mol (Brief="Overall component rate of reaction"); 164 164 conv(NComp) as Real (Brief="Fractional conversion of component", Symbol="X", Default=0); 165 Fi(NComp) as flow_mol (Brief="Component molar flow rate" );165 Fi(NComp) as flow_mol (Brief="Component molar flow rate", Hidden=true); 166 166 167 167 EQUATIONS -
trunk/eml/reactors/tank_basic.mso
r426 r752 43 43 VARIABLES 44 44 in Inlet as stream (Brief="Inlet stream", PosX=0, PosY=0, Symbol="_{in}"); 45 Outletm as stream (Brief="Intermediary outlet stream", Symbol="_{outm}" );45 Outletm as stream (Brief="Intermediary outlet stream", Symbol="_{outm}", Hidden=true); 46 46 Tank as vol_tank (Brief="Routine to volume tank calculation", Symbol="_{tank}"); 47 47 48 M(NComp)as mol (Brief="Component molar holdup" );49 Mt as mol (Brief="Total component molar holdup" );50 E as energy (Brief="Internal energy" );48 M(NComp)as mol (Brief="Component molar holdup", Protected=true); 49 Mt as mol (Brief="Total component molar holdup", Protected=true); 50 E as energy (Brief="Internal energy", Protected=true); 51 51 Q as heat_rate(Brief="Reactor duty", Default=0); 52 52 … … 123 123 VARIABLES 124 124 in Inlet as stream (Brief="Inlet stream", PosX=0, PosY=0, Symbol="_{in}"); 125 OutletmL as liquid_stream (Brief="Intermediary liquid outlet stream", Symbol="_{outmL}" );125 OutletmL as liquid_stream (Brief="Intermediary liquid outlet stream", Symbol="_{outmL}", Hidden=true); 126 126 out OutletV as vapour_stream (Brief="Outlet vapour stream", Symbol="_{outV}"); 127 127 Tank as vol_tank (Brief="Routine to volume tank calculation", Symbol="_{tank}"); 128 128 129 M(NComp)as mol (Brief="Component molar holdup" );130 ML as mol (Brief="Molar liquid holdup" );131 MV as mol (Brief="Molar vapour holdup" );132 E as energy (Brief="Internal energy" );129 M(NComp)as mol (Brief="Component molar holdup", Protected=true); 130 ML as mol (Brief="Molar liquid holdup", Protected=true); 131 MV as mol (Brief="Molar vapour holdup", Protected=true); 132 E as energy (Brief="Internal energy", Protected=true); 133 133 Q as heat_rate (Brief="Reactor duty", Default=0); 134 vL as volume_mol (Brief="Liquid Molar Volume" );134 vL as volume_mol (Brief="Liquid Molar Volume", Protected=true); 135 135 136 136 EQUATIONS -
trunk/eml/reactors/vol_tank.mso
r427 r752 53 53 54 54 PARAMETERS 55 pi as positive (Brief="Pi value", Default=3.141593, Symbol="\pi" );55 pi as positive (Brief="Pi value", Default=3.141593, Symbol="\pi", Hidden=true); 56 56 Geometry as Switcher (Brief="Tank head type", Valid=["flat","spherical"], Default="flat"); 57 57 Orientation as Switcher(Brief="Tank orientation", Valid=["vertical","horizontal"], Default="vertical");
Note: See TracChangeset
for help on using the changeset viewer.