Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: LSTM Model for Energy Consumption Prediction
|
3 |
+
description: >-
|
4 |
+
This model predicts energy consumption based on meteorological data and
|
5 |
+
historical usage.
|
6 |
+
license: gpl
|
7 |
+
---
|
8 |
+
|
9 |
+
# LSTM for Energy Consumption Prediction
|
10 |
+
|
11 |
+
## Description
|
12 |
+
This model applies Long Short-Term Memory (LSTM) architecture to predict energy consumption over a 48-hour period using historical energy usage and weather data from 2021 to 2023.
|
13 |
+
|
14 |
+
## Model Details
|
15 |
+
**Model Type:** LSTM
|
16 |
+
**Data Period:** 2021-2023
|
17 |
+
**Variables Used:**
|
18 |
+
1. LSTM with Energy consumption data and weather data
|
19 |
+
2. LSTM with Energy consumption data and two additional variables: 'Lastgang_Moving_Average' and 'Lastgang_First_Difference'
|
20 |
+
|
21 |
+
## Features
|
22 |
+
The model uses a sequence length of 192 (48 hours) to create input sequences for training and testing.
|
23 |
+
|
24 |
+
## Installation and Execution
|
25 |
+
To run this model, you need Python along with the following libraries:
|
26 |
+
- `pandas`
|
27 |
+
- `numpy`
|
28 |
+
- `matplotlib`
|
29 |
+
- `scikit-learn`
|
30 |
+
- `torch`
|
31 |
+
- `gputil`
|
32 |
+
- `psutil`
|
33 |
+
- `torchsummary`
|
34 |
+
|
35 |
+
### Steps to Execute the Model:
|
36 |
+
1. **Install Required Packages**
|
37 |
+
|
38 |
+
2. **Load Your Data**
|
39 |
+
|
40 |
+
3. **Preprocess the Data According to the Specifications**
|
41 |
+
|
42 |
+
4. **Run the Script**
|