A generalised power-law formulation for the modelling of damping and stiffness nonlinearities