Ignore:
Timestamp:
Jun 3, 2009, 5:07:22 PM (13 years ago)
Author:
gerson bicca
Message:

some adaption in models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/eml/mixers_splitters/splitter.mso

    r739 r757  
    219219
    220220end
     221
     222Model splitter_column
     223        ATTRIBUTES
     224        Pallete         = true;
     225        Icon            = "icon/splitter_column";
     226        Brief           = "Splitter with 2 outlet streams to be used with column section model";
     227        Info            =
     228"== Assumptions ==
     229*Thermodynamics equilibrium
     230*Adiabatic
     231                       
     232== Specify ==
     233* The inlet stream
     234* One FlowRatios of split of the outlet streams:
     235
     236        FlowRatios(i) = (Mole Flow of the outlet stream i /
     237                                Mole Flow of the inlet stream)
     238                                where i = 1, 2
     239";
     240
     241VARIABLES
     242in  Inlet   as stream (Brief = "Inlet stream", PosX=0.5, PosY=0, Symbol="_{in}");
     243out Reflux as stream (Brief = "Reflux stream", PosX=0.25, PosY=1, Symbol="_{reflux}");
     244out Distillate as stream (Brief = "Distillate stream", PosX=0.75, PosY=1, Symbol="_{distillate}");
     245        FlowRatios(2)   as fraction     (Brief = "Distribution of Outlets", Default=0.33, Symbol="\phi");
     246
     247EQUATIONS
     248
     249"Normalize Flow Ratios"
     250        sum(FlowRatios) = 1;
     251       
     252"Flow"
     253        Reflux.F = Inlet.F * FlowRatios(1);
     254        Inlet.F = Reflux.F + Distillate.F;
     255
     256"Composition"
     257        Reflux.z = Inlet.z;
     258        Distillate.z = Inlet.z;
     259
     260"Pressure"
     261        Reflux.P = Inlet.P;
     262        Distillate.P = Inlet.P;
     263
     264"Enthalpy"
     265        Reflux.h = Inlet.h;
     266        Distillate.h = Inlet.h;
     267
     268"Temperature"
     269        Reflux.T = Inlet.T;
     270        Distillate.T = Inlet.T;
     271
     272"Vapourisation Fraction"
     273        Reflux.v = Inlet.v;
     274        Distillate.v = Inlet.v;
     275
     276end
Note: See TracChangeset for help on using the changeset viewer.