- Index
- » Users
- » anushkap
- » Profile
Posts
Posts
Page Start Prev 1 Next End
Thanks!
How to create a Modelica model for the reduced model given in test_init.xml file?
Here is a higher index Modelica model (index = 3):
[b]model test
parameter Real m = 1;
parameter Real L = 1;
parameter Real g = 9.81;
Real x;
Real y;
Real vx;
Real vy;
Real T;
equation
der(x) = vx;
der(y) = vy;
m * der(vx) = -(T * x) / L;
m * der(vy) = -T * y - m * g;
x ^ 2 + y ^ 2 = L ^ 2;
end test;
I want to get the corresponding index reduced model as an XML file or .mo file. How can I do it?
WBR
Anushka
Page Start Prev 1 Next End
- Index
- » Users
- » anushkap
- » Profile