Return a state variable from a name
        Args:
            varible_name (str): name of the variable
        Returns:
            StateVariable

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