Describir: Refactoring an electric-market simulation software for massively parallel computations