Skip to content

Commit f2d763e

Browse files
authored
Update README.md
1 parent f278d1f commit f2d763e

1 file changed

Lines changed: 47 additions & 22 deletions

File tree

README.md

Lines changed: 47 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,37 +14,62 @@ The future of urban transportation lies in **Energy Autonomy**. This project sim
1414

1515
This simulation is architected as a **Digital Twin Framework**:
1616

17-
* **Dynamic Load Balancing:** Utilizing hourly dynamic data profiles (train density, solar radiation, wind velocity) to model realistic energy consumption/generation cycles.
18-
* **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.
19-
* **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.
20-
* **Financial & Carbon Analytics:** A dual-objective analysis layer that calculates CAPEX/OPEX metrics alongside avoided carbon emissions, proving the project's **Environmental & Economic Feasibility**.
21-
* **Modular Architecture:** Clean separation of concerns between the Simulation Engine, Visualization Layer, and Parameter Definition files.
17+
* **Dynamic Load Balancing:** Utilizing hourly dynamic data profiles (train density, solar radiation, wind velocity) to model realistic energy consumption/generation cycles.
18+
* **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.
19+
* **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.
20+
* **Financial & Carbon Analytics:** A dual-objective analysis layer that calculates CAPEX/OPEX metrics alongside avoided carbon emissions, proving the project's **Environmental & Economic Feasibility**.
21+
* **Modular Architecture:** Clean separation of concerns between the Simulation Engine, Visualization Layer, and Parameter Definition files.
2222

2323
## 🌟 Key Results & Impact
2424

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

30-
## 📊 Technical Architecture
30+
## 📊 Visual Data Showcase
3131

32-
* **Language:** Python 3.x
33-
* **Data Processing:** Pandas, OpenPyXL
34-
* **Mathematical Optimization:** PuLP (Linear Programming)
35-
* **Visualization:** Matplotlib
32+
| Energy Balance & Flow | Battery (BESS) Management |
33+
| :--- | :--- |
34+
| ![Energy Balance](https://github.com/user-attachments/assets/3256f02a-4b9d-4399-92e5-3d44b2f8367e) | ![Battery SoC](https://github.com/user-attachments/assets/03d8d99e-78c4-4af2-b4ae-056bc263bb80) |
35+
| *Hourly tracking of generation vs. demand.* | *Dynamic management of Battery State of Charge (SoC).* |
36+
| ![Energy Flow](https://github.com/user-attachments/assets/786c9e7a-6d54-4137-a309-29a50a6f5167) | ![Financial Impact](https://github.com/user-attachments/assets/7692516f-f507-4bd1-a968-cda6a69a287e) |
37+
| *System-wide energy distribution dynamics.* | *Cost/Revenue analysis of grid interactions.* |
3638

37-
## 📂 System Components
39+
---
3840

39-
* `simulasyon_motoru.py`: The core logic managing energy balance and EMS optimization.
40-
* `gorsellestirme.py`: High-fidelity data visualization for hourly/daily flows.
41-
* `dinamik_veriler.xlsx`: The data foundation for dynamic scenario modeling.
41+
## 🛠️ Installation & Setup Guide
4242

43-
---
43+
To replicate this simulation environment on your local machine, follow these structured steps:
44+
45+
### 1. Prerequisites
46+
Ensure you have **Python 3.8+** installed on your system.
47+
48+
### 2. Clone the Repository
49+
```bash
50+
git clone [https://github.com/emineugurlu/MetroEnerjiSimulasyonu.git](https://github.com/emineugurlu/MetroEnerjiSimulasyonu.git)
51+
cd MetroEnerjiSimulasyonu
52+
````
53+
### 3.Install Dependencies
54+
Install the necessary data processing, visualization, and optimization libraries:
55+
````bash
56+
pip install pandas matplotlib pulp openpyxl
57+
````
58+
### 4.Run the Simulation
59+
Execute the main orchestration script to start the engine and generate visual reports:
60+
````bash
61+
python main.py
62+
````
63+
64+
📂 Project Structure
65+
main.py: The entry point that orchestrates the simulation and triggers visualizations.
66+
67+
simulasyon_motoru.py: The core logic containing the PuLP optimization model and energy balance calculations.
68+
69+
gorsellestirme.py: Dedicated functions for generating high-fidelity Matplotlib graphs.
4470

45-
## 📸 Visual Data Showcase
71+
parametreler.py: Configuration file for battery capacities, efficiency coefficients, and pricing.
4672

47-
![Energy Balance](https://github.com/user-attachments/assets/3256f02a-4b9d-4399-92e5-3d44b2f8367e)
48-
![Battery SoC](https://github.com/user-attachments/assets/03d8d99e-78c4-4af2-b4ae-056bc263bb80)
73+
dinamik_veriler.xlsx: The dataset containing hourly consumption and generation profiles.
4974

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

0 commit comments

Comments
 (0)