Complex Analysis of the Voltage and Current of the Switchgear Input for Monitoring of the Powered Device Condition