undefinedgridSim is an open-source Python library designed to evaluate the reliability of renewable energy systems, such as wind and solar power, in meeting energy demands. The tool automates statistical analysis, including distribution fitting, reliability calculations, and data visualization, to assist researchers, engineers, and policymakers in designing resilient, renewable-powered energy systems.
# Clone the repository
git clone https://github.com/yourusername/gridSim.git
# Navigate to the directory
cd gridSim
# Install dependencies
pip install -r requirements.txt
from gridSim.reliability import ReliabilityAnalyzer
# Load your data
capacity_data = [100, 120, 150, 130, 110] # Example data
demand_data = [90, 110, 140, 125, 100] # Example data
# Initialize the analyzer
analyzer = ReliabilityAnalyzer(capacity_data, demand_data)
# Fit a lognormal distribution
analyzer.fit_distribution("lognormal")
# Calculate reliability metrics
reliability = analyzer.calculate_reliability()
print(f"Reliability: {reliability}")
# Visualize the results
analyzer.plot_reliability_curve()
git checkout -b feature/YourFeature.git commit -m 'Add some feature'.git push origin feature/YourFeature.This project is licensed under the MIT License. See LICENSE.md for more information.
For questions or collaboration, reach out to anshsarkar18@gmail.com. You can also connect with me on Linkedin.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.