What you’ll build in this exercise:
- Design a 3-ledger structure for the Mangrove Biochar project
- Create 3 batch types: Feedstock Receipt, Biochar Produced, Carbon Delivered
- Create 3 ledgers and configure allocations between them
- Add test data across all stages and verify that mass balance holds
Part 1: Design (30 min)
1. Identify accumulation points
Map the physical process for Mangrove Biochar. Where does material “sit” before moving to the next stage?2. Define each ledger
For each accumulation point, define the ledger attributes:3. Map allocations between ledgers
Define how material flows between ledgers:Part 2: Build in Mangrove (1.5 hrs)
Step 1: Create 3 batch types
In your project’s Production Accounting settings, create these batch types:Feedstock Receipt
Biochar Produced
Carbon Delivered
Step 2: Create 3 ledgers
Create a ledger for each stage and link it to the corresponding batch type:1
Feedstock Inventory ledger
Unit: dry tonnes. Credited by Feedstock Receipt batches.
2
Biochar Production ledger
Unit: biochar tonnes. Credited by Biochar Produced batches. Receives allocations from Feedstock Inventory.
3
Carbon Delivered ledger
Unit: tCO2e. Credited by Carbon Delivered batches. Receives allocations from Biochar Production.
Step 3: Configure allocations
Set up the material flow between ledgers:- Feedstock Inventory → Biochar Production
- When a Production Run batch is created, it should consume feedstock from Ledger 1
- Configure the allocation to debit from Feedstock Inventory based on feedstock consumed per run
- Apply the yield ratio conversion (e.g., 5t feedstock → 1.5t biochar)
- Biochar Production → Carbon Delivered
- When a Carbon Delivered batch is created, it should draw from Ledger 2
- Configure the allocation to debit from Biochar Production based on biochar delivered
- Apply the carbon content conversion (e.g., biochar tonnes × carbon % × 3.67 = tCO2e)
Step 4: Create test data
Add events representing one month of operations across all stages: 2 Feedstock Deliveries:
2 Production Runs:
2 Biochar Deliveries:
Step 5: Generate batches and verify mass balance
- Go to Production Accounting and generate batches for January.
- Verify that 6 batches are created (2 per stage).
- Check each ledger’s balance:
Step 6: Verify end-to-end traceability
For each Carbon Delivered batch, trace the chain back to the source:- Open a Carbon Delivered batch (e.g., DEL-001, 4.4 tCO2e)
- Verify it links to a Biochar Produced batch (PR-001, 1.5t biochar)
- Verify that links to a Feedstock Receipt batch (FS-001, 5t feedstock)
- Confirm the conversion math: 5t × 30% yield = 1.5t biochar × 80% carbon × 3.67 = 4.4 tCO2e
Success criteria
You have completed the Module 4 exercise when:- 3 batch types created — Feedstock Receipt, Biochar Produced, Carbon Delivered
- 3 ledgers created — Feedstock Inventory (dry tonnes), Biochar Production (biochar tonnes), Carbon Delivered (tCO2e)
- Allocations configured — material flows from Ledger 1 → Ledger 2 → Ledger 3 with appropriate conversion factors
- Test data created — at least 2 events per stage (feedstock deliveries, production runs, biochar deliveries)
- 6 batches generated — 2 per stage, each crediting the correct ledger
- Ledger balances reconcile — credits minus debits match expected values at each stage
- End-to-end traceability — any Carbon Delivered batch can be traced back through production to the original feedstock receipt