{"repository":{"description":"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.","homepage":"","watchers":1,"stargazers":1,"forks":0,"fork":false,"size":412,"owner":"HodeCode","private":false,"open_issues":0,"has_issues":true,"has_downloads":true,"has_wiki":true,"language":"Java","created_at":"2012-08-14T02:09:06-07:00","pushed_at":"2013-01-07T08:29:00-08:00","master_branch":"master"},"actor_attributes":{"type":"User","email":"da39a3ee5e6b4b0d3255bfef95601890afd80709"},"url":"https://github.com/HodeCode/SmartGrid-Simulation"}