Locomotive meter for accounting of alternating current electricity consumption