Ignore:
Timestamp:
Sep 21, 2007, 7:17:36 PM (15 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/heat_exchangers/heater.mso

    r358 r372  
    3939        Lfrac                   as fraction             (Brief = "Liquid fraction Outlet Stream",Symbol="L_{frac}");
    4040        Kvalue(NComp)   as Real                         (Brief = "Phase Equilibrium K-values",Symbol="K_{value}");
    41 in  Inlet(Ninlet )  as stream                   (Brief="Inlet Streams", PosX=0, PosY=0.4833, Symbol="^{in}");
    42 out Outlet              as streamPH                     (Brief="Outlet Stream", PosX=1, PosY=0.4782, Symbol="^{out}");
     41        Pratio                  as positive                     (Brief = "Pressure Ratio", Symbol ="P_{ratio}");       
     42        Pdrop                   as press_delta          (Brief = "Pressure Drop", DisplayUnit = 'kPa', Symbol ="\Delta P");
     43in  Inlet(Ninlet )  as stream                   (Brief = "Inlet Streams", PosX=0, PosY=0.4833, Symbol="^{in}");
     44out Outlet              as streamPH                     (Brief = "Outlet Stream", PosX=1, PosY=0.4782, Symbol="^{out}");
    4345       
    4446 EQUATIONS
     
    6365        QDuty = Outlet.F*Outlet.h - sum(Inlet.F*Inlet.h);
    6466
     67 "Pressure Drop"
     68        Outlet.P = Inlet.P - Pdrop;
     69
     70 "Pressure Ratio"
     71        Outlet.P = Inlet.P * Pratio;
     72       
    6573 switch Kvalues # Fix for better convergence !!!
    6674        case "yes":
Note: See TracChangeset for help on using the changeset viewer.