Similar Items: Modelling and optimising a power-to-gas system