Update Residential.py

including duration()