-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.R
34 lines (26 loc) · 801 Bytes
/
global.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
library(shiny)
library(data.table)
library(ggplot2)
# library(shinydashboard)
# library(plotly)
# library(DT)
# library(shinycssloaders)
# library(shinyjs)
source('home.R')
source('loadData.R')
source('analyse.R')
PLANS <- c("Time of Use", "Tiered Rate Plan", "Solar & Renewable Energy Plan",
"Electric Vehicle Base Plan", "SmartRate Add-on")
TIER <- list(
"Time of Use" = c("E-TOU-C", "E-TOU-D"),
"Tiered Rate Plan" = c("T1 (100% baseline)", "T2 (101%-400% baseline)",
"T3 (> 400% baseline)"),
"Electric Vehicle Base Plan" = c('EV2-A', 'EV-B'),
"Solar & Renewable Energy Plan" = c("COMING-SOON"),
"SmartRate Add-on" = c("COMING-SOON")
)
HOUR <- list(
"E-TOU-C" = c(16,21),
"E-TOU-D" = c(17,20)
)
AGGCHOICE <- c('Day', 'Week','Month', 'Year')