- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Deriving Equations for Modelica
Deriving Equations for Modelica
Deriving Equations for Modelica
Hey,
I'm trying to simualte a basic DC motor in OpenModelica. I'm concerned with the Output angular speed of the motor on application of a certain load.
I have been able to simulate the model and get the curve for the output angular speed. Is there a possible way by which I can get the equation for the the speed?
( What I'm trying to find is the dependecies of angular speed in terms of voltage applied,resistance,moment of inertia etc. in form of an equation)
Thanks
Re: Deriving Equations for Modelica
- sjoelund.se
- 1700 Posts
Re: Deriving Equations for Modelica
You look for the variable that you plot, double-click it. Double-click the equation that defines it, and it shows what OpenModelica uses to solve for the variable. If you need to expand one of the variables on the rhs, do so manually by looking up those variables as well. You can only really get the statements that OpenModelica used to solve the system without processing the information.
- sjoelund.se
- 1700 Posts
Re: Deriving Equations for Modelica
Look for the regular equation of the derivative of the variable. State variables have no equations except for the initial value.
- sjoelund.se
- 1700 Posts
Re: Deriving Equations for Modelica
I am sorry, but this didn't work either.
the equation I found was der(dcpm.InertiaRotor.w)=Inertia1.a
However, Inertia1.a variable cannot be accessed.
I mean when I try to find Inertia1.a on the list on the left side, the variable is not accesible
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Deriving Equations for Modelica