function [prdData, info] = predict_Trisopterus_esmarkii(par, data, auxData) 
  
  % unpack par, data, auxData
  cPar = parscomp_st(par); vars_pull(par); 
  vars_pull(cPar);  vars_pull(data);  vars_pull(auxData);
  
  if f_N < 1e-3 || f_S < 1e-3
     info = 0; prdData = []; return
  end
  
%% compute temperature correction factors
  TC    = tempcorr(temp.am, T_ref, T_A);

  %% zero-variate data
  
  % life cycle
  pars_tj = [g k l_T v_Hb v_Hj v_Hp];
  [t_j, t_p, t_b, l_j, l_p, l_b, l_i, r_j, r_B, info] = get_tj(pars_tj, f);
  if ~info
    prdData = []; return;
  end

  % birth
  L_b = L_m * l_b; Lw_b = L_b/ del_M;  % cm, structural, total length at birth
  Ww_b = L_b^3 * (1 + f * w);          % g, wet weight at birth at f

  % puberty and ultimate size
  L_p = l_p * L_m; Lw_p = L_p/ del_M;  % cm, structural, total length at puberty
  Ww_p = L_p^3 * (1 + f * w);          % g, wet weight at puberty
  
  % ultimate size
  L_i = L_m * l_i; Lw_i = L_i/ del_M;  % cm, ultimate structural, total length
  Ww_i = L_i^3 * (1 + f * w);          % g, ultimate wet weight

  % reproduction at 50 cm
  pars_R = [kap; kap_R; g; k_J; k_M; L_T; v; U_Hb; U_Hj; U_Hp]; % compose parameter vector
  RT_i = TC * reprod_rate_j(26.5 * del_M, f, pars_R);             % reproduction rate for fish of 50 cm

  % life span
  pars_tm = [g; l_T; h_a/ k_M^2; s_G];  % compose parameter vector at T_ref
  t_m = get_tm_s(pars_tm, f, l_b);      % -, scaled mean life span at T_ref
  aT_m = t_m/ k_M/ TC;                  % d, mean life span at T
  
  % males
  p_Am_m = z_m * p_M/ kap;             % J/d.cm^2, {p_Am} spec assimilation flux
  E_m_m = p_Am_m/ v;                   % J/cm^3, reserve capacity [E_m]
  g_m = E_G/ (kap* E_m_m);             % -, energy investment ratio
  m_Em_m = y_E_V * E_m_m/ E_G;         % mol/mol, reserve capacity 
  w_m = m_Em_m * w_E/ w_V;             % -, contribution of reserve to weight
  L_mm = v/ k_M/ g_m;                  % cm, max struct length

%% pack to output
  prdData.am = aT_m;
  prdData.Lp = Lw_p;
  prdData.Li = Lw_i;
  prdData.Wwb = Ww_b;
  prdData.Wwp = Ww_p;
  prdData.Wwi = Ww_i;
  prdData.Ri = RT_i;
  
%% uni-variate data

  % time-length 
  [t, Le] = ode45(@get_L, [0; tL_Nf(:,1)], [L_b; 1], [], T_ref, T_A, t_0, T_N, T_NA, f_N, s_N, L_m, g, v); 
  Le(1,:) = []; ELw_Nf = Le(:,1)/del_M;
  [t, Le] = ode45(@get_L, [0; tL_Nm(:,1)], [L_b; 1], [], T_ref, T_A, t_0, T_N, T_NA, f_N, s_N, L_mm, g_m, v); 
  Le(1,:) = []; ELw_Nm = Le(:,1)/del_M;
  [t, Le] = ode45(@get_L, [0; tL_Sf(:,1)], [L_b; 1], [], T_ref, T_A, t_0, T_S, T_SA, f_S, s_S, L_m, g, v); 
  Le(1,:) = []; ELw_Sf = Le(:,1)/del_M;
  [t, Le] = ode45(@get_L, [0; tL_Sm(:,1)], [L_b; 1], [], T_ref, T_A, t_0, T_S, T_SA, f_S, s_S, L_mm, g_m, v); 
  Le(1,:) = []; ELw_Sm = Le(:,1)/del_M;
  
  
%% pack to output
  prdData.tL_Nf = ELw_Nf;
  prdData.tL_Nm = ELw_Nm;
  prdData.tL_Sf = ELw_Sf;
  prdData.tL_Sm = ELw_Sm;
end

function dLe = get_L(t, Le, T_ref, T_A, t_0, T_mean, T_ampl, f_mean, s, L_m, g, v)
  L = Le(1); e = max(1e-3,Le(2));
  
  T = T_mean+T_ampl*sin(2*pi*(t+t_0)/365); TC = tempcorr(C2K(T), T_ref, T_A);
  f = max(0,min(1,f_mean+s*T/T_mean));
  de = TC * (f - e) * v/ L;
  r = TC * v * (e/L - 1/L_m)/ (1 + e/g); 
  dL = TC * r * L/ 3;
  dLe = [dL; de];
end