how the moco objectives are claculated
Posted: Wed Sep 07, 2022 10:40 am
I succeed in calculating with MocoOutputGoal of metabolic probe by:
and I see the summary result at the solution printout. "objective_met=0.39"
Than i calculate the same output by:
When I try to integrate the storage result I get totally different value 184.64.
I didn't use divide by mass or divide by displacement.
Am I wrong in something here?
Code: Select all
auto* metGoal = problem.addGoal<MocoOutputGoal>("met", 0.1);
metGoal->setOutputPath("/metabolics|total_metabolic_rate");
metGoal->setDivideByDisplacement(true);
metGoal->setDivideByMass(true);
Than i calculate the same output by:
Code: Select all
TimeSeriesTable outputTable =
analyzeMocoTrajectory<double>(model, solution,
{ "/metabolics\\|total_metabolic_rate"});
When I try to integrate the storage result I get totally different value 184.64.
I didn't use divide by mass or divide by displacement.
Am I wrong in something here?