Analytical modelling of thermopile based flow sensor and verification with experimental results