Hi,
I was attempting to run CMC in the OpenSim 3.2 software on a model with an attached probe. The input files and output files all seem to be correct, but when i try to plot the metabolics with respect to time, a flat line appears.
I also tried to use the Analyze tool using a ProbeReporter in the Analysis Set.
I've attached the setup file that i've loaded for the analysis and the text for the CMC setup.
The CMC tool and Analyze tools are running, but there is no metabolic data coming from the probe.
Please let me know if you can help. Thanks!
-Julie Dillon
No metaolic output from probe while running CMC
- Julie Dillon
- Posts: 4
- Joined: Sun Mar 29, 2015 11:00 am
No metaolic output from probe while running CMC
- Attachments
-
- setup_CMC.xml
- (6.89 KiB) Downloaded 114 times
-
- setup_analyses.xml
- (5.17 KiB) Downloaded 129 times
-
- setupCMC_run2_relative_temp.xml
- (6.84 KiB) Downloaded 99 times
- John Rogers
- Posts: 45
- Joined: Fri Feb 24, 2012 11:47 am
Re: No metaolic output from probe while running CMC
Julie,
There is a script that adds a metabolic probe to every muscle.
Also See the “Simulation-Based Design to Reduce Metabolic Cost” tutorial at:
http://simtk-confluence.stanford.edu:95 ... therModels
Download the metabolic example files from that location.
Extract the files and save the folder in the OpenSim installations folder\Models, e.g.
C:\OpenSim 3.2\Models\MetabolicsExample
Open the OpenSim GUI and open the model you want to add the metabolic probe to.
Select the scripts menu, run…,
navigate to the MetabolicsExample\gait10dof18musc_32\Scripts folder,
Run the addMetabolicProbe.py script.
The script requests a twitch ratio file, for 92-muscle full body models, select metabolicsSlowTwitchRatios_Gait2392.txt
The script saves a copy of the model with a _probed suffix.
If you open the .osim file in Notepad++ and search for probe, you can see that the script adds a probe for every muscle. You can adjust the probe properties in the OpenSim GUI if neded.
Add an analysis to your CMC setup file; copy-paste the code below:
<AnalysisSet name="Analyses">
<objects>
<ProbeReporter name="MetabolicsReporter">
<!--All properties of this object have their default values.-->
</ProbeReporter>
</objects>
<groups />
</AnalysisSet>
Run CMC
Plot the result
Cheers,
John
There is a script that adds a metabolic probe to every muscle.
Also See the “Simulation-Based Design to Reduce Metabolic Cost” tutorial at:
http://simtk-confluence.stanford.edu:95 ... therModels
Download the metabolic example files from that location.
Extract the files and save the folder in the OpenSim installations folder\Models, e.g.
C:\OpenSim 3.2\Models\MetabolicsExample
Open the OpenSim GUI and open the model you want to add the metabolic probe to.
Select the scripts menu, run…,
navigate to the MetabolicsExample\gait10dof18musc_32\Scripts folder,
Run the addMetabolicProbe.py script.
The script requests a twitch ratio file, for 92-muscle full body models, select metabolicsSlowTwitchRatios_Gait2392.txt
The script saves a copy of the model with a _probed suffix.
If you open the .osim file in Notepad++ and search for probe, you can see that the script adds a probe for every muscle. You can adjust the probe properties in the OpenSim GUI if neded.
Add an analysis to your CMC setup file; copy-paste the code below:
<AnalysisSet name="Analyses">
<objects>
<ProbeReporter name="MetabolicsReporter">
<!--All properties of this object have their default values.-->
</ProbeReporter>
</objects>
<groups />
</AnalysisSet>
Run CMC
Plot the result
Cheers,
John