process_instance function

Analyze simulated synthetic datasets.