Skip to content

Homologation compliance (UN R94, R95, R135, electrical safety)

Module: crashmetrics.homologation.

Type approval in Europe and India uses the same UN Regulations; India's AIS standards follow them:

Test UN Regulation India Dummy Function
Frontal offset, 56 km/h, 40 % deformable barrier R94 (05 series) AIS-098 Hybrid III 50th, both front seats check_r94_occupant, check_r94_vehicle
Side, 50 km/h mobile deformable barrier R95 AIS-099 ES-2 check_r95_occupant, check_r95_vehicle
Side pole, 32 km/h at 75° R135 (01 series) WorldSID 50th check_r135_occupant, check_r135_vehicle
Post-crash electrical safety R94 / R137 5.2.8, R95 5.3.7 AIS-098 / AIS-099 (EV) check_electrical_safety

Use the series that applies to your approval

The limits are those of the series named above, taken from the official UNECE texts (see Protocol notes). AIS revisions can lag or differ from the UN series; check the revision in force. The checks are an engineering aid: the approval authority's test report is what counts.

Step 1: compute the criteria

Each check takes the values the regulation limits. Most come straight from crashmetrics functions:

Requirement How
HPC (R94: intervals up to 36 ms) calculate_hic(t, a, window_ms=36.0).value
Head 3 ms (cumulative) clip_3ms(t, a)
Neck tension and shear (R94 Figures 1 and 2) pass (t, fz) and (t, fx), or a neck_force_criterion result
Femur force criterion (R94 Figure 3) pass (t, fz) per femur, or a femur_force_criterion result
ThCC, V*C chest_deflection, viscous_criterion
Tibia index, tibia compression, knee slider tibia_index, tibia_compression, knee_slider_displacement
Steering wheel residual displacement intrusion(hub, reference, direction=...) static values
R135 lower spine (75 g except for at most 3 ms in total) pass (t, a); the cumulative 3 ms value is computed

Step 2: check the occupants and the vehicle

from crashmetrics.homologation import check_r94_occupant, check_r94_vehicle, combine

driver = check_r94_occupant(
    hpc=627.5, head_a3ms=61.7,
    neck_tension=(t, fz), neck_shear=(t, fx), neck_extension=24.0,
    thcc=34.2, vc=0.38,
    femur_left=(t, fz_left), femur_right=(t, fz_right),
    tibia_compression=2900.0, tibia_index=0.66, knee_slider=3.1,
    position="driver",
)
vehicle = check_r94_vehicle(steering_upward=28.0, steering_rearward=46.0,
                            door_opened=False, doors_unlocked_after=True,
                            doors_open_without_tools=True, fuel_leakage_rate=0.0)
result = combine("UN R94 / AIS-098", driver, passenger, vehicle)
print(result.summary())
  • No head contact: pass head_contact=False. R94 (Annex 4, 1.1) and R95 then treat the HPC requirement as satisfied.
  • Yes/no requirements (doors, egress, REESS retention, fire) take True/False as observed.
  • Requirements you do not give are not assessed: they never count as passed.

Step 3: read the result

result.passed        # every assessed requirement passed
result.complete      # every requirement was assessed
result.failures      # ['passenger: thcc']
result.worst         # requirement with the highest utilisation
result.not_assessed  # ['vehicle: fuel_leakage_rate']
result.requirements["passenger: thcc"]   # value, limit, utilisation, clause

Each requirement carries its clause, so a failure points straight to the paragraph. Utilisation (value / limit) shows the margin: a design at 95 % passes but has little reserve for test scatter. For force-duration curves (neck, femur) it is the largest ratio of the exceedance curve to the limit curve.

flatten(result) turns the result into columns for a DOE or feature table, for example to track the worst utilisation across design variants.

Post-crash electrical safety

For electric and hybrid vehicles every high-voltage bus must meet at least one of four criteria after the crash (R94 and R137 5.2.8):

Criterion Requirement
Absence of high voltage ≤ 60 V DC or ≤ 30 V AC within 60 s after the impact
Low electrical energy Total energy and each Y-capacitor energy below 0.2 J
Physical protection IPXXB, and exposed conductive parts below 0.1 Ω to the electrical chassis
Isolation resistance ≥ 100 Ω/V of working voltage (DC), ≥ 500 Ω/V (AC); conductively connected DC and AC: 500 Ω/V, or 100 Ω/V if the AC part is protected
from crashmetrics.homologation import HVBus, check_electrical_safety

