🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Error: [fmi2GetContinuousStates]: Simulation terminated at t=0.0000000000000000e+00: error running events

User: "arnigaber"
Altair Community Member
Updated by arnigaber

Hello to all, in my first model i want to simulate a dumper using a cylinder with orifice in the line to the tank. 

I've tried different configuration but every time appears this type of error and i don't understand what it mean. 

Is there someone that can help me uderstand this error? What i have to change?

Thanks in advance! 

Arnigaber

<?xml version="1.0" encoding="UTF-8"?>image.thumb.png.fe05a0392d6cf8a23c70827cbf2affab.png

Find more posts tagged with

Sort by:
1 - 6 of 61
    User: "L Moretti"
    New Altair Community Member
    Updated by L Moretti

    Hello Arnigaber,

     

    can you share your model file?

     

     

    Lorenzo

    User: "RoKet"
    Altair Employee
    Updated by RoKet

    Hi Arbigaber,

     

    It's a problem of initial values. In Modelica mechanics length of elements in a row are added. with basic parameters, the initial position of v-source is 0 m, length of left rod 0,4 m. Position of fixed is 0 m => relative stroke of cylinder is 0,4 m (in right end stop). Now you have to move either v-source to the left or fixed to the right to move piston into middle of the cylinder.

     

    My demo model has a fixed position of 0,2 m.

    Unable to find an attachment - read this blog

    User: "arnigaber"
    Altair Community Member
    OP
    Updated by arnigaber

    Hi RoKet, with your help I managed to run the simulation. 

    Thank you very much!

     

    User: "BrettL"
    Altair Community Member
    Updated by BrettL

    Hi guys, 

     

    I'm having a similar problem with a model I'm trying to set up and I'm hoping I can get some help. 

     

    I've got a cylinder being driven by a position source, but when I run I get the same error. I've tried changing the fixed position as per RoKet's post above but this doesn't seem to work on this model. 

     

    I eventually need to add an accumulator onto the piston side of the cylinder, but need to get this simple model working first!

     

    Could someone have a look at this model and let me know what I'm doing wrong here? 

     

    Many thanks!

     

    image.png.e2f0a852f117cd874813629b95b9597c.png

    Unable to find an attachment - read this blog

    User: "RoKet"
    Altair Employee
    Updated by RoKet

    Hi BrettL,

     

    It's the same solution. You have to consider all positions and length. In Modelica (and the hydraulics library) positions are calculated as a row of points and lengths. In your case the row starts with the fixed element at 0 m. The cylinder has a minimum length of 0.4 m, so the rod tip has a minimum position of 0.4 m, a maximum position of 0.8 m (stroke of 0.4 m).

     

    The range of position source has to be in the given limits of the cylinder, I've shifted the offset to 0.6 m (0.4 m length and initial stroke of 0.2 m). In addition I've set all initial values to the right value (cylinder stroke, s_ref, ToModelica. It's not always necessary, but helps the solver to find the correct initial state.

     

    RoKet

    Unable to find an attachment - read this blog

    User: "BrettL"
    Altair Community Member
    Updated by BrettL

    Hey RoKet, 

     

    Thanks a lot for that... your explanation makes more sense to me now. Your model works as I'd intended, so really appreciate your help. 

     

    Now to work on the accumulator... :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />

     

    Cheers, Brett.