Represent the savings due to an upgrade.
Name | Type | Description | Notes |
---|---|---|---|
fuel_results | Dict[str, FuelSavings] | A list of results, one for each fuel type. | |
rates | Dict[str, List[FuelRate]] | A list of rates used to compute the cost of fuel consumed. | |
emissions_factors | Dict[str, Quantity] | A list of factors used to compute the the emissions from various fuels. |
from rewiringamerica_rem.models.savings import Savings
# TODO update the JSON string below
json = "{}"
# create an instance of Savings from a JSON string
savings_instance = Savings.from_json(json)
# print the JSON string representation of the object
print(Savings.to_json())
# convert the object into a dict
savings_dict = savings_instance.to_dict()
# create an instance of Savings from a dict
savings_from_dict = Savings.from_dict(savings_dict)