Understanding legal regulations for plug and play solar in USA