Trip generation model

I wonder if someone can provide me with a sample of a simple trip generation model containing the script within it. I want to learn the steps and the way trip generation script is written with regression equations.

Thanks a million in advance!