Ignore:
Timestamp:
Mar 4, 2007, 1:56:54 AM (16 years ago)
Author:
Argimiro Resende Secchi
Message:

Fix some new language syntax.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/sample/miscellaneous/sample_bc.mso

    r83 r176  
    4747        EQUATIONS
    4848                "Balanço no Prato 0"
    49                 diff(H0)*"s" = -V/(R+1);
    50                 diff(x1(1))*"s" = V/H0 * (x1(1)-y1(1) + R * ((x1(2) - x1(1))/(R+1)));
     49                diff(H0)*'s' = -V/(R+1);
     50                diff(x1(1))*'s' = V/H0 * (x1(1)-y1(1) + R * ((x1(2) - x1(1))/(R+1)));
    5151       
    5252                "Balanço demais pratos"
    53                 diff(x1(2:Np))*"s" = V/Hi * (y1(1:Np-1) - y1(2:Np) + (R * ( x1(3:Np+1) - x1(2:Np) ) / (R+1)));
     53                diff(x1(2:Np))*'s' = V/Hi * (y1(1:Np-1) - y1(2:Np) + (R * ( x1(3:Np+1) - x1(2:Np) ) / (R+1)));
    5454
    5555                "Balanço último prato"
    56                 diff(x1(Np+1))*"s" = V * ( y1(Np) - x1(Np+1) )/Hi;
     56                diff(x1(Np+1))*'s' = V * ( y1(Np) - x1(Np+1) )/Hi;
    5757
    5858                x1  = 1 - x2;
     
    8686
    8787        OPTIONS
    88                 time = [0:0.01:0.1, 0.2:0.1:2.1];
    89                 integration = "index0"; #original, index0 or index 1
    90                 relativeAccuracy = 1e-6;
    91                 absoluteAccuracy = 1e-8;
     88                #time = [0:0.01:0.1, 0.2:0.1:2.1];
     89                TimeStep = 0.01;
     90                TimeEnd = 2.1;
     91                #integration = "index0"; #original, index0 or index 1
     92                RelativeAccuracy = 1e-6;
     93                AbsoluteAccuracy = 1e-8;
    9294                DAESolver = "dasslc"; # "mebdf"
    9395end
Note: See TracChangeset for help on using the changeset viewer.