A Python-based data analytics project that analyzes solar plant performance using historical Performance Ratio (PR) data. The project preprocesses raw solar datasets, computes key performance metrics, and generates insightful visualizations to evaluate plant efficiency over time.
- Data preprocessing and cleaning
- Performance Ratio (PR) analysis
- GHI-based scatter plot visualization
- 30-day moving average
- Dynamic Target Budget PR line
- Average PR statistics
- Percentage of PR values above the Target Budget PR
- High-quality PNG output graph
solar-performance-analytics/
│
├── data/ # Input datasets (not included)
├── output/
│ └── output-graph.png # Generated visualization
├── preprocess.py # Data preprocessing script
├── visualize.py # Visualization script
├── processed_data.csv # Processed dataset (generated)
├── requirements.txt
├── .gitignore
└── README.md
Clone the repository:
git clone https://github.com/syedmohammedsaad/solar-performance-analytics.git
cd solar-performance-analyticsInstall dependencies:
pip install -r requirements.txtPlace the required solar dataset inside the data/ folder before running the project.
Example:
data/
solar_data.csv
python preprocess.pypython visualize.pyThe generated graph will be saved as:
output/output-graph.png
The generated visualization includes:
- Performance Ratio (PR) scatter plot
- GHI-based color coding
- 30-day moving average
- Dynamic Target Budget PR
- Average PR statistics
- Percentage of PR values above Target Budget PR
- Python
- Pandas
- NumPy
- Matplotlib
The project computes:
- Daily Performance Ratio
- Average PR
- 30-Day Moving Average
- Dynamic Target Budget PR
- Percentage of PR above Target Budget
The visualization displays:
- PR scatter plot
- Target Budget PR line
- 30-day moving average
- PR statistics
- Date-wise trend analysis
- Input datasets are not included in this repository.
- Place the required dataset inside the
data/directory before running the project. - Ensure all dependencies are installed before execution.
Syed Mohammed Saad
