One common method of providing hot water is using electrical water heaters.
The basis of this type of heaters is to start consuming electricity and then warm the water in the containers with it.
Water temperatures are controlled by a thermostat (if water temperatures go higher than desired, this element will turn off and if they go lower, it will turn on) and it means that in a whole day and depending on water consumption, a determined amount of electricity will be used.
As an innovative method, using PCMs in spherical capsules and placing them inside the containers, plus providing a timer for the water heaters, elements can turn on when the electricity price is the cheapest (midnight until sunrise) all this while providing hot water; it can also charge the PCM capsules before sunrise.
During the day, when the electricity price is high and without consuming electricity, PCMs in the capsules will release their latent heat to the water by changing phase (liquid to solid) resulting in stable and maintained water temperatures.
Before all saved energy in the capsules is released, midnight will have arrived and the timer will turn on once again. By turning on the element, the recharge process will start over.
The melting point of PCMs for this purpose must stay between 50 and 90 Celsius degrees.