It was derived by a physicist who modeled the economy as a thermodynamic engine. He wrote one of the most important papers ever. Most academics seem to ignore him. The conclusions from his work are very uncomfortable.
http://www.inscc.utah.edu/~tgarrett/Economics/Economics.html
[Feel free to split this out as a separate thread if desired.]
I skimmed through that paper ... it seems to operate on a number of unexamined and unnoticed assumptions - like most papers on the subject.
Money is a measure of human attention.
For example, the "goods and services" dichotomy is meaningless. If you are building a car, you have employees who build the car, and you have parts coming in.... but... those parts are built by workers from raw materials... but ... those raw materials are mined from the ground by workers. If there are no human beings spending their time paying attention to mining, then there are no raw materials, irrespective of who "owns" the land.
And owning the land simply means that people pay attention to your claim that you own it. The fact that Native Americans lived there 500 years ago is irrelevant, because people pay attention to your Title claim and not theirs.
People go to movies that get the most attention, and those get the box office receipts. Actors get larger contracts because their name gets more attention.
Conversely, if you do a really horrible thing and are constantly mentioned on CNN, you will get a book contract for more than any of us are likely to make in our lifetimes - because you have accumulated attention.
Then, once you have money, you can trade it back for attention. If you are wealthy, you can hire a cook, a maid, a personal trainer, a driver, a valet, etc. A poor person has to do everything themselves and usually cannot get any attention when they have a problem.
---
Regarding energy, the universe is full of it and not much else. If sufficient human attention is paid to accumulating energy, there will never be any lack of availability.