#*--------------------------------------------------------------------- * This file is property of the author and cannot be used, copyed * or modified without permission. * * Copyright (C) 2004 the author *---------------------------------------------------------------------- * File name: eml_template.mso * Author: Paula B. Staudt * $Id: types.mso 23 2006-09-04 12:31:01Z paula $ *--------------------------------------------------------------------*# #*----------------------------------------------------------------------------------* * *------------------------- Fundamental Variables ----------------------------------* * *----------------------------------------------------------------------------------*# # Constants coefficient as Real (Brief = "General Coefficient", Default=1, Lower=-50, Upper=50); constant as Real (Brief = "General Constant", Default=10, Lower=-5000, Upper=5000); positive as Real (Brief = "Positive General Constant", Default=1.0, Lower=-1e-6); negative as Real (Brief = "Negative General Constant", Default=-1.0, Upper=0.0); fraction as positive (Brief = "Fraction" , Default=0.5, Upper=1); percent as Real (Brief = "Percent", Default=50, Lower=0, Upper=100); control_signal as Real (Brief = "Control Signal", Default=1, Lower=-1e9, Upper=1e9); # Pressure pressure as Real (Brief = "Pressure", Default=1, Lower=1e-30, Upper=5e7, Unit = "atm"); press_delta as pressure (Brief = "Pressure Difference", Default=0.01, Lower=-5e6); head as Real (Brief = "Head", Default=50, Lower=-1e6, Upper=1e6, Unit = "kJ/kg"); # Temperature temperature as Real (Brief = "Temperature", Default=300, Lower=27, Upper=5273, Unit = "K"); temp_delta as temperature (Brief = "Temperature Difference", Default=30, Lower=-1000, Upper=1000); # Time time_h as positive (Brief = "Time in hours", Default=1, Upper=1e4, Unit = "h"); time_min as positive (Brief = "Time in minutes", Default=1, Upper=1e6, Unit = "min"); time_sec as positive (Brief = "Time in seconds", Default=1, Upper=1e8, Unit = "s"); frequency as positive(Brief = "Frequency", Default=1,Lower=0,Upper=100, Unit="1/s"); # Size related angle as Real (Brief = "Angle", Default=0, Lower=-7, Upper=7, Unit ="rad"); area as positive (Brief = "Area", Default=1, Upper=1E6, Unit ="m^2"); length as positive (Brief = "Length", Default=1, Upper=5e6, Unit = "m"); length_delta as length (Brief = "Difference of Length", Lower=-1000); volume as positive (Brief = "Volume", Default=10, Lower=0, Upper=1E6, Unit = "m^3"); volume_mol as positive (Brief = "Molar Volume", Default=10, Lower=0, Upper=1E6, Unit = "m^3/mol"); volume_mass as positive (Brief = "Specific Volume", Default=10, Lower=0, Upper=1E30, Unit = "m^3/kg"); # Eletric current as positive (Brief = "Electrical Current", Default=10, Upper=1e12, Unit ="A"); charge as Real (Brief = "Electrical Charge", Default=10, Lower=-1e12, Upper=1e12, Unit ="C"); capacitance as positive (Brief = "Electrical Capacitance", Default=10, Upper=1e12, Unit ="F"); indutance as positive (Brief = "Electrical Indutance", Default=10, Upper=1e12, Unit ="V*s/A"); voltage as positive (Brief = "Electrical Voltage", Default=100, Upper=1e9, Unit = "V"); resistance as positive (Brief = "Eletrical Resistance", Default=50, Upper=800, Unit = "ohm"); potency as Real(Brief = "Potency", Default = 10, Lower=-1e3, Upper=1e3, Unit = "kW"); #*----------------------------------------------------------------------------------* * *------------------------- Concentration Related ----------------------------------* * *----------------------------------------------------------------------------------*# # elementary mass as positive (Brief = "Mass", Default=2.5, Upper=1e6, Unit = "kg"); mol as positive (Brief = "Moles", Default=2.5, Upper=1e6, Unit = "kmol"); molweight as Real (Brief = "Molar Weight", Default=75, Lower=1, Upper=1e8, Unit = "kg/kmol"); molweight_inv as Real (Brief = "Moles Per Mass", Default=1, Lower=0, Upper=1e30, Unit = "kmol/kg"); # densities dens_mol as Real (Brief = "Molar Density", Default=1, Lower=1e-30, Upper=5e3, Unit = "kmol/m^3"); dens_mass as Real (Brief = "Mass Density", Default=1000, Lower=1e-30, Upper=5e5, Unit ="kg/m^3"); # Concentration conc_mol as dens_mol (Brief = "Molar Concentration", Default=1e-3); inv_conc_mol as Real (Brief = "Inverse of Molar Concentration", Default=0.05, Lower=2e-4, Upper=1e30, Unit = "m^3/kmol"); conc_mass as dens_mass (Brief = "Mass Concentration"); inv_conc_mass as Real (Brief = "Inverse of Mass Concentration", Default=0.001, Lower=2e-6, Upper=1e30, Unit = "m^3/kg"); # reaction reaction_mol as Real (Brief = "Molar Reaction Rate", Default=10, Lower=-1e6, Upper=1e6, Unit = "kmol/h/m^3"); reaction_mass as Real (Brief = "Mass Reaction Rate", Default=1000,Lower=-1e3, Upper=1e9, Unit = "kg/h/m^3"); #*----------------------------------------------------------------------------------* * *------------------------- Thermodynamics Properties -------------------------------* * *----------------------------------------------------------------------------------*# # Heat Capacity cp_mass as Real (Brief = "Mass Heat Capacity", Default=1.0, Lower=0.1, Upper=10.0, Unit = "kJ/kg/K"); cp_mol as Real (Brief = "Molar Heat Capacity", Default=100, Lower=1, Upper=1e3, Unit = "J/mol/K"); cv_mol as Real (Brief = "Molar Heat Capacity", Default=100, Lower=1, Upper=1e3, Unit ="J/mol/K"); # Enthalpy enth_mass as Real (Brief = "Mass Enthalpy", Default=500, Lower=-10000, Upper=10000, Unit = "kJ/kg"); enth_mol as Real (Brief = "Molar Enthalpy", Default=500, Lower=-1e9, Upper=1e9, Unit = "J/mol"); # Entropy entr_mol as Real (Brief = "Molar Entropy", Default=0, Lower=-1e4, Upper=1e4, Unit = "kJ/kmol/K"); entr_mass as Real (Brief = "Mass Entropy", Default=0, Lower=-1e4, Upper=1e4, Unit = "kJ/kg/K"); # Heat heat_reaction as Real (Brief = "Heat Of Reaction", Default=1000, Lower=-1e8, Upper=1e8, Unit = "kJ/kmol"); heat_rate as Real (Brief = "Heat Rate", Default=1000, Lower=-1e11, Upper=1e11, Unit = "J/s"); heat_flux as Real (Brief = "Heat Flux", Default=1, Lower=-1e5, Upper=1e5, Unit = "kW/m^2"); heat_trans_coeff as positive (Brief = "Heat Transference Coefficient", Default=1, Upper=1e3, Unit = "kW/m^2/K"); # Energy energy as Real (Brief = "Energy", Default=10000, Lower=-1e11, Upper=1e11, Unit = "kJ"); energy_mass as Real (Brief = "Energy per mass", Default=10000, Lower=-1e15, Upper=1e15, Unit = "kJ/kg"); energy_mol as Real (Brief = "Energy per mol", Default=10000, Lower=-1e15, Upper=1e15, Unit = "kJ/kmol"); power as Real (Brief = "Power", Default=10, Lower=-1e8, Upper=1e8, Unit = "kW"); #*----------------------------------------------------------------------------------* * *--------------------------- Mass Transport ----------------------------------------* * *----------------------------------------------------------------------------------*# # Flow flow_mass as positive (Brief = "Mass Flow", Default=1000, Upper=1e10, Unit = "kg/h"); flow_mass_delta as flow_mass (Brief = "Difference of Flow Mass", Lower=-1e10); flow_vol as positive (Brief = "Volumetric Flow", Default=1, Upper=1e12, Unit = "m^3/h"); flow_vol_delta as flow_vol (Brief = "Difference of Volumetric Flow", Lower=-1e12); flow_mol as positive (Brief = "Mole Flow", Default=10, Upper=1e8, Unit = "kmol/h"); flow_mol_delta as flow_mol (Brief = "Difference of Mole Flow", Lower=-1e8); # Flux flux_mol as positive (Brief = "Molar Flux", Default=1, Upper=1e4, Unit = "kmol/s/m^2"); flux_mol_delta as flux_mol (Brief = "Difference of Molar Flux", Lower=-1e4); flux_mass as positive (Brief = "Mass Flux", Default=1, Upper=1e6, Unit = "kg/s/m^2"); flux_mass_delta as flux_mass (Brief = "Difference of Mass Flux", Lower=-1e6); flux_vol as positive (Brief = "Volumetric Flux", Default=1, Upper=1e4, Unit = "m^3/s/m^2"); flux_vol_delta as flux_vol (Brief = "Difference of Volumetric Flux", Lower=-1e4); # Velocity vel_angular as positive (Brief = "Angular Velocity RPM", Default=1000, Upper=100000, Unit = "rpm"); rotation as positive (Brief = "Angular Velocity", Default=500, Upper=10000, Unit = "rad/s"); velocity as positive (Brief = "Velocity", Default=1, Upper=1e5, Unit = "m/s"); velocity_delta as velocity (Brief = "Difference of Velocity", Lower=-1E5); acceleration as Real (Brief = "General Acceleration", Default=9.81, Lower=-1e3, Upper=1e3, Unit = "m/s^2"); # Others fricfactor as Real (Brief = "Friction Factor", Default=0.05, Lower=1e-5, Upper=2000); moment_inertia as Real (Brief = "Moment Of Inertia", Default=100, Lower=1E-3, Upper=1E4, Unit = "kg*m^2"); hookes_const as Real (Brief = "Hookes Constant", Default=1e5, Lower=1, Upper=1e10, Unit = "N/m"); #*----------------------------------------------------------------------------------* * *------------------------ Physical and Chemistry Properties ------------------------* * *----------------------------------------------------------------------------------*# # Conductivity conductivity as Real (Brief = "Thermal Conductivity", Default=1.0, Lower=0.001, Upper=500, Unit = "W/m/K"); # Difusivity diffusivity as positive (Brief = "Diffusivity", Default=1e-3, Upper=1, Unit ="cm^2/s"); # Fugacity fugacity as positive (Brief = "Fugacity Coefficient", Default=0.5, Upper=10); # Viscosity viscosity as Real (Brief = "Viscosity", Default=1, Lower=1e-30, Upper=1e5, Unit = "cP"); # Molar and Specific Volume vol_mol as volume_mol (Brief = "Molar Volume"); vol_mass as volume_mass (Brief = "Specific Volume"); # Others spec_surface_vol as positive (Brief = "Specific Surface Volume", Default=1e5, Upper=1e15, Unit = "m^2/m^3"); spec_surface_mass as positive (Brief = "Specific Surface Mass", Default=100, Upper=1e12, Unit = "m^2/kg"); surf_tens as positive (Brief = "Surface Tension", Default=0.05, Upper=1, Unit = "N/m"); act_coeff as positive (Brief = "Activity Coefficient for Liquid", Default=1, Upper=30); ph as Real (Brief = "pH", Default=7, Lower=-5, Upper=20);