Based on the 2018 RUPTL, Indonesia targets the development of renewable energy plants reach 23% on 2025. With a tropical climate, Indonesia is a country that has considerable potential to use photovoltaic as a renewable energy. But in its use, photovoltaic has an obstacle that can be detrimental namely intermittent properties. These constraints can be overcome by means of planning that aims to optimize photovoltaic performance. Planning in this study is in the form of actual measurement results from solar irradiance with data based on surrounding environmental conditions such as temperature, relative humidity, rainfall, and UV intensity. Then the data is processed using the Ordinary Least Square (OLS) method. The purpose of this study is to obtain accurate solar irradiance values so that they can be used in planning photovoltaic optimization. This measurement has an error value of 18.9% which is calculated using the MAPE method by using Solar Power Meter as the actual value.