Changeset 3e08e7a in OpenModelica


Ignore:
Timestamp:
2016-04-02T12:31:05+02:00 (8 years ago)
Author:
vruge <vruge@…>
Branches:
Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
0989114
Parents:
cbe90029
Message:

Expected output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • simulation/modelica/nonlinear_system/problem8_newton.mos

    rb190c2b r3e08e7a  
    44
    55loadFile("nlsTestPackage.mo"); getErrorString();
    6 simulate(nonlinear_system.problem8, stopTime=100, solver="euler", simflags="-nls=newton"); getErrorString();
     6simulate(nonlinear_system.problem8, stopTime=100, solver="dassl", simflags="-nls=newton", tolerance=0.5e-7); getErrorString();
    77
    88val(a,{0.0,1.0,10.0,100.0});
     
    1313// record SimulationResult
    1414//     resultFile = "nonlinear_system.problem8_res.mat",
    15 //     simulationOptions = "startTime = 0.0, stopTime = 100.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'nonlinear_system.problem8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-nls=newton'",
     15//     simulationOptions = "startTime = 0.0, stopTime = 100.0, numberOfIntervals = 500, tolerance = 5e-08, method = 'dassl', fileNamePrefix = 'nonlinear_system.problem8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-nls=newton'",
    1616//     messages = ""
    1717// end SimulationResult;
     
    1919// Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
    2020// "
    21 // {37.0,-3.711233368469058,-0.7130264753115758,-1.125450190294201e-07}
     21// {37.0,-3.705051462646683,-0.7132731924274377,-1.600730522043431e-08}
    2222// endResult
Note: See TracChangeset for help on using the changeset viewer.