Skip to content

Plunits

What this sheet is for

The Plunits worksheet lists the planning units of the forest estate, one row each. A planning unit (plunit) is the smallest piece of forest the model works with: a stand, or a set of stands treated as one.

A row says three kinds of things about its planning unit.

  • What stands there at the start of the model: an area and a year of establishment.
  • Which data apply to it: a species, an origin, yearly costs per hectare, and the name of a class on each of the five worksheets Tending, Regime, Croptype, Cost and Carbon.
  • Which groups it belongs to: from column S onward, columns of your own that the other worksheets use to select planning units.

The worksheet is required. A workbook without it is not imported.

Two kinds of planning unit sit side by side on the worksheet. A planning unit with an area and a year is part of the current rotation, the forest that stands at the start of the model. A planning unit with neither is empty at the start; it exists so that area can arrive in it later, as a destination on the Replanting or Silviculture worksheet. Planning units of the future rotation are rows of this second kind.

How to think about this sheet

Think of Plunits as the register of the estate. Every other worksheet points back to it: by the name of a planning unit, by a species or an origin, or by a group and an attribute. It is usually built once, from the records of the forest management system and the mapping system, and then left alone until the next major update of the estate's data. Time spent getting it right is repaid on every other worksheet.

Decide what a planning unit is before you type a name. Finer planning units let the model tell more stands apart, at the cost of a longer worksheet and a larger model. The usual choice is one planning unit for each stand, or for each set of stands of one kind and one year that will always be managed together.

The five class columns point at data; they do not hold it. A planning unit says only which class is its own on each of the five worksheets named in the headings of columns L to P. The data themselves are entered there, once for each class. Fifty stands of the same crop on the same kind of site can share one class, so what they have in common is kept in one place and corrected in one place.

Species and Origin on every row

These two columns look like descriptions and are easy to skip on a planning unit that has no area yet. "What the product does not check" says what a blank costs, and that nothing reports it.

Groups are your handles on the estate. Whenever another worksheet limits, steers or reports on a part of the estate, it picks that part with a group and an attribute. The groups you add from column S onward are therefore the vocabulary the rest of the workbook is written in. Before you add one, ask what you will want to select: a region for a harvest limit, a tenure for a report, a site class for the choice of regime at replanting. Keep the All Plunits column as well, although nothing requires it: it is how a limit or a report is made to cover the whole estate.

Two rotations share the sheet. The worksheet holds today's forest and tomorrow's side by side. The rows with an area and a year are what stands now. The rows without are the places area can go: the crop that follows a clearfell, or the planning unit a stand moves to after a treatment. It helps to keep the two in separate blocks of rows and to give each its own group column, as the example does; the Replanting page says what that pattern is for.

The columns

By convention cell B2 holds a title. It can be any text: nothing in rows 1 to 3 or in column A is read by the product. Row 4 holds the headings, and the data starts in row 5, in column B. Columns B to R are recognised by their position, not by their heading, so do not insert, delete or move a column before column S, and do not insert a row above row 4.

Column Heading Meaning Allowed values Required
B Plunit The name of the planning unit. Any text. Each name may appear once only; names that differ only in letter case count as the same name. Yes. A row with a blank name is not read.
C Area The net stocked area of the planning unit at the start of the model, in hectares. A number. For the current rotation. Leave blank, together with Year, for a planning unit that is empty at the start.
D Year The calendar year of establishment. It sets the age of the planning unit in the first period. A whole number. Decimals are cut off. For the current rotation. The area is read only when Year is filled in.
E Species The species of the planning unit. Other worksheets select by it. Any text. Yes, for every planning unit, with or without an area.
F Origin Where the planning unit's wood comes from. Transport and Distance give costs and distances from each origin. Any text. Yes, for every planning unit, with or without an area.
G Land A notional yearly land rental per hectare, charged to the tree crop of freehold land. A number. A blank is read as 0. No
H Rental The actual yearly land rental per hectare, for leasehold land. A number. A blank is read as 0. No
I SG&A A yearly overhead cost per hectare. A number. A blank is read as 0. No
J Rates The yearly local government rates per hectare. A number. A blank is read as 0. No
K Share The share of stumpage owed to a third party, as a fraction: 0.15 for 15 %. A number. A blank is read as 0. No
L Tending The name of the class on the Tending worksheet whose data apply to this planning unit. A name from column B of Tending. Letter case is ignored. Yes. A blank is taken as the class Undefined.
M Regime The same, for the Regime worksheet. A name from column B of Regime. Yes, as for Tending.
N Croptype The same, for the Croptype worksheet. A name from column B of Croptype. Yes, as for Tending.
O Cost The same, for the Cost worksheet. A name from column B of Cost. Yes, as for Tending.
P Carbon The same, for the Carbon worksheet. A name from column B of Carbon. Yes, as for Tending.
Q BYOS The beginning year of sequestration. Leave blank. A blank is read as the Year. No
R tCO2eL No longer used. Leave blank. No
S onward Your own One group per column: the heading in row 4 is the group's name, and each cell below is the attribute of that row's planning unit. Any text. A blank cell means the planning unit has no attribute in that group. No

