hi there
welcome to Electronics Point
what research have you done so far ?
when I put the core of your question into google I got quite a few hits
circuits for current and voltage sensors for a grid-tied inverter
go have a try and look through some of the links and see if anything helps
come back with specific questions and links to what you are looking at
cheers
Dave