Changeset 46 for mso/sample


Ignore:
Timestamp:
Nov 7, 2006, 2:47:55 PM (16 years ago)
Author:
Paula Bettio Staudt
Message:

Fixed some sample files

Location:
mso/sample
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • mso/sample/controllers/sample_tanks_pid.mso

    r29 r46  
    127127       
    128128        OPTIONS
     129        NLASolver = "sundials";
    129130        time = [0:0.1:30] * "h" ;
    130131end
  • mso/sample/miscellaneous/sample_pend.mso

    r30 r46  
    6464        time = [0:0.1:30];
    6565        integration = "original"; # original, index0 or index1
    66         accuracyType = "scalar"; # scalar or vector     
    6766        relativeAccuracy = 1e-8;
    6867        absoluteAccuracy = 1e-9;
  • mso/sample/reactors/sample_pfr.mso

    r43 r46  
    7878        #mode = "steady";
    7979        time = [0:0.05:3] * "s";
     80        NLASolver = "sundials";
     81        #DAESolver = "dassl";
    8082end
  • mso/sample/stage_separators/sample_column.mso

    r33 r46  
    7373        OPTIONS
    7474        #relativeAccuracy = 1e-3;
     75        NLASolver = "sundials";
    7576        time = [0:10:1000];
    7677end
  • mso/sample/stage_separators/sample_tank.mso

    r42 r46  
    1111        NComp = PP.NumberOfComponents;
    1212       
     13        VARIABLES
     14        Qtank as heat_rate (Brief="Heat rate supplied to tank");
     15       
    1316        DEVICES
    1417        t as tank;
     
    1720        CONNECTIONS
    1821        s to t.Inlet;
     22        Qtank to t.Q;
    1923       
    2024        SPECIFY
     
    2529        s.v = 0.698;
    2630       
    27         t.Q = 0 * "J/s";
     31        Qtank = 0 * "J/s";
    2832        t.Outlet.F = 179 * "kmol/h";
    2933       
     
    5054        PP.VapourModel = "PR";
    5155        NComp = PP.NumberOfComponents;
     56
     57        VARIABLES
     58        Qtank as heat_rate (Brief="Heat rate supplied to tank");
    5259       
    5360        DEVICES
     
    5764        CONNECTIONS
    5865        s to t.Inlet;
     66        Qtank to t.Q;
    5967       
    6068        SPECIFY
     
    6573        s.v = 0.368;
    6674
    67         t.Q = 0 * "J/s";
     75        Qtank = 0 * "J/s";
    6876        t.Outlet.F = 490 * "kmol/h";
    6977       
Note: See TracChangeset for help on using the changeset viewer.