Changeset 501


Ignore:
Timestamp:
Apr 14, 2008, 5:06:18 PM (15 years ago)
Author:
Paula Bettio Staudt
Message:

Fixed ticket #81 - TCdeg in source and sink models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eml/streams.mso

    r352 r501  
    171171        Fw                                      as flow_mass            (Brief = "Stream Mass Flow");
    172172        Fvol                    as flow_vol         (Brief = "Volumetric Flow");
     173        T_Cdeg                          as temperature          (Brief = "Temperature in °C", Lower=-200);
    173174       
    174175        EQUATIONS
     
    220221       
    221222        "Mass Fraction"
    222         zmass = M*Outlet.z / Mw;       
     223        zmass = M*Outlet.z / Mw;
     224       
     225        "Temperature in °C"
     226        T_Cdeg = Outlet.T - 273.15 * 'K';
    223227       
    224228end
     
    320324        Fvol            as flow_vol     (Brief = "Volumetric Flow");
    321325        s                               as entr_mol             (Brief = "Stream Entropy");
     326        T_Cdeg                  as temperature  (Brief = "Temperature in °C", Lower=-200);
    322327
    323328        EQUATIONS
     
    356361        s = (1-v)*PP.LiquidEntropy(Inlet.T, Inlet.P, x) +
    357362                v*PP.VapourEntropy(Inlet.T, Inlet.P, y);
     363       
     364        "Temperature in °C"
     365        T_Cdeg = Inlet.T - 273.15 * 'K';
     366
    358367end
    359368
Note: See TracChangeset for help on using the changeset viewer.