Model-constrained deep learning for online fault diagnosis in Li-ion batteries over stochastic conditions | Synapse