Area, Year and the age in the first period

The age of a planning unit in the first period is the primary year minus its Year. The primary year is the setting Primary year in the first period of the model, which you set in the product before a run. With a primary year of 2026, a planning unit established in 1998 is 28 years old in period 1, and one established in 2026 is of age 0.

Area and Year go together. An area with a blank Year is not read: the planning unit starts empty. A Year with a blank area gives an area of 0.

Groups and attributes

A group is a way of sorting the planning units, and an attribute is one of its classes. The pair of a group and an attribute selects every planning unit that has that attribute. Other worksheets use such pairs to say which planning units a rule, a limit or a report applies to.

You define a group by adding a column from S onward: type the group's name in row 4 and an attribute beside each planning unit that belongs. By convention column S is the group All Plunits, with the attribute All on every row, so that the whole estate can be selected with one pair.

Some groups are built in. They exist whatever the headings in row 4 say, under the names below. As with every group, letter case is ignored.

Built-in group Its attributes
Plunit The name of each planning unit, so one planning unit can be selected on its own. Also Bareland, which stands for land outside the planted estate (see the Replanting page).
Species, Origin The values in columns E and F.
Year The years in column D.
BYOS, tCO2eL The values in columns Q and R, where any are filled in.
Tending, Regime, Croptype, Cost, Carbon The class names in columns L to P. Also Undefined, the class of a blank cell.

Area and the cost columns G to K are not groups.

Attributes that differ only in letter case, or only in accents, are one attribute: Radiata and radiata select the same planning units.

How the rows are read

  • The data starts in row 5 and ends at the last row that has a name in column B. A row with a blank name is skipped, so blank rows may separate blocks of planning units.
  • A # in front of a name does not switch the row off on this worksheet. It simply becomes part of the name.
  • The order of the rows does not matter.
  • One planning unit is one row: one area and one year of establishment. Stands of the same kind but of different years are separate planning units with separate names.
  • The columns are read as far right as the last heading in row 4. A column beyond it is not read, even if it holds values.
  • A heading from S onward that has no value anywhere below it creates no group.
  • Leading and trailing spaces in a cell are ignored.

How it depends on other sheets

What this worksheet looks up elsewhere:

  • Tending, Regime, Croptype, Cost, Carbon: each name in columns L to P is the name of a class in column B of the worksheet with the same heading. Many planning units can share one class.

What other worksheets look up here:

  • Every worksheet with a group column and an attribute column takes them from this worksheet: Management, Silviculture, Other, Replanting, Rotation, Harvesting, Smoothing, Allocation and Balancing, and the two optional worksheets Transfer and Damage. The group is a heading in row 4 from column S onward, or a built-in group; the attribute is a value in that group's column.
  • Transport and Distance use the names in the Origin column.
  • Residue, Price and Allocation use the names in the Species column; Price also uses the Origin names.
  • Replanting and Silviculture name planning units as destinations. A destination must be a row of this worksheet.

So a change here travels. If you rename a planning unit, a species, an origin, a group heading or an attribute, every row on another worksheet that used the old name stops matching. On most of those worksheets the product then reports an error when the workbook is imported: the table of checks below says which. On Management no check reports it, so compare its rows with this worksheet yourself.

The checks the product makes

The product checks the workbook when you import it. A finding of class ERROR lets the import finish but stops the description from being run until a corrected workbook is imported over it. A finding of class HALT stops the import itself. Each finding gives the check's identifier, the cell, a message and a fix.

