compute models from instruments in code so that they align