Text this: Model predictive control of a bidirectional AC-DC converter for V2G and G2V applications in electric vehicle battery charger