I'm wondering how i get the each time step size for the real values to use this to the equation. I was trying to find the functions or something else but i couldn't.
Actually, I'm trying to integrate the pressure by the volume but the integrator in the Modelica only support the time integral. So i decided to multiply the (delta_volume/delta_time) to the integral of the pressure. That's why i'm doing this.
The pseudo code is like the below.
Work=Integral(pressure);
But integrating the pressure by the volume is what i want, not by the time. So it should be changed like this
Work=(Integral(pressure)) * (delta Volume/delta time);
I'm not able to use the constant value for the delta time because solver cannot handle my model for fixed time step.
Please reply this to me how i can get the value of each time step size for the real value.
