Generating parameter spaces from model definitions