Robust and resilient control design for cyber-physical systems with an application to power systems | Synapse