R/model_mahlkow_wanner_2021.R
carbon_policy_outputs_mw_2021.RdComputes the outputs of [process_results()] that are specific to [mahlkow_wanner_2021()]: tax revenue, the parts of tariff revenue and export subsidy costs that are due to border carbon tariffs and export rebates, carbon emissions and price levels.
Emissions are `sum_s carbon_intensity[s] * X[n, s] / (tax[n, s] * price[n, s])`, the carbon of all goods used in country `n`: expenditure net of the tax, divided by the price level, is the quantity used. In a club member without other taxes, the tax revenue is the carbon tax times the emissions.
carbon_policy_outputs_mw_2021(
initial_conditions,
model_scenario,
output,
tariff_new0,
export_subsidy_new0,
supplier_expenditure_new,
model_dimensions
)List of initial conditions as arrays.
List of scenario variables as arrays, with the solved `tariff_new`, `export_subsidy_new` and `tax_new`.
List of outputs as arrays.
Array of exogenous new tariffs, dimensions: origin x destination x sector.
Array of exogenous new export subsidies, dimensions: origin x destination x sector.
Matrix of new expenditure net of the tax, dimensions: country x sector.
List of model dimensions.
List `output` with the added variables.