Changeset 152
 Timestamp:
 Feb 6, 2007, 3:57:49 PM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/eml/pressure_changers/valve.mso
r109 r152 54 54 55 55 SET 56 rho60F = 999. 2 * "kg/m^3";56 rho60F = 999.02 * "kg/m^3"; 57 57 58 58 EQUATIONS … … 105 105 Model valve_parabolic as valve_basic 106 106 107 PARAMETERS 108 n as positive (Brief = "Constant", Lower = 1.4, Upper = 2.6); 109 110 VARIABLES 111 x as fraction (Brief = "Opening"); 112 113 EQUATIONS 114 115 "Opening Equation" 116 fc = x^n; 107 108 VARIABLES 109 x as fraction (Brief = "Opening"); 110 111 EQUATIONS 112 113 "Opening Equation" 114 fc = x^2; 117 115 118 116 end … … 120 118 Model valve_equal as valve_basic 121 119 122 PARAMETERS 123 a as Real (Brief = "Constant", Default = 100); 124 125 VARIABLES 126 x as fraction (Brief = "Opening"); 127 128 EQUATIONS 129 130 "Opening Equation" 131 fc = a^(x1); 120 121 VARIABLES 122 x as fraction (Brief = "Opening"); 123 124 EQUATIONS 125 126 "Opening Equation" 127 fc = x^2/(2x^4)^(1/2); 132 128 133 129 end … … 135 131 Model valve_quick as valve_basic 136 132 137 PARAMETERS 138 a as positive (Brief = "Constant", Default = 0.05); 139 n as positive (Brief = "Constant", Default = 5); 140 141 VARIABLES 142 x as fraction (Brief = "Opening"); 143 144 EQUATIONS 145 146 "Opening Equation" 147 fc = (1(a*(1x)(a1)*(1x)^n)); 133 134 VARIABLES 135 x as fraction (Brief = "Opening"); 136 137 EQUATIONS 138 139 "Opening Equation" 140 fc = 10*x/sqrt(1+99*x^2); 148 141 149 142 end
Note: See TracChangeset
for help on using the changeset viewer.