Volume Delay Function Python Definition