Investigating tri-trophic interactions using bio-energetic demographic models