Search found 43 matches

by Pavlos Silvestros
Fri Aug 21, 2020 5:25 am
Forum: OpenSim
Topic: Correct muscle forces given model state at first time step of forward simulation
Replies: 2
Views: 872

Re: Correct muscle forces given model state at first time step of forward simulation

Hey Nick, Thank you for getting back to me! I am currently using Thelen2003Muscle but will be transitioning to the Millard2012EquilibriumMuscle shortly. Alright, as long as the initial state is in static equilibrium for the level of muscle activation prescribed I think that is a good starting point....
by Pavlos Silvestros
Fri Aug 07, 2020 9:21 am
Forum: OpenSim
Topic: Correct muscle forces given model state at first time step of forward simulation
Replies: 2
Views: 872

Correct muscle forces given model state at first time step of forward simulation

Hi all, I am looking at the effect of muscle forces have on the stability of the spinal column upon impacts. I was wondering, how can I ensure my model's muscles to be producing the required force for a given state (activation, length) at the first time step of a forward simulation. This is because ...
by Pavlos Silvestros
Fri Jul 24, 2020 6:46 am
Forum: OpenSim
Topic: MATLAB crash when computing forward dynamics
Replies: 10
Views: 2010

Re: MATLAB crash when computing forward dynamics

Hi guys, For my needs I did something like this: Set up model and simulation environment(paths, variables etc.) for_loop var1 for_loop var2 functionToAdjustModelAndExecuteSimulation(model,var1,var2, simulation_setings) This function applied changes to model coordinates, muscle activations, external ...
by Pavlos Silvestros
Mon Jul 20, 2020 1:28 am
Forum: OpenSim
Topic: MATLAB crash when computing forward dynamics
Replies: 10
Views: 2010

Re: MATLAB crash when computing forward dynamics

Hi Elena, I also had a similar problem with some sort of memory allocation problem when running many FD simulations. In my case MATLAB would hard crash and I had to look through the error log to find out why. At the start I tried clearing the heap memory manually through MATLAB but that didn't work ...
by Pavlos Silvestros
Thu Jul 16, 2020 8:41 am
Forum: OpenSim
Topic: Contact modelling - Stiffness values and points of force application
Replies: 3
Views: 892

Re: Contact modelling - Stiffness values and points of force application

Hi Carmichael, Thanks for the response! 1) Thanks for confirming, I have also had a look at these now. 2) That's a good idea, but unless geometric constraints exist for the point of force application then many solutions exist for an equivalent force system. I will try and have a look deeper into the...
by Pavlos Silvestros
Mon Jul 13, 2020 9:49 am
Forum: OpenSim
Topic: Contact modelling - Stiffness values and points of force application
Replies: 3
Views: 892

Contact modelling - Stiffness values and points of force application

Good afternoon everyone, I have a couple of questions regarding setting up contact models for simulating impacts. 1) Could I confirm that the dimensions of the stiffness and dissipation contact_parameters entered into the HuntCrossleyForce model in OpenSim (3.3) are Pascal (Pa) and non-dimesional (c...
by Pavlos Silvestros
Tue Apr 14, 2020 3:51 am
Forum: Calibrated EMG-Informed Neuromusculoskeletal Modelling Toolbox (CEINMS)
Topic: Installation Error
Replies: 2
Views: 919

Re: Installation Error

Hi Lydia,

OpenSim 4.1 is a recent update and I am not sure CEINMS has been re updated to match that version of OpenSim (I think the last update was in summer 2019 for CEINMS). Maybe try and use CEINMS with OpenSim 3.3 on your device?

Hope that helps.

Cheers,
Pavlos
by Pavlos Silvestros
Mon Apr 06, 2020 1:57 am
Forum: OpenSim
Topic: Prescribing muscle Activations in Forward Dynamics
Replies: 2
Views: 859

Re: Prescribing muscle Activations in Forward Dynamics

Hi Carmichael, Thanks for the suggestions! 1) I have managed to prescribe constant activations by safeDownCast() then setting the value with setMinimumActivation() to the individual muscles in the model. I'll give your ideas a go also to see if they provide more flexibility! 2) Yes I thought that mi...
by Pavlos Silvestros
Fri Apr 03, 2020 2:57 am
Forum: OpenSim
Topic: Prescribing muscle Activations in Forward Dynamics
Replies: 2
Views: 859

Prescribing muscle Activations in Forward Dynamics

Hello everyone, I am wanting to directly prescribe activations to my model's muscles so that I can run my simulations without having to allow time for excitation and activation dynamic "time lag". For the model's muscles to be at the required activation from the start of the simulation and through i...
by Pavlos Silvestros
Fri Mar 13, 2020 10:04 am
Forum: OpenSim Moco
Topic: Accessing MocoControlTrackingGoal in Matlab API
Replies: 3
Views: 465

Re: Accessing MocoControlTrackingGoal in Matlab API

Hey Guys,

Alright that's great thank you!

All the other MocoGoal functions were available but when trying to access MocoControlTrackingGoal the error was "Undefined function or variable "MocoControlTrackingGoal".

Cheers,
Pavlos