# Changeset 32 for mso/sample

Ignore:
Timestamp:
Sep 22, 2006, 9:16:00 PM (16 years ago)
Message:

clean up.

Location:
mso/sample/miscellaneous
Files:
11 edited

Unmodified
Removed
• ## mso/sample/miscellaneous/sample_arrays.mso

 r1 OPTIONS time = [0:0.1:2*3.1415]; outputLevel = "high"; end
• ## mso/sample/miscellaneous/sample_arrays2.mso

 r1 EQUATIONS diff(Var1(1,1)) = Var2(1,2); diff(Var1(1,1))*"s" = Var2(1,2); for i in [2 : Dimension-1] diff(Var1(1,i)) = Var2(1,i-1)+Var2(1,i+1); diff(Var1(1,i))*"s" = Var2(1,i-1)+Var2(1,i+1); end diff(Var1(1,Dimension)) = Var2(1,Dimension); diff(Var1(2:Dimension,:)) = Scalar*Var2(2:Dimension,:); diff(Var1(1,Dimension))*"s" = Var2(1,Dimension); diff(Var1(2:Dimension,:))*"s" = Scalar*Var2(2:Dimension,:); exp(Scalar)*Var2 = sin(time); exp(Scalar)*Var2 = sin(time/"s"); end OPTIONS time = [0:0.1:2*3.1415]; outputLevel = "high"; end
• ## mso/sample/miscellaneous/sample_bc.mso

 r7 EQUATIONS "Balanço no Prato 0" diff(H0) = -V/(R+1); diff(x1(1)) = V/H0 * (x1(1)-y1(1) + R * ((x1(2) - x1(1))/(R+1))); "Balanço no Prato 0" diff(H0)*"s" = -V/(R+1); diff(x1(1))*"s" = V/H0 * (x1(1)-y1(1) + R * ((x1(2) - x1(1))/(R+1))); "Balanço demais pratos" diff(x1(2:Np)) = V/Hi * (y1(1:Np-1) - y1(2:Np) + (R * ( x1(3:Np+1) - x1(2:Np) ) / (R+1))); diff(x1(2:Np))*"s" = V/Hi * (y1(1:Np-1) - y1(2:Np) + (R * ( x1(3:Np+1) - x1(2:Np) ) / (R+1))); "Balanço último prato" diff(x1(Np+1)) = V * ( y1(Np) - x1(Np+1) )/Hi; diff(x1(Np+1))*"s" = V * ( y1(Np) - x1(Np+1) )/Hi; x1  = 1 - x2; time = [0:0.01:0.1, 0.2:0.1:2.1]; integration = "index0"; #original, index0 or index 1 outputLevel = "high"; relativeAccuracy = 1e-6; absoluteAccuracy = 1e-8;
• ## mso/sample/miscellaneous/sample_bio.mso

 r1 OPTIONS time = [0:0.5:10]*"h"; outputLevel = "high"; LASolver = "dense"; # dense or sparse end
• ## mso/sample/miscellaneous/sample_calc_object.mso

 r2 OPTIONS outputLevel = "all"; relativeAccuracy = 1e-6; #mode = "steady"; OPTIONS outputLevel = "all"; relativeAccuracy = 1e-6; mode = "steady";
• ## mso/sample/miscellaneous/sample_car.mso

 r13 OPTIONS time = [0:0.01:3]; outputLevel = "high"; integration = "original"; DAESolver = "mebdf";
• ## mso/sample/miscellaneous/sample_cstr_simple.mso

 r10 OPTIONS time = [0:10:1200]; outputLevel = "high"; end
• ## mso/sample/miscellaneous/sample_if.mso

 r1 OPTIONS time = [0:0.01:10]; outputLevel = "medium"; end
• ## mso/sample/miscellaneous/sample_methanol.mso

 r13 Reactor.Pressure = 120; OPTIONS outputLevel = "high"; mode = "steady"; end
• ## mso/sample/miscellaneous/sample_streams.mso

 r1 OPTIONS #mode = "steady"; outputLevel = "high"; end
• ## mso/sample/miscellaneous/sample_tanks.mso

 r1 OPTIONS time = [0:0.1:2] * "h" ; outputLevel = "high"; end
Note: See TracChangeset for help on using the changeset viewer.