Create discharge.py