Developing a framework to design a building envelope integrated with PCM