Ignore:
Timestamp:
Jun 13, 2016, 2:21:42 AM (6 years ago)
Author:
Argimiro Resende Secchi
Message:

fixing some examples

Location:
trunk/sample/miscellaneous
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sample/miscellaneous/sample_high_index_optimal.mso

    r913 r992  
    4949        nt       as mol;
    5050       
    51         T as temperature;
     51        T as temperature (Default=200);
    5252        P as pressure;
    5353        Psat(NComp) as pressure;
     
    146146        TimeUnit = 'h';
    147147
    148         #DAESolver(File="dasslc"); # slow integration
    149         DAESolver(File="mebdf");  # much faster
     148        #DAESolver(File="dasslc");
     149        DAESolver(File="mebdf");
    150150        Dynamic = true;
    151151end
  • trunk/sample/miscellaneous/sample_optimization.mso

    r394 r992  
    1515       
    1616        OPTIONS
    17         NLPSolver(#File = "ipopt_emso"
     17        NLPSolver(File = "ipopt_emso"
    1818                          #File = "complex"
    19                   File = "optpp_emso"
     19                  #File = "optpp_emso"
    2020                          );
    2121        Dynamic = false;
  • trunk/sample/miscellaneous/sample_vrtherm.mso

    r913 r992  
    5353       
    5454        EQUATIONS
    55         fl.OutletLiquid.F = 400*sqrt(fl.Geometry.Level/'m') * 'kmol/h';
     55        fl.OutletLiquid.F = 400*sqrt(fl.Level/'m') * 'kmol/h';
    5656       
    5757        SPECIFY
     
    6565       
    6666        SET
    67         fl.Geometry.Lenght = 10 * 'm';
    68         fl.Geometry.Diameter = 2 * 'm';
    69         fl.Geometry.Orientation = "vertical";
    70 #       fl.Geometry.Orientation = "horizontal";
     67        fl.Lenght = 10 * 'm';
     68        fl.Diameter = 2 * 'm';
     69        fl.Orientation = "vertical";
     70#       fl.Orientation = "horizontal";
    7171
    7272        INITIAL
    7373        fl.OutletLiquid.T = 338 * 'K';
    74         fl.Geometry.Level = 0.4 * 'm';
     74        fl.Level = 0.4 * 'm';
    7575        fl.OutletLiquid.z([1:5]) = 0.1;
    7676       
Note: See TracChangeset for help on using the changeset viewer.