Text this: Hierarchical power systems control