forked from flr/FLBEIA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
106 lines (99 loc) · 5.02 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#~~~~~~~~~~~~~~~~
# 2014/10/01
#~~~~~~~~~~~~~~~~
FLBEIA 1.65
- MAxProf function added, this function is similar do MaxPro.stkcnst but it uses nloptr library which works fine in 64bit machines,
and uses more sophisticated constraints on catch.
- MaxProfit.stkCnst replaced by MaxProfit which uses NLopt library and is more general.
- MaxProf.stkcnst removed.
- The cobb douglas production function is now restricted to produce no more catch than rho*B_a, i.e.
- The use of production functions has been simplified so now ***.CatchFleet function is not used, and when catch production is simulated the code
always call to the production function itself.
#~~~~~~~~~~~~~~~~
# 2014/09/08
#~~~~~~~~~~~~~~~~
FLBEIA 1.6
- The weigth of the individuals in the cobb douglas is now a weigthed mean of the weigth of discards and landings, i.e w = d*w_d + (1-d)*w_l
#~~~~~~~~~~~~~~~~
# 2013/06/07
#~~~~~~~~~~~~~~~~
FLBEIA 1.3
Changes from version 1.2:
- BEIA now it is called FLBEIA for coherence with other FLR libraries (FLXSA for example).
- Summary functions now called *_flbeia (before *_beia).
- creator functions added to ease the creation of control objects. In paranthesis the functions that are called internally by the function before the4 parentesis.
"create.advice.ctrl" - (create.advice.ctrl, create.annexIVHCR.ctrl, create.annualTAC.ctrl, create.froeseHCR.ctrl, create.ghlHCR.ctrl,
create.IcesHCR.ctrl)
"create.assess.ctrl" - (create.FLXSA.ctrl, create.NoAssessment.ctrl)
"create.biols.ctrl" - (create.fixedPopulation.ctrl, create.ASPG.ctrl, create.BDPG.ctrl)
"create.fleets.ctrl" - (create.CobbDouglasAge.ctrl, create.CobbDouglasBio.ctrl, create.elasticPrice.ctrl, create.fixedCapital.ctrl,
create.fixedEffort.ctrl, create.fixedPrice.ctrl, create.fleets.ctrl, create.MaxProfit.stkCnst.ctrl,
create.SCD.ctrl, create.SMFB.ctrl)
"create.covars.ctrl" - (create.fixed.covars)
"create.obs.ctrl" - (create.age2ageDat.ctrl, create.age2agePop.ctrl, create.age2bioDat.ctrl, create.age2bioPop.ctrl,
create.ageInd.ctrl, create.bio2bioDat.ctrl, create.bio2bioPop.ctrl, create.bioInd.ctrl, create.NoObsIndex.ctrl,
create.NoObsStock.ctrl, create.obs.ctrl.t, create.perfectObs.ctrl)
- Names of observation model functions and arguments changed to give them coherence and ease their identification.
FUNCTIONS ** OLD ** ** NEW **
Obs.ages Obs.stk.nage
Obs.mwgt Obs.stk.wgt
Obs.fec Obs.fec
Obs.laage Obs.land.nage
obs.lwta land.wgt.obs
Obs.daage Obs.disc.nage
obs.dwta disc.wgt.obs
Obs.wtal Obs.land.wgt
Obs.wtad Obs.disc.wgt
Obs.btot Obs.stk.bio
Obs.tland Obs.land.bio
Obs.tdisc Obs.disc.bio
ARGUMENTS ** OLD ** ** NEW **
error.ages ages.error
varia.ntot stk.nage.error
varia.mwgt stk.wgt.error
Var.mort Obs.nmort
varia.mort nmort.error
varia.fec fec.error
Var.nyr REMOVED
varia.ny REMOVED
varia.ltot land.nage.error
varia.dtot disc.nage.error
varia.mwgt land.wgt.error
varia.dwgt disc.wgt.error
varia.btot stk.bio.error
varia.tdisc disc.bio.error
varia.tland land.bio.error
REMOVED: varia.tdias
Obs.tlaas
varia.tland
Obs.tdias
#~~~~~~~~~~~~~~~~
# 2013/02/08
#~~~~~~~~~~~~~~~~
FLBEIA 1.2
Changes from version 1.0:
- Changes for allowing assessment in different seasons and multiannual advice
- Bugs fixed: in fixedPopulation function
regarding stocks object
- New HCRs added: NEA mackerel + Bay of Biscay anchovy management plans
- Added new SRR: ctRec_alb (OM_1a1_Stock_Recruitment_functions)
- Interaction of covariables with SRs added
- Correction for cases when TAC it's not set for natural year
OM_2_fleet.om.R : call to updateCatch - added advice.ctrl parameter
OM_2b_Update.catch.R: updateCatch - added advice.ctrl parameter in eval call
seasonshare.CAA - ass.ss and TAC yr selection
- Results_Summary.R: SSB_beia : accommodated for SSB in different seasons than the 1st one
R_beia : takes first season with values non zero in the first age class
revenue_beia: sum not taking into account NA values
price_beia : sum not taking into account NA values
catchMtSum : sum not taking into account NA values
- Class_2_FLSRsim.R: SRsim : define datam$ssb as FLQuant in order to avoid problems with some stock-rec relationships (eg. segreg)
#~~~~~~~~~~~~~~~~
# 2011/06/03
#~~~~~~~~~~~~~~~~
* Main function is now called 'BEIA'
* In SMFB the catch can be produced by different production functions, (at the moment: "ageBased.CobbDoug", "aggregated.CobbDoug"),
the change within the function is in the calculation of effort that is now calculated by a 'call' to the correct function.
* Due to the previous points some changes have had to be made in other functions:
- alpha and beta slots in FLcatch can have dimension '1' or 'na' in quant dimension.
- "updateCatch" function call to the appropriate function to calculate the catch at age.