Real time optimal power flow integrating large scale storage devices and wind generation