Skip to content

Repository files navigation

🚇 Energy Positive Metro: Smart EMS Integrated Dynamic Simulation

"A transformative Proof of Concept (PoC) modeling an energy-independent metro ecosystem. Integrating dynamic renewable energy sources (Solar/Wind) with a Smart Energy Management System (EMS) to achieve net-positive grid contribution."

Repo Size Optimization Analysis

The future of urban transportation lies in Energy Autonomy. This project simulates a dynamic environment where metro infrastructure transitions from an energy consumer to a green energy producer. By leveraging a Linear Programming (LP) optimization model, the system intelligently balances renewable generation, battery storage (BESS), and national grid interactions to minimize carbon footprint while maximizing financial returns.


🚀 Engineering Mindset

This simulation is architected as a Digital Twin Framework:

  • Dynamic Load Balancing: Utilizing hourly dynamic data profiles (train density, solar radiation, wind velocity) to model realistic energy consumption/generation cycles.
  • LP-Based Optimization (PuLP): The heart of the system is an EMS Engine that solves complex cost-efficiency equations to determine the optimal flow between batteries, renewables, and the grid in real-time.
  • BESS Lifecycle Modeling: Implementing Battery Energy Storage System (BESS) logic with strict SoC (State of Charge) thresholds, charging/discharging efficiency coefficients, and immediate demand fulfillment protocols.
  • Financial & Carbon Analytics: A dual-objective analysis layer that calculates CAPEX/OPEX metrics alongside avoided carbon emissions, proving the project's Environmental & Economic Feasibility.
  • Modular Architecture: Clean separation of concerns between the Simulation Engine, Visualization Layer, and Parameter Definition files.

🌟 Key Results & Impact

  • Energy Positivity: Proven capability to meet total internal demand and export surplus energy back to the national grid.
  • 📉 Grid Independence: Achieved near-zero dependency on external grid power during peak renewable production hours through intelligent battery orchestration.
  • 🌱 Decarbonization: Significant reduction in carbon footprint by substituting grid-sourced electricity with localized green energy.
  • 💰 Revenue Generation: Optimized selling cycles on the virtual spot market, turning a traditional cost center into a profit-generating asset.

📊 Visual Data Showcase

Energy Balance & Flow Battery (BESS) Management
Energy Balance Battery SoC
Hourly tracking of generation vs. demand. Dynamic management of Battery State of Charge (SoC).
Energy Flow Financial Impact
System-wide energy distribution dynamics. Cost/Revenue analysis of grid interactions.

🛠️ Installation & Setup Guide

To replicate this simulation environment on your local machine, follow these structured steps:

1. Prerequisites

Ensure you have Python 3.8+ installed on your system.

2. Clone the Repository

git clone [https://github.com/emineugurlu/MetroEnerjiSimulasyonu.git](https://github.com/emineugurlu/MetroEnerjiSimulasyonu.git)
cd MetroEnerjiSimulasyonu

3.Install Dependencies

Install the necessary data processing, visualization, and optimization libraries:

pip install pandas matplotlib pulp openpyxl

4.Run the Simulation

Execute the main orchestration script to start the engine and generate visual reports:

python main.py

📂 Project Structure main.py: The entry point that orchestrates the simulation and triggers visualizations.

simulasyon_motoru.py: The core logic containing the PuLP optimization model and energy balance calculations.

gorsellestirme.py: Dedicated functions for generating high-fidelity Matplotlib graphs.

parametreler.py: Configuration file for battery capacities, efficiency coefficients, and pricing.

dinamik_veriler.xlsx: The dataset containing hourly consumption and generation profiles.

Developed by Emine Uğurlu - Computer Engineer. Focused on the intersection of AI, Energy, and Sustainable Infrastructure.

About

A dynamic energy simulation for "Energy Positive" metro systems. Features an optimization-driven Smart EMS (PuLP), renewable energy integration (Solar/Wind), and Battery Storage (BESS) modeling to achieve zero-carbon urban transit.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages