Ignore:
Timestamp:
Sep 21, 2007, 7:17:36 PM (16 years ago)
Author:
Argimiro Resende Secchi
Message:

Adding pressure drop variable (Pdrop) and pressure ratio (Pratio) in some models. Need to do the same for other models.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eml/pressure_changers/compressor.mso

    r353 r372  
    4848        Cp              as cp_mol               (Brief = "Heat Capacity");
    4949        Cv                      as cv_mol               (Brief = "Heat Capacity");
    50         Pdiff           as press_delta  (Brief = "Pressure Increase", DisplayUnit='kPa');
    51         Pratio          as positive             (Brief = "Pressure Ratio");     
     50        Pratio          as positive             (Brief = "Pressure Ratio", Symbol ="P_{ratio}");       
     51        Pdrop           as press_delta  (Brief = "Pressure Drop", DisplayUnit = 'kPa', Symbol ="\Delta P");
    5252        Wp                      as energy_mol   (Brief = "Politropic Head");
    5353        Ws                      as energy_mol   (Brief = "Isentropic Head");
     
    6868        Mwm = sum(Mw*Inlet.z);
    6969
    70         "Calculate Outlet Stream Pressure"
    71         Outlet.P = Inlet.P + Pdiff;
    72        
    73         "Pratio Definition"
     70        "Pressure Ratio"
    7471        Outlet.P = Inlet.P * Pratio;
    75        
     72
     73        "Pressure Drop"
     74        Outlet.P  = Inlet.P - Pdrop;
     75
    7676        "Calculate Cp Using a External Physical Properties Routine"
    7777        Cp = PP.VapourCp(Inlet.T,Inlet.P,Inlet.z);
     
    106106        FPower*Effs = Inlet.F*Ws;
    107107       
    108         "Molar Balance"
     108        "Overall Molar Balance"
    109109        Outlet.F = Inlet.F;
    110        
     110
     111        "Component Molar Balance"
    111112        Outlet.z = Inlet.z;
    112113end
Note: See TracChangeset for help on using the changeset viewer.