Text this: Analysis and simulation of heterostructure devices