Plot¶
Scripts for compile results and genrate plots:
Bill¶
- Get Feasible Actions Results returned by the contoller using predicted data are sometimes not feasible, it will map the learned action to feasible actions and recalculate the bills and record the feasible actions.
- Compile results of all homes will compile results of all controllers of one given home or all homes and requried scenrios, will write results of the recalated bill in to a new table and create line plots of cumulative bills of a year.
Policy¶
- Plot ground truth will plot one week ground truth of one home including home load, solar output and optimal action.
- Plot controller action will plot learned policy of all controllers of one specific period of year.
Violin¶
- Genrate ROI table will read in bill results of all controllers and calulate needed information for ROI.
- Calulate PAR of contoller will calulate the average PAR of all homes of all days of a year.
- Generate violin plots of bills of all controllers will create violin plots of all contollers to show the distrubution of bills of all homes of a given scenario.