WBC-000 - a required worksheet is missing (HALT)

Message What it means How to fix it
The workbook has no 'Plunits' sheet - the Forest Description layout requires it. There is no worksheet with the tab name Plunits. The product's fix: Repair the workbook in Excel until it matches the Forest Description layout, then submit it again. Check the tab's spelling.

WBC-005 - Duplicate group headers on the Plunits sheet (ERROR)

Message What it means How to fix it
The group header '<name>' in <cell> repeats the header already in <cell> - group names must be unique (case-insensitive), so the description cannot be processed. Two headings in row 4 are the same, ignoring letter case. The check covers the whole of row 4 from column B, so a group of your own named Species or Area clashes with the heading of column E or C. The product's fix: Rename or remove one of the duplicate header columns so every group name on row 4 is unique, then submit the workbook again.

WBC-006 - Duplicate plunit names on the Plunits sheet (ERROR)

Message What it means How to fix it
The plunit name '<name>' on row <row> repeats the name already on row <row> - plunit names must be unique (case-insensitive), so the description cannot be processed. Two rows have the same name in column B, ignoring letter case. The product's fix: Rename or remove one of the duplicate plunit rows so every name in column B is unique, then submit the workbook again. If the two rows are two age classes of one stand, give each its own name.

WBC-001 - Cached Excel error values in recognized sheet data (ERROR)

This check applies to every worksheet.

Message What it means How to fix it
The cell holds the Excel error value <error>, not data; imported as-is it becomes the number <number>. A cell shows an Excel error such as #N/A or #REF!, usually because a formula or a lookup behind it failed. The product's fix: Open the workbook in Excel, repair the formula or lookup behind the error (or type the intended value), and submit the workbook again.

WBC-011 - Classification mask with an unparseable multiplier (ERROR)

