Text this: Modeling and control of power converters in weak and unbalanced electric grids