message_ix_models.tools.add_alternative_TCE_accounting.Data
- class message_ix_models.tools.add_alternative_TCE_accounting.Data(scenario: Scenario, method: ~message_ix_models.tools.add_alternative_TCE_accounting.METHOD, type_emission: list[str], use_gains: bool, emi_fac: DataFrame = <factory>, lu_co2: DataFrame = <factory>)[source]
Bases:
object
Data and options for
main()
.- Raises:
ValueError – if type_emission includes any not in
TYPE_EMISSION
.NotImplementedError – if
use_gains=True
and method isMETHOD.A
.
- __init__(scenario: Scenario, method: ~message_ix_models.tools.add_alternative_TCE_accounting.METHOD, type_emission: list[str], use_gains: bool, emi_fac: DataFrame = <factory>, lu_co2: DataFrame = <factory>) None
Methods
__init__
(scenario, method, type_emission, ...)Attributes
Emission ID for retrieving land_emission values.
Mask of rows in
emi_fac
where "CO2" is in the technology ID.scenario
method
type_emission
use_gains
emi_fac
lu_co2
- property t_CO2: Series
Mask of rows in
emi_fac
where “CO2” is in the technology ID.