Semiconductor heterostructure simulation