Loss of power when roads have got standing water

Just wandering if anyone has experienced loss of power with no fault being stored or on the screen as an issue .. recently this has just started happening driving on a road with heavy water next minute the car has no power basically can’t accelerate as normal pull over give car a few minutes ticking over and few revs it’s fine !! Luckily I haven’t had any one right behind me when this has happened but ideas and suggestions welcome !