Modules

bed.model

@Date: @authors: @Project: bed v0.0

License: BSD 2-Clause, see LICENSE and DISCLAIMER files Copyright (c) 2022, Battelle Memorial Institute

class bed.model.Bed(config_file='config')[source]

Bases: object

Model wrapper for bed

bed.read_data

class bed.read_data.Data(config='')[source]

Bases: object

Data class

bed.get_data

bed.get_data.get_data(folder='/home/runner/work/bed/bed/docs/downloaded_data', link='https://github.com/JGCRI/pytemplate/raw/dev/examples.zip')[source]

Download and unpack example data supplement from Zenodo current installed distribution. :param folder: Full path to the folder to save data to :type folder: str :param link: Full path to data download link :type link: str return save_path as a string

bed.demand

bed.demand.demand(calibration_coefficient=1, degree_hours=1, thermal_conductance=1, surface_to_floor_ratio=1, internal_gain=1, satiation=1, income_per_capita=1, service_price=1)[source]
Parameters
  • calibration_coefficient – Float for calibration coefficient (Unitless)

  • degree_hours – Array for degree hours (Hours)

  • thermal_conductance – Float for thermal conductance (GJ/m2 hour C)

  • surface_to_floor_ratio – Float for surface to floor ratio (Unitless)

  • internal_gain – Float for Internal Gain (GJ/m2)

  • satiation – Array for region and sector-specific demand satiation (unitless)

  • income_per_capita – Array for per-capita income (2010 USD)

  • service_price – Array for weighted average of technologies used (2010 USD)

Returns

Array for demand

bed.demand.temperature_to_degree_hours(temperature=1, weighted_population=1, temperature_unit='F', comfortable_temperature=65)[source]
Parameters
  • temperature – Array for temperature (F)

  • temperature_unit – String for temperature unit

  • comfortable_temperature – Array for comfortable temperature

  • weighted_population – Array for weighted population (unitless)

Returns

bed.write_outputs

bed.write_outputs.write_outputs(fake_param: int = 1)[source]

Fake function to remove.

Parameters

fake_param (int) – A fake integer

Returns

boolean value

bed.clean_up

bed.clean_up.clean_up(fake_param: int = 1)[source]

Fake function to remove.

Parameters

fake_param (int) – A fake integer

Returns

boolean value