Rail Freight: DIN EN 16258
Calculate rail freight energy use and greenhouse gas emissions with the DIN EN 16258 standard, which considers the fuel used, the weight and type of goods, the distance covered and the rail infrastructure.
Sample requests
Send the first body for a quote before booking. Once the booking is final, send it again with audit set to true.
{
"expand": ["items"],
"items": [{
"audit": false,
"type": "rail_freight",
"external_reference": "test_1",
"origin": "HAM",
"destination": "BER",
"weight_in_tonnes": 41,
"methodology": "DIN-EN-16258",
"energy_scope": "wtw"
}]
}audit_for is optional
Pass the ID of an auditable entity when you calculate on behalf of that entity. Otherwise, leave it out.
Defaults
When a field is missing, SQUAKE fills it in before calculating.
| Field | Default | Applies when |
|---|---|---|
train_type | 1000t | No train_type is sent |
fuel_type | diesel | No fuel_type is sent |
energy_scope | wtw | No energy_scope is sent |
Request fields
typestringrequiredrail_freight
methodologystringrequiredDIN-EN-16258
originstringSQUAKE tries to resolve any format. Ideally, use the Post standard for addresses, IATA/ICAO codes for airports (MUC), UN/LOCODE for other locations used in trade and transportation (DEHAM), or latitude and longitude (+40.712,-74.006).
destinationstringSame formats as origin.
distance_in_kmnumberTakes priority over origin and destination. Without it, SQUAKE resolves the distance from them.
weight_in_tonnesnumberCargo weight in tonnes.
train_typeenum500t, 1000t, 1500t or 2000t. Defaults to 1000t.
fuel_typeenumelectricity or diesel. Defaults to diesel.
energy_scopeenumttw or wtw. Defaults to wtw.
external_referencestringYour identifier for the item, up to 128 characters, so you can match results to requests. SQUAKE doesn't guarantee the order of items.
auditbooleanSet to true to create immutable audit records for finalised calculations. Must be enabled for your account.
POST /v2/calculations in the API referenceSample response
{
"carbon_quantity": 256789,
"carbon_unit": "gram",
"items": [{
"carbon_quantity": 256789,
"carbon_unit": "gram",
"external_reference": "test_1",
"type": "rail_freight",
"methodology": "DIN-EN-16258",
"distance": 292.0,
"distance_unit": "kilometer",
"algorithm_specifics": {
"algorithm_type": "DIN-EN-16258",
"data": {
"fuel_consumption_per_tonne_km": 1.5,
"fuel_to_co2": 3.14,
"train_type": "1000t",
"reporting_year": 2024,
"transportation_mode": "rail_transportation"
}
}
}]
}Bibliography
Method for Calculating and Declaring Energy Consumption. DIN EN 16258, March 2013. doi:10.31030/1894795