Changeset 482 for trunk/eml


Ignore:
Timestamp:
Mar 11, 2008, 3:34:37 PM (14 years ago)
Author:
gerson bicca
Message:

Double Pipe Incremental: added option to solve convergence problems from a simplified model

File:
1 edited

Legend:

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

    r438 r482  
    199199        N                       as Integer      (Brief="Number of zones", Default = 2);
    200200 Npoints        as Integer      (Brief="Number of incremental points", Default = 3);
     201
     202        CalculationApproach                             as Switcher             (Brief="Options for convergence Calculations ",Valid=["Simplified","Full"],Default="Full");
     203        Qestimated                                                              as power                                (Brief="Estimated Duty", Default=70, Lower=1e-6, Upper=1e10);
    201204       
    202205        M(NComp)        as molweight    (Brief="Component Mol Weight");
     
    762765        Details.Qtotal = sum(Details.Q);
    763766
     767switch CalculationApproach
     768       
     769        case "Full":
     770
    764771switch HotSide
    765772
     
    777784
    778785        when InletInner.T < InletOuter.T switchto "outer";
     786
     787end
     788
     789        case "Simplified":
     790       
     791"Duty"
     792        Details.Q = Qestimated/N;
    779793
    780794end
Note: See TracChangeset for help on using the changeset viewer.