Changes between Version 31 and Version 32 of LanguageChanges
- Timestamp:
- Apr 23, 2007, 5:50:03 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LanguageChanges
v31 v32 223 223 }}} 224 224 225 = Not Yet Implemented Suggestions =226 227 225 == OPTIONS section == 228 226 229 Currently EMSO supportfew common options for the solvers, such as '''relativeAccuracy''' and '''absoluteAccuracy'''. However, each solver has its own specific design options.230 I suggest the following: 231 232 === Option 1 === 227 Previous versions of EMSO support only a few common options for the solvers, such as '''relativeAccuracy''' and '''absoluteAccuracy'''. However, each solver has its own specific design options. 228 229 Now besides common options, there are solver specific options declared as follows: 230 233 231 {{{ 234 232 #!mso … … 237 235 OPTIONS 238 236 time = [0:0.1:30]; 239 relativeAccuracy = 1e-8; 240 absoluteAccuracy = 1e-9; 241 DAESolver = "dasslc" {"maxorder" = 5, "maxlen" = 400}; 242 end 243 }}} 244 245 === Option 2 === 246 247 Just a trial to keep it near to the types definition: 248 249 {{{ 250 #!mso 251 FlowSheet Myflowsheet 252 ... 253 OPTIONS 254 time = [0:0.1:30]; 255 relativeAccuracy = 1e-8; 256 absoluteAccuracy = 1e-9; 257 DAESolver(File = "dasslc", maxorder = 5, maxlen = 400); 258 end 259 }}} 260 261 ||Who || Opinion || Why || 262 ||Arge || '''agreed''' || proposed the change || 263 ||Rafael || '''in doubt''' || proposed the option 2 || 237 SparseAlgebra = true; 238 239 NLASolver(File = "sundials", 240 RelativeAccuracy = 1e-5, 241 MaxIterations = 20 242 ); 243 DAESolver(File = "dasslc", 244 MaxOrder = 5, 245 MaxLen = 400 246 ); 247 end 248 }}} 249 250 = Not Yet Implemented Suggestions = 264 251 265 252 Other suggestion for the '''OPTIONS''' section is to tell the simulator to use the steady-state solution as initial condition for the dynamic simulation. In this case the NLP for the initialization is not necessary, because all derivatives are set to zero. A suggestion to set this option could be using the '''InitialFile''':