Yesterday morning, Rachel and I tried to figure out what happens to the energy in a refrigerator. In order to do that, we sat down with a white board (actually, two) and started drawing energy-theater-style diagrams.
First of all, we tried to come up with the important parts of the “refrigerator scenario.” Our list (assembled employing the help of omniscient sister wikipedia) consisted of Food, Room, Outlet, Condenser, Expansion Valve, Evaporator, and Compressor. Then we decided that we would have to look at two different scenarios, the initial cooling down of the fridge contents, and then the continuing keeping-stuff-cool.
The next step in breaking down the scenario was to think about the fridge as kind of a black box instead of this complex assembly of machinery, and just have four objects: Food, Fridge, Room, and Outlet. This is a reconstruction of what we came up with:

We decided that the Food starts by giving some of its thermal energy to the Fridge, and the Outlet gives some amount of electrical energy to the Fridge. The Fridge in turn hands the thermal energy from the Food on to the Room, and converts the electrical energy from the Outlet into thermal energy that also goes into the Room. Some of the thermal energy in the room can get back into the Food (through improper insulation, open door, etc.). Since the Fridge is cooling down the Food, it’s transferring more thermal energy out of the Food than is coming in from the Room. Make sense so far?
When we had come up with this, we decided that a Fridge is some kind of an operator that can be fed with two kinds of energy, thermal and electric, then does something with it and outputs thermal energy only.

In other words: A refrigerator is a thing that 1. transforms electrical into thermal energy, and 2. transports thermal energy.
Now that we had established this, we could draw a diagram for a fridge maintaining a constant temperature in the food:

This is a lousy fridge, it “uses” a lot of electrical energy to do whatever it has to do in order to transport the incoming thermal energy out into the room again.
A better fridge would need less electrical energy:

Now, we felt like we could zoom in a little and look what actually happens inside the fridge. So, we drew a new picture:

The box represents the fridge, and we have the two inputs on the left and the one output on the right. Next up, we decided which elements of the fridge would be our objects. Since we’re always looking at the refrigerant, but there are different energetic states of the coolant, depending on where it actually is, we decided to name those objects “Fluid in the [...]” where the [...] stands for the part that we’re looking at. We had identified four parts earlier, the Evaporator, the Condenser, the Compressor and the Expansion Valve. The next picture shows what we thought should happen to the coolant in the Evaporator:

We had already drawn the four shapes representing the objects, but only labeled the two that we were sure we had to include. We didn’t really know yet about the other two.
So, we decided that the food gives thermal energy to the refrigerant in the evaporator. This energy is used to vaporize the fluid, which causes an increase in the “Phase Energy” of the refrigerant. We just created this thing to not have to think too deeply about the microscopic details of the fluid/gas. Phase Energy to us just meant that whenever a phase change occurs, there will be a change in Phase Energy. If the refrigerant is liquid, it will have less Phase Energy, if it is a gas, we will have put some amount of energy into it, so it will have more Phase Energy.
Next up, we said that the fluid with its Phase Energy will enter the compressor, where it will be compressed. Duh. This happens by putting electrical energy into the compressor, which is basically a motor or a pump, where the electrical energy gets converted into mechanical energy. Then, the pump transfers the mechanical energy into thermal energy, it heats up the gas by increasing the pressure and decreasing the volume. Really, we should probably say that the pump does work on the gas, and since we assume that there is no heat exchange with the environment, the internal (thermal) energy of the refrigerant increases, the temperature goes up.

At this point, we realized that the transformation from electrical into mechanical energy does not happen in the fluid, so we decided to include another object, the actual compressor:

Yes, it says “squeeze” and “1st law” in the diagram. That was just a reminder for us of what happens, and why.
After the compressor, we said the refrigerant would go into the condenser. And of course, it would take all its Thermal and Phase Energy with it.

In the condenser, the gas condenses. Duh. And while it does that, it gives off energy, which is being conducted, convected, radiated, whatever, into the room. First, we thought that that might only consist of the Phase Energy that gets transferred into Thermal Energy during the phase change. But then, we started thinking about the rest of the thermal energy, and we said that that’s probably also going into the surroundings.

So, here we go, all the energy of the refrigerant (well, the parts that got there from the food and from the compressor) is going out into the environment.
After the condenser, the fluid goes through the Expansion Valve. And here (at the latest) things get a little funky. According to wikipedia, the now again liquid and cooled down refrigerant “partly evaporates.” Wait, how does this happen? What happens to the energy during this process? Is there energy coming in? Is the energy increasing or decreasing? Does it stay the same? Huh, there is no energy coming in, so it should stay the same! HELP!
At this point, the hunger was stronger than the desire to actually think it through, so we decided to stop there and get lunch. I’m not really happy yet with the Evaporator step. And in general, I’m unsure whether our definition of Phase Energy is sufficient or not. Is it really enough to just say, “once the fluid changes its phase, the Phase Energy changes a certain amount, e.g. three P for gas, no P for liquid?” Do we have to account for different stages of the phase shift? Is our representation accurate enough for our purposes or do we need to include some details that we have totally neglected so far in order to “make it real?” Those are the things that we will have to be thinking about, I guess. Feel free to think with us and contribute to the thinking process on this blog!