solvecost_power | R Documentation |
This function takes kW, % utilization, $/kWhr and determines power cost.
solvecost_power(power, utilization = 100, cost, time = "day")
power |
Power consumed in kW |
utilization |
Amount of time equipment is running in percent. Defaults to continuous. |
cost |
Power cost in $/kWhr |
time |
Desired output units, one of c("day", "month", "year"). Defaults to "day". |
A numeric value for power, $/time.
powercost <- solvecost_power(50, 100, .08)
library(dplyr)
cost_data <- tibble(
power = seq(10, 50, 10),
utilization = 80
) %>%
mutate(costs = solvecost_power(power = power, utilization = utilization, cost = .08))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.