Text this: Complex Optimization and Simulation in Power Systems