Some models are analytic / semi-analytic that can be sampled. Others rely on sampling from a grid of modeled light curves through the use of Principle Component Analysis (PCA) and an interpolation scheme which can be:
The creation of grid models can be accomplished with the svd_creation.py
file.