Value of planner objective function storage


I am writing to ask the following question: Dynare manual states that ramsey_policy stores the value of the objective function in oo_.planner_objective_value

I was wondering if there was a similar way to recover planner objective function value when using ramsey_model (e.g when performing a perfect-foresight type of exercise)?

Thanks in advance for your time