Changeset 212


Ignore:
Timestamp:
Mar 15, 2007, 4:34:37 PM (15 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Removed some warnings, we do not need to avoid the division in this case because P and T will never be zero

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/eml/pressure_changers/compressor.mso

    r211 r212  
    8484       
    8585        "Calculate Politropic Coefficient"
    86         n*(ln(Outlet.T) - ln(Inlet.T)) = (n-1)*(ln(Outlet.P)-ln(Inlet.P));
     86        n*(ln(Outlet.T/Inlet.T)) = (n-1)*(ln(Outlet.P/Inlet.P));
    8787       
    8888        "Calculate Politropic Efficiency"
Note: See TracChangeset for help on using the changeset viewer.