Changeset 108
 Timestamp:
 Jan 11, 2007, 5:32:06 PM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

mso/eml/pressure_changers/valve.mso
r106 r108 27 27 * * Isentalpic 28 28 * * Liquid 29 * 29 * 30 30 * 31 31 * Author: Estefane Horn, Núbia do Carmo Ferreira … … 92 92 end 93 93 94 #* 95 * Model of a valve_linear 96 **# 97 #*  Specify: 98 * * Opening fraction (x) 99 * 100 **# 101 102 94 103 Model valve_linear as valve_basic 95 104 … … 100 109 101 110 "Opening Equation" 102 fc = 1*x; 103 104 end 111 fc = x; 112 113 end 114 115 #* 116 * Model of a valve_parabolic 117 **# 118 #*  Specify: 119 * * Opening fraction (x) 120 * 121 **# 105 122 106 123 Model valve_parabolic as valve_basic … … 115 132 116 133 "Opening Equation" 117 fc = 1*x^n; 118 119 end 120 121 Model valve_equal as valve_basic 134 fc = x^n; 135 136 end 137 138 #* 139 * Model of a valve_equal 140 **# 141 #*  Specify: 142 * * Opening fraction (x) 143 * 144 **# 145 146 Model valve_equal as valve_basic 122 147 123 148 PARAMETERS … … 133 158 134 159 end 160 161 #* 162 * Model of a valve_quick 163 **# 164 #*  Specify: 165 * * Opening fraction (x) 166 * 167 **# 135 168 136 169 Model valve_quick as valve_basic … … 214 247 #if Inlet.P > Outlet.P then 215 248 # "Flow" 216 Outlet.F * v = k*x*sqrt((Inlet.P  Outlet.P)*rho_ref / rho ) ;249 Outlet.F * v = cv*x*sqrt((Inlet.P  Outlet.P)*rho_ref / rho ) ; 217 250 #else 218 251 # "Closed"
Note: See TracChangeset
for help on using the changeset viewer.