Intelligent Data-Driven Energy Flow Controllers for Renewable Energy and Electrified Transportation Systems