Changeset 478


Ignore:
Timestamp:
Mar 7, 2008, 8:32:49 PM (16 years ago)
Author:
gerson bicca
Message:

added sample with the option to solve a convergence problem

Location:
trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eml/heat_exchangers/DoublePipe.mso

    r472 r478  
    608608
    609609FlowDirection   as Switcher     (Brief="Flow Direction",Valid=["counter","cocurrent"],Default="cocurrent");
    610        
     610Eftestimated    as positive  (Brief="Effectiveness estimate",Default=0.5);     
     611
    611612VARIABLES
    612613
     
    615616EQUATIONS
    616617
     618"Effectiveness Correction"
     619        Method.Eft1 = 1;
     620
     621switch CalculationApproach
     622       
     623        case "Full":
     624       
    617625"Number of Units Transference"
    618626        Method.NTU*Method.Cmin = Details.Ud*Pi*DoInner*Lpipe;
     
    626634"Thermal Capacity Ratio"
    627635        Method.Cr    = Method.Cmin/Method.Cmax;
    628 
    629 "Effectiveness Correction"
    630         Method.Eft1 = 1;
    631636
    632637if Method.Cr equal 0
     
    663668end
    664669
     670end
     671
     672        case "Simplified":
     673
     674"Number of Units Transference"
     675        Method.NTU = 1;
     676       
     677"Minimum Heat Capacity"
     678        Method.Cmin  = min([Method.Ch,Method.Cc]);
     679
     680"Maximum Heat Capacity"
     681        Method.Cmax  = max([Method.Ch,Method.Cc]);
     682
     683"Thermal Capacity Ratio"
     684        Method.Cr    = 1;
     685       
     686"Effectiveness"
     687        Method.Eft = Eftestimated;
     688       
    665689end
    666690
Note: See TracChangeset for help on using the changeset viewer.