Text this: Modeling and simulation of carbon-nanocomposite-based gas sensors