Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » mx
  • » Profile

Posts

Posts

Jan-25-12 12:35:58
Category: Programming

Hi.
I wrote in Dymola a Modelica code:

Code:

equation 

  i_eneu=
    if (u_ist - u_soll <= 0) then (u_ist-L_e*der(i_e))/R_e
    else (U_f-L_e*der(i_e))/R_e;

For simulation I want to use DASSL Integration Algorithm. DASSL got variable integration steps, so I get this error:

Code:

 WARNING: You have many state events. It might be due to chattering.

Because the Integration steps get very very small. The simulation gets stuck.

With EULER as Integration Algorithm it works fine. (Euler=fixed Integration steps).

But I have to use DASSL. Can anyone help me with this?

thanks

  • Index
  • » Users
  • » mx
  • » Profile
You are here: