code: def getControls(self):
          '''
          Calculates consumption for each consumer of this type using the consumption functions.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None
          '''
          cLvlNow = np.zeros(self.AgentCount) + np.nan
          MPCnow = np.zeros(self.AgentCount) + np.nan
          for t in range(self.T_cycle):
              these = t == self.t_cycle
              cLvlNow[these] = self.solution[t].cFunc(self.mLvlNow[these],self.pLvlNow[these])
              MPCnow[these]  = self.solution[t].cFunc.derivativeX(self.mLvlNow[these],self.pLvlNow[these])
          self.cLvlNow = cLvlNow
          self.MPCnow  = MPCnof getControls(self):
          '''
          Calculates consumption for each consumer of this type using the consumption functions.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None
          '''
          cLvlNow = np.zeros(self.AgentCount) + np.nan
          MPCnow = np.zeros(self.AgentCount) + np.nan
          for t in range(self.T_cycle):
              these = t == self.t_cycle
              cLvlNow[these] = self.solution[t].cFunc(self.mLvlNow[these],self.pLvlNow[these])
              MPCnow[these]  = self.solution[t].cFunc.derivativeX(self.mLvlNow[these],self.pLvlNow[these])
          self.cLvlNow = cLvlNow
          self.MPCnow  = MPCnow
docs: Calculates consumption for each consumer of this type using the consumption functions.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None