0% found this document useful (0 votes)
7 views

soft

Uploaded by

Akshita Arora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

soft

Uploaded by

Akshita Arora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Project Report submitted for

SOFT COMPUTING (UEC823)

on
TITLE:
Optimization of Battery Performance and Charging Time in Electric Vehicles using Artificial
Neural Networks (ANN), Genetic Algorithm (GA), or Fuzzy Logic
30 November,2024

Submitted By:
Akshita(102115105)

Submitted to :
Dr.Gaganpreet Kaur
Objective:
• To develop an optimization model that enhances battery performance (range,
longevity) and minimizes charging time for EVs by analyzing and optimizing EV
data using ANN.
Scope of the Project:

• Dataset Collection: Gather EV-related datasets including:


• Battery health metrics (State of Charge - SOC, State of Health - SOH).
• Driving patterns (speed, acceleration, and trip duration).
• Charging data (time, voltage, current).
• External factors (temperature, terrain).
• Optimization Goals:
• Maximize battery range.
• Minimize charging time.
• Improve battery health and longevity.
• Techniques to Apply:
• Use ANN for predictive modeling of battery health and range based on historical data.
•Dataset:
The dataset includes features: SOC, SOH, ChargingCurrent, Temperature, and targets:
BatteryRange.
•Normalization:
All features are scaled between 0 and 1 using MinMaxScaler.
•Neural Network Architecture:
•Input Layer: 4 neurons for the 4 input features.
•Hidden Layers: Two layers with 16 and 8 neurons, respectively, using ReLU activation.
•Output Layer: Single neuron predicting the BatteryRange.
•Training:
50 epochs with a batch size of 4.
20% of the training data is used for validation.
•Evaluation:
The model evaluates its performance on a test dataset using Mean Absolute Error (MAE).
•Visualization:
Training and validation MAE are plotted to observe the model’s learning process.
import numpy as np
import pandas as pd
CODE:
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import MinMaxScaler
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense

# Load real EV data


def load_real_ev_data():
data = {
'SOC': [40, 60, 80, 45, 70, 85, 55, 65, 75, 50],
'SOH': [95, 90, 85, 92, 88, 83, 91, 89, 87, 93],
'ChargingCurrent': [20, 30, 25, 22, 28, 35, 26, 24, 29, 21],
'Temperature': [25, 30, 20, 27, 29, 24, 26, 28, 23, 22],
'ChargingTime': [3.5, 2.0, 1.5, 3.2, 2.5, 1.3, 3.0, 2.7, 2.3, 3.3],
'BatteryRange': [200, 250, 280, 210, 260, 300, 220, 240, 270, 215]
}
return pd.DataFrame(data)

# Load data
data = load_real_ev_data()
X = data[['SOC', 'SOH', 'ChargingCurrent', 'Temperature']].values
y = data['BatteryRange'].values

scaler = MinMaxScaler()
X_scaled = scaler.fit_transform(X)

# Split into training and testing sets


X_train, X_test, y_train, y_test = train_test_split(X_scaled, y, test_size=0.2, random_state=42)

# Define the ANN model


RESULT:

1.Terminal Output:
plaintext
Test MAE: 5.30 km
•Example MAE showing the
average deviation of predictions
from actual battery ranges.

2.Plot: The plot will show training


and validation MAE over epochs,
demonstrating whether the model is
improving.
REFERENCES:
• References for ANN in EV Optimization
• Zhang, C., Wei, Z., Kong, W., & Wang, J. (2018)
A machine learning-based optimization for electric vehicle energy management
systems.
Journal: Energy, 154, 218-226.
DOI: 10.1016/j.energy.2018.04.124
• Yu, H., et al. (2021)
Application of artificial neural networks in predicting and optimizing battery
performance.
Conference Paper: IEEE International Conference on Smart Energy Systems.
•Shu, G., & Sun, F. (2014)
Optimal design of EV battery charging profiles using genetic algorithms.
Journal: Energy Conversion and Management, 81, 15-24.
DOI: 10.1016/j.enconman.2014.01.042

•Li, Q., Yang, J., & Zhang, T. (2020)


Genetic algorithm-based optimization for fast charging strategies of electric vehicles.
Conference: IEEE Green Technologies Conference.
THANK YOU

You might also like