You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NuStart << Do_all_priors << " #_prior_like: include prior_like for non-estimated parameters (0,1) " << endl;
1534
+
NuStart << SoftBound << " #_soft_bounds: Use Soft Boundaries to aid convergence (0,1) (recommended)" << endl;
1535
1535
NuStart << "#" << endl
1536
-
<< N_nudata_read << " # Number of datafiles to produce: 0 turns off all *.ss_new; 1st is data_echo.ss_new, 2nd is data_expval.ss, 3rd and higher are data_boot_**N.ss," << endl;
1537
-
NuStart << Turn_off_phase_rd << " # Turn off estimation for parameters entering after this phase" << endl;
1536
+
<< N_nudata_read << " #_N_bootstraps: Number of datafiles to produce: 0 turns off all *.ss_new; 1st is data_echo.ss_new, 2nd is data_expval.ss, 3rd and higher are data_boot_**N.ss," << endl;
1537
+
NuStart << Turn_off_phase_rd << " #_last_estimation_phase: turn off estimation for parameters entering after this phase" << endl;
NuStart << F_reporting << " # F_std_reporting_units: 0=skip; 1=exploitation(Bio); 2=exploitation(Num); 3=sum(Apical_F's); 4=mean F for range of ages (numbers weighted); 5=unweighted mean F for range of ages" << endl;
NuStart << F_reporting << " # F_std_units: 0 (skip); 1 (exploitation(Bio)); 2 (exploitation(Num)); 3 (sum(Apical_F's)); 4 (mean F for range of ages (numbers weighted)); 5 (unweighted mean F for range of ages)" << endl;
1556
1557
if (F_reporting == 4 || F_reporting == 5)
1557
1558
{
1558
1559
NuStart << F_reporting_ages <<" # min and max age over which mean F will be calculated, with F=Z-M"<< endl;
@@ -1561,12 +1562,12 @@ FUNCTION void write_nucontrol()
1561
1562
{
1562
1563
NuStart <<"#COND 10 15 #_min and max age over which mean F will be calculated with F_reporting=4 or 5"<< endl;
1563
1564
}
1564
-
NuStart << F_std_basis_rd << " # F_std_scaling: 0=no scaling; 1=F/Fspr; 2=F/Fmsy; 3=F/Fbtgt; where F means annual F_std, Fmsy means F_std@msy; values >=11 invoke N multiyr using 10s and 100s digit; append .1 to invoke log(ratio)" << endl;
1565
-
NuStart << double(mcmc_output_detail) + MCMC_bump << " # MCMC output detail: integer part (0=default; 1=adds obj func components; 2= +write_report_for_each_mceval); and decimal part (added to SR_LN(R0) on first call to mcmc)" << endl;
NuStart << irand_seed_rd << " # random number seed for bootstrap data (-1 to use long(time) as seed): # " << irand_seed << endl;
1568
-
NuStart << timevary_bio_4SRR << " # Compatibility flag for legacy (0) vs improved (1) impact of timevary biology on benchmark SRR calcs >=3.30.24" << endl;
1569
-
NuStart << "3.30 # check value for end of file and for version control" << endl;
1565
+
NuStart << F_std_basis_rd << " # F_std_basis: 0=no scaling; 1 (F/Fspr); 2 (F/Fmsy); 3 (F/Fbtgt); where F means annual F_std, Fmsy means F_std@msy; values >=11 invoke N multiyr using 10s and 100s digit; append .1 to invoke log(ratio)" << endl;
1566
+
NuStart << double(mcmc_output_detail) + MCMC_bump << " #_MCMC_output_detail: integer part (0=default; 1=adds obj func components; 2= +write_report_for_each_mceval); and decimal part (added to SR_LN(R0) on first call to mcmc)" << endl;
NuStart << irand_seed_rd << " #_seed: random number seed for bootstrap data (-1 to use long(time) as seed): # " << irand_seed << endl;
1569
+
NuStart << timevary_bio_4SRR << " #_Compatibility: flag for legacy (0) vs improved (1) impact of timevary biology on benchmark SRR calcs >=3.30.24" << endl;
1570
+
NuStart << "3.30 #_final: check value for end of file and for version control" << endl;
NuFore << Do_MSY << " # Do_MSY: 1= set to F(SPR); 2=calc F(MSY); 3=set to F(Btgt) or F0.1; 4=set to F(endyr); 5=calc F(MEY) with MSY_unit options" << endl;
1581
1582
NuFore << "# if Do_MSY=5, enter MSY_Units; then list fleet_ID, cost/F, price/mt, include_in_Fmey_scaling; # -fleet_ID to fill; -9999 to terminate" << endl;
1582
1583
if (Do_MSY == 5)
@@ -1594,13 +1595,13 @@ FUNCTION void write_nucontrol()
NuFore << BTGT_target << " # Biomass target (e.g. 0.40) as fraction of SSB_virgin if depletion basis = 1, else as fraction of SSB_unfished in benchmark" << endl;
1597
-
if (Do_Benchmark == 3)
1598
-
NuFore << Blim_frac << " # COND: Do_Benchmark==3; Blimit as fraction of Bmsy (neg value to use as frac of Bzero) (e.g. 0.50)" << endl;
1599
-
NuFore << "#_Bmark_years: beg_bio, end_bio, beg_selex, end_selex, beg_relF, end_relF, beg_recr_dist, end_recr_dist, beg_SRparm, end_SRparm (enter actual year, or values of 0 or -integer to be rel. endyr)" << endl
1598
+
if (Do_Benchmark != 3) NuFore << "#";
1599
+
NuFore << Blim_frac << " # COND: Do_Benchmark==3; Blimit as fraction of Bmsy (neg value to use as frac of SSB_virgin or SSB_unfished) (e.g. 0.50)";
1600
+
NuFore << "#" << endl << "# Bmark_years: beg_bio, end_bio, beg_selex, end_selex, beg_relF, end_relF, beg_recr_dist, end_recr_dist, beg_SRparm, end_SRparm (enter actual year, or values of 0 or -integer to be rel. endyr)" << endl
1600
1601
<< Bmark_Yr_rd << endl
1601
1602
<< "# " << Bmark_Yr << endl;
1602
1603
NuFore << "# value <0converttoendyr-value;except-999convertstostart_yr;mustbe >=start_yr and <=endyr" << endl;
1603
-
NuFore << Bmark_RelF_Basis << " #Bmark_relF_Basis: 1 = use year range; 2 = set relF same as forecast below" << endl;
1604
+
NuFore << Bmark_RelF_Basis << " #Bmark_relF_Basis: 1 = use year range; 2 = set relF same as forecast below" << endl;
1604
1605
NuFore << "#" << endl
1605
1606
<< Do_Forecast_rd << " # Forecast: -1=none; 0=simple_1yr; 1=F(SPR); 2=F(MSY) 3=F(Btgt) or F0.1; 4=Ave F (uses first-last relF yrs); 5=input annual F scalar" << endl;
1606
1607
NuFore << "# where none and simple require no input after this line; simple sets forecast F same as end year F" << endl;
@@ -1621,7 +1622,7 @@ FUNCTION void write_nucontrol()
1621
1622
}
1622
1623
// else
1623
1624
{ // new list based format for Fcast years
1624
-
NuFore << anystring << endl << anystring <<"-12345 # code to invoke new format for expanded fcast year controls"<< endl
1625
+
NuFore << anystring << endl << anystring <<"-12345 # code to invoke new format for expanded fcast year controls"<< endl
1625
1626
<<"# biology and selectivity vectors are updated annually in the forecast according to timevary parameters, so check end year of blocks and dev vectors"<< endl
1626
1627
<<"# input in this section directs creation of means over historical years to override any time_vary changes"<< endl
0 commit comments