Testing and modelling of a variable speed scroll compressor