Skip to content

Commit

Permalink
remove old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jvendries committed Aug 14, 2023
1 parent 67ca2af commit 13d9689
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/BuildModel.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ constructEEIOMatrices <- function(model) {
if (model$specs$IODataSource=="stateior") {
model$U_n <- generate2RDirectRequirementsfromUseWithTrade(model, domestic = FALSE)
model$U_d_n <- generate2RDirectRequirementsfromUseWithTrade(model, domestic = TRUE)
# ^^ this makes U_n and U_d_n equivalent, but for 2-region models domestic models are temporarily not being used
} else {
model$U_n <- generateDirectRequirementsfromUse(model, domestic = FALSE) #normalized Use
model$U_d_n <- generateDirectRequirementsfromUse(model, domestic = TRUE) #normalized DomesticUse
Expand Down Expand Up @@ -271,7 +270,6 @@ buildTwoRegionModels <- function(modelname, configpaths = NULL, validate = FALSE
model <- constructEEIOMatrices(model)
if (validate) {
print2RValidationResults(model)
# q_comparison_failures_ls <- validate2RCommodityTotals(model) # commenting out comparisons of q totals between various objects imported from stateior
}
model_ls[[state]] <- model
},
Expand Down

0 comments on commit 13d9689

Please sign in to comment.