crashmetrics.side_scoring¶
side_scoring
¶
Euro NCAP side impact scoring: AE-MDB, pole and far side (2026).
Follows the Euro NCAP Crash Protection Side Impact Protocol v1.1 (October 2025, for 2026-2028). The side impact total is 35 points:
- AE-MDB, 15 points: driver WorldSID 50th (10), rear Q10 (2.5), rear Q6 (2.5).
- Pole, 10 points: driver WorldSID 50th (10).
- Far side, 10 points: main AE-MDB and pole load cases (2 + 2), robustness AE-MDB and pole (2 + 2), occupant-to-occupant (2).
Functions:
score_side_dummy: One dummy in the AE-MDB or pole test: colour band per criterion, region points, modifiers.score_ae_mdb,score_pole: Test scores with the test modifiers (door opening, door detachment, restraint failure, head protection zone, rollover).far_side_zone: Head excursion zone from the measured excursion and the excursion lines.score_far_side_case: One far side load case: zone points, capping, pelvis/lumbar modifier.score_far_side: Main, robustness and occupant-to-occupant points, with the disqualification rules.score_side: The 35-point side impact total.
The colour bands, band points and result types are shared with
crashmetrics.frontal_scoring (the protocol's Section 3.3 is the same
scheme). Units: forces N, moments N m, compressions mm, accelerations g,
VC m/s. Pass the worst of left and right where a dummy has both.
Check all limits against the protocol version you assess to.
SIDE_DUMMY_LIMITS
module-attribute
¶
SIDE_DUMMY_LIMITS: dict[str, dict[str, Limit]] = {
"worldsid_50": {
"hic15": Limit(500.0, 700.0, 700.0),
"head_a3ms": Limit(72.0, 80.0, 80.0),
"chest_compression": Limit(28.0, 50.0, 50.0),
"abdomen_compression": Limit(47.0, 65.0, 65.0),
"pubic_force": Limit(1700.0, 2800.0, 2800.0),
},
"q6": {
"hic15": Limit(500.0, 700.0, 700.0),
"head_a3ms": Limit(60.0, 80.0, 80.0),
"neck_tension": Limit(None, 2400.0),
"chest_a3ms": Limit(None, 67.0),
},
"q10": {
"hic15": Limit(500.0, 700.0, 700.0),
"head_a3ms": Limit(60.0, 80.0, 80.0),
"neck_tension": Limit(None, 2200.0),
"chest_a3ms": Limit(None, 67.0),
},
}
Higher and lower performance limits and capping limits (protocol Section 3.4; kN converted to N). The WorldSID chest compression capping limit is 50 mm in the AE-MDB test and 55 mm in the pole test. Q6 / Q10 neck tension and chest 3 ms acceleration are printed as single values and used as LPLs (green below, red at or above).
POLE_CHEST_CAPPING
module-attribute
¶
WorldSID chest compression capping limit in the pole test, mm.
SIDE_REGIONS
module-attribute
¶
SIDE_REGIONS: dict[str, dict[str, tuple[str, ...]]] = {
"worldsid_50": {
"head": ("hic15", "head_a3ms"),
"chest": ("chest_compression",),
"abdomen": ("abdomen_compression",),
"pelvis": ("pubic_force",),
},
"q6": {
"head": ("hic15", "head_a3ms"),
"neck": ("neck_tension",),
"chest": ("chest_a3ms",),
},
"q10": {
"head": ("hic15", "head_a3ms"),
"neck": ("neck_tension",),
"chest": ("chest_a3ms",),
},
}
Criteria of each body region per dummy.
AE_MDB_OCCUPANTS
module-attribute
¶
AE_MDB_OCCUPANTS: dict[
str, tuple[str, dict[str, float]]
] = {
"driver": (
"worldsid_50",
{
"head": 2.5,
"chest": 2.5,
"abdomen": 2.5,
"pelvis": 2.5,
},
),
"rear_q10": (
"q10",
{"head": 1.25, "neck": 0.625, "chest": 0.625},
),
"rear_q6": (
"q6",
{"head": 1.25, "neck": 0.625, "chest": 0.625},
),
}
AE-MDB test: dummy and region points per position (15 points).
POLE_OCCUPANTS
module-attribute
¶
POLE_OCCUPANTS: dict[str, tuple[str, dict[str, float]]] = {
"driver": (
"worldsid_50",
{
"head": 2.5,
"chest": 2.5,
"abdomen": 2.5,
"pelvis": 2.5,
},
)
}
Pole test: dummy and region points (10 points).
TEST_MODIFIER_BASE
module-attribute
¶
Test modifiers are percentages of 10 points per adult load case.
FAR_SIDE_ZONES
module-attribute
¶
Head excursion zones from best to worst. "brown" is the red zone
when the red (intrusion) line is more than 125 mm outboard of the orange
line.
FAR_SIDE_ZONE_POINTS
module-attribute
¶
FAR_SIDE_ZONE_POINTS: dict[bool, dict[str, float]] = {
True: {
"green": 2.0,
"yellow": 2.0,
"orange": 1.5,
"brown": 1.0,
"red": 0.5,
"capping": 0.0,
},
False: {
"green": 2.0,
"yellow": 1.0,
"orange": 0.5,
"brown": 0.0,
"red": 0.0,
"capping": 0.0,
},
}
Points per main load case (out of 2) by zone, with (True) and without (False) a far side countermeasure (Section 3.5.3).
FAR_SIDE_CAPPING_LIMITS
module-attribute
¶
FAR_SIDE_CAPPING_LIMITS: dict[str, float] = {
"hic15": 700.0,
"head_a3ms": 80.0,
"upper_neck_tension": 3740.0,
"upper_neck_flexion": 248.0,
"upper_neck_extension": 50.0,
"lower_neck_tension": 3740.0,
"lower_neck_flexion": 248.0,
"lower_neck_extension": 100.0,
"chest_compression": 50.0,
"abdomen_compression": 65.0,
}
Far side capping limits (Section 3.5.3): exceeding any caps the load case. Units N, N m, mm, g; moments as magnitudes.
FAR_SIDE_PELVIS_LIMITS
module-attribute
¶
FAR_SIDE_PELVIS_LIMITS: dict[str, float] = {
"pubic_force": 2800.0,
"lumbar_fy": 2000.0,
"lumbar_fz": 3500.0,
"lumbar_mx": 120.0,
}
Far side pelvis / lumbar modifier limits (Section 4.2.3): exceeding any removes 25 % of the load case points.
SideOccupant
dataclass
¶
SideOccupant(
values: Mapping[str, float],
hard_contact: bool | None = None,
incorrect_airbag_deployment: bool = False,
modifiers: Mapping[str, Sequence[float]] = dict(),
dummy_modifiers: Sequence[float] = (),
)
Measured values and assessment inputs of one side impact occupant.
values
instance-attribute
¶
Criterion values (keys of SIDE_REGIONS for the dummy). Optional
WorldSID inputs for modifiers: "shoulder_force" (N),
"chest_vc" and "abdomen_vc" (m/s); and "head_peak" (g)
to infer hard head contact.
hard_contact
class-attribute
instance-attribute
¶
Hard head contact (from high-speed film); inferred from
values["head_peak"] > 80 g if None. Without it the head is
assessed on the 3 ms acceleration only.
incorrect_airbag_deployment
class-attribute
instance-attribute
¶
WorldSID: -20 % of every body region (Section 4.2.1).
modifiers
class-attribute
instance-attribute
¶
Further modifiers per region in % of the region points.
dummy_modifiers
class-attribute
instance-attribute
¶
Modifiers of the whole dummy score in % (Q dummies: e.g. 50 for CRS-to-vehicle attachment).
FarSideCase
dataclass
¶
One far side load case (sled or virtual test).
values
class-attribute
instance-attribute
¶
Injury values for capping (FAR_SIDE_CAPPING_LIMITS keys) and the
pelvis / lumbar modifier (FAR_SIDE_PELVIS_LIMITS keys).
FarSideCaseScore
dataclass
¶
FarSideScore
dataclass
¶
FarSideScore(
points: float,
main_ae_mdb: FarSideCaseScore,
main_pole: FarSideCaseScore,
robustness_ae_mdb: float,
robustness_pole: float,
occupant_to_occupant: float,
disqualified: tuple[str, ...],
max_points: float = 10.0,
)
Far side score, 10 points.
disqualified
instance-attribute
¶
Reasons the far side rewards were removed (empty if none).
SideScore
dataclass
¶
SideScore(
points: float,
ae_mdb: TestScore,
pole: TestScore,
far_side: FarSideScore,
max_points: float = 35.0,
)
Euro NCAP side impact score, 35 points.
score_side_dummy
¶
score_side_dummy(
dummy: str,
occupant: SideOccupant,
region_points: Mapping[str, float],
test: Test = "ae_mdb",
band_fractions: Mapping[str, float] = BAND_FRACTIONS,
) -> DummyScore
Score one dummy in the AE-MDB or pole test.
Each criterion gets a colour band from its HPL and LPL; a body region earns the band share of its points of its lowest-scoring criterion, minus its modifiers (not below zero).
WorldSID modifiers applied from the values: shoulder force at or above 3.0 kN and chest VC at or above 1.0 m/s remove the chest points (-100 %); abdomen VC at or above 1.0 m/s removes the abdomen points; an incorrect airbag deployment takes 20 % of every region.
Capping limits exceeded are reported in capping_exceeded (the
protocol extract does not state their consequence for the near side
tests, as in the frontal scoring).
score_ae_mdb
¶
score_ae_mdb(
driver: SideOccupant,
rear_q10: SideOccupant,
rear_q6: SideOccupant,
door_openings: int = 0,
door_detachment: bool = False,
restraint_failure: bool = False,
band_fractions: Mapping[str, float] = BAND_FRACTIONS,
) -> TestScore
AE-MDB test score, 15 points.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
driver
|
SideOccupant
|
The three occupants. |
required |
rear_q10
|
SideOccupant
|
The three occupants. |
required |
rear_q6
|
SideOccupant
|
The three occupants. |
required |
door_openings
|
int
|
Doors that opened: -5 % of 10 points each (Section 4.2.2). |
0
|
door_detachment
|
bool
|
Structural door detachment: -100 %. |
False
|
restraint_failure
|
bool
|
Restraint failure: -100 %. |
False
|
score_pole
¶
score_pole(
driver: SideOccupant | None,
head_protection_fitted: bool = True,
curtain_zone_rows_failed: int = 0,
rollover_protection: bool = True,
door_openings: int = 0,
door_detachment: bool = False,
restraint_failure: bool = False,
band_fractions: Mapping[str, float] = BAND_FRACTIONS,
) -> TestScore
Pole test score, 10 points.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
driver
|
SideOccupant | None
|
The driver WorldSID. Without a near side head protection system
the pole test is not performed and scores zero (pass
|
required |
curtain_zone_rows_failed
|
int
|
Seat rows whose head protection does not cover the measurement zone: -10 % each (Section 4.2.2). |
0
|
rollover_protection
|
bool
|
False if rollover sensing or curtain inflation (6 s) is not shown: -20 %. |
True
|
door_openings
|
int
|
As for |
0
|
door_detachment
|
int
|
As for |
0
|
restraint_failure
|
int
|
As for |
0
|
far_side_zone
¶
Return the far side head excursion zone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
head_clearance
|
float
|
Lateral distance, mm, by which the peak head excursion stays short of the struck-side seat centreline (the orange line): positive while the head has not reached it, negative beyond it. The yellow line is at +125 mm and the green line at +250 mm. |
required |
red_line_offset
|
float
|
How far the red line (maximum interior door panel intrusion from the AE-MDB and pole tests) lies outboard of the orange line, mm; negative if the intrusion reaches inboard of the seat centreline. |
required |
Returns:
| Type | Description |
|---|---|
str
|
|
score_far_side_case
¶
score_far_side_case(
case: FarSideCase, countermeasure: bool
) -> FarSideCaseScore
Score one far side main load case, 2 points.
The zone gives the points (FAR_SIDE_ZONE_POINTS); a capping zone
or any capping limit exceeded gives zero; exceeding a pelvis /
lumbar limit removes 25 % of 2 points.
score_far_side
¶
score_far_side(
main_ae_mdb: FarSideCase,
main_pole: FarSideCase,
robustness_ae_mdb: Sequence[str] = (),
robustness_pole: Sequence[str] = (),
countermeasure: bool = True,
virtual_testing_validated: bool = True,
occupant_to_occupant_passed: bool = False,
near_side_driver_points: float | None = None,
structural_failure: bool = False,
far_side_restraint_failure: bool = False,
) -> FarSideScore
Far side score, 10 points (Section 3.5).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
main_ae_mdb
|
FarSideCase
|
Main load cases (75 deg AE-MDB and pole pulses), 2 points each. |
required |
main_pole
|
FarSideCase
|
Main load cases (75 deg AE-MDB and pole pulses), 2 points each. |
required |
robustness_ae_mdb
|
Sequence[str]
|
Zones of the robustness load cases (AE-MDB: 60, 75 raised, 90 and 90 raised; pole: 75 raised and 90). Each robustness set scores 2 points if every case is at most one zone worse than its main load case and none is red; nothing if the main case is red, and, without a countermeasure, only if the main case is green. |
()
|
robustness_pole
|
Sequence[str]
|
Zones of the robustness load cases (AE-MDB: 60, 75 raised, 90 and 90 raised; pole: 75 raised and 90). Each robustness set scores 2 points if every case is at most one zone worse than its main load case and none is red; nothing if the main case is red, and, without a countermeasure, only if the main case is green. |
()
|
countermeasure
|
bool
|
True if the vehicle has a far side countermeasure. |
True
|
virtual_testing_validated
|
bool
|
False if the virtual test data is missing or fails validation: only the main load cases are scored. |
True
|
occupant_to_occupant_passed
|
bool
|
True if the occupant-to-occupant requirements are all met (dual-occupancy pole test, coverage, symmetry): 2 points. |
False
|
near_side_driver_points
|
float | None
|
Driver points of the AE-MDB plus pole tests (out of 20); below 17.0 the far side rewards are removed. |
None
|
structural_failure
|
bool
|
Door, latch, hinge, roof or sill failure in the AE-MDB or pole test: far side rewards removed. |
False
|
far_side_restraint_failure
|
bool
|
Failure of a far side restraint (e.g. centre airbag) in either test: far side rewards removed. |
False
|
score_side
¶
score_side(
ae_mdb: TestScore,
pole: TestScore,
far_side: FarSideScore,
) -> SideScore
Return the 35-point side impact total (sum of the three parts).