Aspects of gas sensor's modeling and implementation in a dynamic environment