Estimate Annual Energy Use in the Ag Production Sector
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Ag Energy Report

An open source, Ruby on Rails web application that estimates energy use in the agricultural sector.

Visit the Ag Energy Report for Iowa at: https://agreport.energydistrict.org

The model takes into account crop acreage and livestock estimates at the county level, pulls in data on the amount of fuel, electricity, and fertilizer used in crop and livestock production, and outputs agricultural energy use in terms of dollars, MMBtus, and emissions. Data sources include the USDA - National Agricultural Statistics Service Census of Agriculture & Annual Surveys, Iowa State University, the U.S. Energy Information Administration, U.S. Environmental Protection Agency, USDA Market News, and others.

Built using Ruby on Rails, PostgreSQL, Bootstrap 4, Highcharts, and AmCharts.

Installation

Steps to get the development application up and running at http://localhost:3000

  • Install Ruby 2.5.3 or greater
  • Install Ruby on Rails 5.2 or greater
  • Install PostgreSQL 10 or greater (e.g., Postgres.app on the Mac)
git clone https://github.com/webdevbc/agenergyreport.git
cd agenergyreport
bundle install
rake db:setup
rails server

About the Project

A project of the Winneshiek Energy District with funding provided through a NRCS Conservation Innovation Grant