https://github.com/thanhiwer/VICResOpt/blob/1e7f10195fbd133f8a491bb716fe863888f9e285/Routing/OptCalib/EET_analysis.py#L13-L22