Changeset 319 for trunk/eml


Ignore:
Timestamp:
Jul 19, 2007, 3:37:06 PM (15 years ago)
Author:
gerson bicca
Message:

added a switcher parameter for Kvalues options: must be fixed later

File:
1 edited

Legend:

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

    r316 r319  
    3232        outer NComp     as Integer      (Brief="Number of Components");
    3333                        Ninlet          as Integer      (Brief="Number of Inlet Streams");
     34        Kvalues          as Switcher (Brief="Option for Display Phase Equilibrium K-values",Valid=["yes","no"], Default="yes");
    3435       
    3536SUBMODELS
     
    6970        OutletHeat.Q = InletHeat.Q - QDuty;
    7071
    71 "Phase Equilibrium"
     72switch Kvalues # Fix for better convergence !!!
     73        case "yes":
     74"K-values Phase Equilibrium"
    7275        Kvalue*(Outlet.x) = Outlet.y;
    7376
     77        case "no":
     78"K-values Phase Equilibrium"
     79        Kvalue = 1;
     80
     81end
     82       
    7483end
    7584
Note: See TracChangeset for help on using the changeset viewer.