Modelling PM dipoles with longitudinal field gradient for SILA facility | Synapse