P4C: Power networks for communications engineers