added code and notebok demo for simple heating under DP