Changeset 792 for branches/gui/eml/stage_separators/condenser.mso
- Timestamp:
- Jul 14, 2009, 6:14:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/eml/stage_separators/condenser.mso
r786 r792 116 116 117 117 Model condenserSteady 118 ATTRIBUTES 118 119 ATTRIBUTES 119 120 Pallete = true; 120 121 Icon = "icon/CondenserSteady"; 121 122 Brief = "Model of a Steady State condenser with no thermodynamics equilibrium."; 122 123 Info = 123 "== A ssumptions==124 "== ASSUMPTIONS == 124 125 * perfect mixing of both phases; 125 126 * no thermodynamics equilibrium. 126 127 == Specify == 128 * the inlet stream; 127 128 == SET == 129 129 * the pressure drop in the condenser; 130 * the InletQ (the model requires an energy stream). 130 131 == SPECIFY == 132 * the InletVapour stream; 133 * the InletQ (the model requires an energy stream, also you can use a controller for setting the heat duty using the heat_flow model). 134 135 == OPTIONAL == 136 * the condenser model has two control ports 137 ** TI OutletLiquid Temperature Indicator; 138 ** PI OutletLiquid Pressure Indicator; 131 139 "; 132 140 133 141 PARAMETERS 134 outer PP 135 outer NComp as Integer (Brief = "Number of Components");136 137 Pdrop as press_delta (Brief="Pressure Drop in the condenser",Default=0);142 outer PP as Plugin (Brief = "External Physical Properties", Type="PP"); 143 outer NComp as Integer (Brief = "Number of Components"); 144 145 Pdrop as press_delta (Brief="Pressure Drop in the condenser",Default=0, Symbol="\Delta _P"); 138 146 139 147 VARIABLES 140 in InletVapour as stream (Brief="Vapour inlet stream", PosX=0.3431, PosY=0, Symbol="_{inV}"); 141 out OutletLiquid as liquid_stream (Brief="Liquid outlet stream", PosX=0.34375, PosY=1, Symbol="_{outL}"); 142 in InletQ as power (Brief="Cold supplied", PosX=1, PosY=0.5974, Symbol="_{in}",Protected=true); 143 148 in InletVapour as stream (Brief="Vapour inlet stream", PosX=0.3431, PosY=0, Symbol="_{in}^{Vapour}"); 149 out OutletLiquid as liquid_stream (Brief="Liquid outlet stream", PosX=0.34375, PosY=1, Symbol="_{out}^{Liquid}"); 150 in InletQ as power (Brief="Heat Duty", PosX=1, PosY=0.5974, Symbol="Q_{in}",Protected=true); 151 152 out TI as control_signal (Brief="Temperature Indicator of Condenser", Protected = true, PosX=1, PosY=0.40); 153 out PI as control_signal (Brief="Pressure Indicator of Condenser", Protected = true, PosX=1, PosY=0.10); 154 144 155 EQUATIONS 145 156 … … 155 166 "Pressure Drop" 156 167 OutletLiquid.P = InletVapour.P - Pdrop; 168 169 "Temperature indicator" 170 TI * 'K' = OutletLiquid.T; 171 172 "Pressure indicator" 173 PI * 'atm' = OutletLiquid.P; 157 174 158 175 end
Note: See TracChangeset
for help on using the changeset viewer.