generate_modelsettings function

A function to parse modelsettings for simulation runs