Changeset 176 for branches/newlanguage/sample/miscellaneous/sample_bc.mso
 Timestamp:
 Mar 4, 2007, 1:56:54 AM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/newlanguage/sample/miscellaneous/sample_bc.mso
r83 r176 47 47 EQUATIONS 48 48 "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))); 51 51 52 52 "Balanço demais pratos" 53 diff(x1(2:Np))* "s"= V/Hi * (y1(1:Np1)  y1(2:Np) + (R * ( x1(3:Np+1)  x1(2:Np) ) / (R+1)));53 diff(x1(2:Np))*'s' = V/Hi * (y1(1:Np1)  y1(2:Np) + (R * ( x1(3:Np+1)  x1(2:Np) ) / (R+1))); 54 54 55 55 "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; 57 57 58 58 x1 = 1  x2; … … 86 86 87 87 OPTIONS 88 time = [0:0.01:0.1, 0.2:0.1:2.1]; 89 integration = "index0"; #original, index0 or index 1 90 relativeAccuracy = 1e6; 91 absoluteAccuracy = 1e8; 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 = 1e6; 93 AbsoluteAccuracy = 1e8; 92 94 DAESolver = "dasslc"; # "mebdf" 93 95 end
Note: See TracChangeset
for help on using the changeset viewer.