Opened 5 years ago

Last modified 3 years ago

#5491 new defect

Interactive simulation ignores RealInput changes when using kinsol as nonlinear solver

Reported by: RSchiemann Owned by: somebody
Priority: high Milestone:
Component: *unknown* Version: v1.14.0-dev-nightly
Keywords: Cc:

Description

Steps to reproduce the problem:

Compile & run the following model with the following options:

  • stoptime 10, 500 Intervals
  • interactive simulation without steps on port 4841
  • integration with dassl, tolerance 1e-4, jacobian symbolical
  • uncheck "Evaluate all parameters"
  • chose kinsol as nonlinear solver

The model:

model testUA

  Modelica.Blocks.Interfaces.RealInput u;
  Real y[1000];
  
equation

 der(y[1]) + y[1] = u;
 
 for i in 2:1000 loop
  der(y[i]) + y[i] = y[i-1];
 end for;

end testUA;

With the above parameters, I am not able to change u from UA Expert. When I change dassl tolerance to 1e-6, it works.
It seems strange that the ability to change a simulation input depends on the solver tolerance. Can you please fix that?

I have the following setup:

OMEdit v1.14.0-dev-26461-gf6f5727072 (64-bit)
Connected to v1.14.0-dev-26461-gf6f5727072 (64-bit)
Connected to OMSimulator v2.1.0-dev-103-g9e04b31-mingw
UA Expert 1.5.0 319

Change History (4)

comment:1 Changed 5 years ago by casella

  • Milestone changed from 1.14.0 to 1.16.0

Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0

comment:2 Changed 4 years ago by casella

  • Milestone changed from 1.16.0 to 1.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:3 Changed 4 years ago by casella

  • Milestone changed from 1.17.0 to 1.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:4 Changed 3 years ago by casella

  • Milestone 1.18.0 deleted

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.