This might be an intended feature, but i highly doubt it.
F1 Cars just do not derate down the straights.
Which means you have to constantly to change the ERS modes, from medium to none the whole race
The "Medium" ERS mode uses 7 to 15% a lap depending on the track. After a lap or two the battery it just gone