HYBRID2: A Versatile Model of the Performance of Hybrid Power Systems