Refrigerant heats up to 5000 degrees

  • TheDragonRyu
    13th June Member 0 Permalink

    Okay, so im trying to make a fridge and when my refridgerant goes from 256 pressure to -256 pressure or from liquid to a gas, its temperature goes from 300-100 to 500-5000, this makes absolutely no sense considering I've got a huge water tower cooling the whole thing. Any potential reasons why this happens?  https://imgur.com/a/cIdlQDh

    Edited once by TheDragonRyu. Last: 13th June
  • EnganK
    13th June Member 1 Permalink
    There are no temperature readings in your screenshots to back up what you said. Having a save would be more useful.
  • TheDragonRyu
    13th June Member 0 Permalink

    @EnganK (View Post)

     Heres the save ID: 3119679

  • EnganK
    13th June Member 0 Permalink
    parts[i].temp = restrict_flt(parts[i].temp * ((new_pressure + 257.f) / (*old_pressure + 257.f)), 0, MAX_TEMP);
    Using this formula, it turns out that with such a pressure drop, the temperature of the RFRG (in degrees Kelvin) increases by more than 500 times, which is generally consistent with the behavior observed in the save (in the area connected to the cooling tower, the RFRG coming out of the pipe can instantly heat up up to maximum temperature).
    In short, the behavior of the RFRG in your refrigerator is completely normal and exactly as written in the source code, and the refrigerator itself appears to be working mostly fine (aside from some clog issues)
  • TheDragonRyu
    13th June Member 0 Permalink

    @EnganK (View Post)

     Thank you! Its weird though, as thats the same save where the cooling box was heating to 5000 degrees celsius, no changes were made, I guess just restarting the game or refreshing it fixed some weird obscure bug.