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
  • » gurumech07
  • » Profile

Posts

Posts

Apr-25-16 09:02:26
How to fill a tank through the piston-cylinder by applying mechanical force

Hello all,

I've created a Dymola model, where I have an empty tank, which is connected to the sweptvolume output via a static pipe. The sweptvolume input is a force, with the help of which I would like to transport water from the hydraulic cylinder to the tank.

I've assumed the diameter of the piston (0.1m) and accordingly I've calculated the area of the piston. For the atmospheric pressure, I've calculated the force that is needed to displace the water in the cylinder. But, somehow I see the water is not getting displaced and the volume is remaining constant without filling the tank.

Hope one would help me with this, so that I understand what mistake(s) I'm committing..

I would like to thank you for your time and interest.

https://openmodelica.org/images/agorapro/attachments/4901/mini_1461576063_Problem.PNG


Regards
gurumech07


Apr-01-16 09:41:56
Saving Dymola Plots

Hello,

I would like to save the plots in Dymola after simulation. Can somebody help me with this please?

Thank you in advance.

Kind regards
Gurubasav

Hello,
I want to understand the model that I've shown in the pic. I want to give an initial force value, which will result in displacement of the piston in the cylinder. I want to measure the mass flow of liquid (water) as the output.

Please suggest me the input and output components in order to simulate and understand the mechanism.

Thank you in advance.

https://www.openmodelica.org/images/agorapro/attachments/4901/mini_sweptVolume-Problem.PNG

Feb-15-16 18:33:38
Can anyone illustrate how to operate with u1, u2 and y in a 2D table?

Hello,

I have constructed a 2D look-up table using the combiTable2D option.  I have u1, u2 and table_data stored in three varibales as below:

combiTable2D.u1 = data1;
combiTable2D.u2 = data2;
combiTable2D.y = table_data;

Note: I have already declared data1,data2 and table_data as real variables.

When I construct this table and simulate, it's giving an error : 'pre-optimization module clockPartitioning failed. However, the model is getting checked successfully.

Please illustrate an analogous example with some operation carried out on the variables (u1,u2) say, addition.

Thanks in advance.

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