Changeset 205


Ignore:
Timestamp:
Mar 14, 2007, 5:45:37 PM (15 years ago)
Author:
Argimiro Resende Secchi
Message:

Fix valve model to new language.

Location:
branches/newlanguage
Files:
2 edited

Legend:

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

    r204 r205  
    181181        Inlet.h = Outlet.h;
    182182
    183         "Vapourisation Fraction"
    184         Outlet.v = Inlet.v;
    185        
    186183        "Density"
    187184        rho = Inlet.v*PP.VapourDensity((Inlet.T+Outlet.T)/2, (Inlet.P+Outlet.P)/2, Outlet.z) +
  • branches/newlanguage/sample/pressure_changers/sample_valve.mso

    r196 r205  
    3939       
    4040        DEVICES
    41         v1 as valve;
     41        v1 as valve_simplified;
    4242        s1 as source;
    4343       
     
    4949        s1.Outlet.T = 281.75 * 'K';
    5050        s1.Outlet.z = [0.664, 0.336];
    51         #s1.Outlet.v = 0.0;
    5251
    5352        v1.x = 0.866;
     
    7574       
    7675        DEVICES
    77         v1 as valve;
     76        v1 as valve_simplified;
    7877        s1 as source;
    7978       
     
    8584        s1.Outlet.T = 328.12 * 'K';
    8685        s1.Outlet.z = [0.001848, 0.9982];
    87         #s1.Outlet.v = 0.0;
    8886
    8987        v1.x = 0.3363;
     
    102100        DEVICES
    103101        S1 as source;
    104         V1 as valve_linear;
     102        V1 as valve;
    105103
    106104        CONNECTIONS
Note: See TracChangeset for help on using the changeset viewer.