Population model to simulate different spawning schedules and fishing scenarios for Pacific Bluefin Tuna
- 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.

- 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)
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.

