danialhbma / ITP-SE12-Power-Monitoring

ICT3111 Integrative Team Project
1 stars 0 forks source link

Analysis: Estimation of power consumption costs #37

Closed yucan-yu closed 1 year ago

yucan-yu commented 1 year ago

(Not confirmed) currently two parts:

  1. Cost-efficient season to grow plants (e.g., coldest period in SG).
  2. Cost-efficient period to grow plants (e.g., 7 am - 7 pm).
yucan-yu commented 1 year ago

Currently looking into Cloud Pub/Sub and Cloud Functions on GCP.

yucan-yu commented 1 year ago

Approach for cost-efficient season to grow plants:

Likely to use similar approach for cost-efficient period to grow plants (will just categorise data into day/night times).

Note: Will not be using Cloud Pub/Sub and Cloud Functions on GCP.

yucan-yu commented 1 year ago

Code has been successfully implemented and tested. However, current algorithm for cost-efficient season is no good for actual deployment (due to nested loops with the enormous number of iterations).

Hence, reviewing code to optimise performance before committing to remote repository.

Sample test result for cost-effective period:

Image

yucan-yu commented 1 year ago

Code successfully optimised (mostly due to the dictionary data structure); ready for deployment.

yucan-yu commented 1 year ago

Sample full results:

Image