Skip to main content
What you’ll build in this exercise:
  • Configure per-delivery batch partitioning to generate separate batches per delivery
  • Add Energy Consumption and Transportation event types for LCA data
  • Calculate process emissions and allocate them to individual batches
  • Verify net carbon output (gross - emissions) across multiple batches
This exercise brings together everything from Module 3: you’ll configure your Mangrove Biochar project to generate multiple batches from partitioned deliveries, then add LCA emissions that are allocated to each batch and deducted from gross carbon to compute net carbon removal. Prerequisites: Complete Lesson 3.1, Lesson 3.2, Lesson 3.3, and Lesson 3.4. Your project should have the 3 event types and multi-step model from Module 2.

Part 1: Design (30 min)

1. Choose a partition strategy

For Mangrove Biochar, decide:
  • Should batches be per-delivery or time-based (e.g., monthly)?
  • What does the Isometric methodology require?
  • What makes operational sense for 3-4 deliveries per week?
We recommend per-delivery partitioning — each delivery becomes its own batch with a tracking ID matching the delivery ticket number. This gives maximum traceability for verification.

2. Identify emission sources

Map the emission sources for Mangrove Biochar:

3. Plan emissions allocation


Part 2: Build in Mangrove (1.5 hrs)

Step 1: Configure batch partitioning

  1. Open your Mangrove Biochar project’s batch type configuration.
  2. Set the partition cadence to per-delivery (ID-based partitioning).
  3. Verify the batch type is linked to the correct ledger and model output.

Step 2: Add LCA event types

Add two new event types in Data Inputs > Input Settings:

Energy Consumption

Transportation

Step 3: Add emission factors as static inputs

Configure these as static inputs in the resource library:

Step 4: Build LCA calculations in the model

Expand your model in the Model Editor :
1

Electricity emissions

electricity_emissions = electricity_kwh × grid_emission_factor / 1000(Divide by 1000 to convert kg to tonnes)
2

Propane emissions

propane_emissions = propane_gallons × propane_emission_factor / 1000
3

Transport emissions

transport_emissions = distance_km × fuel_consumption_rate × diesel_emission_factor / 1000
4

Allocate shared emissions

Use the data_point_proportion operator to allocate electricity and propane emissions proportionally by biochar mass across batches.
5

Total allocated emissions per batch

batch_emissions = allocated_electricity + allocated_propane + transport_emissions
6

Net carbon per batch

net_carbon = gross_carbon - batch_emissions

Step 5: Create test data

Add events representing one month of operations: 4 Biochar Deliveries: 1 Energy Consumption event (January):
  • Electricity: 10,000 kWh
  • Propane: 500 gallons
4 Transportation events:

Step 6: Generate and verify batches

  1. Go to Production Accounting and generate batches for January.
  2. Verify that 4 separate batches are created (one per delivery).
  3. For each batch, check:
    • Gross carbon calculation matches expected values
    • Allocated emissions are proportional to mass
    • Transport emissions are directly assigned to the correct batch
    • Net carbon = gross - total emissions
If you see only 1 batch instead of 4, check that the partition cadence is set to per-delivery (ID-based) and that each delivery event has a unique tracking ID or date range.

Success criteria

You have completed the Module 3 exercise when:
  • Per-delivery partitioning configured — generating batches creates one batch per delivery event
  • 4 test deliveries created across different January dates, each generating its own batch
  • Energy Consumption and Transportation event types created with appropriate datapoints
  • Emission factors stored as static inputs in the resource library
  • Process emissions calculated correctly (electricity × factor, propane × factor, transport × factor)
  • Emissions allocated — electricity and propane proportionally by mass, transport directly to each batch
  • Net carbon = gross carbon - total allocated emissions for each batch
  • Allocation sums match — total allocated emissions across all batches equals the total period emissions

What’s next

You’re still using a single ledger. In Module 4: Mass Balance with Ledgers you’ll learn how to track material across multiple stages using ledgers and multiple batch types. After that, Module 5 will teach you how to run comprehensive integration tests on your complete project.