Resettable Bi-Directional DIN Rail Energy Meter for Modern Single-Phase Applications