Ignore:
Timestamp:
Jun 3, 2009, 5:07:22 PM (14 years ago)
Author:
gerson bicca
Message:

some adaption in models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/eml/pressure_changers/pump.mso

    r742 r757  
    200200        Outlet.h = Inlet.h;
    201201end
     202
     203Model pump2
     204        ATTRIBUTES
     205        Pallete         = true;
     206        Icon            = "icon/Pump2";
     207        Brief           = "Model of a simplified pump, used in distillation column model.";
     208        Info            =
     209        "Specify:
     210         * the inlet stream;
     211         * the pump press delta dP.
     212        ";
     213       
     214        PARAMETERS
     215outer PP as Plugin (Brief = "External Physical Properties", Type="PP");
     216outer NComp as Integer;
     217       
     218        VARIABLES
     219in      Inlet           as stream               (Brief = "Inlet stream", PosX=1, PosY=0.4727, Symbol="_{in}");
     220out     Outlet          as streamPH             (Brief = "Outlet stream", PosX=0, PosY=0.1859, Symbol="_{out}");
     221       
     222        dP as press_delta (Brief="Pump head");
     223       
     224        EQUATIONS
     225        "Molar Balance"
     226        Inlet.F = Outlet.F;
     227        Inlet.z = Outlet.z;
     228       
     229        "Pump head"
     230        Outlet.P = Inlet.P + dP;
     231       
     232        "FIXME: pump potency"
     233        Outlet.h = Inlet.h;
     234end
     235
Note: See TracChangeset for help on using the changeset viewer.