The Photovoltaic Package implements everything that has to do with a distributed PV system itself.
The possibility exists to let the PV output be calculated during simulation using PVSystemGeneral, or to use an input file with the output of one PV panel for one year when using PVFromFile.
InComponents several submodels can be found.
The PV array itself is modeled, this exists of:
The inverter is modeled in SimpleInverter.
The model PvVoltageToPower calculates the powers based on the output of the inverter.
To control if the power output of the PV panel is put on the grid, based on a maximum grid voltage, the model PvVoltageCtrlGeneral is used.