{"id":1141,"date":"2023-10-03T13:28:48","date_gmt":"2023-10-03T17:28:48","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/?post_type=chapter&#038;p=1141"},"modified":"2026-04-07T14:16:31","modified_gmt":"2026-04-07T18:16:31","slug":"tutorial-spatial-model-of-anchovy-bay","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/tutorial-spatial-model-of-anchovy-bay\/","title":{"raw":"Tutorial: Spatial model of Anchovy Bay","rendered":"Tutorial: Spatial model of Anchovy Bay"},"content":{"raw":"<div class=\"textbox textbox--learning-objectives\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Learning Objectives<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<ul>\r\n \t<li>Introduction to basic Ecospace operations<\/li>\r\n \t<li>Introduction to the habitat capacity model of Ecospace<\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/div>\r\n<h2>Getting started<\/h2>\r\n<div class=\"textbox textbox--sidebar shaded\">\r\n<div><span lang=\"EN-US\"><strong>Advice<\/strong>: Use a lower resolution map while developing and testing the model. You can always change to a higher resolution map\u00a0<\/span><span lang=\"EN-US\">once you have the model behaving and are ready for production runs.<\/span><\/div>\r\n<\/div>\r\n<p style=\"font-weight: 400\">Open the Anchovy Bay model that we created in a previous tutorial (or <a href=\"https:\/\/ln5.sync.com\/dl\/7e8920510\/cpr3mexp-nhn9ab3i-7cg883k8-rdav86dn\">download it<\/a>). Load the time series that we previously added to Ecosim. Open Ecospace and create a new scenario (you decide what to call it).<\/p>\r\n<p style=\"font-weight: 400\">Go to <em>Ecospace &gt; Input &gt; Ecospace parameters<\/em> tab: If you loaded the time series then the Run time on the tab is likely to be 41 years, and number of time steps is 12. Notice that Ecospace can use variable time steps, but fine to leave this at 12 (monthly) time steps per year.<\/p>\r\n<p style=\"font-weight: 400\">Next task is to create the spatial map that we will use for the tutorial: Click <em>Ecospace &gt; Input &gt; Maps<\/em> in the Navigator. At the top of the right-hand side panel, click <em>Edit basemap<\/em>. Set <em>Number of rows<\/em> to 20, and <em>Number of cols<\/em> (columns) to 20. This gives us 20 x 20 = 400 cells to work with. More would give us a prettier picture, take longer time to run, and not necessarily give us different results. Set C<em>ell length<\/em> to 20 km. Click <em>OK<\/em>. EwE will save and close the form.<\/p>\r\n<p style=\"font-weight: 400\">Select <em>Input &gt; Maps<\/em> again, and click <em>Depth<\/em> at the right-hand side panel. Now click the icon to the right of <em>Depth<\/em>. This will open a form that will allow you to: <em>Edit Layer 'Depth'<\/em>. Click the <em>Data<\/em> tab, and you will get a spreadsheet.<\/p>\r\n\r\n<div class=\"textbox shaded\">How to get bathymetry: see <a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/getting-bathymetry\/\">this tutorial<\/a><\/div>\r\nNow <a href=\"https:\/\/ln5.sync.com\/dl\/a0bc24eb0\/mqqxtccx-ve87d3vc-4rzr9nns-9v39nmny\">download<\/a> and open the spreadsheet <em>Spatial Anchovy Bay.xlsx<\/em>, and on the first tab (<em>Depth<\/em>), highlight the values (including row and col numbers), the press <em>Ctrl + C<\/em> (for copy).\r\n<div class=\"textbox shaded\"><strong>For Mac users<\/strong>: Copying from Mac Excel to EwE running in virtualization can be problematic, and may lead to only alternate rows being copied. It\u2019s related to file format (end of line character), and beyond our control. If you encounter problems with this, you may need to use Excel in the Windows installation where EwE is running.<\/div>\r\nGo back to Ecospace, click the top left cell in the depth data spreadsheet, and press <em>Ctrl + V<\/em> (for paste). You should now have the depth map for Anchovy Bay.\r\n<h2>Habitat capacity model<\/h2>\r\n<div class=\"textbox textbox--sidebar\">\r\n\r\n<img class=\"aligncenter wp-image-2463\" src=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-12-14-at-12.40.33.png\" alt=\"\" width=\"400\" height=\"173\" \/>\r\n\r\n<strong>Figure 1. Example of a hand-drawn response function. Ecospace will rescale the Y-axis, so the shape matters, but not the amplitude.<\/strong>\r\n\r\n<\/div>\r\n<p style=\"font-weight: 400\">Next, we want to start parameterizing the habitat capacity model. Here, we\u2019ll illustrate this with a simple example (before loading a version of the model with more layers). Click <em>Ecospace &gt; Input &gt; Ecospace environmental responses<\/em>. Click <em>Add<\/em> on the lower center panel in order to add a response curve. For now, think of this shape as representing the depth distribution of a species, e.g., for cod. We can read in such shapes, but for now just get by with a sketched shape. So draw a shape, for instance with a low value at low X, then increasing to a max at 1\/3 of the max X-value and then gradually declining to 0 again. (Maybe somewhat as in Figure 1).<\/p>\r\n<p style=\"font-weight: 400\">First, we need to define the X-axis, (<em>Ecospace &gt; Input &gt; Ecospace environmental responses &gt; Define environmental response<\/em>). Set <em>X-min<\/em> and <em>X-max<\/em> above the right-hand side panel. Leave <em>X-min<\/em> at 0. Set <em>X-max<\/em> to, e.g., 400 m (just to try it). Click <em>OK<\/em>, and <em>X-axis<\/em> on the <em>Driver histogram &amp; response function<\/em> \u00a0plot below should update.<\/p>\r\n<p style=\"font-weight: 400\">Now we have to assign the functional response above to cod. Go to <em>Ecospace &gt; Input &gt; Ecospace environmental responses &gt; Group capacity model,<\/em> and select <em>Use environmental responses<\/em> for all groups. (Just click the row header, and it will select all, then change the box in the top right to True). It is OK to have both <em>Use habitat<\/em> and <em>Use environmental responses<\/em> selected, (but we won\u2019t be using the habitats here, so you can also uncheck the <em>Use habitat <\/em>- though it makes no difference when there are no habitats defined).<\/p>\r\n<p style=\"font-weight: 400\">Next, go to <em>Ecospace &gt; Input &gt; Ecospace environmental responses &gt; Apply foraging response<\/em>. In the spreadsheet, click the cell under <em>Depth for Cod<\/em>. In the left panel, click the shape you made, click the green arrow to the right, <em>OK<\/em> to assign this shape to cod. There will be a histogram of depth values up in the panel to the right. This histogram is just for your reference. Now we are to Click <em>OK<\/em> to exit the form.<\/p>\r\n\r\n<div class=\"textbox textbox--sidebar shaded\">It takes processing time to draw the distribution maps in Ecospace. So, to speed things up, the\u00a0<em>Graph<\/em> tab is opened by default (the time plot is much faster).<\/div>\r\n<p style=\"font-weight: 400\">Now it's time to run Ecospace. Go to <em>Ecospace &gt; Output &gt; Run Ecospace<\/em>, and click the <em>Run Ecospace<\/em> button at the bottom-left of the center panel. By default, Ecospace will show you a time plot, but you can see spatial maps, it you select the <em>Map<\/em> tab above the time plot. On the small distribution maps that appears, you should see that cod have a distribution that is impacted by the functional response you defined.<\/p>\r\n<p style=\"font-weight: 400\">Explore the Ecospace model a bit.<\/p>\r\n\r\n<h2>Anchovy Bay Spatial<\/h2>\r\n<p style=\"font-weight: 400\">Next, let\u2019s read in a version of the model that has more data. Download the file <em>Anchovy Bay Spatial.ewemdb.zip<\/em> from <a href=\"https:\/\/ln5.sync.com\/dl\/2273feaf0\/b9versbc-bsnjeshj-g7rsn5sb-mwt777pn\">this link<\/a>. It has a new version of the Anchovy Bay database. Unzip and open the database in EwE.<\/p>\r\n<p style=\"font-weight: 400\">Go to <em>Ecospace &gt; Input &gt; Ecospace environmental responses<\/em>, and explore the additional shapes (see Figure 2).<\/p>\r\n\r\n<div class=\"textbox\">\r\n\r\n<img class=\"alignnone size-large wp-image-1144\" src=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-10-03-at-10.57.28-1024x323.png\" alt=\"\" width=\"1024\" height=\"323\" \/>\r\n\r\n<strong>Figure 2<\/strong>. Nine environmental<span lang=\"EN-US\"> response function plots (left panel). Each of these figures describes a plot as indicated in the right panel. This example shows the depth foraging response for shrimp and benthos, which are assumed to show a log-normal like distribution ranging from 10 to 250 meters depth with a peak around 70 meters. \u00a0\u00a0<\/span>\r\n\r\n<\/div>\r\n<p style=\"font-weight: 400\">On the next tab, <em>Ecospace &gt; Input &gt; Ecospace environmental responses &gt; Apply foraging arena shapes<\/em>, you can find an example of how to allocate shapes for the model groups (Table 1).<\/p>\r\nCheck if the model you use has environmental drivers defined. On the <em>Ecospace &gt; Input &gt; Maps<\/em> page, click the pen icon by <em>Environmental drivers\u00a0<\/em>in the right-hand listing, and define the input driver maps here. For this Anchovy Bay tutorial that would be Depth (which already is there), temperature and distance from coast.\r\n<div class=\"textbox\">\r\n\r\n<strong>Table 1<\/strong>. Applied environmental response function shapes.\r\n<table style=\"font-weight: 400\">\r\n<tbody>\r\n<tr>\r\n<td><strong>Group no<\/strong><\/td>\r\n<td><strong>Group name<\/strong><\/td>\r\n<td><strong>Depth<\/strong><\/td>\r\n<td><strong>Temperature<\/strong><\/td>\r\n<td><strong>Distance from coast<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>1<\/td>\r\n<td>Whales<\/td>\r\n<td>3: Depth cod<\/td>\r\n<td><\/td>\r\n<td>7: Distance whales<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>Seals<\/td>\r\n<td>2: Depth whiting<\/td>\r\n<td><\/td>\r\n<td>8: Distance seals<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>3<\/td>\r\n<td>Cod<\/td>\r\n<td>3: Depth cod<\/td>\r\n<td>5: Temp cold<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4<\/td>\r\n<td>Whiting<\/td>\r\n<td>2: Depth whiting<\/td>\r\n<td>6: Temp warm<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>5<\/td>\r\n<td>Mackerel<\/td>\r\n<td>4: Depth pelagics<\/td>\r\n<td>5: Temp cold<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>6<\/td>\r\n<td>Anchovy<\/td>\r\n<td>4: Depth pelagics<\/td>\r\n<td>6: Temp warm<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>7<\/td>\r\n<td>Shrimp<\/td>\r\n<td>1: Depth shrimp-benthos<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>8<\/td>\r\n<td>Benthos<\/td>\r\n<td>1: Depth shrimp-benthos<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>9<\/td>\r\n<td>Zooplankton<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>10<\/td>\r\n<td>Phytoplankton<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>11<\/td>\r\n<td>Detritus<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<p style=\"font-weight: 400\">The habitat based foraging arena shapes are used for each functional group to calculate how much foraging arena there is in each spatial cell in the model. As such it replaces or supplements the habitats that were used in previous versions of Ecospace \u2013 which either were good or bad for the individual groups, see the <a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/habitat-capacity\/\">Habitat capacity<\/a> chapter.<\/p>\r\n<p style=\"font-weight: 400\">The original type of defined habitats can still be included in Ecospace. This is for (1) compatibility with existing Ecospace models, (2) for use to restrict groups to specified habitat types, and (3) for potential use to allocate effort for fishing fleets. This is illustrated in the present tutorial, see <em>Ecospace &gt; Input &gt; Maps<\/em>, where you under <em>Habitats<\/em> in the right-hand side panel, can find four habitats, Coastal, Sand, Rocky, and Deep. These habitats are used on the <em>Ecospace &gt; Input &gt; Ecospace Fishery<\/em> tab to allocate fleets to habitats; e.g., the trawlers are not able (or allowed) to operate in cells with rocky bottom.<\/p>\r\n<p style=\"font-weight: 400\">Note that explicit habitats can occupy a fraction of a cell. See for instance the Rocky habitat. Click on the Icon to the right of Rocky, which brings up the: <em>Edit layers 'Rocky'<\/em>. (This is where you can change the map icon for the habitat). Here, click <em>Data<\/em> on the top left, and you can see that there are rocky reefs in fractions of some habitats.<\/p>\r\n<p style=\"font-weight: 400\">Run and explore the model.<\/p>","rendered":"<div class=\"textbox textbox--learning-objectives\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Learning Objectives<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<ul>\n<li>Introduction to basic Ecospace operations<\/li>\n<li>Introduction to the habitat capacity model of Ecospace<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<h2>Getting started<\/h2>\n<div class=\"textbox textbox--sidebar shaded\">\n<div><span lang=\"EN-US\"><strong>Advice<\/strong>: Use a lower resolution map while developing and testing the model. You can always change to a higher resolution map\u00a0<\/span><span lang=\"EN-US\">once you have the model behaving and are ready for production runs.<\/span><\/div>\n<\/div>\n<p style=\"font-weight: 400\">Open the Anchovy Bay model that we created in a previous tutorial (or <a href=\"https:\/\/ln5.sync.com\/dl\/7e8920510\/cpr3mexp-nhn9ab3i-7cg883k8-rdav86dn\">download it<\/a>). Load the time series that we previously added to Ecosim. Open Ecospace and create a new scenario (you decide what to call it).<\/p>\n<p style=\"font-weight: 400\">Go to <em>Ecospace &gt; Input &gt; Ecospace parameters<\/em> tab: If you loaded the time series then the Run time on the tab is likely to be 41 years, and number of time steps is 12. Notice that Ecospace can use variable time steps, but fine to leave this at 12 (monthly) time steps per year.<\/p>\n<p style=\"font-weight: 400\">Next task is to create the spatial map that we will use for the tutorial: Click <em>Ecospace &gt; Input &gt; Maps<\/em> in the Navigator. At the top of the right-hand side panel, click <em>Edit basemap<\/em>. Set <em>Number of rows<\/em> to 20, and <em>Number of cols<\/em> (columns) to 20. This gives us 20 x 20 = 400 cells to work with. More would give us a prettier picture, take longer time to run, and not necessarily give us different results. Set C<em>ell length<\/em> to 20 km. Click <em>OK<\/em>. EwE will save and close the form.<\/p>\n<p style=\"font-weight: 400\">Select <em>Input &gt; Maps<\/em> again, and click <em>Depth<\/em> at the right-hand side panel. Now click the icon to the right of <em>Depth<\/em>. This will open a form that will allow you to: <em>Edit Layer &#8216;Depth&#8217;<\/em>. Click the <em>Data<\/em> tab, and you will get a spreadsheet.<\/p>\n<div class=\"textbox shaded\">How to get bathymetry: see <a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/getting-bathymetry\/\">this tutorial<\/a><\/div>\n<p>Now <a href=\"https:\/\/ln5.sync.com\/dl\/a0bc24eb0\/mqqxtccx-ve87d3vc-4rzr9nns-9v39nmny\">download<\/a> and open the spreadsheet <em>Spatial Anchovy Bay.xlsx<\/em>, and on the first tab (<em>Depth<\/em>), highlight the values (including row and col numbers), the press <em>Ctrl + C<\/em> (for copy).<\/p>\n<div class=\"textbox shaded\"><strong>For Mac users<\/strong>: Copying from Mac Excel to EwE running in virtualization can be problematic, and may lead to only alternate rows being copied. It\u2019s related to file format (end of line character), and beyond our control. If you encounter problems with this, you may need to use Excel in the Windows installation where EwE is running.<\/div>\n<p>Go back to Ecospace, click the top left cell in the depth data spreadsheet, and press <em>Ctrl + V<\/em> (for paste). You should now have the depth map for Anchovy Bay.<\/p>\n<h2>Habitat capacity model<\/h2>\n<div class=\"textbox textbox--sidebar\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2463\" src=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-12-14-at-12.40.33.png\" alt=\"\" width=\"400\" height=\"173\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-12-14-at-12.40.33.png 1890w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-12-14-at-12.40.33-300x130.png 300w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-12-14-at-12.40.33-1024x443.png 1024w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-12-14-at-12.40.33-768x332.png 768w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-12-14-at-12.40.33-1536x665.png 1536w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-12-14-at-12.40.33-65x28.png 65w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-12-14-at-12.40.33-225x97.png 225w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-12-14-at-12.40.33-350x151.png 350w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p><strong>Figure 1. Example of a hand-drawn response function. Ecospace will rescale the Y-axis, so the shape matters, but not the amplitude.<\/strong><\/p>\n<\/div>\n<p style=\"font-weight: 400\">Next, we want to start parameterizing the habitat capacity model. Here, we\u2019ll illustrate this with a simple example (before loading a version of the model with more layers). Click <em>Ecospace &gt; Input &gt; Ecospace environmental responses<\/em>. Click <em>Add<\/em> on the lower center panel in order to add a response curve. For now, think of this shape as representing the depth distribution of a species, e.g., for cod. We can read in such shapes, but for now just get by with a sketched shape. So draw a shape, for instance with a low value at low X, then increasing to a max at 1\/3 of the max X-value and then gradually declining to 0 again. (Maybe somewhat as in Figure 1).<\/p>\n<p style=\"font-weight: 400\">First, we need to define the X-axis, (<em>Ecospace &gt; Input &gt; Ecospace environmental responses &gt; Define environmental response<\/em>). Set <em>X-min<\/em> and <em>X-max<\/em> above the right-hand side panel. Leave <em>X-min<\/em> at 0. Set <em>X-max<\/em> to, e.g., 400 m (just to try it). Click <em>OK<\/em>, and <em>X-axis<\/em> on the <em>Driver histogram &amp; response function<\/em> \u00a0plot below should update.<\/p>\n<p style=\"font-weight: 400\">Now we have to assign the functional response above to cod. Go to <em>Ecospace &gt; Input &gt; Ecospace environmental responses &gt; Group capacity model,<\/em> and select <em>Use environmental responses<\/em> for all groups. (Just click the row header, and it will select all, then change the box in the top right to True). It is OK to have both <em>Use habitat<\/em> and <em>Use environmental responses<\/em> selected, (but we won\u2019t be using the habitats here, so you can also uncheck the <em>Use habitat <\/em>&#8211; though it makes no difference when there are no habitats defined).<\/p>\n<p style=\"font-weight: 400\">Next, go to <em>Ecospace &gt; Input &gt; Ecospace environmental responses &gt; Apply foraging response<\/em>. In the spreadsheet, click the cell under <em>Depth for Cod<\/em>. In the left panel, click the shape you made, click the green arrow to the right, <em>OK<\/em> to assign this shape to cod. There will be a histogram of depth values up in the panel to the right. This histogram is just for your reference. Now we are to Click <em>OK<\/em> to exit the form.<\/p>\n<div class=\"textbox textbox--sidebar shaded\">It takes processing time to draw the distribution maps in Ecospace. So, to speed things up, the\u00a0<em>Graph<\/em> tab is opened by default (the time plot is much faster).<\/div>\n<p style=\"font-weight: 400\">Now it&#8217;s time to run Ecospace. Go to <em>Ecospace &gt; Output &gt; Run Ecospace<\/em>, and click the <em>Run Ecospace<\/em> button at the bottom-left of the center panel. By default, Ecospace will show you a time plot, but you can see spatial maps, it you select the <em>Map<\/em> tab above the time plot. On the small distribution maps that appears, you should see that cod have a distribution that is impacted by the functional response you defined.<\/p>\n<p style=\"font-weight: 400\">Explore the Ecospace model a bit.<\/p>\n<h2>Anchovy Bay Spatial<\/h2>\n<p style=\"font-weight: 400\">Next, let\u2019s read in a version of the model that has more data. Download the file <em>Anchovy Bay Spatial.ewemdb.zip<\/em> from <a href=\"https:\/\/ln5.sync.com\/dl\/2273feaf0\/b9versbc-bsnjeshj-g7rsn5sb-mwt777pn\">this link<\/a>. It has a new version of the Anchovy Bay database. Unzip and open the database in EwE.<\/p>\n<p style=\"font-weight: 400\">Go to <em>Ecospace &gt; Input &gt; Ecospace environmental responses<\/em>, and explore the additional shapes (see Figure 2).<\/p>\n<div class=\"textbox\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1144\" src=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-10-03-at-10.57.28-1024x323.png\" alt=\"\" width=\"1024\" height=\"323\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-10-03-at-10.57.28-1024x323.png 1024w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-10-03-at-10.57.28-300x95.png 300w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-10-03-at-10.57.28-768x242.png 768w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-10-03-at-10.57.28-1536x484.png 1536w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-10-03-at-10.57.28-65x20.png 65w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-10-03-at-10.57.28-225x71.png 225w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-10-03-at-10.57.28-350x110.png 350w, https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-content\/uploads\/sites\/1902\/2023\/10\/Screenshot-2023-10-03-at-10.57.28.png 1852w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><strong>Figure 2<\/strong>. Nine environmental<span lang=\"EN-US\"> response function plots (left panel). Each of these figures describes a plot as indicated in the right panel. This example shows the depth foraging response for shrimp and benthos, which are assumed to show a log-normal like distribution ranging from 10 to 250 meters depth with a peak around 70 meters. \u00a0\u00a0<\/span><\/p>\n<\/div>\n<p style=\"font-weight: 400\">On the next tab, <em>Ecospace &gt; Input &gt; Ecospace environmental responses &gt; Apply foraging arena shapes<\/em>, you can find an example of how to allocate shapes for the model groups (Table 1).<\/p>\n<p>Check if the model you use has environmental drivers defined. On the <em>Ecospace &gt; Input &gt; Maps<\/em> page, click the pen icon by <em>Environmental drivers\u00a0<\/em>in the right-hand listing, and define the input driver maps here. For this Anchovy Bay tutorial that would be Depth (which already is there), temperature and distance from coast.<\/p>\n<div class=\"textbox\">\n<p><strong>Table 1<\/strong>. Applied environmental response function shapes.<\/p>\n<table style=\"font-weight: 400\">\n<tbody>\n<tr>\n<td><strong>Group no<\/strong><\/td>\n<td><strong>Group name<\/strong><\/td>\n<td><strong>Depth<\/strong><\/td>\n<td><strong>Temperature<\/strong><\/td>\n<td><strong>Distance from coast<\/strong><\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>Whales<\/td>\n<td>3: Depth cod<\/td>\n<td><\/td>\n<td>7: Distance whales<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Seals<\/td>\n<td>2: Depth whiting<\/td>\n<td><\/td>\n<td>8: Distance seals<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Cod<\/td>\n<td>3: Depth cod<\/td>\n<td>5: Temp cold<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>Whiting<\/td>\n<td>2: Depth whiting<\/td>\n<td>6: Temp warm<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>Mackerel<\/td>\n<td>4: Depth pelagics<\/td>\n<td>5: Temp cold<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>Anchovy<\/td>\n<td>4: Depth pelagics<\/td>\n<td>6: Temp warm<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>Shrimp<\/td>\n<td>1: Depth shrimp-benthos<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>Benthos<\/td>\n<td>1: Depth shrimp-benthos<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>Zooplankton<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td>Phytoplankton<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>11<\/td>\n<td>Detritus<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"font-weight: 400\">The habitat based foraging arena shapes are used for each functional group to calculate how much foraging arena there is in each spatial cell in the model. As such it replaces or supplements the habitats that were used in previous versions of Ecospace \u2013 which either were good or bad for the individual groups, see the <a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/habitat-capacity\/\">Habitat capacity<\/a> chapter.<\/p>\n<p style=\"font-weight: 400\">The original type of defined habitats can still be included in Ecospace. This is for (1) compatibility with existing Ecospace models, (2) for use to restrict groups to specified habitat types, and (3) for potential use to allocate effort for fishing fleets. This is illustrated in the present tutorial, see <em>Ecospace &gt; Input &gt; Maps<\/em>, where you under <em>Habitats<\/em> in the right-hand side panel, can find four habitats, Coastal, Sand, Rocky, and Deep. These habitats are used on the <em>Ecospace &gt; Input &gt; Ecospace Fishery<\/em> tab to allocate fleets to habitats; e.g., the trawlers are not able (or allowed) to operate in cells with rocky bottom.<\/p>\n<p style=\"font-weight: 400\">Note that explicit habitats can occupy a fraction of a cell. See for instance the Rocky habitat. Click on the Icon to the right of Rocky, which brings up the: <em>Edit layers &#8216;Rocky&#8217;<\/em>. (This is where you can change the map icon for the habitat). Here, click <em>Data<\/em> on the top left, and you can see that there are rocky reefs in fractions of some habitats.<\/p>\n<p style=\"font-weight: 400\">Run and explore the model.<\/p>\n<div class=\"media-attributions clear\" prefix:cc=\"http:\/\/creativecommons.org\/ns#\" prefix:dc=\"http:\/\/purl.org\/dc\/terms\/\"><h2>Media Attributions<\/h2><ul><li >Ecospace &gt; Input &gt; Ecospace environmental responses &gt; Add form       <\/li><\/ul><\/div>","protected":false},"author":1909,"menu_order":6,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[49],"contributor":[],"license":[],"class_list":["post-1141","chapter","type-chapter","status-publish","hentry","chapter-type-numberless"],"part":418,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/pressbooks\/v2\/chapters\/1141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/wp\/v2\/users\/1909"}],"version-history":[{"count":25,"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/pressbooks\/v2\/chapters\/1141\/revisions"}],"predecessor-version":[{"id":4456,"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/pressbooks\/v2\/chapters\/1141\/revisions\/4456"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/pressbooks\/v2\/parts\/418"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/pressbooks\/v2\/chapters\/1141\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/wp\/v2\/media?parent=1141"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/pressbooks\/v2\/chapter-type?post=1141"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/wp\/v2\/contributor?post=1141"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ewemodel\/wp-json\/wp\/v2\/license?post=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}