- Index
- » Users
- » Terzioglu
- » Profile
Posts
Posts
Hi!
In Modelica Library I couldn't find a force block whose input is resultant force value. In force block I have to define x,y and z axis forces.
I don't want to do that, I want to define in force block only the resultant force of x,y,z axis. How can I do that please help!!
Thank you current/smile
Hi!
In Modelica Library I couldn't find a force block whose input is resultant force value. In force block I have to define x,y and z axis forces.
I don't want to do that, I want to define in force block only the resultant force of x,y,z axis. How can I do that please help!!
Thank you
Hi,
I am new, I want to model a preload spring in Modelica. I wrote a Modelica Text for it:
model UnloadedSpring
parameter Modelica.SIunits.TranslationalSpringConstant c(final min=0)=1000;
parameter Modelica.SIunits.Length x_0=0 "First position of spring";
parameter Modelica.SIunits.Length x_1=0.02 "Second position of spring";
parameter Modelica.SIunits.Length x_2=0.04 "Last position of spring";
parameter Real Modelica.SIunits.Length x(min=0.02, max=0.04) "Stroke between x_1 and x_2";
parameter Modelica.SIunits.Force F_0=10 "Force_0 at x_0/preload";
parameter Modelica.SIunits.Force F_1=20 "Force_1 at x_1";
parameter Modelica.SIunits.Force F_2=50 "Force_2 at x_2";
parameter Modelica.SIunits.Force F "Force at between F_1 and F_2";
equation
F = F_0 + c * x;
end UnloadedSpring;
but I know that I defined x ("Stroke between x_1 and x_2") wrong. I don't want to define it like min stroke is 0.02 and max stroke is 0.04, I want to define it like I said between 0.02 to 0.04. Do you know how can I do it?
You don't have to follow my way as I said I am very unfamiliar to Modelica, I just want to take help from you how to write a preload spring text in Modelica or Dymola model also would be great. I need your all answers please help
Thank you.
- Index
- » Users
- » Terzioglu
- » Profile