The team behind this is world-class. Among other things, they have developed a python library that could be used to model contrails in your own projects.
https://py.contrails.org