 Laws about net metering vary from state to state.In Pennsylvania, net metering began after enactment of the Alternative Energy Portfolio Standards Act, signed into law in 2004.In February, the Public Utility Commission set forth the caps on how much electricity solar customers could sell back to utility companies.