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/stage_separators/tank.mso

    r72 r125  
    3939
    4040        PARAMETERS
    41 ext PP as CalcObject;
    42 ext NComp as Integer;
     41        outer PP as Plugin;
     42        outer NComp as Integer;
    4343        Across as area (Brief="Tank cross section area", Default=2);
    4444       
    4545        VARIABLES
    4646in      Inlet as stream;
    47 out     Outlet as stream_therm;
     47out     Outlet as liquid_stream;
    4848
    4949in      Q as heat_rate (Brief="Rate of heat supply");
     
    7474        "Level of liquid phase"
    7575        Level = sum(M)*vL/Across;
    76        
    77         "Vapourisation Fraction"
    78         Outlet.v = Inlet.v;
    7976end
    8077
     
    8784
    8885        PARAMETERS
    89 ext PP as CalcObject;
    90 ext NComp as Integer;
     86        outer PP as Plugin;
     87        outer NComp as Integer;
    9188        radius as length(Brief="Tank radius");
    9289        L as length(Brief="Tank length");
     
    9491        VARIABLES
    9592in      Inlet as stream;
    96 out     Outlet as stream_therm;
     93out     Outlet as liquid_stream;
    9794
    9895in      Q as heat_rate (Brief="Rate of heat supply");
     
    128125        "Level of liquid phase"
    129126        Level = sum(M)*vL/Across;
    130        
    131         "Vapourisation Fraction"
    132         Outlet.v = Inlet.v;
    133127end
    134128
     
    154148
    155149        PARAMETERS
    156 ext PP as CalcObject;
    157 ext NComp as Integer;
     150        outer PP as Plugin;
     151        outer NComp as Integer;
    158152        Across as area (Brief="Tank cross section area", Default=2);
    159153       
     
    161155in      Feed as stream;
    162156in      Inlet as stream;
    163 out     Outlet as stream_therm;
     157out     Outlet as liquid_stream;
    164158
    165159in      Q as heat_rate (Brief="Rate of heat supply");
     
    190184        "Level of liquid phase"
    191185        Level = sum(M)*vL/Across;
    192        
    193         "Vapourisation Fraction"
    194         Outlet.v = Inlet.v;
    195        
    196186end
Note: See TracChangeset for help on using the changeset viewer.