Skip to content

Population model to simulate different spawning schedules and fishing scenarios for Pacific Bluefin Tuna

Notifications You must be signed in to change notification settings

samanthahuff/PBFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

PBFT

Population model to simulate different spawning schedules and fishing scenarios for Pacific Bluefin Tuna

Running the model with status quo spawning schedule and/or the alternative spawning schedule

ssb_kg_conservations_scenarios

  1. Run the population model with status quo spawning schedule for the conservation scenarios listed in Table 1:
python3 population_model.py > output.txt

Table 1. Different conservation scenarios projected in the model. image

  1. To run the model with the alternative schedule, comment the status quo command and uncomment the following command from population_model.py:
model(matcomKOTA,30,all_fishing,name_all_fishing,1000)

ssb_kg_conservations_scenarios2

Changing model inputs

The model takes the following inputs that can be modified:

def model(mat, year, all_fishing, name_all_fishing, trials):
    # inputs to this model include:
    # mat: (list), a list of probability of maturity for each age class
    # year: (int), the number of years to run the model
    # all_fishing (nested list): list of age x year matrices of fishing mortality for each age class for each year, for each scenario
    # name_all_fishing (list): names of conservation scenarios
    # trials: (int), number of trials to run the model

To simulate different spawning schedules, create a list of probability of maturities for each age class. To simulate different conservation scenarios, create a nested list with age x year matrices for each age class for each year for each scenario.

About

Population model to simulate different spawning schedules and fishing scenarios for Pacific Bluefin Tuna

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages