code: def getControls(self):
          '''
          Calculates consumption for each consumer of this type using the consumption functions.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None
          '''
          cNrmNow = np.zeros(self.AgentCount) + np.nan
          for t in range(self.T_cycle):
              for j in range(self.MrkvArray[t].shape[0]):
                  these = np.logical_and(t == self.t_cycle, j == self.MrkvNow)
                  cNrmNow[these] = self.solution[t].cFunc[j](self.mNrmNow[these])
          self.cNrmNow = cNrmNow
          return Nonf getControls(self):
          '''
          Calculates consumption for each consumer of this type using the consumption functions.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None
          '''
          cNrmNow = np.zeros(self.AgentCount) + np.nan
          for t in range(self.T_cycle):
              for j in range(self.MrkvArray[t].shape[0]):
                  these = np.logical_and(t == self.t_cycle, j == self.MrkvNow)
                  cNrmNow[these] = self.solution[t].cFunc[j](self.mNrmNow[these])
          self.cNrmNow = cNrmNow
          return None
docs: Calculates consumption for each consumer of this type using the consumption functions.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None