A value in columns L to P that begins with { is not read as a plain class name. It is a special form, a selection mask, which this page does not describe. If you did not intend one, do not begin a class name with {.

Message What it means How to fix it
The classification value '<value>' is a selection mask whose multiplier cannot be read (<reason>) - the part after the closing '}' must be a valid multiplier expression, so the description cannot be processed. The cell begins with {, and what follows the closing } cannot be read. The product's fix: Correct the multiplier expression after the '}' (or remove it if no multiplier is intended) and submit the workbook again.

Errors that are reported on other worksheets

A name that no longer matches this worksheet is reported where it is used, not here. Each of these checks is of class ERROR and points at the cell on the other worksheet.

Check Reported on The name that must exist on Plunits
WBC-012 Residue A species.
WBC-013 Silviculture A group and an attribute.
WBC-015 Transport, Distance An origin.
WBC-016 Rotation A group and an attribute.
WBC-017 Other A group and an attribute.
WBC-018 Replanting A group and an attribute.
WBC-019 Harvesting, Smoothing A group and an attribute.
WBC-020 Allocation A group and an attribute; a species.
WBC-021 Balancing A group and an attribute.
WBC-022 Price An origin; a species.
WBC-026 Damage, Transfer A group and an attribute.

No check reports a name on Management that is not on Plunits.

One warning also concerns the planning units: WBC-025, reported on Rotation, tells you which planning units have no rotation ages and so take the default clearfell ages. A WARNING never stops a run.

When you edit the worksheet in the product

Plunits is core data, together with Tending, Regime, Croptype, Cost and Carbon. Core data cannot be edited in a copy of a scenario. To change it in the product, right-click the description and choose Duplicate, then edit the Base of the new description on the EDIT tab. There you can change the existing cells only.

Message When
Core Data is read-only in a scenario copy - core data lives on the description's Base. You tried to edit Plunits in a copy of a scenario.
Rows 1-4 are locked (headers). The title and the headings cannot be edited.
Column A is locked. Column A cannot be edited.
This sheet does not take new rows. You tried to type below the last planning unit.
This sheet does not take new columns (edit within the sheet's extent). You tried to type to the right of the last column.

To add a planning unit or a group, add the row or the column in Excel and import the workbook again.

What the product does not check

Nothing below is reported when the workbook is imported, so check these yourself.

  • A blank Species or Origin. The planning unit is left out of the model, area included, and nothing says so. Its name is still accepted on the other worksheets.
  • A name in columns L to P that is not on its worksheet. It is accepted as a class of its own, a class that has no data behind it. A misspelt class name therefore passes the import.
  • A blank cell in columns L to P. It is taken as the class Undefined.
  • Text in Area, in Year or in the cost columns. Text in Area or in a cost column is read as 0. With text in Year the planning unit starts empty.
  • An area without a year, or a year without an area.
  • A moved or inserted column. The headings of columns B to R are not compared with the expected ones, so values under a shifted heading are read with the meaning of the position they are now in.
  • A column of values with no heading in row 4, to the right of the last heading. It is not read.

The example

The rows below are made up for this page. The group headings All Plunits, Replanting Logic and Transfer Logic are those of the template workbook that ships with the product. The columns not shown (G to K, L, O to R) are filled in the same way.

Row Plunit Area Year Species Origin Regime Croptype All Plunits Replanting Logic Transfer Logic
5 Hill 01 42.5 1998 Radiata North Block Pruned Radiata Pruned All North Flat
6 Hill 02 18.0 2009 Radiata North Block Unpruned Radiata Unpruned All North Flat
7 Gully 01 9.3 2015 Douglas-fir South Block Unpruned Fir Unpruned All South Steep
8 North Flat - Pruned Radiata North Block Pruned Radiata Pruned All North Flat
9 North Flat - Unpruned Radiata North Block Unpruned Radiata Unpruned All North Flat
10 South Steep - Unpruned Douglas-fir South Block Unpruned Fir Unpruned All South Steep

How to read them:

  • Rows 5 to 7 are the current rotation. With a primary year of 2026, Hill 01 is 28 years old in period 1, Hill 02 is 17 and Gully 01 is 11.
  • Rows 8 to 10 are planning units of the future rotation. They have no area and no year, but they do have a species, an origin and their class names: these are needed as soon as area arrives in them.
  • Regime and Croptype hold class names. Pruned must be a class in column B of the Regime worksheet, and Radiata Pruned a class in column B of Croptype. Hill 01 and North Flat - Pruned share both.
  • All Plunits has All on every row, so the pair All Plunits and All selects the whole estate.
  • Replanting Logic has attributes only on the current rotation, and Transfer Logic only on the future rotation. One row on the Replanting worksheet, from Replanting Logic and North Flat to Transfer Logic and North Flat, then offers Hill 01 and Hill 02 the choice between the pruned and the unpruned future planning unit when they are clearfelled.

The example, step by step

The six rows of the example are a small estate set up the recommended way. Follow them in this order.

  1. Rows 5 to 7 are today's forest. Three stands, each with its area and its year of establishment. Their ages come from the primary year, so if the ages in the first period look wrong, check that setting before you doubt the years.
  2. Hill 01 and Hill 02 stay two planning units. They are the same species on the same block, but they differ in their year and in their regime, and a row has room for one of each.
  3. The class names do the heavy lifting. Hill 01 is Pruned in the Regime column and Radiata Pruned in the Croptype column. Nothing about pruning or about yield is typed on this worksheet; the two names point at the rows of those worksheets where it is.
  4. Rows 8 to 10 are where area will arrive. They are complete rows in everything but area and year, because the crop of the future needs its species, its origin and its classes just as a standing crop does. North Flat - Pruned has the same two class names as Hill 01: the same data, entered once.
  5. All Plunits is filled in on all six rows. The future planning units carry All too, so that a limit or a report on the whole estate still covers the area after it has moved into them.
  6. The last two columns are a pair made for Replanting. Replanting Logic labels only today's stands, with the name of the land they stand on. Transfer Logic labels only the future planning units, with the same names. Because the names match, a single short row on Replanting can offer Hill 01 and Hill 02 both futures of North Flat. Gully 01 gets its row in the same way, with one future planning unit behind it.

Common mistakes

Most of these pass the import without a message

The product reports a repeated name and a repeated heading. For most of the rest, "What the product does not check" is the list to keep beside you while you work.

  • A blank Species or Origin. The row looks finished and the import says nothing, yet the planning unit's area is missing from the results. Fill in both on every row, including the rows that have no area.
  • A misspelt class name in L to P. The name is accepted as typed, so a slip of the keyboard gives the planning unit a class that nobody filled in. Compare each name with column B of its worksheet.
  • Two rows for one stand. Two age classes of one stand are two planning units, and the product reports the second row of the same name (WBC-006). Name them apart, for example by their year.
  • An inserted or moved column before S. A helper column or a re-ordered heading is the costliest slip on this worksheet, because nothing reports it: "The columns" says how columns B to R are recognised. Add columns only to the right of the last heading.
  • A group named like a fixed column. A group of your own called Species, Year or Cost collides with a heading that is already there (WBC-005). Give it a name of its own.
  • Renaming here without following through. A name on this worksheet is used all over the workbook. Before you rename a planning unit, a species, an origin, a heading or an attribute, find where the old name is used: "How it depends on other sheets" lists the worksheets, and names the one where nothing will warn you.
  • Expecting # to switch a planning unit off. It does not, on this worksheet. Delete the row, or clear its name.
  • A future-rotation planning unit with an area. A row copied from a standing stand keeps its area and its year, and the model then starts with that area standing. Clear both cells on a planning unit that only receives area later.
  • An area with no year. The two cells go together: "Area, Year and the age in the first period" says what is read when one of them is blank. Look for it before you import, because nothing reports it.
  • Values beside a blank heading. A column of attributes typed without a heading looks like a group and is not one. Give every column of your own a heading.

For Claude: working on this sheet

A procedure for Claude. It applies the sections above and states no rule of its own.

Read first

  1. Read the whole worksheet in a single read before you answer or change anything: row 4 for the headings, as far right as the last heading, and column B for the last row.
  2. Do not assume a fixed number of rows or columns.
  3. Read column B of Tending, Regime, Croptype, Cost and Carbon as well, so that you know which class names exist.

Ask the user before a change

  1. Ask what you have not been told:
    • What one planning unit is in their data: a stand, or stands of one kind and one year taken together.
    • The primary year they intend to run with, so that the ages in period 1 can be checked against the years of establishment.
    • Which species and origin names to use. Other worksheets already refer to these names, so keep to the spellings in use.
    • Which class on each of the five worksheets applies to a new planning unit. Offer the class names that exist; do not make one up.
    • Which planning units of the future rotation are wanted, and which groups are meant to select origins and destinations on Replanting.
    • Before renaming or deleting anything: where the name is used on the other worksheets.
  2. Say what you are about to write, row by row, and wait for the user's agreement before writing, unless the procedure the user asked for says otherwise.
  3. Add planning units below the last row and groups to the right of the last heading; never insert a column before S or a row above row 4.

Fill the sheet from partial data

  1. From a stand list with a name, an area and a planting year, fill B, C and D directly. Ask for the species and the origin if the list does not carry them.
  2. If two stands in the list have the same name, ask how to tell them apart. Do not merge them and do not add their areas without being asked.
  3. If the yearly costs are unknown, leave G to K blank. Tell the user that you did.
  4. Leave Q and R blank.
  5. Fill L to P only with class names found in column B of the matching worksheet. If you cannot tell which class applies, ask.
  6. Put All in the All Plunits column on every row, if the workbook has that column.
  7. For each planning unit of the future rotation, add a row with a blank Area and Year, and with the species, the origin and the class names it will have.

Verify after an edit

Check each of these, and every item of "What the product does not check":

  1. Every name in column B appears once, ignoring letter case.
  2. Every heading in row 4 appears once, ignoring letter case, and no column that holds values lacks a heading.
  3. Species and Origin are filled in on every row that has a name.
  4. Area and Year are both filled in or both blank; Area is a number and Year a whole number.
  5. Every name in L to P is in column B of its worksheet, none is blank, and none begins with { unless the user intends it.
  6. The cost columns G to K hold numbers or blanks.
  7. Columns B to R carry the headings shown in the table of "The columns", in that order.
  8. No cell from row 4 downward shows an Excel error value.
  9. If a name was changed or removed: every group, attribute, species, origin and planning unit named on the other worksheets still exists here.

Stop and ask

Stop and ask the user when a class name you need is not in column B of its worksheet, when a name to be changed or removed is used on another worksheet, or when the sections above do not settle a case. Do not guess.

When to ask for the explanation

Ask for explain_plunits when the user asks why, or when the user wants the example told as a story.