Ignore:
Timestamp:
Nov 23, 2008, 10:39:38 PM (14 years ago)
Author:
gerson bicca
Message:

updates

File:
1 edited

Legend:

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

    r683 r694  
    411411       
    412412        Composition(NComp) as fraction                  (Brief = "Stream Composition");
     413        SumOfComposition as positive                    (Brief = "Sum of Stream Composition",Protected=true);
    413414        F                                                               as flow_mol             (Brief = "Stream Molar Flow Rate");
    414415        Fw                                                      as flow_mass            (Brief = "Stream Mass Flow");
     
    498499end
    499500
     501"Sum of Composition"
     502        SumOfComposition = sum(Composition);
     503
    500504"Molar Density"
    501505        rhom * vm = 1;
     
    561565       
    562566        MolarComposition(NComp) as fraction                     (Brief = "Stream Molar Composition");
     567        SumOfComposition as positive                    (Brief = "Sum of Stream Composition",Protected=true);
    563568        F                                                               as flow_mol             (Brief = "Stream Molar Flow Rate");
    564569        T                                                               as temperature  (Brief = "Stream Temperature");
     
    572577EQUATIONS
    573578
     579"Sum of Composition"
     580        SumOfComposition = sum(MolarComposition);
     581       
    574582"Stream Molar Composition"
    575583        Outlet.z = MolarComposition/sum(MolarComposition);
Note: See TracChangeset for help on using the changeset viewer.