def update(self, delta):
    '\n        Updates the simulation. Can be done automatically if the autoupdater is used.\n        @param delta Delta in seconds.\n        @see autoupdater_start\n        '
    total_output = 0
    for out in self.outputs:
        total_output += (out * delta)
    total_input = 0
    (pump1, pump2) = self.inputs
    if (pump1 > 0):
        self.firstPumpTemperature += ((delta * self.pumpTemperatureVariationPerSeconds) * 1.1)
        total_input += (pump1 * delta)
    else:
        self.firstPumpTemperature -= (delta * self.pumpTemperatureVariationPerSeconds)
        self.firstPumpTemperature = max(20, self.firstPumpTemperature)
        total_input -= (pump1 * delta)
    if (pump2 > 0):
        self.secondPumpTemperature += (delta * self.pumpTemperatureVariationPerSeconds)
        total_input += (pump2 * delta)
    else:
        self.secondPumpTemperature -= (delta * self.pumpTemperatureVariationPerSeconds)
        self.secondPumpTemperature = max(20, self.secondPumpTemperature)
        total_input -= (pump2 * delta)
    increment = (total_input - total_output)
    with self.simlock:
        self.current_volume += increment
        if (self.current_volume >= self.tank_capacity):
            self.current_volume = self.tank_capacity
        elif (self.current_volume < 0):
            self.current_volume = 0.0
Updates the simulation. Can be done automatically if the autoupdater is used.
@param delta Delta in seconds.
@see autoupdater_start
def update(self, delta):
    '\n        Updates the simulation. Can be done automatically if the autoupdater is used.\n        @param delta Delta in seconds.\n        @see autoupdater_start\n        '
    total_output = 0
    for out in self.outputs:
        total_output += (out * delta)
    total_input = 0
    (pump1, pump2) = self.inputs
    if (pump1 > 0):
        self.firstPumpTemperature += ((delta * self.pumpTemperatureVariationPerSeconds) * 1.1)
        total_input += (pump1 * delta)
    else:
        self.firstPumpTemperature -= (delta * self.pumpTemperatureVariationPerSeconds)
        self.firstPumpTemperature = max(20, self.firstPumpTemperature)
        total_input -= (pump1 * delta)
    if (pump2 > 0):
        self.secondPumpTemperature += (delta * self.pumpTemperatureVariationPerSeconds)
        total_input += (pump2 * delta)
    else:
        self.secondPumpTemperature -= (delta * self.pumpTemperatureVariationPerSeconds)
        self.secondPumpTemperature = max(20, self.secondPumpTemperature)
        total_input -= (pump2 * delta)
    increment = (total_input - total_output)
    with self.simlock:
        self.current_volume += increment
        if (self.current_volume >= self.tank_capacity):
            self.current_volume = self.tank_capacity
        elif (self.current_volume < 0):
            self.current_volume = 0.0