Ignore:
Timestamp:
Sep 29, 2008, 3:49:56 PM (14 years ago)
Author:
gerson bicca
Message:

added source with no flow condition
icons changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/eml/streams.mso

    r594 r641  
    632632
    633633end
     634
     635Model sourceNoFlow
     636
     637ATTRIBUTES
     638        Pallete = true;
     639        Icon = "icon/SourceNoFlow";
     640        Brief = "Simple Material stream source with no flow.";
     641        Info = "
     642        This model should be used for boundary streams.
     643        Usually these streams are known and come from another process
     644        units.";
     645
     646PARAMETERS
     647        outer PP                                as Plugin                       (Brief = "External Physical Properties", Type="PP");
     648        outer NComp             as Integer                      (Brief = "Number of chemical components", Lower = 1);
     649
     650VARIABLES
     651
     652        out Outlet                      as stream                       (Brief = "Outlet stream", PosX=1, PosY=0.5256, Symbol="_{out}",Protected=true);
     653
     654EQUATIONS
     655
     656"Stream Molar Composition"
     657        Outlet.z = 1/NComp;
     658
     659"Stream Molar Enthalpy"
     660        Outlet.h = 0 * 'J/mol';
     661
     662"Stream Temperature"
     663        Outlet.T = 300 * 'K';
     664
     665"Stream Molar Flow"
     666        Outlet.F = 0 * 'kmol/h';
     667
     668"Stream Pressure"
     669        Outlet.P = 1 * 'atm';
     670
     671"Stream Vapour Fraction"
     672        Outlet.v = 0;
     673
     674end
Note: See TracChangeset for help on using the changeset viewer.