Search found 19 matches

by Iris Magnusdottir
Mon Aug 03, 2020 5:49 am
Forum: OpenSim Moco
Topic: Using metabolics probe with DeGrooteFregly2016Muscle
Replies: 59
Views: 12330

Re: Using metabolics probe with DeGrooteFregly2016Muscle

Hi again, I am still struggling with the above, that is, getting the state for my PathActuator to compute the device actuator torque. The actuator does not appear in my MuscleAnalysis. I am using MocoInverse. Can I assume that the difference between the torque generated by my unassisted muscles and ...
by Iris Magnusdottir
Tue Jul 28, 2020 12:32 pm
Forum: OpenSim Moco
Topic: Using metabolics probe with DeGrooteFregly2016Muscle
Replies: 59
Views: 12330

Re: Using metabolics probe with DeGrooteFregly2016Muscle

Thank you Chris! Few questions. Does the prescribeControlsToModel work with MocoInverse in Matlab? I get the following error: Undefined variable "opensimMoco" or class "opensimMoco.prescribeControlsToModel". From what I understand, MocoInverse allows writing states to StatesTable while MocoStudy use...
by Iris Magnusdottir
Mon Jul 27, 2020 9:55 am
Forum: OpenSim Moco
Topic: Using metabolics probe with DeGrooteFregly2016Muscle
Replies: 59
Views: 12330

Re: Using metabolics probe with DeGrooteFregly2016Muscle

Just to answer my own question in case it might help someone else. I managed to find the joint moments using MuscleAnalysis and sum up the muscle moments that act around the ankle joint. However, it only reports the moments of muscles in the model. How can I see the contribution of my PathActuator (...
by Iris Magnusdottir
Sat Jul 25, 2020 10:36 am
Forum: OpenSim Moco
Topic: Using metabolics probe with DeGrooteFregly2016Muscle
Replies: 59
Views: 12330

Re: Using metabolics probe with DeGrooteFregly2016Muscle

Hi all, I would like to compute the ankle plantarflexion moment using my exoskeleton and compare the moment generated by my device with muscle moments with and without assistance, as done by Dembia et al (2017) . Previously in this thread, Nick suggested the following: coordSet = model.getCoordinate...
by Iris Magnusdottir
Mon Jul 06, 2020 3:31 am
Forum: OpenSim Moco
Topic: Simulation of ankle exoskeleton
Replies: 11
Views: 1953

Re: Simulation of ankle exoskeleton

Thanks Nick, I have already done three other configurations, spring only, motor only, and parallel elastic actuation (PEA). With those I have used the PathSpring and PathActuator. I want to compare the different configurations and therefore keep working with actuators. Do you have some recommendatio...
by Iris Magnusdottir
Fri Jul 03, 2020 8:07 am
Forum: OpenSim Moco
Topic: Simulation of ankle exoskeleton
Replies: 11
Views: 1953

Re: Simulation of ankle exoskeleton

Hi all, I have two questions regarding my ankle exoskeleton. I have created a pure passive device using PathSpring, pure active using PathActuator and a parallel elastic actuation (PEA) using the both. I also want to create a series elastic actuation (SEA) as shown in figure below. I believe OpenSim...
by Iris Magnusdottir
Thu Jul 02, 2020 10:34 am
Forum: OpenSim
Topic: Series Elastic Actuation (SEA)
Replies: 0
Views: 249

Series Elastic Actuation (SEA)

Hi OpenSim community. I am interested in simulating the effect of an ankle exoskeleton featuring a series elastic actuation (SEA), that is, where an active motor is connected in series with a passive spring, as shown in figure below. I believe OpenSim does not have an inbuilt function for this so my...
by Iris Magnusdottir
Wed May 13, 2020 9:20 am
Forum: OpenSim Moco
Topic: Using metabolics probe with DeGrooteFregly2016Muscle
Replies: 59
Views: 12330

Re: Using metabolics probe with DeGrooteFregly2016Muscle

Thank you Nick! I believe I managed to get the PrescribedController to work. My error occurred as the header in my control.sto file was not the same as in the ForceSet in my model (.sto had a /forceset/ prefix). What I did was: model = Model('model_updated.osim'); pc = PrescribedController('controls...
by Iris Magnusdottir
Tue May 12, 2020 6:18 am
Forum: OpenSim Moco
Topic: Using metabolics probe with DeGrooteFregly2016Muscle
Replies: 59
Views: 12330

Re: Using metabolics probe with DeGrooteFregly2016Muscle

Thank you all for the helpful feedback. My previous error disappeared when I edited my ProbeSet, adding <enabled>true</enabled> and <aerobic_factor>1.5</aerobic_factor>. If I use the Analyze Tool (instead of analyze.study()), do I then need a PrescribedController? I am now running the Analyze Tool a...
by Iris Magnusdottir
Mon May 11, 2020 8:00 am
Forum: OpenSim Moco
Topic: Using metabolics probe with DeGrooteFregly2016Muscle
Replies: 59
Views: 12330

Re: Using metabolics probe with DeGrooteFregly2016Muscle

Thank you Karthick. I tried using the states and controls from my MocoSolution with the Analyze Tool (both in OpenSim GUI and with accessing it through Moco using Matlab) but the total metabolic energy was maximum 130 (not sure about the units here), but this is way below what is reported in the Sim...