Changeset 3e08e7a in OpenModelica
- Timestamp:
- 2016-04-02T12:31:05+02:00 (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
simulation/modelica/nonlinear_system/problem8_newton.mos
rb190c2b r3e08e7a 4 4 5 5 loadFile("nlsTestPackage.mo"); getErrorString(); 6 simulate(nonlinear_system.problem8, stopTime=100, solver=" euler", simflags="-nls=newton"); getErrorString();6 simulate(nonlinear_system.problem8, stopTime=100, solver="dassl", simflags="-nls=newton", tolerance=0.5e-7); getErrorString(); 7 7 8 8 val(a,{0.0,1.0,10.0,100.0}); … … 13 13 // record SimulationResult 14 14 // 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'", 16 16 // messages = "" 17 17 // end SimulationResult; … … 19 19 // Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information. 20 20 // " 21 // {37.0,-3.7 11233368469058,-0.7130264753115758,-1.125450190294201e-07}21 // {37.0,-3.705051462646683,-0.7132731924274377,-1.600730522043431e-08} 22 22 // endResult
Note: See TracChangeset
for help on using the changeset viewer.