def getRatesOfChange (self):
    """
    Returns the rate of change of all state variables  (eg species) in the model
    """
    if self.conservedMoietyAnalysis:
       m1 = self.getLinkMatrix()
       m2 = self.model.getStateVectorRate()
       return m1.dot (m2) 
    else:
      return self.model.getStateVectorRate()