I had this problem once with a water heater: Get in shower, and things are nice and hot. But the temperature decreased rapidly, and immediately.
It turned out that it had been plumbed backwards.