Skip to main content
Loading navigation

Build a Maritime Logistics Scope 3 Bunker Emission Auditor — implementation

Prompt source

implementation70 lines11 sectionsNo variables1 code block
## Build
Ingest feeder vessel port call logs and container movements from open maritime datasets to calculate voyage carbon emissions. Generate verifiable Singapore green freight certificates wrapped with OpenAttestation schemas.

## User
Logistics corporate sustainability auditor

## Workflow
1. Ingest vessel call duration, TEU capacity, and bunker fuel consumption estimates for Singapore port calls.
2. Calculate allocated Scope 3 greenhouse gas emissions per container based on transit distance and berth hours.
3. Evaluate calculated carbon intensities against industry standard maritime freight benchmarks.
4. Produce verifiable carbon audit attestations using OpenAttestation schema v2 wrapping.

## Interface
Sustainability dashboard showing total voyage emissions, per-TEU carbon intensity graphs, and verifiable green certificate previews.

## Data
Synthetic voyage log dataset containing 100 feeder vessel trips between ASEAN ports and Singapore, including fuel specs.
Starter examples below are synthetic. They are not downloaded records.

## Source
[OpenAttestation](https://raw.githubusercontent.com/Open-Attestation/open-attestation/master/README.md)
Uses OpenAttestation's wrapDocument function to issue verifiable carbon disclosure documents signed with mock cryptographic keys.

## Tools
semantic-kernel, python, open-attestation.
Semantic Kernel integrates computational carbon calculation plugins with natural language report generation in enterprise pipelines.
Instruction-tuned enterprise LLM deployed via standard cloud endpoint for ESG narrative generation.

## Deliverables
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.

## Acceptance
- Computes accurate fuel-to-CO2e conversion factors across Very Low Sulfur Fuel Oil and MGO grades.
- Allocates emissions proportionally to cargo TEU weight and port turnaround durations.
- Successfully wraps output audit reports into OpenAttestation compliant verifiable JSON files.
- Maintains audit logs tracking emission parameter assumptions for ESG verification.

## Starter Examples
```json
[
  {
    "input": {
      "voyage_id": "VOY-108",
      "vessel_name": "Singa Pioneer",
      "bunker_fuel_type": "VLSFO",
      "fuel_consumed_tonnes": 45,
      "total_teu_transported": 1200,
      "voyage_distance_nm": 650
    },
    "expected_output": {
      "total_co2e_tonnes": 141.98,
      "co2e_per_teu_kg": 118.31,
      "efficiency_rating": "CATEGORY_B_STANDARD",
      "oa_attestation_status": "WRAPPED_SUCCESS",
      "target_hash_generated": true
    }
  },
  {
    "input": {
      "voyage_id": "VOY-109",
      "vessel_name": "Island Voyager",
      "bunker_fuel_type": "MGO",
      "fuel_consumed_tonnes": 80,
      "total_teu_transported": 400,
      "voyage_distance_nm": 420
    },
    "expected_output": {
      "total_co2e_tonnes": 256.48,
      "co2e_per_teu_kg": 641.2,
      "efficiency_rating": "CATEGORY_D_HIGH_EMISSION",
      "oa_attestation_status": "WRAPPED_WITH_EXCEPTION_FLAG",
      "target_hash_generated": true
    }
  }
]
```

## Safety
Calculations serve internal Scope 3 corporate reporting. Attestations are clearly marked as uncertified simulation records.
Use mock external writes. Require human review before any real deployment.