Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / kpin / SmartGrid-Simulation
Public GitHub Catalog Discovered Sep 28, 2026

kpin / SmartGrid-Simulation

A large and complex MSc Java project (awarded a mark of 80%) that simulates the interactions between Households and Aggregators in a SmartGrid network (including the associated security concerns). I was responsible for all of the code below (namely the core system framework code) with the exception of a few files (clearly marked with @author JDoc annotations, and included in this repo for completeness). The code uses a plethora of Design Patterns such as Singleton, Observer, and Command (to mimic higher-order functions). During the simulation a random set of Households with multiple Appliances are generated for each Aggregator. Appliances have varying power requirements, and usage hours that are modelled via implementations of the IPolicy interface. This allows a user to model events such as a Dinner at which time the Oven, Lights, and other related Appliances would be in use. The TimedEvent framework handles callbacks, scheduling and replaying of events. There is a GUI that shows the network at different granularities, right down to individual graphed Appliance usage for a Household as the program runs. A mock-Command Line, that provided alternate program control, was also implemented. A Thread Safe Controller is responsible for asynchronously executing user interactions to avoid ConcurrentModificationExceptions. The program outputs verbose messages to a text file for reviewing after the simulation completes.

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.

#13239938GitHub System ID
kpinOrganization / User
PublicVisibility
ActiveCatalog Status
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.