Simulation-of-photovoltaic-efficiency-of-semiconductor simulates efficiency of semiconductor under variable conditions