Skip to content

This is a very basic code made in Python, with the intention of simulating a SmartGrid with 5 electronic devices, applying the Bat Algorithm in order to optimize the energy consumption of the devices. This code was made for a final project in the Biologically Inspired Artificial Intelligence course at Universidad Carlos III de Madrid, UC3M.

License

Notifications You must be signed in to change notification settings

Srondon/Bat-Algorithm-basic-simulation-with-Smart-Grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Bat-Algorithm-basic-simulation-with-Smart-Grid

This is a very basic code made in Python, with the intention of simulating a SmartGrid with 5 electronic devices, applying the Bat Algorithm in order to optimize the energy consumption of the devices. This code was made for a final project in the Biologically Inspired Artificial Intelligence course at Universidad Carlos III de Madrid, UC3M.

Requirements to use the program:

  1. Download Python
  2. Download the Numpy library
  3. Download matplotlib library

How to test?

Change only the values of Scan Rate (a) Frequency Update Rate (r), number of bats (num_bats) and the number of iterations (num_iterations) according to the needs of your problem.

At the end of the code execution, outputs will be generated in the console about the results obtained and two graphs showing the bats trends towards the optimal solution.

Warning:

This code it's a simple approach in order to understand the BA algorithm applying it to a real but basic problem. It's not ready for production, only for academic porpuses.

About

This is a very basic code made in Python, with the intention of simulating a SmartGrid with 5 electronic devices, applying the Bat Algorithm in order to optimize the energy consumption of the devices. This code was made for a final project in the Biologically Inspired Artificial Intelligence course at Universidad Carlos III de Madrid, UC3M.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages