Firstly, Stirling engines are already passe wrt submarines. AIP is currently the reigning alternative. However with rapid changes in the energy densities & costs of the batteries, AIP (chemical based) will be gone in next generation.
In the next 5 years itself they're talking about 500 KWhr...