""" ConstructionFactory (before PhysicsFactory) retrieve the specific construction module for the given region SPDX - License - Identifier: LGPL - 3.0 - or -later Copyright © 2020 Project Author Atiya """ class Fuel: def __init__(self, fuel_id, name, carbon_emission_factor, unit): self._fuel_id = fuel_id self._name = name self._carbon_emission_factor = carbon_emission_factor self._unit = unit @property def id(self): """ Get fuel id """ return self._fuel_id @property def name(self): """ Get fuel name """ return self._name @property def carbon_emission_factor(self): """ Get fuel carbon emission factor """ return self._carbon_emission_factor @property def unit(self): """ Get fuel units """ return self._unit