gera.pa.model function

Generates PA input model