Ignore:
Timestamp:
Aug 28, 2009, 5:20:21 PM (14 years ago)
Author:
gerson bicca
Message:

updates

File:
1 edited

Legend:

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

    r839 r840  
    175175        Brief           = "Model of a simplified pump, used in distillation column model.";
    176176        Info            =
    177         "Specify:
    178          * the inlet stream;
    179          * the pump Pressure Drop.
    180         ";
     177"== ASSUMPTIONS ==
     178* Steady State;
     179* Only Liquid;
     180* Adiabatic;
     181* Isentropic.
     182
     183== SPECIFY ==
     184* the inlet stream;
     185* the pump Pincrease.
     186";
    181187       
    182188PARAMETERS
    183         outer PP as Plugin (Brief = "External Physical Properties", Type="PP");
    184         outer NComp as Integer;
     189        outer PP        as Plugin (Brief = "External Physical Properties", Type="PP");
     190        outer NComp as Integer (Brief = "Number of chemical components");
    185191       
    186192VARIABLES
    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");
    191        
    192         EQUATIONS
    193         "Molar Balance"
     193        in      Inlet           as stream                       (Brief = "Inlet stream", PosX=0, PosY=0.4727, Protected=true,Symbol="_{in}");
     194        out     Outlet          as liquid_stream        (Brief = "Outlet stream", PosX=1, PosY=0.1859, Protected=true,Symbol="_{out}");
     195       
     196        Pincrease               as press_delta  (Brief = "Pressure Increase",Lower = 0,  DisplayUnit = 'kPa', Symbol ="P_{incr}");
     197       
     198EQUATIONS
     199
     200"Molar Balance"
    194201        Inlet.F = Outlet.F;
     202
     203"Composittion"
    195204        Inlet.z = Outlet.z;
    196205       
    197         "Pump head"
    198         Outlet.P = Inlet.P + Pdrop;
    199        
    200         #"FIXME: pump potency"
     206"Pump head"
     207        Outlet.P = Inlet.P + Pincrease;
     208       
     209"Pump potency"
    201210        Outlet.h = Inlet.h;
     211
    202212end
    203213
    204214Model pump2
    205         ATTRIBUTES
     215
     216ATTRIBUTES
    206217        Pallete         = true;
    207218        Icon            = "icon/Pump2";
    208219        Brief           = "Model of a simplified pump, used in distillation column model.";
    209220        Info            =
    210         "Specify:
    211          * the inlet stream;
    212          * the pump Pressure Drop.
    213         ";
    214        
    215         PARAMETERS
    216 outer PP as Plugin (Brief = "External Physical Properties", Type="PP");
    217 outer NComp as Integer;
    218        
    219         VARIABLES
    220 in      Inlet           as stream               (Brief = "Inlet stream", PosX=1, PosY=0.4727, Symbol="_{in}");
    221 out     Outlet          as liquid_stream                (Brief = "Outlet stream", PosX=0, PosY=0.1859, Symbol="_{out}");
    222        
    223         Pdrop as press_delta (Brief="Pump head");
    224        
    225         EQUATIONS
    226         "Molar Balance"
     221"== ASSUMPTIONS ==
     222* Steady State;
     223* Only Liquid;
     224* Adiabatic;
     225* Isentropic.
     226
     227== SPECIFY ==
     228* the inlet stream;
     229* the pump Pincrease.
     230";
     231       
     232PARAMETERS
     233        outer PP        as Plugin (Brief = "External Physical Properties", Type="PP");
     234        outer NComp as Integer (Brief = "Number of chemical components");
     235       
     236VARIABLES
     237        in      Inlet           as stream                       (Brief = "Inlet stream", PosX=1, PosY=0.4727, Protected=true,Symbol="_{in}");
     238        out     Outlet          as liquid_stream        (Brief = "Outlet stream", PosX=0, PosY=0.1859, Protected=true,Symbol="_{out}");
     239       
     240        Pincrease               as press_delta  (Brief = "Pressure Increase",Lower = 0,  DisplayUnit = 'kPa', Symbol ="P_{incr}");
     241       
     242EQUATIONS
     243
     244"Molar Balance"
    227245        Inlet.F = Outlet.F;
     246
     247"Composittion"
    228248        Inlet.z = Outlet.z;
    229249       
    230         "Pump head"
    231         Outlet.P = Inlet.P +Pdrop;
    232        
    233         "FIXME: pump potency"
     250"Pump head"
     251        Outlet.P = Inlet.P + Pincrease;
     252       
     253"Pump potency"
    234254        Outlet.h = Inlet.h;
    235 end
    236 
     255
     256end
     257
Note: See TracChangeset for help on using the changeset viewer.