Text this: Thermodynamics modelling and optimisation of a biogas fueled decentralised poly-generation system using machine learning techniques