Photovoltaic Sources: Modeling and Emulation