Ignore:
Timestamp:
Jan 29, 2007, 1:50:41 PM (15 years ago)
Author:
gerson bicca
Message:

updated models for the new language

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/sample/heat_exchangers/Sample_DoublePipe.mso

    r110 r139  
    2727
    2828FlowSheet Double_Pipe
     29
     30PARAMETERS
     31
     32        PP                      as Plugin (File="vrpp");
     33        NComp           as Integer;
    2934       
    3035DEVICES
    3136
    3237        exchanger       as DoublePipe_LMTD;
    33         streamhot       as streamTP;
    34         streamcold      as streamTP;
     38        streamhot       as source;
     39        streamcold      as source;
    3540
    3641CONNECTIONS
    3742
    38         streamhot       to exchanger.Inlet.Hot;
    39         streamcold      to exchanger.Inlet.Cold;
     43        streamhot.Outlet        to exchanger.Inlet.Hot;
     44        streamcold.Outlet       to exchanger.Inlet.Cold;
    4045       
    41 PARAMETERS
    42 
    43         PP                      as CalcObject (File="vrpp");
    44         NComp           as Integer;
    45 
    4646SET
    4747
     
    4949PP.VapourModel          = "PR";
    5050PP.Components           = ["n-hexane","water"];
    51 NComp                           = PP.NumberOfComponents;
     51NComp                               = PP.NumberOfComponents;
    5252
    5353#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     
    7373#               Hot Stream
    7474#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    75         streamhot.F = 10                        * "kmol/h";
    76         streamhot.T = (68+273.15)   * "K";
    77         streamhot.P = 5.4                       * "bar";
    78         streamhot.z = [1,0];
     75        streamhot.Outlet.F = 10                         * "kmol/h";
     76        streamhot.Outlet.T = (68+273.15)   * "K";
     77        streamhot.Outlet.P = 5.4                        * "bar";
     78        streamhot.Outlet.z = [1,0];
    7979       
    8080#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    8181#       Cold Stream
    8282#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    83         streamcold.F = 5                        * "kmol/h";
    84         streamcold.P = 5.1              * "bar";
    85         streamcold.T = (23+273.15)      * "K";
    86     streamcold.z = [0,1];
     83        streamcold.Outlet.F = 5                         * "kmol/h";
     84        streamcold.Outlet.P = 5.1               * "bar";
     85        streamcold.Outlet.T = (23+273.15)       * "K";
     86    streamcold.Outlet.z = [0,1];
    8787#=====================================================================
    8888#       Fouling
     
    9393OPTIONS
    9494
    95 mode = "steady";
     95Dynamic = false;
    9696
    9797end
Note: See TracChangeset for help on using the changeset viewer.