thefaylab / hydra_sim

Code-base for the hydra multispecies simulation model
2 stars 0 forks source link

High Predation Mortalities without other food causing 0's in survey index predictions #18

Open gavinfay opened 2 years ago

gavinfay commented 2 years ago

Located the sources (2 of them) for the 0 values for survey predictions leading to the Infinite nLLs:

  1. Error in indexing for survey selectivity autofill (=1 for all species, surveys, size calsses) meant some species had a survey selectivity of 0 for all size classes. Easy fix to resolve indexing. Done.
  2. REALLY high M2s (>40!!!) for some species (e.g. species 2) with default value for "other food" in the hydra_sim_NOBA.dat file. Resolved for now by setting to 1e+09 (rather than 1e-07), but discussion of appropriate values/solutions need revisiting so that @sgaichas can include appropriate value in the next auto-generated version of hydra_sim_NOBA.dat.