source: trunk/eml/types.mso @ 233

Last change on this file since 233 was 210, checked in by Argimiro Resende Secchi, 16 years ago

Remove convergence problems of some samples.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 10.5 KB
Line 
1#*-------------------------------------------------------------------
2* EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC.
3*
4* This LIBRARY is free software; you can distribute it and/or modify
5* it under the therms of the ALSOC FREE LICENSE as available at
6* http://www.enq.ufrgs.br/alsoc.
7*
8* EMSO Copyright (C) 2004 - 2007 ALSOC, original code
9* from http://www.rps.eng.br Copyright (C) 2002-2004.
10* All rights reserved.
11*
12* EMSO is distributed under the therms of the ALSOC LICENSE as
13* available at http://www.enq.ufrgs.br/alsoc.
14*
15*----------------------------------------------------------------------
16* Author: Paula B. Staudt
17* $Id: types.mso 210 2007-03-15 12:52:28Z arge $
18*--------------------------------------------------------------------*#
19
20
21
22#*----------------------------------------------------------------------------------*
23*
24*-------------------------  Fundamental Variables ----------------------------------*
25*
26*----------------------------------------------------------------------------------*#
27
28# Constants
29coefficient as Real (Brief = "General Coefficient", Default=1, Lower=-50, Upper=50);
30constant as Real (Brief = "General Constant", Default=10, Lower=-5000, Upper=5000);
31positive as Real (Brief = "Positive General Constant", Default=1.0, Lower=-1e-6);
32negative as Real (Brief = "Negative General Constant", Default=-1.0, final Upper=1e-6);
33fraction as Real (Brief = "Fraction" , Default=0.5, final Lower=-1e-6, final Upper=1.00001);
34percent as Real (Brief = "Percent", Default=50, final Lower=0, final Upper=100);
35control_signal as Real (Brief = "Control Signal", Default=1, Lower=-1e9, Upper=1e9);
36efficiency as Real (Brief = "Efficiency", Default=0.5, final Lower=0, final Upper=1);
37
38# Pressure
39pressure as Real (Brief = "Pressure", Default=1, Lower=1e-30, Upper=5e7, final Unit = 'atm');
40press_delta as pressure (Brief = "Pressure Difference", Default=0.01, Lower=-5e6);
41head_mass as Real (Brief = "Head", Default=50, Lower=-1e6, Upper=1e6, final Unit = 'kJ/kg');
42head as Real (Brief = "Head", Default=50, Lower=-1e6, Upper=1e6, final Unit = 'kJ/kmol');
43
44# Temperature
45temperature as Real (Brief = "Temperature", Default=300, Lower=27, Upper=5273, final Unit = 'K');
46temp_delta as temperature (Brief = "Temperature Difference", Default=30, Lower=-1000, Upper=1000);
47
48# Time
49time_h as positive (Brief = "Time in hours", Default=1, Upper=1e4, final Unit = 'h');
50time_min as time_h (Brief = "Time in minutes", DisplayUnit ='min');
51time_sec as time_h (Brief = "Time in seconds", DisplayUnit = 's');
52frequency as positive(Brief = "Frequency", Default=1, Upper=100, final Unit='1/s');
53
54# Size related
55angle as Real (Brief = "Angle", Default=0, Lower=-7, Upper=7, final Unit ='rad');
56area as positive (Brief = "Area", Default=1, Upper=1E6, final Unit ='m^2');
57length as positive (Brief = "Length", Default=1, Upper=5e6, final Unit = 'm');
58length_delta as length (Brief = "Difference of Length", Lower=-1000);
59volume as positive (Brief = "Volume", Default=10, Upper=1000, final Unit = 'm^3');
60volume_mol as positive (Brief = "Molar Volume", Default=10, Upper=1E6, final Unit = 'm^3/mol');
61volume_mass as positive (Brief = "Specific Volume", Default=10, Upper=1E30, final Unit = 'm^3/kg');
62
63# Eletric
64current     as positive (Brief = "Electrical Current", Default=10, Upper=1e12, final Unit ='A');
65charge      as Real (Brief = "Electrical Charge", Default=10, Lower=-1e12, Upper=1e12, final Unit ='C');
66capacitance as positive (Brief = "Electrical Capacitance", Default=10, Upper=1e12, final Unit ='F');
67indutance   as positive (Brief = "Electrical Indutance", Default=10, Upper=1e12, final Unit ='V*s/A');
68voltage     as positive (Brief = "Electrical Voltage", Default=100, Upper=1e9, final Unit = 'V');
69resistance  as positive (Brief = "Eletrical Resistance", Default=50, Upper=800, final Unit = 'ohm');
70potency     as Real(Brief = "Potency", Default = 10, Lower=-1e3, Upper=1e3, final Unit = 'kW');
71
72
73#*----------------------------------------------------------------------------------*
74*
75*-------------------------  Concentration Related ----------------------------------*
76*
77*----------------------------------------------------------------------------------*#
78
79# elementary
80mass as positive (Brief = "Mass", Default=2.5, Upper=1e6, final Unit = 'kg');
81mol as positive (Brief = "Moles", Default=2.5, Upper=1e6, final Unit = 'kmol');
82molweight as Real (Brief = "Molar Weight", Default=75, Lower=1, Upper=1e8, final Unit = 'kg/kmol');
83molweight_inv as Real (Brief = "Moles Per Mass", Default=1, Lower=0, Upper=1e30, final Unit = 'kmol/kg');
84
85# densities
86dens_mol as Real (Brief = "Molar Density", Default=1, Lower=1e-30, Upper=5e3, final Unit = 'kmol/m^3');
87dens_mass as Real (Brief = "Mass Density", Default=1000, Lower=1e-30, Upper=5e5, final Unit ='kg/m^3');
88
89# Concentration
90conc_mol as dens_mol (Brief = "Molar Concentration", Default=1e-3);
91inv_conc_mol as Real (Brief = "Inverse of Molar Concentration", Default=0.05, Lower=2e-4, Upper=1e30, final Unit = 'm^3/kmol');
92conc_mass as dens_mass (Brief = "Mass Concentration");
93inv_conc_mass as Real (Brief = "Inverse of Mass Concentration", Default=0.001, Lower=2e-6, Upper=1e30, final Unit = 'm^3/kg');
94
95# reaction
96reaction_mol as Real (Brief = "Molar Reaction Rate", Default=10, Lower=-1e6, Upper=1e6, final Unit = 'kmol/h/m^3');
97reaction_mass as Real (Brief = "Mass Reaction Rate", Default=1000,Lower=-1e3, Upper=1e9, final Unit = 'kg/h/m^3');
98
99
100#*----------------------------------------------------------------------------------*
101*
102*------------------------- Thermodynamics Properties -------------------------------*
103*
104*----------------------------------------------------------------------------------*#
105
106# Heat Capacity
107cp_mass as Real (Brief = "Mass Heat Capacity", Default=1.0, Lower=0.1, Upper=10.0, final Unit = 'kJ/kg/K'); 
108cp_mol as Real (Brief = "Molar Heat Capacity", Default=100, Lower=1, Upper=1e3, final Unit = 'J/mol/K');
109cv_mol as Real (Brief = "Molar Heat Capacity", Default=100, Lower=1, Upper=1e3, final Unit ='J/mol/K');   
110
111# Enthalpy
112enth_mass as Real (Brief = "Mass Enthalpy", Default=500, Lower=-10000, Upper=10000, final Unit = 'kJ/kg');
113enth_mol as Real (Brief = "Molar Enthalpy", Default=500, Lower=-1e9, Upper=1e9, final Unit = 'J/mol');
114
115# Entropy
116entr_mol as Real (Brief = "Molar Entropy", Default=0, Lower=-1e4, Upper=1e4, final Unit = 'kJ/kmol/K');
117entr_mass as Real (Brief = "Mass Entropy", Default=0, Lower=-1e4, Upper=1e4, final Unit = 'kJ/kg/K');
118
119# Heat
120heat_reaction as Real (Brief = "Heat Of Reaction", Default=1000, Lower=-1e8, Upper=1e8, final Unit = 'kJ/kmol');
121heat_rate as Real (Brief = "Heat Rate", Default=1000, Lower=-1e11, Upper=1e11, final Unit = 'J/s');
122heat_flux as Real (Brief = "Heat Flux", Default=1, Lower=-1e5, Upper=1e5, final Unit = 'kW/m^2');
123heat_trans_coeff as positive (Brief = "Heat Transference Coefficient", Default=1, Upper=1e3, final Unit = 'kW/m^2/K');
124
125# Energy
126energy as Real (Brief = "Energy", Default=10000, Lower=-1e11, Upper=1e11, final Unit = 'kJ');
127energy_mass as Real (Brief = "Energy per mass", Default=10000, Lower=-1e15, Upper=1e15, final Unit = 'kJ/kg');
128energy_mol as Real (Brief = "Energy per mol", Default=10000, Lower=-1e15, Upper=1e15, final Unit = 'kJ/kmol');
129power as Real (Brief = "Power", Default=10, Lower=-1e8, Upper=1e8, final Unit = 'kW');
130
131
132
133#*----------------------------------------------------------------------------------*
134*
135*--------------------------- Mass Transport ----------------------------------------*
136*
137*----------------------------------------------------------------------------------*#
138
139# Flow
140flow_mass as positive (Brief = "Mass Flow", Default=1000, Upper=1e10, final Unit = 'kg/h');
141flow_mass_delta as flow_mass (Brief = "Difference of Flow Mass", Lower=-1e10);
142flow_vol as positive (Brief = "Volumetric Flow", Default=1, Upper=1e12, final Unit = 'm^3/h');
143flow_vol_delta as flow_vol (Brief = "Difference of Volumetric Flow", Lower=-1e12);
144flow_mol as positive (Brief = "Mole Flow", Default=10, Upper=1e8, final Unit = 'kmol/h');
145flow_mol_delta as flow_mol (Brief = "Difference of Mole Flow", Lower=-1e8);
146
147# Flux
148flux_mol as positive (Brief = "Molar Flux", Default=1, Upper=1e4, final Unit = 'kmol/s/m^2');   
149flux_mol_delta as flux_mol (Brief = "Difference of Molar Flux", Lower=-1e4);   
150flux_mass as positive (Brief = "Mass Flux", Default=1, Upper=1e6, final Unit = 'kg/s/m^2');
151flux_mass_delta as flux_mass (Brief = "Difference of Mass Flux", Lower=-1e6);
152flux_vol as positive (Brief = "Volumetric Flux", Default=1, Upper=1e4, final Unit = 'm^3/s/m^2');
153flux_vol_delta as flux_vol (Brief = "Difference of Volumetric Flux", Lower=-1e4);
154
155# Velocity
156vel_angular as Real (Brief = "Angular Velocity RPM", Default=1000, Lower=-100000, Upper=100000, final Unit = 'rpm');
157rotation as Real (Brief = "Angular Velocity", Default=500, Lower=-10000, Upper=10000, final Unit = 'rad/s');
158velocity as Real (Brief = "Velocity", Default=1, Lower=-1E5, Upper=1e5, final Unit = 'm/s');
159velocity_delta as velocity (Brief = "Difference of Velocity", Default=0, Lower=-1E3, Upper=-1E3);
160acceleration as Real (Brief = "General Acceleration", Default=9.81, Lower=-1e3, Upper=1e3, final Unit = 'm/s^2');
161
162# Others
163fricfactor as Real (Brief = "Friction Factor", Default=0.05, Lower=1e-5, Upper=2000);
164moment_inertia as Real (Brief = "Moment Of Inertia", Default=100, Lower=1E-3, Upper=1E4, final Unit = 'kg*m^2');
165hookes_const as Real (Brief = "Hookes Constant", Default=1e5, Lower=1, Upper=1e10, final Unit = 'N/m');
166
167
168
169#*----------------------------------------------------------------------------------*
170*
171*------------------------ Physical and Chemistry Properties ------------------------*
172*
173*----------------------------------------------------------------------------------*#
174
175# Conductivity
176conductivity as Real (Brief = "Thermal Conductivity", Default=1.0, Lower=0.001, Upper=500, final Unit = 'W/m/K');
177
178# Difusivity
179diffusivity as positive (Brief = "Diffusivity", Default=1e-3, Upper=1, final Unit ='cm^2/s'); 
180
181# Fugacity
182fugacity as positive (Brief = "Fugacity Coefficient", Default=0.5, Upper=10);
183
184# Viscosity
185viscosity as Real (Brief = "Viscosity", Default=1, Lower=1e-30, Upper=1e5, final Unit = 'cP');
186
187# Molar and Specific Volume
188vol_mol as volume_mol (Brief = "Molar Volume");
189vol_mass as volume_mass (Brief = "Specific Volume");
190
191# Others
192spec_surface_vol as positive (Brief = "Specific Surface Volume", Default=1e5, Upper=1e15, final Unit = 'm^2/m^3');
193spec_surface_mass as positive (Brief = "Specific Surface Mass", Default=100, Upper=1e12, final Unit = 'm^2/kg');
194surf_tens as positive (Brief = "Surface Tension", Default=0.05, Upper=1, final Unit = 'N/m');
195act_coeff as positive (Brief = "Activity Coefficient for Liquid", Default=1, Upper=30);
196ph as Real (Brief = "pH", Default=7, Lower=-5, Upper=20);
197
198
199
Note: See TracBrowser for help on using the repository browser.