Here's a credible, well-written article about how the EPA determines range estimates:
Here’s how the EPA calculates how far an EV can go on a full charge
Ever wonder how an EV's official range estimate is calculated? Wonder no more.
arstechnica.com