Changeset 839 for branches/gui/eml


Ignore:
Timestamp:
Aug 26, 2009, 4:43:54 PM (13 years ago)
Author:
gerson bicca
Message:

updated pump model

File:
1 edited

Legend:

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

    r757 r839  
    169169
    170170Model pump
    171         ATTRIBUTES
     171
     172ATTRIBUTES
    172173        Pallete         = true;
    173174        Icon            = "icon/Pump";
     
    176177        "Specify:
    177178         * the inlet stream;
    178          * the pump press delta dP.
     179         * the pump Pressure Drop.
    179180        ";
    180181       
    181         PARAMETERS
    182 outer PP as Plugin (Brief = "External Physical Properties", Type="PP");
    183 outer NComp as Integer;
    184        
    185         VARIABLES
    186 in      Inlet           as stream               (Brief = "Inlet stream", PosX=0, PosY=0.4727, Symbol="_{in}");
    187 out     Outlet          as streamPH             (Brief = "Outlet stream", PosX=1, PosY=0.1859, Symbol="_{out}");
    188        
    189         dP as press_delta (Brief="Pump head");
     182PARAMETERS
     183        outer PP as Plugin (Brief = "External Physical Properties", Type="PP");
     184        outer NComp as Integer;
     185       
     186VARIABLES
     187        in      Inlet           as stream               (Brief = "Inlet stream", PosX=0, PosY=0.4727, Symbol="_{in}");
     188        out     Outlet          as liquid_stream                (Brief = "Outlet stream", PosX=1, PosY=0.1859, Symbol="_{out}");
     189       
     190        Pdrop as press_delta (Brief="Pump head");
    190191       
    191192        EQUATIONS
     
    195196       
    196197        "Pump head"
    197         Outlet.P = Inlet.P + dP;
    198        
    199         "FIXME: pump potency"
     198        Outlet.P = Inlet.P + Pdrop;
     199       
     200        #"FIXME: pump potency"
    200201        Outlet.h = Inlet.h;
    201202end
     
    209210        "Specify:
    210211         * the inlet stream;
    211          * the pump press delta dP.
     212         * the pump Pressure Drop.
    212213        ";
    213214       
     
    218219        VARIABLES
    219220in      Inlet           as stream               (Brief = "Inlet stream", PosX=1, PosY=0.4727, Symbol="_{in}");
    220 out     Outlet          as streamPH             (Brief = "Outlet stream", PosX=0, PosY=0.1859, Symbol="_{out}");
    221        
    222         dP as press_delta (Brief="Pump head");
     221out     Outlet          as liquid_stream                (Brief = "Outlet stream", PosX=0, PosY=0.1859, Symbol="_{out}");
     222       
     223        Pdrop as press_delta (Brief="Pump head");
    223224       
    224225        EQUATIONS
     
    228229       
    229230        "Pump head"
    230         Outlet.P = Inlet.P + dP;
     231        Outlet.P = Inlet.P +Pdrop;
    231232       
    232233        "FIXME: pump potency"
Note: See TracChangeset for help on using the changeset viewer.