Text this: Sizing of standalone photovoltaic-battery-diesel hybrid system with a rule-based energy management strategy using particle swarm optimization