GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MartinRepo/SmartGrid: Implementation of some smart grid sheduling algorithms, with a visualization page.

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
extern
extern
 
 
include
include
 
 
readmeFig
readmeFig
 
 
src
src
 
 
tests
tests
 
 
web
web
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CMakeLists.txt
CMakeLists.txt
 
 
README.md
README.md
 
 

Repository files navigation

Scheduling for Smart Grid

Authored by: @Martingale

Click here to visit demo site. Just try it. :D

Content

  • Algorithms Implementation
    • Feasible Graph
    • Fixed Parameter
    • Greedy
    • Genetic
  • Dataset Preview
  • Simulation
  • Performance Comparison
    • Total cost
    • Peak cost
    • Running time
  • References

Algorithms Implementation

Core strategies for following algorithms

Feasible Graph

feasible graph

Fixed Parameter

Pseudocode as following

Input: a set of job J 
Output: an optimal configuration of J 
{bi} i=1...τ/2+1 ← the boundaries {0, 2, 4, 6, ..., τ} 
{Di} i=1...τ/2 ← the windows where Di is bounded by bi (inclusively) and bi+1 (exclusively) 
{Ci} i=1...τ/2 ← the collection of job sets where Ci is the set of jobs in Di 
Tleft ← a configuration that labels all jobs j ∈ J to be not yet executed for i from 1 to τ/2 do 
Tright ← ListConfigurations(Di, Ci) 
Tleft ← ConcatenateTables(Tleft, Tright) 
Tleft ← FilterTable(Tleft) 
return any configuration in Tleft

Greedy

Job is assigned to the machine with the smallest number of jobs currently assigned.

Genetic

Regard a solution as an individual. Then through constant crossover mutations (crossover: crossing two schedules to generate a new schedule.

Mutation: randomly changing the position or time of a task within a feasible interval.).

It uses the fitness function (calculating peak cost) to decide which scheduling scheme is kept and which is filtered out.

Dataset Preview

There are 11 jobs, 6 windows, 7 boundaries.Their width(duration) and height(power cost) is adjusted

jobs interval

Simulation

simulation

Performance Comparison

Load function: Sum of jobs' height in per unit time t. 𝐿(𝑡) = ∑𝐽:𝑡 𝐻(𝑗)

Total cost

Total cost function: Total cost of the entire scheduling solution S. 𝐶𝑜𝑠𝑡(𝑆) = ∑ 𝐿(𝑡)^𝛼

Peak cost

Peak cost function: 𝐶𝑜𝑠𝑡(𝑆) = max(𝐿(𝑡))^𝛼

Running time

Every algorithm's running time.

References

About

Implementation of some smart grid sheduling algorithms, with a visualization page.

demo-smartgrid.tech

Topics

algorithm-implementationssmart-grid

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.