Skip to content

Rust script to predict power consumption characteristics of an array of electrical vehicle chargepoints based on input chargepoint characteristics and use characteristics. Includes behaviour questions in readme. Built for a technical interview.

Notifications You must be signed in to change notification settings

TadghW/chargepoint-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chargepoint Lot Power Demand Simulator

Answer to bonus questions:

Question 1 (Run the program from task 1 for between 1 and 30 chargepoints. How does the concurrency factor behave?):

Concurrency factor will decrease as number of chargepoints increase if demand stays level, but the decrease in the concurrency factor will level off as you add more and more chargepoints. The inverse will also occur, wherein reducing the number of chargepoints increases the likelihood that all chargepoints will be occupied at once creating a concurrency factor of 1.

Question 2 (If you consider the impact of DST vs mapping the hours to the 15 minute ticks?):

DST won't impact metrics like the concurrency factor, yearly power draw, etc. You may see a slight difference in useage per tick as people may be slightly early/late in their routines when adapting to the time change. Leap years won't effect concurrency factor / simulated demand but should increase yearly power consumption by something like 1/365th.

Question 3 (If you seed the probabilities vs using random() for random-but-deterministic results?):

With the seeded probabilities provided for the task you've outlined a pattern that likely follows real usage patterns - charge demand increases a lot at rush hours, and is increased somewhat by people being both awake and off work. If you use RNG to determine the likelihood of vehicles arriving at a chargepoint and their charge needs over a large number of chargepoints that pattern should average out into more consistent demand.

About

Rust script to predict power consumption characteristics of an array of electrical vehicle chargepoints based on input chargepoint characteristics and use characteristics. Includes behaviour questions in readme. Built for a technical interview.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages