honeybee_ph_standards.sourcefactors.factors module¶
Energy conversion factor (CO2, Source) functions
- exception honeybee_ph_standards.sourcefactors.factors.FuelNotAllowedError(_fuel_type_input)[source]¶
Bases:
Exception- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- args¶
- class honeybee_ph_standards.sourcefactors.factors.Factor(fuel_name: str = '', value: float = 0.0, unit: str = '')[source]¶
Bases:
_BaseDataclass for site->other conversion factor
- set_base_attrs_from_source(_source)¶
- property display_name¶
Get or set a string for the object name without any character restrictions.
If not set, this will be equal to the identifier.
- property identifier¶
- property identifier_short¶
- class honeybee_ph_standards.sourcefactors.factors.FactorCollection(_name: str = '', _factors: List[Factor] | None = None)[source]¶
Bases:
_BaseCollection of conversion factors.
- add_factor(_new_factor: Factor) None[source]¶
Add a new factor to the collection. If the factor already exists, update it.
- duplicate() FactorCollection[source]¶
- classmethod from_dict(_input_dict: dict) FactorCollection[source]¶
- set_base_attrs_from_source(_source)¶
- property display_name¶
Get or set a string for the object name without any character restrictions.
If not set, this will be equal to the identifier.
- property identifier¶
- property identifier_short¶