danStich / shadia

shadia: dam passage performance standard models for R
https://shadia-ui.github.io/index.html
GNU General Public License v3.0
6 stars 1 forks source link

Merrimack stock crashing after adding second passage route #23

Closed danStich closed 5 years ago

danStich commented 5 years ago

Added a second passage route for Merrimack River. Following the addition, the population appears to blink out in < 20 years. Need to look at downstream survival calculation in downstreamMigration.R.

danStich commented 5 years ago

After a closer look, all ages have 100% repeat spawners after the first 5 years, which can only mean that the spawning pool is not being returned correctly. Only happening in merrimackRiverModel().

Looking into nextGeneration.R next.

danStich commented 5 years ago

There was a misplaced index in downstreamMigration.R that was causing recruitment to be zero after outmigration routine completed.