Battery ageing-aware stochastic management of power networks in islanded mode