Skip to main content
Ctrl+K
Logo image

Site Navigation

  • The OnStove Tool
  • Quickstart
  • Resources and license
  • The OnStove package

Site Navigation

  • The OnStove Tool
  • Quickstart
  • Resources and license
  • The OnStove package

Table of Contents

Contents:

  • The OnStove Tool
  • Quickstart
  • Resources and license
  • The OnStove package
    • The model objects
      • onstove.DataProcessor
      • onstove.MCA
      • onstove.OnStove
    • The OnStove technology classes
    • GIS layer objects
    • Additional plotting utilities
    • Additional GIS processing tools
    • Changelog
  • The OnStove package
  • onstove.OnStove
  • onstove.OnStove.number_of_households

onstove.OnStove.number_of_households#

OnStove.number_of_households()#

Calculates the number of households withing each cell based on their urban/rural classification and a defined household size.

It uses the IsUrban and Calibrated_pop columns of the main GeoDataFrame (gdf) and the Rural_HHsize and Urban_HHsize values from the specs dictionary.

See also

calibrate_urban_rural_split
calibrate_urban_manual
calibrate_current_pop
read_scenario_data

previous

onstove.OnStove.normalize_rasters

next

onstove.OnStove.population_to_dataframe

On this page
  • OnStove.number_of_households()
Show Source

© Copyright 2022, Camilo Ramirez and Babak Khavari.

Created using Sphinx 7.0.0.

Built with the PyData Sphinx Theme 0.13.3.