Ignore:
Timestamp:
Feb 20, 2010, 1:52:08 PM (13 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Updated prob6 from tenprobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/sample/miscellaneous/tenprobs/prob06.mso

    r443 r915  
    5959        VARIABLES
    6060        T               as temperature;
     61        T_Cdeg  as Real(Brief = "Temperature in °C", Lower=-250, Upper=5000);
    6162       
    6263        SET
    6364        cp = 2*'kJ/kg/K';
    6465        W = 100*'kg/min';
     66       
     67        EQUATIONS
     68        T_Cdeg = T/'K' - 273.15;
    6569end
    6670
     
    8993        VARIABLES
    9094        T               as temperature;
     95        T_Cdeg  as Real(Brief = "Temperature in °C", Lower=-250, Upper=5000);
     96       
     97        EQUATIONS
     98        T_Cdeg = T/'K' - 273.15;
    9199end
    92100
     
    170178        feed.T = (20 + 273.15)*'K';
    171179       
    172         steam1.Outlet.T = (250 + 273.15)*'K';
    173         steam2.Outlet.T = (250 + 273.15)*'K';
    174         steam3.Outlet.T = (250 + 273.15)*'K';
     180        steam1.Outlet.T_Cdeg = 250;
     181        steam2.Outlet.T_Cdeg = 250;
     182        steam3.Outlet.T_Cdeg = 250;
    175183       
    176184        tank1.M = 1000*'kg';
     
    180188       
    181189        INITIAL
    182         tank1.Outlet.T = (20 + 273.15)*'K';
    183         tank2.Outlet.T = tank1.Outlet.T;
    184         tank3.Outlet.T = tank2.Outlet.T;
     190        tank1.Outlet.T_Cdeg = 20;
     191        tank2.Outlet.T_Cdeg = 20;
     192        tank3.Outlet.T_Cdeg = 20;
    185193
    186194
Note: See TracChangeset for help on using the changeset viewer.