Changeset 313 for trunk/eml/stage_separators/tank.mso
- Timestamp:
- Jul 14, 2007, 1:45:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/eml/stage_separators/tank.mso
r310 r313 158 158 159 159 Model tank_simplified 160 ATTRIBUTES 161 Pallete = true; 162 Icon = "icon/Tank"; 163 Brief = "Model of a simplified tank."; 164 Info = 165 "Specify: 166 * the Inlet flow rate; 167 168 Initial Conditions: 169 * the tank initial level (Level); 170 "; 171 160 172 PARAMETERS 161 173 k as Real (Brief="Valve Constant", Unit = 'm^2.5/h', Default=4); … … 163 175 164 176 VARIABLES 165 has length(Brief="Tank level");177 Level as length(Brief="Tank level"); 166 178 in Fin as flow_vol(Brief="Input flow"); 167 179 out Fout as flow_vol(Brief="Output flow"); … … 169 181 EQUATIONS 170 182 "Mass balance" 171 diff(A* h) = Fin - Fout;172 183 diff(A*Level) = Fin - Fout; 184 173 185 "Valve equation" 174 Fout = k*sqrt( h);186 Fout = k*sqrt(Level); 175 187 end 176 188 177 189 Model tank_feed 190 ATTRIBUTES 191 Pallete = true; 192 Icon = "icon/Tank"; 193 Brief = "Model of a tank with feed stream."; 194 Info = 195 "Specify: 196 * the Inlet stream; 197 * the Feed stream; 198 * the outlet flow; 199 * the tank Q. 200 201 Initial Conditions: 202 * the tank initial temperature (OutletL.T); 203 * the tank initial level (Level); 204 * (NoComps - 1) OutletL (OR OutletV) compositions. 205 "; 178 206 179 207 PARAMETERS
Note: See TracChangeset
for help on using the changeset viewer.