Model and software package for studying and optimizing generation characteristics of semiconductor superlattices