Optimization of a lattice spring model with elastoplastic conducting springs: a case study | Synapse