Changes between Initial Version and Version 2 of Ticket #2839


Ignore:
Timestamp:
2014-09-24T19:08:04Z (11 years ago)
Author:
Willi Braun
Comment:

Okay, actually the linearisation works fine and I get the expected result, but I need to add an error messages when the linearization was not created but is tried to use. Since the linearizeation is created ether with the api-call linearize(modelname, stoptime) or by adding +generateSymbolicLinearization as argument to omc.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2839

    • Property Owner changed from willi braun to Willi Braun
    • Property Status newaccepted
    • Property Summary JAcobi matrix not calculated correctly when I give Linearization time in simulate-commandJacobi matrix not calculated correctly when I give Linearization time in simulate-command
  • Ticket #2839 – Description

    initial v2  
    1111Happens with also the smallest models (copy/paste the following model):
    1212
     13{{{
    1314model probeer
    1415  Modelica.Mechanics.Translational.Components.Mass mass1(m = 1, s(start = 0.1)) annotation(Placement(visible = true, transformation(origin = {-18.1034,26.4368}, extent = {{-10,-10},{10,10}}, rotation = 0)));
     
    2021  annotation(Icon(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2})), Diagram(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2})), experiment(StartTime = 0, StopTime = 1, Tolerance = 0.000001));
    2122end probeer;
     23
     24}}}
     25
    2226
    2327The jacobian should be: