Ignore:
Timestamp:
Jan 22, 2007, 5:57:16 PM (15 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Updated some models for the new language proposal

File:
1 edited

Legend:

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

    r75 r125  
    3333       
    3434        PARAMETERS
    35 ext NComp       as Integer                      (Brief = "Number of chemical components", Lower = 1);
    36 ext PP                  as CalcObject           (Brief = "External Physical Properties");
     35        outer PP        as Plugin                       (Brief = "External Physical Properties");
     36        outer NComp     as Integer                      (Brief = "Number of chemical components", Lower = 1);
    3737        Mw(NComp)       as molweight            (Brief = "Molar Weight");
    3838        Eff             as positive             (Default = 0.72, Brief = "Pump Efficiency");
     
    147147Model pump
    148148        PARAMETERS
    149 ext PP as CalcObject;
    150 ext NComp as Integer;
     149        outer PP as Plugin;
     150        outer NComp as Integer;
    151151       
    152152        VARIABLES
    153153in      Inlet as stream;
    154 out     Outlet as stream_therm;
     154out     Outlet as streamPH;
    155155       
    156156        dP as press_delta (Brief="Pump head");
     
    164164        Outlet.P = Inlet.P + dP;
    165165       
    166         "Temperature"
    167         Outlet.T = Inlet.T;
    168 
    169         "Vapourisation Fraction"
    170         Outlet.v = Inlet.v;
     166        "FIXME: pump potency"
     167        Outlet.h = Inlet.h;
    171168end
Note: See TracChangeset for help on using the changeset viewer.