Changes between Version 31 and Version 32 of LanguageChanges


Ignore:
Timestamp:
Apr 23, 2007, 5:50:03 PM (15 years ago)
Author:
Rafael de Pelegrini Soares
Comment:

Documented the new solver specific options implementation

Legend:

Unmodified
Added
Removed
Modified
  • LanguageChanges

    v31 v32  
    223223}}}
    224224
    225 = Not Yet Implemented Suggestions =
    226 
    227225== OPTIONS section ==
    228226
    229 Currently EMSO support few 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 ===
     227Previous 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
     229Now besides common options, there are solver specific options declared as follows:
     230
    233231{{{
    234232#!mso
     
    237235    OPTIONS
    238236     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     );
     247end
     248}}}
     249
     250= Not Yet Implemented Suggestions =
    264251
    265252Other 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''':