Chapter 3 Bioenergetics Model Runs

3.1 Introduction

In the previous chapter, we generated the input data structures needed to run bioenergetics simulations on each of our fish cohorts from observed 2015-2016 field data. In this chapter, we will discuss executing these model runs using the RShiny software Fishbioenergetics 4.0.

3.1.1 Original model runs

In Fall 2018 we used the model inputs based on field observations to run simulations in a modified version of Fishbioenergetics (FB4) v1.03 (www.fishbioenergetics.org). We used a modified version of the software because at the time, the standard available version did not suit our needs. The FB4 Shiny app was able to run only one simulation at a time, requiring manual inputs to the user interface each time model inputs changed. Given that our two-step modeling process required >100 unique model runs, manually executing these was not a viable approach. Thus, a software developer was contracted to assist in reconfiguring the Shiny app.

The modified version of FB4 we generated is available online at https://bemeyer.shinyapps.io/FishBioenergetics/. However as of 5/27/2022 the app is not currently functioning except for the default “test simulation.” It is unclear what is generating the error. More detail on this problem and its coming resolution is described as a GitHub Issue (see link, “Unable to run Shiny app after upgrade to R version 4.2.0”).

Since 2018, new releases of FB4 are designed to accommodate the modeling needs of this manuscript. However the data structure required for multiple model runs in FB4 v1.1.3 (most current version) is distinct from that which we used in 2018, and our data would require substantial revisions in order to interact with it.

At present, the software developer has been contacted to see if they can assist with resolving the GitHub Issue described above, and they should be available in early June 2022. Simultaneously, we are assessing if it is feasible to revise our data structure (generated in the previous chapter) to interact with the FB4 version available from the original authors.


3.1.2 Original model results (2018)

Here we will examine the model simulation results based on inputs from the 2015-2016. As of 2022-05-29 these model results are based off the erroneous diet inputs that used dry mass for prey items rather than wet mass.

For unique iterations of year, season, site, fish species, and fish age we have a total of 56 simulations.

Question: do we have any 2015-2016 simulations wherein final size is smaller than start size?

There are 5 seasonal simulations in which end size is less than start size.


How did observed growth look compared to simulated growth?

next: lets get an output df from the previous chapter and use that to join to compare measured size against modeled size