Biomass Cordwood Component

class aaem.components.biomass_wood.component.BiomassCordwood(community_data, forecast, diag=None, prerequisites={})[source]

Bases: aaem.components.biomass_base.component.BiomassBase

Biomass Cordwood component of the Alaska Affordable Energy Model: This module estimates the potential reduction in heating fuel use from installation cordwood boilers in non-residential buildings. Reduction in fuel used is based on estimated output of hypothetical boilers. Savings result from difference in fuel prices between diesel and cordwood. The costs of the biomass projects are estimated from number of installed boilers and their size. Fuel use from improvements to heat recovery systems is based on existing projects. Reduction of heating fuel used results from improved recovery of heat during electrical generation.

Parameters:

community_data : CommunityData

CommunityData Object for a community

forecast : Forecast

forecast for a community

diagnostics : diagnostics, optional

diagnostics for tracking error/warning messages

prerequisites : dictionary of components, optional

‘Non-residential Energy Efficiency’ component is a required prerequisite for this component

See also

aaem.community_data
community data module, see information on CommunityData Object
aaem.forecast
forecast module, see information on Forecast Object
aaem.diagnostics
diagnostics module, see information on diagnostics Object
aaem.components.non_residential
‘Non-residential Energy Efficiency’ component is a required prerequisite for this component

Attributes

diagnostics (diagnostics) for tracking error/warning messages initial value: diag or new diagnostics object
forecast (forecast) community forecast for estimating future values initial value: forecast
cd (dictionary) general data for a community. Initial value: ‘community’ section of community_data
comp_specs (dictionary) component specific data for a community. Initial value: ‘Biomass Cordwood’ section of community_data

Methods

calc_capital_costs()[source]

Calculate the capital costs

Attributes

capital_costs (float) calculated capital costs for heat recovery ($)
calc_maintenance_cost()[source]

Calculate the operation and maintenance const

Attributes

maintenance_costs (float) calculated capital costs for heat recovery ($)
calc_number_boilers()[source]

calculate the number of boilers

Attributes

number_boilers (int) Number of boilers to install
run(scalers={'capital costs': 1.0})[source]

Runs the component. The Annual Total Savings,Annual Costs, Annual Net Benefit, NPV Benefits, NPV Costs, NPV Net Benefits, Benefit Cost Ratio, Levelized Cost of Energy, and Internal Rate of Return will all be calculated.

Parameters:

scalers: dictionary of valid scalers, optional

Scalers to adjust normal run variables. See note on accepted scalers

Notes

Accepted scalers: capital costs.

Attributes

run (bool) True in the component runs to completion, False otherwise
reason (string) lists reason for failure if run == False

Biomass Pellet configuration

Contains biomass wood configuration info for community data yaml file, and other set-up requirements

Biomass cordwood outputs

output functions for Biomass Cordwood component

aaem.components.biomass_wood.outputs.communities_summary(coms, res_dir)[source]

Saves the summary by: community biomass_cordwood_summary.csv

Parameters:

coms : dictionary

results from the model, dictionary with each community or project as key

res_dir : path

location to save file

aaem.components.biomass_wood.outputs.component_summary(results, res_dir)[source]

Creates the regional and communities summary for the component in provided directory

Parameters:

results : dictionary

results from the model, dictionary with each community or project as key

res_dir : path

location to save file

aaem.components.biomass_wood.outputs.create_regional_summary(results)[source]

Creates the regional summary

Parameters:

results : dictionary

results from the model, dictionary with each community or project as key

Returns:

pandas DataFrame containing regional results

aaem.components.biomass_wood.outputs.save_regional_summary(summary, res_dir)[source]

Saves the summary by region: __regional_residential_ashp_summary.csv

Parameters:

summary : DataFrame

compiled regional results

res_dir : path

location to save file

Biomass Cordwood preprocessing

preprocessing functions for Biomass Cordwood component

Note

Uses Biomass Base preprocessor functions

aaem.components.biomass_wood.preprocessing.preprocess(preprocessor, **kwargs)[source]

preprocess data related to existing projects

Parameters:

preprocessor: preprocessor.Preprocessor

a preprocessor object

Returns:

list

project names