Changeset 326 for trunk/eml


Ignore:
Timestamp:
Jul 30, 2007, 4:25:59 PM (15 years ago)
Author:
Argimiro Resende Secchi
Message:

Fixing heater and cooler models.

File:
1 edited

Legend:

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

    r325 r326  
    6565        case "yes":
    6666 "K-values Phase Equilibrium"
    67         Kvalue*(Outlet.x) = Outlet.y;
     67        Kvalue*Outlet.x = Outlet.y;
    6868
    6969        case "no":
     
    8686 VARIABLES
    8787in  InletQ              as energy_stream        (Brief ="Inlet Heat Stream", PosX=0.1662, PosY=1);
    88 out OutletQ             as energy_stream        (Brief ="Outlet Heat Stream", PosX=0.8245, PosY=0);
    8988
    9089 EQUATIONS
    9190 "Net Duty"
    92         OutletQ.Q = InletQ.Q - QDuty;
     91        InletQ.Q = QDuty;
    9392end
    9493
     
    104103 VARIABLES
    105104in  InletQ              as energy_stream        (Brief ="Inlet Heat Stream", PosX=0.8245, PosY=1);
    106 out OutletQ             as energy_stream        (Brief ="Outlet Heat Stream", PosX=0.1662, PosY=0);
    107105
    108106 EQUATIONS
    109107 "Net Duty"
    110         OutletQ.Q = InletQ.Q - QDuty;
     108        InletQ.Q = -QDuty;
    111109end
Note: See TracChangeset for help on using the changeset viewer.