Changeset 890 for branches/new_gui/eml/types.mso
- Timestamp:
- Nov 13, 2009, 5:04:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_gui/eml/types.mso
r889 r890 26 26 *----------------------------------------------------------------------------------*# 27 27 28 # Constants29 coefficient as Real (Brief = "General Coefficient", Default=1, Lower=-50, Upper=50);30 constant as Real (Brief = "General Constant", Default=10, Lower=-5000, Upper=5000);31 positive as Real (Brief = "Positive General Constant", Default=1.0, Lower=-1e-6);32 negative as Real (Brief = "Negative General Constant", Default=-1.0, Upper=1e-6);33 fraction as Real (Brief = "Fraction" , Default=0.5, Lower=-1e-6, Upper=1.00001);34 percent as Real (Brief = "Percent", Default=50, final Lower=0, final Upper=100);35 control_signal as Real (Brief = "Control Signal", Default=1, Lower=-1e9, Upper=1e9);36 efficiency as Real (Brief = "Efficiency", Default=0.5, final Lower=0, final Upper=1);28 #-------------------------Constants---------------------------------------------------- 29 coefficient as Real (Brief = "General Coefficient", Default=1, Lower=-50, Upper=50); 30 constant as Real (Brief = "General Constant", Default=10, Lower=-5000, Upper=5000); 31 positive as Real (Brief = "Positive General Constant", Default=1.0, Lower=-1e-6); 32 negative as Real (Brief = "Negative General Constant", Default=-1.0, Upper=1e-6); 33 fraction as Real (Brief = "Fraction" , Default=0.5, Lower=-1e-6, Upper=1.00001); 34 percent as Real (Brief = "Percent", Default=50, final Lower=0, final Upper=100); 35 control_signal as Real (Brief = "Control Signal", Default=1, Lower=-1e9, Upper=1e9); 36 efficiency as Real (Brief = "Efficiency", Default=0.5, final Lower=0, final Upper=1); 37 37 38 # Pressure39 pressure as Real(Brief = "Pressure", Default=1, Lower=1e-30, Upper=5e7, final Unit = 'atm');40 press_delta as pressure (Brief = "Pressure Difference", Default=0.01, Lower=-5e6);41 head_mass as Real(Brief = "Head", Default=50, Lower=-1e6, Upper=1e6, final Unit = 'kJ/kg');42 head as Real(Brief = "Head", Default=50, Lower=-1e6, Upper=1e6, final Unit = 'kJ/kmol');38 #-------------------------Pressure---------------------------------------------------- 39 pressure as Real (Brief = "Pressure", Default=1, Lower=1e-30, Upper=5e7, final Unit = 'atm'); 40 press_delta as pressure (Brief = "Pressure Difference", Default=0.01, Lower=-5e6); 41 head_mass as Real (Brief = "Head", Default=50, Lower=-1e6, Upper=1e6, final Unit = 'kJ/kg'); 42 head as Real (Brief = "Head", Default=50, Lower=-1e6, Upper=1e6, final Unit = 'kJ/kmol'); 43 43 44 # Temperature45 temperature as Real (Brief = "Temperature", Default=300, Lower=27, Upper=5273, final Unit = 'K');46 temp_delta as temperature(Brief = "Temperature Difference", Default=30, Lower=-1000, Upper=1000);44 #-------------------------Temperature---------------------------------------------------- 45 temperature as Real (Brief = "Temperature", Default=300, Lower=27, Upper=5273, final Unit = 'K'); 46 temp_delta as temperature (Brief = "Temperature Difference", Default=30, Lower=-1000, Upper=1000); 47 47 48 # Time49 time_h as positive (Brief = "Time in hours", Default=1, Upper=1e4, final Unit = 'h');50 time_min as time_h(Brief = "Time in minutes", DisplayUnit ='min');51 time_sec as time_h(Brief = "Time in seconds", DisplayUnit = 's');52 frequency as positive(Brief = "Frequency", Default=1, Upper=100, final Unit='1/s');48 #-------------------------Time---------------------------------------------------- 49 time_h as positive (Brief = "Time in hours", Default=1, Upper=1e4, final Unit = 'h'); 50 time_min as time_h (Brief = "Time in minutes", DisplayUnit ='min'); 51 time_sec as time_h (Brief = "Time in seconds", DisplayUnit = 's'); 52 frequency as positive (Brief = "Frequency", Default=1, Upper=100, final Unit='1/s'); 53 53 54 # Size related55 angle as Real(Brief = "Angle", Default=0, Lower=-7, Upper=7, final Unit ='rad');56 area as positive(Brief = "Area", Default=1, Upper=1E6, final Unit ='m^2');57 length as positive(Brief = "Length", Default=1, Upper=5e6, final Unit = 'm');58 length_delta as length(Brief = "Difference of Length", Lower=-1000);59 volume as positive(Brief = "Volume", Default=10, Upper=1000, final Unit = 'm^3');60 volume_mol as positive(Brief = "Molar Volume", Default=10, Upper=1E6, final Unit = 'm^3/mol');61 volume_mass as positive(Brief = "Specific Volume", Default=10, Upper=1E30, final Unit = 'm^3/kg');54 #-------------------------Size related---------------------------------------------------- 55 angle as Real (Brief = "Angle", Default=0, Lower=-7, Upper=7, final Unit ='rad'); 56 area as positive (Brief = "Area", Default=1, Upper=1E6, final Unit ='m^2'); 57 length as positive (Brief = "Length", Default=1, Upper=5e6, final Unit = 'm'); 58 length_delta as length (Brief = "Difference of Length", Lower=-1000); 59 volume as positive (Brief = "Volume", Default=10, Upper=1000, final Unit = 'm^3'); 60 volume_mol as positive (Brief = "Molar Volume", Default=10, Upper=1E6, final Unit = 'm^3/mol'); 61 volume_mass as positive (Brief = "Specific Volume", Default=10, Upper=1E30, final Unit = 'm^3/kg'); 62 62 63 # Eletric63 #-------------------------Eletric---------------------------------------------------- 64 64 current as positive (Brief = "Electrical Current", Default=10, Upper=1e12, final Unit ='A'); 65 charge as Real (Brief = "Electrical Charge", Default=10, Lower=-1e12, Upper=1e12, final Unit ='C');65 charge as Real (Brief = "Electrical Charge", Default=10, Lower=-1e12, Upper=1e12, final Unit ='C'); 66 66 capacitance as positive (Brief = "Electrical Capacitance", Default=10, Upper=1e12, final Unit ='F'); 67 67 indutance as positive (Brief = "Electrical Indutance", Default=10, Upper=1e12, final Unit ='V*s/A'); 68 68 voltage as positive (Brief = "Electrical Voltage", Default=100, Upper=1e9, final Unit = 'V'); 69 69 resistance as positive (Brief = "Eletrical Resistance", Default=50, Upper=800, final Unit = 'ohm'); 70 potency as Real (Brief = "Potency", Default = 10, Lower=-1e3, Upper=1e3, final Unit = 'kW');70 potency as Real (Brief = "Potency", Default = 10, Lower=-1e3, Upper=1e3, final Unit = 'kW'); 71 71 72 # Currency72 #-------------------------Currency---------------------------------------------------- 73 73 currency as Real (Brief = "Currency", Default = 0, final Unit = 'US$'); 74 74 … … 79 79 *----------------------------------------------------------------------------------*# 80 80 81 # elementary 82 mass as positive (Brief = "Mass", Default=2.5, Upper=1e6, final Unit = 'kg'); 83 #mol as positive (Brief = "Moles", Default=2500, Upper=1e9, final Unit = 'mol'); 84 mol as positive (Brief = "Moles", Default=2500, Upper=1e9, final Unit = 'kmol'); 85 kmol as positive (Brief = "Moles", Default=2.5, Upper=1e6, final Unit = 'kmol'); 86 molweight as Real (Brief = "Molar Weight", Default=75, Lower=1, Upper=1e8, final Unit = 'kg/kmol'); 87 molweight_inv as Real (Brief = "Moles Per Mass", Default=1, Lower=0, Upper=1e30, final Unit = 'kmol/kg'); 81 #-------------------------elementary---------------------------------------------------- 82 mass as positive (Brief = "Mass", Default=2.5, Upper=1e6, final Unit = 'kg'); 83 mol as positive (Brief = "Moles", Default=2500, Upper=1e9, final Unit = 'mol'); 84 kmol as positive (Brief = "Moles", Default=2.5, Upper=1e6, final Unit = 'kmol'); 85 molweight as Real (Brief = "Molar Weight", Default=75, Lower=1, Upper=1e8, final Unit = 'kg/kmol'); 86 molweight_inv as Real (Brief = "Moles Per Mass", Default=1, Lower=0, Upper=1e30, final Unit = 'kmol/kg'); 88 87 89 # densities90 dens_mol as Real (Brief = "Molar Density", Default=1, Lower=-1e-20, Upper=5e5, final Unit = 'kmol/m^3');91 dens_mass as Real (Brief = "Mass Density", Default=1000, Lower=-1e-20, Upper=5e8, final Unit ='kg/m^3');88 #-------------------------densities---------------------------------------------------- 89 dens_mol as Real (Brief = "Molar Density", Default=1, Lower=-1e-20, Upper=5e5, final Unit = 'kmol/m^3'); 90 dens_mass as Real (Brief = "Mass Density", Default=1000, Lower=-1e-20, Upper=5e8, final Unit ='kg/m^3'); 92 91 93 # Concentration94 conc_mol as dens_mol(Brief = "Molar Concentration", Default=1e-3);95 inv_conc_mol as Real(Brief = "Inverse of Molar Concentration", Default=0.05, Lower=2e-4, Upper=1e30, final Unit = 'm^3/kmol');96 conc_mass as dens_mass(Brief = "Mass Concentration");97 inv_conc_mass as Real(Brief = "Inverse of Mass Concentration", Default=0.001, Lower=2e-6, Upper=1e30, final Unit = 'm^3/kg');92 #-------------------------Concentration---------------------------------------------------- 93 conc_mol as dens_mol (Brief = "Molar Concentration", Default=1e-3); 94 inv_conc_mol as Real (Brief = "Inverse of Molar Concentration", Default=0.05, Lower=2e-4, Upper=1e30, final Unit = 'm^3/kmol'); 95 conc_mass as dens_mass (Brief = "Mass Concentration"); 96 inv_conc_mass as Real (Brief = "Inverse of Mass Concentration", Default=0.001, Lower=2e-6, Upper=1e30, final Unit = 'm^3/kg'); 98 97 99 # reaction100 reaction_mol as Real (Brief = "Molar Reaction Rate", Default=0, Lower=-1e6, Upper=1e6, final Unit = 'kmol/h/m^3');101 reaction_mass as Real (Brief = "Mass Reaction Rate", Default=0,Lower=-1e3, Upper=1e9, final Unit = 'kg/h/m^3');98 #-------------------------reaction---------------------------------------------------- 99 reaction_mol as Real (Brief = "Molar Reaction Rate", Default=0, Lower=-1e6, Upper=1e6, final Unit = 'kmol/h/m^3'); 100 reaction_mass as Real (Brief = "Mass Reaction Rate", Default=0,Lower=-1e3, Upper=1e9, final Unit = 'kg/h/m^3'); 102 101 103 102 … … 108 107 *----------------------------------------------------------------------------------*# 109 108 110 # Heat Capacity109 #-------------------------Heat Capacity---------------------------------------------------- 111 110 cp_mass as Real (Brief = "Mass Heat Capacity", Default=1.0, Lower=0.1, Upper=1e3, final Unit = 'kJ/kg/K'); 112 cp_mol as Real (Brief = "Molar Heat Capacity", Default=100, Lower=1, Upper=1e4, final Unit = 'kJ/kmol/K');113 cv_mol as Real (Brief = "Molar Heat Capacity", Default=100, Lower=1, Upper=1e4, final Unit ='kJ/kmol/K');111 cp_mol as Real (Brief = "Molar Heat Capacity", Default=100, Lower=1, Upper=1e4, final Unit = 'kJ/kmol/K'); 112 cv_mol as Real (Brief = "Molar Heat Capacity", Default=100, Lower=1, Upper=1e4, final Unit ='kJ/kmol/K'); 114 113 115 # Enthalpy116 enth_mass as Real (Brief = "Mass Enthalpy", Default=500, Lower=-10000, Upper=10000, final Unit = 'kJ/kg');117 enth_mol as Real (Brief = "Molar Enthalpy", Default=500, Lower=-1e9, Upper=1e9, final Unit = 'kJ/kmol');114 #-------------------------Enthalpy---------------------------------------------------- 115 enth_mass as Real (Brief = "Mass Enthalpy", Default=500, Lower=-10000, Upper=10000, final Unit = 'kJ/kg'); 116 enth_mol as Real (Brief = "Molar Enthalpy", Default=500, Lower=-1e9, Upper=1e9, final Unit = 'kJ/kmol'); 118 117 119 # Entropy120 entr_mol as Real (Brief = "Molar Entropy", Default=0, Lower=-1e4, Upper=1e4, final Unit = 'kJ/kmol/K');121 entr_mass as Real (Brief = "Mass Entropy", Default=0, Lower=-1e4, Upper=1e4, final Unit = 'kJ/kg/K');118 #-------------------------Entropy---------------------------------------------------- 119 entr_mol as Real (Brief = "Molar Entropy", Default=0, Lower=-1e4, Upper=1e4, final Unit = 'kJ/kmol/K'); 120 entr_mass as Real (Brief = "Mass Entropy", Default=0, Lower=-1e4, Upper=1e4, final Unit = 'kJ/kg/K'); 122 121 123 # Heat124 heat_reaction as Real(Brief = "Heat Of Reaction", Default=1000, Lower=-1e8, Upper=1e8, final Unit = 'kJ/kmol');125 heat_rate as Real(Brief = "Heat Rate", Default=1000, Lower=-1e9, Upper=1e9, final Unit = 'kW');126 heat_flux as Real(Brief = "Heat Flux", Default=1, Lower=-1e5, Upper=1e5, final Unit = 'kW/m^2');127 heat_trans_coeff as positive (Brief = "Heat Transference Coefficient", Default=1, Upper=1e3, final Unit = 'kW/m^2/K');122 #-------------------------Heat---------------------------------------------------- 123 heat_reaction as Real (Brief = "Heat Of Reaction", Default=1000, Lower=-1e8, Upper=1e8, final Unit = 'kJ/kmol'); 124 heat_rate as Real (Brief = "Heat Rate", Default=1000, Lower=-1e9, Upper=1e9, final Unit = 'kW'); 125 heat_flux as Real (Brief = "Heat Flux", Default=1, Lower=-1e5, Upper=1e5, final Unit = 'kW/m^2'); 126 heat_trans_coeff as positive (Brief = "Heat Transference Coefficient", Default=1, Upper=1e3, final Unit = 'kW/m^2/K'); 128 127 129 # Energy130 energy as Real (Brief = "Energy", Default=10000, Lower=-1e11, Upper=1e11, final Unit = 'kJ');128 #-------------------------Energy---------------------------------------------------- 129 energy as Real (Brief = "Energy", Default=10000, Lower=-1e11, Upper=1e11, final Unit = 'kJ'); 131 130 energy_mass as Real (Brief = "Energy per mass", Default=10000, Lower=-1e15, Upper=1e15, final Unit = 'kJ/kg'); 132 energy_mol as Real (Brief = "Energy per mol", Default=10000, Lower=-1e15, Upper=1e15, final Unit = 'kJ/kmol'); 133 power as Real (Brief = "Power", Default=10, Lower=-1e8, Upper=1e8, final Unit = 'kW'); 134 135 131 energy_mol as Real (Brief = "Energy per mol", Default=10000, Lower=-1e15, Upper=1e15, final Unit = 'kJ/kmol'); 132 power as Real (Brief = "Power", Default=10, Lower=-1e8, Upper=1e8, final Unit = 'kW'); 136 133 137 134 #*----------------------------------------------------------------------------------* … … 141 138 *----------------------------------------------------------------------------------*# 142 139 143 # Flow144 flow_mass as positive(Brief = "Mass Flow", Default=1000, Upper=1e10, final Unit = 'kg/h');145 flow_mass_delta as flow_mass (Brief = "Difference of Flow Mass", Lower=-1e10);146 flow_vol as positive(Brief = "Volumetric Flow", Default=1, Upper=1e12, final Unit = 'm^3/h');147 flow_vol_delta as flow_vol(Brief = "Difference of Volumetric Flow", Lower=-1e12);148 flow_mol as positive(Brief = "Mole Flow", Default=10, Upper=1e8, final Unit = 'kmol/h');149 flow_mol_delta as flow_mol(Brief = "Difference of Mole Flow", Lower=-1e8);140 #-------------------------Flow---------------------------------------------------- 141 flow_mass as positive (Brief = "Mass Flow", Default=1000, Upper=1e10, final Unit = 'kg/h'); 142 flow_mass_delta as flow_mass (Brief = "Difference of Flow Mass", Lower=-1e10); 143 flow_vol as positive (Brief = "Volumetric Flow", Default=1, Upper=1e12, final Unit = 'm^3/h'); 144 flow_vol_delta as flow_vol (Brief = "Difference of Volumetric Flow", Lower=-1e12); 145 flow_mol as positive (Brief = "Mole Flow", Default=10, Upper=1e8, final Unit = 'kmol/h'); 146 flow_mol_delta as flow_mol (Brief = "Difference of Mole Flow", Lower=-1e8); 150 147 151 # Flux152 flux_mol as positive(Brief = "Molar Flux", Default=1, Upper=1e4, final Unit = 'kmol/s/m^2');153 flux_mol_delta as flux_mol(Brief = "Difference of Molar Flux", Lower=-1e4);154 flux_mass as positive(Brief = "Mass Flux", Default=1, Upper=1e6, final Unit = 'kg/s/m^2');155 flux_mass_delta as flux_mass (Brief = "Difference of Mass Flux", Lower=-1e6);156 flux_vol as positive(Brief = "Volumetric Flux", Default=1, Upper=1e4, final Unit = 'm^3/s/m^2');157 flux_vol_delta as flux_vol(Brief = "Difference of Volumetric Flux", Lower=-1e4);148 #-------------------------Flux---------------------------------------------------- 149 flux_mol as positive (Brief = "Molar Flux", Default=1, Upper=1e4, final Unit = 'kmol/s/m^2'); 150 flux_mol_delta as flux_mol (Brief = "Difference of Molar Flux", Lower=-1e4); 151 flux_mass as positive (Brief = "Mass Flux", Default=1, Upper=1e6, final Unit = 'kg/s/m^2'); 152 flux_mass_delta as flux_mass (Brief = "Difference of Mass Flux", Lower=-1e6); 153 flux_vol as positive (Brief = "Volumetric Flux", Default=1, Upper=1e4, final Unit = 'm^3/s/m^2'); 154 flux_vol_delta as flux_vol (Brief = "Difference of Volumetric Flux", Lower=-1e4); 158 155 159 # Velocity160 vel_angular as Real(Brief = "Angular Velocity RPM", Default=1000, Lower=-100000, Upper=100000, final Unit = 'rpm');161 rotation as Real(Brief = "Angular Velocity", Default=500, Lower=-10000, Upper=10000, final Unit = 'rad/s');162 velocity as Real(Brief = "Velocity", Default=1, Lower=-1E5, Upper=1e5, final Unit = 'm/s');163 velocity_delta as velocity (Brief = "Difference of Velocity", Default=0, Lower=-1E3, Upper=-1E3);164 acceleration as Real(Brief = "General Acceleration", Default=9.81, Lower=-1e3, Upper=1e3, final Unit = 'm/s^2');156 #-------------------------Velocity---------------------------------------------------- 157 vel_angular as Real (Brief = "Angular Velocity RPM", Default=1000, Lower=-100000, Upper=100000, final Unit = 'rpm'); 158 rotation as Real (Brief = "Angular Velocity", Default=500, Lower=-10000, Upper=10000, final Unit = 'rad/s'); 159 velocity as Real (Brief = "Velocity", Default=1, Lower=-1E5, Upper=1e5, final Unit = 'm/s'); 160 velocity_delta as velocity (Brief = "Difference of Velocity", Default=0, Lower=-1E3, Upper=-1E3); 161 acceleration as Real (Brief = "General Acceleration", Default=9.81, Lower=-1e3, Upper=1e3, final Unit = 'm/s^2'); 165 162 166 # Others167 fricfactor as Real (Brief = "Friction Factor", Default=0.05, Lower=1e-5, Upper=2000);168 moment_inertia as Real (Brief = "Moment Of Inertia", Default=100, Lower=1E-3, Upper=1E4, final Unit = 'kg*m^2');169 hookes_const as Real (Brief = "Hookes Constant", Default=1e5, Lower=1, Upper=1e10, final Unit = 'N/m');163 #-------------------------Others---------------------------------------------------- 164 fricfactor as Real (Brief = "Friction Factor", Default=0.05, Lower=1e-5, Upper=2000); 165 moment_inertia as Real (Brief = "Moment Of Inertia", Default=100, Lower=1E-3, Upper=1E4, final Unit = 'kg*m^2'); 166 hookes_const as Real (Brief = "Hookes Constant", Default=1e5, Lower=1, Upper=1e10, final Unit = 'N/m'); 170 167 171 168 … … 177 174 *----------------------------------------------------------------------------------*# 178 175 179 # Conductivity176 #-------------------------Conductivity---------------------------------------------------- 180 177 conductivity as Real (Brief = "Thermal Conductivity", Default=1.0, Lower=0.001, Upper=500, final Unit = 'W/m/K'); 181 178 182 # Difusivity179 #-------------------------Difusivity---------------------------------------------------- 183 180 diffusivity as positive (Brief = "Diffusivity", Default=1e-3, Upper=1, final Unit ='cm^2/s'); 184 181 185 # Fugacity182 #-------------------------Fugacity---------------------------------------------------- 186 183 fugacity as positive (Brief = "Fugacity Coefficient", Default=0.5, Upper=10); 187 184 188 # Viscosity185 #-------------------------Viscosity---------------------------------------------------- 189 186 viscosity as Real (Brief = "Viscosity", Default=1, Lower=1e-30, Upper=1e5, final Unit = 'cP'); 190 187 191 # Molar and Specific Volume192 vol_mol as volume_mol(Brief = "Molar Volume");193 vol_mass as volume_mass(Brief = "Specific Volume");188 #-------------------------Molar and Specific Volume---------------------------------------------------- 189 vol_mol as volume_mol (Brief = "Molar Volume"); 190 vol_mass as volume_mass (Brief = "Specific Volume"); 194 191 195 # Others196 spec_surface_vol as positive (Brief = "Specific Surface Volume", Default=1e5, Upper=1e15, final Unit = 'm^2/m^3');197 spec_surface_mass as positive (Brief = "Specific Surface Mass", Default=100, Upper=1e12, final Unit = 'm^2/kg');198 surf_tens as positive (Brief = "Surface Tension", Default=0.05, Upper=1, final Unit = 'N/m');199 act_coeff as positive (Brief = "Activity Coefficient for Liquid", Default=1, Upper=30);200 ph as Real(Brief = "pH", Default=7, Lower=-5, Upper=20);192 #-------------------------Others---------------------------------------------------- 193 spec_surface_vol as positive (Brief = "Specific Surface Volume", Default=1e5, Upper=1e15, final Unit = 'm^2/m^3'); 194 spec_surface_mass as positive (Brief = "Specific Surface Mass", Default=100, Upper=1e12, final Unit = 'm^2/kg'); 195 surf_tens as positive (Brief = "Surface Tension", Default=0.05, Upper=1, final Unit = 'N/m'); 196 act_coeff as positive (Brief = "Activity Coefficient for Liquid", Default=1, Upper=30); 197 ph as Real (Brief = "pH", Default=7, Lower=-5, Upper=20); 201 198 202 199 203
Note: See TracChangeset
for help on using the changeset viewer.