Multi-layer optimisation of hybrid energy storage systems for electric vehicles | Synapse