Modeling Sensors and Instrument Transformers