Ignore:
Timestamp:
Jul 18, 2009, 6:19:35 PM (13 years ago)
Author:
gerson bicca
Message:

updated static flash model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/eml/stage_separators/flash.mso

    r796 r797  
    274274end
    275275
    276 #*----------------------------------------------------------------------
    277 * Model of a steady-state flash.
    278 *---------------------------------------------------------------------*#
    279276Model flash_steady
    280277
     
    286283"This model is for using the flashPH routine available on VRTherm.
    287284
    288 == Assumptions ==
     285== ASSUMPTIONS ==
    289286* perfect mixing of both phases;
    290 
    291 == Specify ==
    292 * The feed stream;
     287* thermodynamics equilibrium.
     288* static model.
     289
     290== SPECIFY ==
     291* The Inlet stream;
    293292* The heat duty;
    294293* The outlet pressure.
     
    297296PARAMETERS
    298297
    299 outer PP                        as Plugin(Brief = "External Physical Properties", Type="PP");
     298outer PP                as Plugin(Brief = "External Physical Properties", Type="PP");
    300299outer NComp     as Integer;
    301300
    302301VARIABLES
    303302
    304 in      Inlet                                           as stream                               (Brief="Feed Stream", PosX=0, PosY=0.5421, Symbol="_{in}");
    305 out     OutletLiquid            as liquid_stream                (Brief="Liquid outlet stream", PosX=0.4790, PosY=1, Symbol="_{outL}");
    306 out     OutletVapour            as vapour_stream        (Brief="Vapour outlet stream", PosX=0.4877, PosY=0, Symbol="_{outV}");
    307 in      InletQ                                          as power                                (Brief="Rate of heat supply", PosX=1, PosY=0.7559, Symbol="_{in}");
    308 
    309         vfrac           as fraction                     (Brief="Vaporization fraction", Symbol="\phi");
    310         h                               as enth_mol             (Brief="Mixture enthalpy");
    311         Pratio          as positive                     (Brief = "Pressure Ratio", Symbol ="P_{ratio}");       
    312         Pdrop           as press_delta  (Brief = "Pressure Drop", DisplayUnit = 'kPa', Symbol ="\Delta P");
     303in      Inlet                   as stream                       (Brief="Feed Stream", PosX=0, PosY=0.48, Symbol="_{in}");
     304out     OutletLiquid    as liquid_stream        (Brief="Liquid outlet stream", PosX=0.43, PosY=1, Symbol="_{out}^{Liquid}");
     305out     OutletVapour    as vapour_stream        (Brief="Vapour outlet stream", PosX=0.43, PosY=0, Symbol="_{out}^{Vapour}");
     306in      InletQ                  as power                        (Brief="Heat Duty", PosX=1, PosY=0.81, Protected =true,Symbol="Q_{in}");
     307
     308        vfrac           as fraction             (Brief="Vaporization fraction", Symbol="\phi", Protected =true);
     309        h                       as enth_mol             (Brief="Mixture enthalpy", Hidden =true);
     310        Pratio          as positive     (Brief = "Pressure Ratio", Symbol ="P_{ratio}", Protected =true);       
     311        Pdrop           as press_delta  (Brief = "Pressure Drop", DisplayUnit = 'kPa', Symbol ="\Delta P", Protected =true);
    313312
    314313EQUATIONS
     
    350349end
    351350
    352 #*----------------------------------------------------------------------
    353 * Another model of a steady-state PH flash.
    354 * It is recommended to use [v,x,y]=PP.FlashPH(P,h,z) instead of.
    355 *---------------------------------------------------------------------*#
    356351Model FlashPHSteady
    357352        ATTRIBUTES
    358         Pallete         = true;
     353        Pallete         = false;
    359354        Icon            = "icon/Flash";
    360355        Brief           = "Another model of a static PH flash.";
Note: See TracChangeset for help on using the changeset viewer.