connection ac inverter to switch board consumer unit

Energy meter measures the power demand from the incoming power supply and feeds data to the inverter