Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

A very short summary of Magic Harvest

Authors: Clément Hardy1
Affiliations: 1Université du Québec en Outaouais (UQO)

Made with MyST

The way MHS-CBAU works depends mainly on a specific LANDIS-II extension called Magic Harvest, that I also develloped. Before going into how MHS-CBAU works, here is a very short summary of how we use Magic Harvest to implement the simulation of forest management in LANDIS-II.

A metaphor : Magic and B. Harvest

Magic Harvest is a LANDIS-II extension. It’s one of the three necessary to use MHS-CBAU (see previous slides). It’s the one that really allows MHS-CBAU to exist, as it allows the user to run scripts or programs during the simulation to make management decisions.

It works in tandem with the Biomass Harvest extension of LANDIS-II. As a metaphor : Biomass harvest is like a forester. It has the tools to harvest trees (can harvest trees in LANDIS-II), and can do some management decisions too (but the algorithm is simple and limited). He can work solo !

In contrast, Magic Harvest is a forest engineer. Their main skill is making decisions; they have not tools to cut trees ! (The code of Magic Harvest cannot remove trees in LANDIS-II). So, Magic Harvest has to work in tandem with Biomass Harvest and cannot work solo. When they work in tandem, Magic Harvest can make the management decisions (where and how to harvest at this timestep), and Biomass Harvest will do the actual harvesting (removing trees in the internal variables of LANDIS-II).

Controlling Biomass Harvest with Magic Harvest and a Python script

As detailed in the Magic Harvest Workshop, Magic Harvest can work in tandem with Biomass Harvest with different degrees of control. As Biomass Harvest still has a decision algorithm implemented, Magic Harvest can make some of the decisions, or ALL of the decisions concerning harvesting at the time step.

Here, in MHS-CBAU, we use Magic Harvest in a “total control” mode. This is how it works, as a summary (more information are in the workshop) :