Text this: Network modelling of avalanche dynamics in Ag-hBN memristor