def METHOD_NAME(self, result_type: ResultTypes):
    """
    Plot the results
    :param result_type:
    :return:
    """
    if result_type == ResultTypes.ContingencyFrequency:
        data = self.overload_count
        y_label = '(#)'
        title = 'Contingency count '
        labels = self.branch_names
        index = ['']
    elif result_type == ResultTypes.ContingencyRelativeFrequency:
        data = self.relative_frequency
        y_label = '(p.u.)'
        title = 'Contingency relative frequency '
        index = ['']
        labels = self.branch_names
    elif result_type == ResultTypes.MaxOverloads:
        data = self.max_overload
        y_label = '(#)'
        title = 'Maximum overloads '
        labels = self.branch_names
        index = ['']
    elif result_type == ResultTypes.WorstContingencyFlows:
        data = self.worst_flows
        y_label = '(MW)'
        title = 'Worst contingency Sf '
        labels = self.branch_names
        index = pd.to_datetime(self.time_array)
    elif result_type == ResultTypes.WorstContingencyLoading:
        data = self.worst_loading * 100.0
        y_label = '(%)'
        title = 'Worst contingency loading '
        labels = self.branch_names
        index = pd.to_datetime(self.time_array)
    else:
        raise Exception('Result type not understood:' + str(result_type))
    # assemble model
    METHOD_NAME = ResultsTable(data=data,
                       index=index,
                       columns=labels,
                       title=title,
                       ylabel=y_label)
    return METHOD_NAME