check_electrical_safety(
    buses=[
        HVBus("traction battery DC", "DC", working_voltage=355.0, voltage=352.0,
              isolation_resistance=92_000.0),
        HVBus("drive inverter AC", "AC", working_voltage=355.0, voltage=4.0),
    ],
    electrolyte="non-aqueous", electrolyte_leaked_anywhere=False,
    reess_retained=True, reess_entered_cabin=False, fire_or_explosion=False,
)

It also checks electrolyte leakage (aqueous: none into the passenger compartment, at most 7 % and 5.0 l outside; non-aqueous: no liquid leakage), REESS retention and no fire or explosion within 60 minutes. The report says which criterion protected each bus.

Earlier series of some regulations allowed 2.0 J and a 30-minute electrolyte period: pass limits=ElectricalLimits(max_energy=2.0, electrolyte_minutes=30).

Complete example

An electric car through R94 / AIS-098 (the passenger's chest fails at 43.1 mm), electrical safety, R95 / AIS-099, and R135 (pubic force fails at 3.51 kN):

"""Example 14: homologation compliance, UN R94 / AIS-098, UN R95 /
AIS-099, UN R135 and post-crash electrical safety of an electric car.

Synthetic test results. Head, neck and femur criteria are computed from
signals; the others are given as peak values from the test report. The
car is electric, so the fuel leakage requirements stay "not assessed".
"""

import numpy as np

from crashmetrics.acceleration import clip_3ms
from crashmetrics.homologation import (
    HVBus,
    check_electrical_safety,
    check_r94_occupant,
    check_r94_vehicle,
    check_r95_occupant,
    check_r95_vehicle,
    check_r135_occupant,
    check_r135_vehicle,
    combine,
)
from crashmetrics.pedestrian import calculate_hic

t = np.arange(0.0, 0.15, 1e-4)                           # s


def bump(peak, start, width):
    phase = (t - start) / width
    return np.where((phase > 0) & (phase < 1), peak * np.sin(np.pi * phase), 0.0)


# --- 1. UN R94 / AIS-098: 56 km/h, 40 % offset, two Hybrid III 50th ---------
def r94_occupant(position, head_g, chest_mm, femur_kn, neck_kn):
    head = bump(head_g, 0.055, 0.05)
    return check_r94_occupant(
        hpc=calculate_hic(t, head, window_ms=36.0).value,   # intervals <= 36 ms
        head_a3ms=clip_3ms(t, head),
        neck_tension=(t, bump(neck_kn * 1000, 0.045, 0.05)),
        neck_shear=(t, bump(-650.0, 0.045, 0.05)),
        neck_extension=24.0, thcc=chest_mm, vc=0.38,
        femur_left=(t, bump(-femur_kn * 1000, 0.04, 0.03)),
        femur_right=(t, bump(-0.8 * femur_kn * 1000, 0.04, 0.03)),
        tibia_compression=2900.0, tibia_index=0.66, knee_slider=3.1,
        position=position)


r94 = combine(
    "UN R94 / AIS-098",
    r94_occupant("driver", head_g=62.0, chest_mm=34.2, femur_kn=5.9, neck_kn=1.7),
    r94_occupant("passenger", head_g=55.0, chest_mm=43.1, femur_kn=4.4, neck_kn=1.5),
    check_r94_vehicle(steering_upward=28.0, steering_rearward=46.0, door_opened=False,
                      doors_unlocked_after=True, doors_open_without_tools=True),
)
print(r94.summary())
print(f"-> passed: {r94.passed}, failures: {r94.failures}, worst: {r94.worst}\n")

# --- 2. Post-crash electrical safety (R94 5.2.8, the same in R137) ------------
electrical = check_electrical_safety(
    buses=[
        HVBus("traction battery DC", "DC", working_voltage=355.0, voltage=352.0,
              isolation_resistance=92_000.0),          # 259 ohm/V: isolation route
        HVBus("drive inverter AC", "AC", working_voltage=355.0, voltage=4.0),
        HVBus("charger DC+AC", "DC+AC", working_voltage=400.0,
              isolation_resistance=48_000.0, ac_part_protected=True),
    ],
    electrolyte="non-aqueous", electrolyte_leaked_anywhere=False,
    reess_retained=True, reess_entered_cabin=False, fire_or_explosion=False,
)
print(electrical.summary(), "\n")

# --- 3. UN R95 / AIS-099: 50 km/h mobile barrier, ES-2 ------------------------
r95 = combine(
    "UN R95 / AIS-099",
    check_r95_occupant(head_contact=False, rdc=35.8, vc=0.52, pspf=2900.0,
                       apf=1650.0),
    check_r95_vehicle(door_opened=False, non_struck_doors_unlocked=True,
                      egress_possible=True, dangerous_detachment=False),
)
print(r95.summary(), "\n")

# --- 4. UN R135: 32 km/h pole at 75 deg, WorldSID 50th -----------------------
spine = bump(68.0, 0.03, 0.03) + bump(20.0, 0.0405, 0.002)   # short spike
r135 = combine(
    "UN R135",
    check_r135_occupant(hic36=455.0, shoulder_force=2350.0,
                        thorax_rib_deflection=47.5, abdominal_rib_deflection=58.0,
                        lower_spine=(t, spine), pubic_force=3510.0),
    check_r135_vehicle(struck_door_separated=False, other_doors_held=True),
)
print(r135.summary())
print(f"-> passed: {r135.passed}, failures: {r135.failures}, "
      f"complete: {r135.complete} (not assessed: {r135.not_assessed})")

Output:

UN R94 / AIS-098: FAIL (1 not assessed)
  driver: hpc                            627.5       <= 1000         63% ok   [5.2.1.1]
  driver: head_a3ms                      61.72 g     <= 80           77% ok   [5.2.1.1]
  driver: neck_tension                    1700 N                     52% ok   [5.2.1.2, Fig. 1]  3.3 kN at 0, 2.9 kN at 35, 1.1 kN at 60 ms; peak shown
  driver: neck_shear                       650 N                     31% ok   [5.2.1.2, Fig. 2]  3.1 kN at 0, 1.5 kN at 25-35, 1.1 kN at 45 ms; peak shown
  driver: neck_extension                    24 N m   <= 57           42% ok   [5.2.1.3]
  driver: thcc                            34.2 mm    <= 42           81% ok   [5.2.1.4]
  driver: vc                              0.38 m/s   <= 1            38% ok   [5.2.1.5]
  driver: femur_left                      5900 N                     69% ok   [5.2.1.6, Fig. 3]  9.07 kN at 0, 7.58 kN from 10 ms; peak shown
  driver: femur_right                     4720 N                     55% ok   [5.2.1.6, Fig. 3]  9.07 kN at 0, 7.58 kN from 10 ms; peak shown
  driver: tibia_compression               2900 N     <= 8000         36% ok   [5.2.1.7]
  driver: tibia_index                     0.66       <= 1.3          51% ok   [5.2.1.8]
  driver: knee_slider                      3.1 mm    <= 15           21% ok   [5.2.1.9]
  passenger: hpc                         465.1       <= 1000         47% ok   [5.2.1.1]
  passenger: head_a3ms                   54.76 g     <= 80           68% ok   [5.2.1.1]
  passenger: neck_tension                 1500 N                     46% ok   [5.2.1.2, Fig. 1]  3.3 kN at 0, 2.9 kN at 35, 1.1 kN at 60 ms; peak shown
  passenger: neck_shear                    650 N                     31% ok   [5.2.1.2, Fig. 2]  3.1 kN at 0, 1.5 kN at 25-35, 1.1 kN at 45 ms; peak shown
  passenger: neck_extension                 24 N m   <= 57           42% ok   [5.2.1.3]
  passenger: thcc                         43.1 mm    <= 42          103% FAIL [5.2.1.4]
  passenger: vc                           0.38 m/s   <= 1            38% ok   [5.2.1.5]
  passenger: femur_left                   4400 N                     51% ok   [5.2.1.6, Fig. 3]  9.07 kN at 0, 7.58 kN from 10 ms; peak shown
  passenger: femur_right                  3520 N                     41% ok   [5.2.1.6, Fig. 3]  9.07 kN at 0, 7.58 kN from 10 ms; peak shown
  passenger: tibia_compression            2900 N     <= 8000         36% ok   [5.2.1.7]
  passenger: tibia_index                  0.66       <= 1.3          51% ok   [5.2.1.8]
  passenger: knee_slider                   3.1 mm    <= 15           21% ok   [5.2.1.9]
  vehicle: steering_upward                  28 mm    <= 80           35% ok   [5.2.2]
  vehicle: steering_rearward                46 mm    <= 100          46% ok   [5.2.2]
  vehicle: door_opened                      no       not allowed         ok   [5.2.3]
  vehicle: doors_unlocked_after            yes       required            ok   [5.2.4]
  vehicle: doors_open_without_tools        yes       required            ok   [5.2.5.1]
  vehicle: fuel_leakage_rate                 -  not assessed   [5.2.6.1]
-> passed: False, failures: ['passenger: thcc'], worst: passenger: thcc

UN R94/R137 5.2.8 (electrical): PASS
  shock_protection[traction battery DC]        yes       required            ok   [5.2.8.1]  isolation 259.2 ohm/V >= 100 ohm/V
  shock_protection[drive inverter AC]          yes       required            ok   [5.2.8.1]  voltage 4 V <= 30 V
  shock_protection[charger DC+AC]              yes       required            ok   [5.2.8.1]  isolation 120 ohm/V >= 100 ohm/V
  electrolyte_leaked                            no       not allowed         ok   [5.2.8.2.2]
  reess_retained                               yes       required            ok   [5.2.8.3]
  reess_entered_cabin                           no       not allowed         ok   [5.2.8.3]
  fire_or_explosion                             no       not allowed         ok   [5.2.8.4]
  Note: Electrolyte observed for 60 min after the impact; voltage within 60 s. 

UN R95 / AIS-099: PASS (1 not assessed)
  driver: hpc                                 -                           ok   [5.2.1.1]  no head contact: satisfied
  driver: rdc                              35.8 mm    <= 42           85% ok   [5.2.1.2 (a)]
  driver: vc                               0.52 m/s   <= 1            52% ok   [5.2.1.2 (b)]
  driver: pspf                             2900 N     <= 6000         48% ok   [5.2.1.3]
  driver: apf                              1650 N     <= 2500         66% ok   [5.2.1.4]
  vehicle: door_opened                       no       not allowed         ok   [5.3.1]
  vehicle: non_struck_doors_unlocked        yes       required            ok   [5.3.2]
  vehicle: egress_possible                  yes       required            ok   [5.3.3]
  vehicle: dangerous_detachment              no       not allowed         ok   [5.3.4]
  vehicle: fuel_leakage_rate                  -  not assessed   [5.3.6] 

UN R135: FAIL (2 not assessed)
  driver: hic36                              455       <= 1000         46% ok   [5.3.2.1]
  driver: shoulder_force                    2350 N     <= 3000         78% ok   [5.3.3.1]
  driver: thorax_rib_deflection             47.5 mm    <= 55           86% ok   [5.3.4.1]
  driver: abdominal_rib_deflection            58 mm    <= 65           89% ok   [5.3.5.1]
  driver: lower_spine_3ms                  67.84 g     <= 75           90% ok   [5.3.5.2]
  driver: pubic_force                       3510 N     <= 3360        104% FAIL [5.3.6.1]
  vehicle: struck_door_separated              no       not allowed         ok   [5.4.1]
  vehicle: other_doors_held                  yes       required            ok   [5.4.2]
  vehicle: fuel_leakage_first_5_min            -  not assessed   [5.5.1.1]
  vehicle: fuel_leakage_rate_5_30_min          -  not assessed   [5.5.1.2]
-> passed: False, failures: ['driver: pubic_force'], complete: False (not assessed: ['vehicle: fuel_leakage_first_5_min', 'vehicle: fuel_leakage_rate_5_30_min'])

Not covered yet

  • UN R137 (full-width frontal, Hybrid III 50th and 5th female): its electrical safety requirements are the same as R94's and can be checked now; the dummy limits will be added once checked against the regulation text.
  • Annex procedures (barrier, dummy positioning, test speeds) are the test lab's domain; these checks assess the results.