def update_param_vals(model, newvals):
    update = []
    noupdate = []
    for i in model.parameters:
        if i.name in newvals:
            i.value = newvals[i.name]
            update.append(i.name)
        else:
            noupdate.append(i.name)
    return update, noupdate
update the values of model parameters with the values from a dict. 
dataset/ETHPy150Open pysb/pysb/pysb/util.py/update_param_vals