def METHOD_NAME(self, outputs):
    """
    Write output data to influx
    :return:
    """
    json_body = []
    base = {
        "measurement": self.run.ref_id,
        "time": "%s" % self.get_sim_time(),
    }
    response = False
    # get each of the simulation output values and feed to the database
    for key in outputs.keys():
        if key != 'time':
            output_id = self.tagid_and_outputs[key]
            value = outputs[key]
            dis = self.id_and_dis[output_id]
            base["fields"] = {
                "value": value
            }
            base["tags"] = {
                "id": output_id,
                "dis": dis,
                "siteRef": self.run.ref_id,
                "point": True,
                "source": 'alfalfa'
            }
            json_body.append(base.copy())
    try:
        print("Trying to write to influx")
        response = self.influx_client.write_points(points=json_body,
                                                   time_precision='s',
                                                   database=self.influx_db_name)
        if response:
            print("Influx response received %s" % response)
    except ConnectionError as e:
        print("Unable to write to influx: %s" % e)