Text this: A model for an interconnected photovoltaic system using an off-grid inverter as a reference node in island mode