Changeset 193


Ignore:
Timestamp:
Mar 7, 2007, 3:33:58 PM (15 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Added some final for attributes in types.mso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/eml/types.mso

    r192 r193  
    3030constant as Real (Brief = "General Constant", Default=10, Lower=-5000, Upper=5000);
    3131positive as Real (Brief = "Positive General Constant", Default=1.0, Lower=-1e-6);
    32 negative as Real (Brief = "Negative General Constant", Default=-1.0, Upper=0.0);
    33 fraction as positive (Brief = "Fraction" , Default=0.5, Upper=1.00001);
    34 percent as Real (Brief = "Percent", Default=50, Lower=0, Upper=100);
     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);
    3535control_signal as Real (Brief = "Control Signal", Default=1, Lower=-1e9, Upper=1e9);
    3636
     
    4949time_min as time_h (Brief = "Time in minutes", DisplayUnit ='min');
    5050time_sec as time_h (Brief = "Time in seconds", DisplayUnit = 's');
    51 frequency as positive(Brief = "Frequency", Default=1,Lower=0,Upper=100, final Unit='1/s');
     51frequency as positive(Brief = "Frequency", Default=1, Upper=100, final Unit='1/s');
    5252
    5353# Size related
     
    5656length as positive (Brief = "Length", Default=1, Upper=5e6, final Unit = 'm');
    5757length_delta as length (Brief = "Difference of Length", Lower=-1000);
    58 volume as positive (Brief = "Volume", Default=10, Lower=0, Upper=1000, final Unit = 'm^3');
    59 volume_mol as positive (Brief = "Molar Volume", Default=10, Lower=0, Upper=1E6, final Unit = 'm^3/mol');
    60 volume_mass as positive (Brief = "Specific Volume", Default=10, Lower=0, Upper=1E30, final Unit = 'm^3/kg');
     58volume as positive (Brief = "Volume", Default=10, Upper=1000, final Unit = 'm^3');
     59volume_mol as positive (Brief = "Molar Volume", Default=10, Upper=1E6, final Unit = 'm^3/mol');
     60volume_mass as positive (Brief = "Specific Volume", Default=10, Upper=1E30, final Unit = 'm^3/kg');
    6161
    6262# Eletric
     
    142142flow_vol_delta as flow_vol (Brief = "Difference of Volumetric Flow", Lower=-1e12);
    143143flow_mol as positive (Brief = "Mole Flow", Default=10, Upper=1e8, final Unit = 'kmol/h');
    144 
    145144flow_mol_delta as flow_mol (Brief = "Difference of Mole Flow", Lower=-1e8);
    146145
Note: See TracChangeset for help on using the changeset viewer.