code: def function_dict(self):
          func_dict = OrderedDict()
          for var, func in self.vars_as_functions.items():
              expr = self.model_dict[var].xreplace(self.vars_as_functions)
              func_dict[func] = expr
          return func_dict