plafosim.emissions module

class plafosim.emissions.EmissionClass(value)[source]

Bases: Enum

Emission class for combustion engines using the HBEFA3 model.

Website: https://www.hbefa.net/

PC_G_EU4 = 0
property emission_factors: dict

Return the emission factors of the emission class.

Returns:

dict

Return type:

The emission factors of the emission class

property is_diesel: bool

Return whether the emission class is for a diesel engine.

Returns:

bool

Return type:

Whether the emission class is for a diesel engine

class plafosim.emissions.Enum(value)[source]

Bases: object

Generic enumeration.

Derive from this class to define new enumerations.

_member_type_

alias of object

_generate_next_value_(start, count, last_values)[source]

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None

classmethod _missing_(value)[source]
_member_map_ = {}
_member_names_ = []
_value2member_map_ = {}
name

The name of the Enum member.

value

The value of the Enum member.