Market viability of photovoltaic plants: merit order effect approach