code: def get_state_variable_from_name(self, variable_name):
          
          return next((v for v in self.state_variables if v.name == variable_name), None)
docs: Return a state variable from a name
          Args:
              varible_name (str): name of the variable
          Returns:
              StateVariable