Title: A flexible software environment for steady-state power flow optimization with series FACTS devices