pass simulation parameters automatically between p01 and p02