Economic impacts: Difference between revisions

From Opasnet
Jump to navigation Jump to search
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 16: Line 16:
This code tells how to calculate prices of emissions, external costs of health and CO2 emissions, net costs of operating power plants (two different versions), and finally total cost.
This code tells how to calculate prices of emissions, external costs of health and CO2 emissions, net costs of operating power plants (two different versions), and finally total cost.


<rcode name="totalCost" label="Initiate totalCost (for developers only)" store=1>
<rcode name="totalCost" label="Initiate totalCost (for developers only)" store=1 embed=1>
# This code is Op_en3283/totalCost [[Economic impacts]]
# This code is Op_en3283/totalCost [[Economic impacts]]
library(OpasnetUtils)
library(OpasnetUtils)


emissionprice <- Ovariable("emissionprice",  
emissionprice <- Ovariable("emissionprice",  
dependencies = data.frame(Name = c("co2price")),
dependencies = data.frame(Name = c("co2price"),Ident = "Op_en7379/externalities"),
formula = function(...) {
formula = function(...) {
temp <- c("CO2direct", "CO2eq", "CO2trade", "PM2.5")
temp <- c("CO2direct", "CO2eq", "CO2trade", "PM2.5")
Line 52: Line 52:
"DALYs",
"DALYs",
"DALYprice"
"DALYprice"
)
),
Ident = c(NA,"Op_en7379/externalities",NA,"Op_en7379/externalities")
),
),
formula = function(...) {
formula = function(...) {
Line 83: Line 84:
climate <- oapply(climate, cols = "Pollutant", FUN = sum) # Remove joint index Pollutant
climate <- oapply(climate, cols = "Pollutant", FUN = sum) # Remove joint index Pollutant
out <- combine(health, climate)
out <- OpasnetUtils::combine(health, climate)
# out$Cost <- factor(out$Cost, levels = c(
# out$Cost <- factor(out$Cost, levels = c(
# "Management cost",
# "Management cost",
Line 162: Line 163:
fuelcost <- oapply(unkeep(fuelcost, sources = TRUE), cols = c("Burner"), FUN = sum)
fuelcost <- oapply(unkeep(fuelcost, sources = TRUE), cols = c("Burner"), FUN = sum)
cost <- combine(
cost <- OpasnetUtils::combine(
investment, # Investment cost
investment, # Investment cost
maintenance, # Maintenance cost
maintenance, # Maintenance cost
Line 238: Line 239:
fuelcost$Fuel <- NULL
fuelcost$Fuel <- NULL
fuelcost$Parameter <- "Fuel cost"
fuelcost$Parameter <- "Fuel cost"
fuelcost$Parameter[result(fuelcost) < 0] <- "Product sells"
fuelcost$Parameter[result(fuelcost) < 0] <- "Sales proceeds"
fuelcost <- oapply(unkeep(fuelcost, sources = TRUE), cols = c("Burner"), FUN = sum)
fuelcost <- oapply(unkeep(fuelcost, sources = TRUE), cols = c("Burner"), FUN = sum)
cost <- combine(
cost <- OpasnetUtils::combine(
investment, # Investment cost
investment, # Investment cost
maintenance, # Maintenance cost
maintenance, # Maintenance cost
Line 263: Line 264:
),
),
formula = function(...) {
formula = function(...) {
out <- combine(plantCost, externalCost)
out <- OpasnetUtils::combine(plantCost, externalCost)
# out$Cost <- factor(out$Cost, levels = c(
# out$Cost <- factor(out$Cost, levels = c(
# "Management cost",
# "Management cost",
Line 271: Line 272:
# "Health",
# "Health",
# "Climate",
# "Climate",
# "Product sells",
# "Sales proceeds",
# "Profit"
# "Profit"
# ))
# ))
Line 323: Line 324:
time = "Time" # column name for time index
time = "Time" # column name for time index
) {
) {
allcost <- combine(...)
allcost <- OpasnetUtils::combine(...)
temp <- unique(allcost[ , allcost@marginal & colnames(allcost@output) != time]@output)
temp <- unique(allcost[ , allcost@marginal & colnames(allcost@output) != time]@output)
out <- data.frame()
out <- data.frame()

Latest revision as of 04:52, 13 April 2019



Question

How to assess typical economic impacts in an assessment?

Answer

Rationale

External and total costs

This code tells how to calculate prices of emissions, external costs of health and CO2 emissions, net costs of operating power plants (two different versions), and finally total cost.

+ Show code

Net present value

Net present value is the total value of a product, when all its costs and benefits are discounted and then summed to the present time (as if all costs and benefits would occur today). The effective annual cost is similar, but it is scaled differently: it is as if all costs and benefits would occur every year at constant rate.

Effective annual cost

+ Show code

Dependencies

See also

Helsinki energy decision 2015
In English
Assessment Main page | Helsinki energy decision options 2015
Helsinki data Building stock in Helsinki | Helsinki energy production | Helsinki energy consumption | Energy use of buildings | Emission factors for burning processes | Prices of fuels in heat production | External cost
Models Building model | Energy balance | Health impact assessment | Economic impacts
Related assessments Climate change policies in Helsinki | Climate change policies and health in Kuopio | Climate change policies in Basel
In Finnish
Yhteenveto Helsingin energiapäätös 2015 | Helsingin energiapäätöksen vaihtoehdot 2015 | Helsingin energiapäätökseen liittyviä arvoja | Helsingin energiapäätös 2015.pptx

References

IA Tools