Skip to content

[Feature]: add checks to identify growth parameter that cause negative length-at-age and better enable use of negative Amin as t0 #726

@Rick-Methot-NOAA

Description

@Rick-Methot-NOAA

Describe the solution you would like.

SS3 growth equations use the Lmin parameter as the fish length at this age:
0 #_Age(post-settlement) for L1 (aka Amin).

So, if the Lmin is set to 0.0, then Amin is identical to t0, per the original parameterization of the growth model.

SS3 works in the above configuration, but it is a non-transparent way to achieve the t0 approach.

Also, if the user does not fix Lmin at 0.0, then the 3.30.24 trap for negative lengths is accidentally triggered.

Add check in readcontrol to identify Lmin values, or lower bound on Lmin, that would cause negative length-at-age.
Also flag Lmin < len_bins(1) as that can cause declining size-at-age below Amin.
Not all situations causing negative length-at-age are caught by the readcontrol test.
Also add a test in prelim calcs that explicitly checks for negative length-at-age (FATAL)
and a test for declining length-at-age.
Repeat that test in write_report to test the final parameter values.
Note that no test occurs during MLE or MCMC estimation.

Describe alternatives you have considered

continuing with current approach

Statistical validity, if applicable

NA

Describe if this is needed for a management application

probably

Additional context

No response

Metadata

Metadata

Labels

change loguse for issues that should appear in change loggrowth

Projects

Status

Done

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions