Skip to content

Commit

Permalink
revise gcamusa_L270.limits.R to address precursors error
Browse files Browse the repository at this point in the history
  • Loading branch information
pkyle committed Jun 6, 2023
1 parent 912f1b0 commit f3377fc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions input/gcamdata/R/zgcamusa_L270.limits.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module_gcamusa_L270.limits <- function(command, ...) {
L270.CreditMkt <- get_data(all_data, "L270.CreditMkt", strip_attributes = TRUE)
L270.CreditOutput <- get_data(all_data, "L270.CreditOutput", strip_attributes = TRUE)
L270.CreditInput_elec <- get_data(all_data, "L270.CreditInput_elec", strip_attributes = TRUE)
L270.NegEmissBudget <- get_data(all_data, "L270.NegEmissBudget")
L270.NegEmissBudget <- get_data(all_data, "L270.NegEmissBudget", strip_attributes = TRUE)

# ===================================================
# Data Processing
Expand Down Expand Up @@ -121,7 +121,10 @@ module_gcamusa_L270.limits <- function(command, ...) {
L270.CreditInput_elecS_USA

L270.NegEmissBudget_USA %>%
# inherit most attributes
add_title("Sets up the negative emissions budget RES market") %>%
add_units("NA") %>%
add_comments("Sets up the RES constraint market including boiler plate such") %>%
add_comments("as the policy name and market as well as unit strings") %>%
add_precursors("gcam-usa/states_subregions", "L270.NegEmissBudget") ->
L270.NegEmissBudget_USA

Expand Down

0 comments on commit f3377fc

Please sign in to comment.