18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549 | class CarbonFootprint:
"""
A CarbonFootprint represents the carbon footprint of a product and related data in accordance with the Pathfinder Framework.
Attributes:
declared_unit (DeclaredUnit): The unit of analysis of the product.
unitary_product_amount (float): The amount of Declared Units contained within the product to which the PCF is referring to.
p_cf_excluding_biogenic (float): The product carbon footprint of the product excluding biogenic CO2 emissions.
fossil_ghg_emissions (float): The emissions from fossil sources as a result of fuel combustion, from fugitive emissions, and from process emissions.
fossil_carbon_content (float): The fossil carbon content of the product (mass of carbon).
biogenic_carbon_content (float): The biogenic carbon content of the product (mass of carbon).
characterization_factors (CharacterizationFactors): The IPCC version of the GWP characterization factors used in the calculation of the PCF.
ipcc_characterization_factors_sources (list[str]): The characterization factors from one or more IPCC Assessment Reports used in the calculation of the PCF.
cross_sectoral_standards_used (CrossSectoralStandardSet): The cross-sectoral standards applied for calculating or allocating GHG emissions.
boundary_processes_description (str): Description of boundary processes.
exempted_emissions_percent (float): The Percentage of emissions excluded from PCF, expressed as a decimal number between 0.0 and 5 including.
exempted_emissions_description (str): Rationale behind exclusion of specific PCF emissions, can be the empty string if no emissions were excluded.
reference_period (ReferencePeriod): The period over which the data was recorded for the Carbon Footprint.
packaging_emissions_included (bool): A boolean flag indicating whether packaging emissions are included in the PCF (pCfExcludingBiogenic, pCfIncludingBiogenic).
geographical_scope (CarbonFootprintGeographicalScope): The geographical scope of the carbon footprint.
p_cf_including_biogenic (float | None): Carbon footprint including all biogenic emissions, expressed per declared unit.
Can be negative, representing a net removal of CO2. Defaults to None.
primary_data_share (float): The share of primary data in percent. See the Pathfinder Framework Sections 4.2.1, 4.2.2, Appendix B.
dqi (DataQualityIndicators): The data quality indicators for the carbon footprint.
secondary_emission_factor_sources (EmissionFactorDSSet | None): The secondary emission factor sources used in the calculation of the PCF.
d_luc_ghg_emissions (float | None): Emissions resulting from recent (i.e., previous 20 years) carbon stock loss due to land conversion directly on the area of land under consideration, expressed as a decimal equal to or greater than zero, per declared unit with unit kg of CO2 equivalent per declared unit (kgCO2e / declaredUnit). Defaults to None.
land_management_ghg_emissions (float | None): If present, GHG emissions and removals associated with land-management-related changes, including non-CO2 sources. The value MUST be calculated per declared unit with unit kg of CO2 equivalent per declared unit (kgCO2e / declaredUnit), expressed as a decimal. Defaults to None.
other_biogenic_ghg_emissions (float | None): If present, all other biogenic GHG emissions associated with product manufacturing and transport that are not included in dLUC (dLucGhgEmissions), iLUC (iLucGhgEmissions), and land management (landManagementGhgEmissions). The value MUST be calculated per declared unit with unit kg of CO2 equivalent per declared unit (kgCO2e / declaredUnit), expressed as a decimal equal to or greater than zero.
biogenic_carbon_withdrawal (float | None): If present, the Biogenic Carbon contained in the product converted to kilogram of CO2e. The value MUST be calculated per declared unit with unit kgCO2e / declaredUnit expressed as a decimal equal to or less than zero.
iluc_ghg_emissions (float | None): If present, emissions resulting from recent (i.e., previous 20 years) carbon stock loss due to land conversion on land not owned or controlled by the company or in its supply chain, induced by change in demand for products produced or sourced by the company. The value MUST be calculated per declared unit with unit kg of CO2 equivalent per declared unit (kgCO2e / declaredUnit), expressed as a decimal equal to or greater than zero. See Pathfinder Framework (Appendix B) for details. Defaults to None.
aircraft_ghg_emissions (float | None): If present, the GHG emissions resulting from aircraft engine usage for the transport of the product, excluding radiative forcing. The value MUST be calculated per declared unit with unit kg of CO2 equivalent per declared unit (kgCO2e / declaredUnit), expressed as a decimal equal to or greater than zero.
packaging_ghg_emissions (float | None): Emissions resulting from the packaging of the product. If present, the value MUST be calculated per declared unit with unit kg of CO2 equivalent per kilogram (kgCO2e / declared unit), expressed as a decimal equal to or greater than zero. The value MUST NOT be defined if packagingEmissionsIncluded is false.
allocation_rules_description (str | None): If present, a description of any allocation rules applied and the rationale explaining how the selected approach aligns with Pathfinder Framework rules (see Section 3.3.1.4).
uncertainty_assessment_description (str | None): If present, the results, key drivers, and a short qualitative description of the uncertainty assessment.
assurance (Assurance | None): If present, the Assurance information in accordance with the Pathfinder Framework.
biogenic_accounting_methodology (BiogenicAccountingMethodology | None): The methodology used for biogenic carbon accounting.
product_or_sector_specific_rules (ProductOrSectorSpecificRuleSet | None): If present, refers to a set of product or sector specific rules published by a specific operator and applied during product carbon footprint calculation.
"""
def __init__(
self,
declared_unit,
unitary_product_amount,
p_cf_excluding_biogenic,
fossil_ghg_emissions,
fossil_carbon_content,
biogenic_carbon_content,
characterization_factors,
ipcc_characterization_factors_sources,
cross_sectoral_standards_used,
boundary_processes_description,
exempted_emissions_percent,
exempted_emissions_description,
reference_period,
packaging_emissions_included,
geographical_scope,
p_cf_including_biogenic=None,
primary_data_share=None,
dqi=None,
secondary_emission_factor_sources=None,
d_luc_ghg_emissions=None,
land_management_ghg_emissions=None,
other_biogenic_ghg_emissions=None,
biogenic_carbon_withdrawal=None,
iluc_ghg_emissions=None,
aircraft_ghg_emissions=None,
packaging_ghg_emissions=None,
allocation_rules_description=None,
uncertainty_assessment_description=None,
assurance=None,
biogenic_accounting_methodology=None,
product_or_sector_specific_rules=None
):
self.declared_unit = declared_unit
self.unitary_product_amount = unitary_product_amount
self.p_cf_excluding_biogenic = p_cf_excluding_biogenic
self.fossil_ghg_emissions = fossil_ghg_emissions
self.fossil_carbon_content = fossil_carbon_content
self.biogenic_carbon_content = biogenic_carbon_content
self.characterization_factors = characterization_factors
self.ipcc_characterization_factors_sources = ipcc_characterization_factors_sources
self.cross_sectoral_standards_used = cross_sectoral_standards_used
self.boundary_processes_description = boundary_processes_description
self.exempted_emissions_percent = exempted_emissions_percent
self.exempted_emissions_description = exempted_emissions_description
self.reference_period = reference_period
self.packaging_emissions_included = packaging_emissions_included
self.geographical_scope = geographical_scope
self.p_cf_including_biogenic = p_cf_including_biogenic
self.primary_data_share = primary_data_share
self.dqi = dqi
self.secondary_emission_factor_sources = secondary_emission_factor_sources
self.d_luc_ghg_emissions = d_luc_ghg_emissions
self.land_management_ghg_emissions = land_management_ghg_emissions
self.other_biogenic_ghg_emissions = other_biogenic_ghg_emissions
self.biogenic_carbon_withdrawal = biogenic_carbon_withdrawal
self.iluc_ghg_emissions = iluc_ghg_emissions
self.aircraft_ghg_emissions = aircraft_ghg_emissions
self.packaging_ghg_emissions = packaging_ghg_emissions
self.allocation_rules_description = allocation_rules_description
self.uncertainty_assessment_description = uncertainty_assessment_description
self.assurance = assurance
self.biogenic_accounting_methodology = biogenic_accounting_methodology
self.product_or_sector_specific_rules = product_or_sector_specific_rules
required_attributes_before_2025 = ["primary_data_share", "dqi"]
required_attributes_after_2025 = [
"primary_data_share",
"dqi",
"p_cf_including_biogenic",
"d_luc_ghg_emissions",
"land_management_ghg_emissions",
"other_biogenic_ghg_emissions",
"biogenic_carbon_withdrawal",
"biogenic_accounting_methodology",
]
if reference_period.includes_2025_or_later():
for attr in required_attributes_after_2025:
if not hasattr(self, attr) or getattr(self, attr) is None:
raise ValueError(
f"Attribute '{attr}' must be defined and not None for reporting periods including 2025 or later"
)
else:
if not any(
hasattr(self, attr) and getattr(self, attr) is not None
for attr in required_attributes_before_2025
):
raise ValueError(
"At least one of 'primary_data_share' or 'dqi' must be defined for reporting periods before 2025"
)
@property
def declared_unit(self):
return self._declared_unit
@declared_unit.setter
def declared_unit(self, value):
if not isinstance(value, DeclaredUnit):
raise ValueError(
f"declared_unit '{value}' is not valid. It must be one of the following: {', '.join([unit.value for unit in DeclaredUnit])}"
)
self._declared_unit = value
@property
def unitary_product_amount(self):
return self._unitary_product_amount
@unitary_product_amount.setter
def unitary_product_amount(self, value):
if value <= 0:
raise ValueError("unitary_product_amount must be strictly greater than 0")
self._unitary_product_amount = value
@property
def p_cf_excluding_biogenic(self):
return self._p_cf_excluding_biogenic
@p_cf_excluding_biogenic.setter
def p_cf_excluding_biogenic(self, value):
if value < 0:
raise ValueError("p_cf_excluding_biogenic must be equal to or greater than 0")
self._p_cf_excluding_biogenic = value
@property
def fossil_ghg_emissions(self):
return self._fossil_ghg_emissions
@fossil_ghg_emissions.setter
def fossil_ghg_emissions(self, value):
if value < 0:
raise ValueError("fossil_ghg_emissions must be equal to or greater than 0")
self._fossil_ghg_emissions = value
@property
def fossil_carbon_content(self):
return self._fossil_carbon_content
@fossil_carbon_content.setter
def fossil_carbon_content(self, value):
if value < 0:
raise ValueError("fossil_carbon_content must be equal to or greater than 0")
self._fossil_carbon_content = value
@property
def biogenic_carbon_content(self):
return self._biogenic_carbon_content
@biogenic_carbon_content.setter
def biogenic_carbon_content(self, value):
if value < 0:
raise ValueError("biogenic_carbon_content must be equal to or greater than 0")
self._biogenic_carbon_content = value
@property
def characterization_factors(self):
return self._characterization_factors
@characterization_factors.setter
def characterization_factors(self, value):
if not isinstance(value, CharacterizationFactors):
raise ValueError("characterization_factors must be an instance of CharacterizationFactors")
self._characterization_factors = value
@property
def ipcc_characterization_factors_sources(self):
return self._ipcc_characterization_factors_sources
@ipcc_characterization_factors_sources.setter
def ipcc_characterization_factors_sources(self, value):
if not value:
raise ValueError("ipcc_characterization_factors_sources must not be empty")
self._ipcc_characterization_factors_sources = value
@property
def cross_sectoral_standards_used(self) -> CrossSectoralStandardSet:
"""
The cross-sectoral standards applied for calculating or allocating GHG emissions.
"""
return self._cross_sectoral_standards_used
@cross_sectoral_standards_used.setter
def cross_sectoral_standards_used(self, value: CrossSectoralStandardSet) -> None:
"""
Setter for cross_sectoral_standards_used.
Args:
value (CrossSectoralStandardSet): The new value for cross_sectoral_standards_used.
"""
if not isinstance(value, CrossSectoralStandardSet):
raise ValueError("cross_sectoral_standards_used must be an instance of CrossSectoralStandardSet")
self._cross_sectoral_standards_used = value
@property
def boundary_processes_description(self):
return self._boundary_processes_description
@boundary_processes_description.setter
def boundary_processes_description(self, value):
if not value:
raise ValueError("boundary_processes_description must not be empty")
self._boundary_processes_description = value
@property
def secondary_emission_factor_sources(self):
return self._secondary_emission_factor_sources
@secondary_emission_factor_sources.setter
def secondary_emission_factor_sources(self, value):
if not isinstance(value, EmissionFactorDSSet):
raise ValueError("secondary_emission_factor_sources must be an instance of EmissionFactorDSSet")
self._secondary_emission_factor_sources = value
@property
def exempted_emissions_percent(self):
return self._exempted_emissions_percent
@exempted_emissions_percent.setter
def exempted_emissions_percent(self, value):
if not 0.0 <= value <= 5.0:
raise ValueError("exempted_emissions_percent must be between 0.0 and 5.0")
self._exempted_emissions_percent = value
@property
def exempted_emissions_description(self):
return self._exempted_emissions_description
@exempted_emissions_description.setter
def exempted_emissions_description(self, value):
if not isinstance(value, str):
raise ValueError("exempted_emissions_description must be a string")
self._exempted_emissions_description = value
@property
def reference_period(self):
return self._reference_period
@reference_period.setter
def reference_period(self, value):
if not isinstance(value, ReferencePeriod):
raise ValueError("reference_period must be an instance of ReferencePeriod")
self._reference_period = value
@property
def packaging_emissions_included(self):
return self._packaging_emissions_included
@packaging_emissions_included.setter
def packaging_emissions_included(self, value):
if not isinstance(value, bool):
raise ValueError("packaging_emissions_included must be a boolean")
self._packaging_emissions_included = value
@property
def geographical_scope(self):
return self._geographical_scope
@geographical_scope.setter
def geographical_scope(self, value):
if not isinstance(value, CarbonFootprintGeographicalScope):
raise ValueError("geographical_scope must be an instance of CarbonFootprintGeographicalScope")
self._geographical_scope = value
@property
def p_cf_including_biogenic(self):
return self._p_cf_including_biogenic
@p_cf_including_biogenic.setter
def p_cf_including_biogenic(self, value):
if value is not None and not isinstance(value, (int, float)):
raise ValueError("p_cf_including_biogenic must be a number")
self._p_cf_including_biogenic = value
@property
def primary_data_share(self):
return self._primary_data_share
@primary_data_share.setter
def primary_data_share(self, value):
if not isinstance(value, (int, float)) and value is not None:
raise ValueError("primary_data_share must be a number")
self._primary_data_share = value
@property
def dqi(self):
return self._dqi
@dqi.setter
def dqi(self, value):
if value is not None and not isinstance(value, DataQualityIndicators):
raise ValueError("dqi must be an instance of DataQualityIndicators")
self._dqi = value
@property
def d_luc_ghg_emissions(self):
return self._d_luc_ghg_emissions
@d_luc_ghg_emissions.setter
def d_luc_ghg_emissions(self, value):
if value is not None and (not isinstance(value, (int, float)) or value < 0):
raise ValueError("d_luc_ghg_emissions must be a non-negative number")
self._d_luc_ghg_emissions = value
@property
def land_management_ghg_emissions(self):
return self._land_management_ghg_emissions
@land_management_ghg_emissions.setter
def land_management_ghg_emissions(self, value):
if value is not None and not isinstance(value, (int, float)):
raise ValueError("land_management_ghg_emissions must be a number")
self._land_management_ghg_emissions = value
@property
def other_biogenic_ghg_emissions(self):
return self._other_biogenic_ghg_emissions
@other_biogenic_ghg_emissions.setter
def other_biogenic_ghg_emissions(self, value):
if value is not None and (not isinstance(value, (int, float)) or value < 0):
raise ValueError("other_biogenic_ghg_emissions must be a non-negative number")
self._other_biogenic_ghg_emissions = value
@property
def biogenic_carbon_withdrawal(self):
return self._biogenic_carbon_withdrawal
@biogenic_carbon_withdrawal.setter
def biogenic_carbon_withdrawal(self, value):
if value is not None and (not isinstance(value, (int, float)) or value > 0):
raise ValueError("biogenic_carbon_withdrawal must be a non-positive number")
self._biogenic_carbon_withdrawal = value
@property
def iluc_ghg_emissions(self):
return self._iluc_ghg_emissions
@iluc_ghg_emissions.setter
def iluc_ghg_emissions(self, value):
if value is not None and (not isinstance(value, (int, float)) or value < 0):
raise ValueError("iluc_ghg_emissions must be a non-negative number")
self._iluc_ghg_emissions = value
@property
def aircraft_ghg_emissions(self):
return self._aircraft_ghg_emissions
@aircraft_ghg_emissions.setter
def aircraft_ghg_emissions(self, value):
if value is not None and (not isinstance(value, (int, float)) or value < 0):
raise ValueError("aircraft_ghg_emissions must be a non-negative number")
self._aircraft_ghg_emissions = value
@property
def packaging_ghg_emissions(self):
return self._packaging_ghg_emissions
@packaging_ghg_emissions.setter
def packaging_ghg_emissions(self, value):
if self.packaging_emissions_included and (value is None or not isinstance(value, (int, float)) or value < 0):
raise ValueError("packaging_ghg_emissions must be a non-negative number if packaging_emissions_included is true")
elif value is not None and not self.packaging_emissions_included:
raise ValueError("packaging_ghg_emissions must not be defined if packaging_emissions_included is false")
self._packaging_ghg_emissions = value
@property
def allocation_rules_description(self):
return self._allocation_rules_description
@allocation_rules_description.setter
def allocation_rules_description(self, value):
if value is not None and not isinstance(value, str):
raise ValueError("allocation_rules_description must be a string")
self._allocation_rules_description = value
@property
def uncertainty_assessment_description(self):
return self._uncertainty_assessment_description
@uncertainty_assessment_description.setter
def uncertainty_assessment_description(self, value):
if value is not None and not isinstance(value, str):
raise ValueError("uncertainty_assessment_description must be a string")
self._uncertainty_assessment_description = value
@property
def assurance(self):
return self._assurance
@assurance.setter
def assurance(self, value):
if value is not None and not isinstance(value, Assurance):
raise ValueError("assurance must be an instance of Assurance")
self._assurance = value
@property
def biogenic_accounting_methodology(self):
return self._biogenic_accounting_methodology
@biogenic_accounting_methodology.setter
def biogenic_accounting_methodology(self, value):
if value is not None and not isinstance(value, BiogenicAccountingMethodology):
raise ValueError("biogenic_accounting_methodology must be an instance of BiogenicAccountingMethodology")
self._biogenic_accounting_methodology = value
@property
def product_or_sector_specific_rules(self):
return self._product_or_sector_specific_rules
@product_or_sector_specific_rules.setter
def product_or_sector_specific_rules(self, value):
if value is not None and not isinstance(value, ProductOrSectorSpecificRuleSet):
raise ValueError("product_or_sector_specific_rules must be an instance of ProductOrSectorSpecificRuleSet")
self._product_or_sector_specific_rules = value
def __str__(self):
return (
f"CarbonFootprint("
f"declared_unit={self.declared_unit}, "
f"unitary_product_amount={self.unitary_product_amount}, "
f"p_cf_excluding_biogenic={self.p_cf_excluding_biogenic}, "
f"p_cf_including_biogenic={self.p_cf_including_biogenic}, "
f"fossil_ghg_emissions={self.fossil_ghg_emissions}, "
f"fossil_carbon_content={self.fossil_carbon_content}, "
f"biogenic_carbon_content={self.biogenic_carbon_content}, "
f"characterization_factors={self.characterization_factors.value}, "
f"ipcc_characterization_factors_sources={self.ipcc_characterization_factors_sources}, "
f"cross_sectoral_standards_used={self.cross_sectoral_standards_used}, "
f"boundary_processes_description='{self.boundary_processes_description}', "
f"exempted_emissions_percent={self.exempted_emissions_percent}, "
f"exempted_emissions_description='{self.exempted_emissions_description}', "
f"reference_period={self.reference_period}, "
f"packaging_emissions_included={self.packaging_emissions_included}, "
f"geographical_scope={self.geographical_scope}, "
f"primary_data_share={self.primary_data_share}, "
f"dqi={self.dqi}, "
f"secondary_emission_factor_sources={self.secondary_emission_factor_sources}, "
f"d_luc_ghg_emissions={self.d_luc_ghg_emissions}, "
f"land_management_ghg_emissions={self.land_management_ghg_emissions}, "
f"other_biogenic_ghg_emissions={self.other_biogenic_ghg_emissions}, "
f"biogenic_carbon_withdrawal={self.biogenic_carbon_withdrawal}, "
f"iluc_ghg_emissions={self.iluc_ghg_emissions}, "
f"aircraft_ghg_emissions={self.aircraft_ghg_emissions}, "
f"packaging_ghg_emissions={self.packaging_ghg_emissions}, "
f"allocation_rules_description='{self.allocation_rules_description}', "
f"uncertainty_assessment_description='{self.uncertainty_assessment_description}', "
f"assurance={self.assurance}, "
f"biogenic_accounting_methodology={self.biogenic_accounting_methodology.value}, "
f"product_or_sector_specific_rules={self.product_or_sector_specific_rules})"
)
def __repr__(self):
return (
f"CarbonFootprint("
f"declared_unit={self.declared_unit!r}, "
f"unitary_product_amount={self.unitary_product_amount!r}, "
f"p_cf_excluding_biogenic={self.p_cf_excluding_biogenic!r}, "
f"p_cf_including_biogenic={self.p_cf_including_biogenic!r}, "
f"fossil_ghg_emissions={self.fossil_ghg_emissions!r}, "
f"fossil_carbon_content={self.fossil_carbon_content!r}, "
f"biogenic_carbon_content={self.biogenic_carbon_content!r}, "
f"characterization_factors={self.characterization_factors!r}, "
f"ipcc_characterization_factors_sources={self.ipcc_characterization_factors_sources!r}, "
f"cross_sectoral_standards_used={self.cross_sectoral_standards_used!r}, "
f"boundary_processes_description={self.boundary_processes_description!r}, "
f"exempted_emissions_percent={self.exempted_emissions_percent!r}, "
f"exempted_emissions_description={self.exempted_emissions_description!r}, "
f"reference_period={self.reference_period!r}, "
f"packaging_emissions_included={self.packaging_emissions_included!r}, "
f"geographical_scope={self.geographical_scope!r}, "
f"primary_data_share={self.primary_data_share!r}, "
f"dqi={self.dqi!r}, "
f"secondary_emission_factor_sources={self.secondary_emission_factor_sources!r}, "
f"d_luc_ghg_emissions={self.d_luc_ghg_emissions!r}, "
f"land_management_ghg_emissions={self.land_management_ghg_emissions!r}, "
f"other_biogenic_ghg_emissions={self.other_biogenic_ghg_emissions!r}, "
f"biogenic_carbon_withdrawal={self.biogenic_carbon_withdrawal!r}, "
f"iluc_ghg_emissions={self.iluc_ghg_emissions!r}, "
f"aircraft_ghg_emissions={self.aircraft_ghg_emissions!r}, "
f"packaging_ghg_emissions={self.packaging_ghg_emissions!r}, "
f"allocation_rules_description={self.allocation_rules_description!r}, "
f"uncertainty_assessment_description={self.uncertainty_assessment_description!r}, "
f"assurance={self.assurance!r}, "
f"biogenic_accounting_methodology={self.biogenic_accounting_methodology!r}, "
f"product_or_sector_specific_rules={self.product_or_sector_specific_rules!r})"
)
def __eq__(self, other):
return self.__dict__ == other.__dict__
def __ne__(self, other):
return not self.__eq__(other)
|