InitialStates in FD

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Sina Porsa
Posts: 99
Joined: Thu Feb 03, 2011 7:21 pm

InitialStates in FD

Post by Sina Porsa » Sun Jul 17, 2011 9:04 pm

Hi All,
I have a simple 2DOF pendulum model and I want to input different "initialstates" to FD.
As it is obvious, I have only 4 state. This is my initial states file:

S26pre_CMC_states
nRows=1
nColumns=4
endheader
time r1_x r1_z r1_x_u r1_z_u
0 0 0 1 1


I understood that the results are dependent on order of columns in the initialstates file. in other words the below mentioned initialstates file will end in different results:



S26pre_CMC_states
nRows=1
nColumns=4
endheader
time r1_z r1_x r1_z_u r1_x_u
0 0 0 1 1

Note that I did not change the values, but just the order.

It would be great if you could help me guys!!
Cheers,
Sina

User avatar
Sina Porsa
Posts: 99
Joined: Thu Feb 03, 2011 7:21 pm

RE: InitialStates in FD

Post by Sina Porsa » Thu Jul 28, 2011 7:24 pm

Hi All,
I still have the mentioned problem. It would be great if someone could help me!!
Cheers
Sina

User avatar
Craig Goehler
Posts: 2
Joined: Thu Feb 14, 2008 12:33 pm

RE: InitialStates in FD

Post by Craig Goehler » Fri Jul 29, 2011 2:08 pm

Sina,

I have read your initial post several times and do not see what the problem is. Am I missing a question somewhere?

If all you are looking to do is change the initial states, that's all you have to do. When I run Forward Dynamic Simulations, often times I will save different initial states files and compare the results to see how that starting position affected the motion.

Sorry if this was not helpful.

POST REPLY