Dual active bridge converter optimisation and integration for charging and photovoltaic renewable applications