Title: Piecewise-linear modelling and analysis