Skip to content

Commit

Permalink
Update diesel coefficient to 0.75
Browse files Browse the repository at this point in the history
  • Loading branch information
gilyes committed Apr 26, 2022
1 parent 6d3d36a commit a36a23b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/app/containers/HomePage/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const createElectricVehicleCarbonEquivalentEmittedSelector = () => createSelecto
0 * nuclear +
0 * solar +
1.5 * biomass +
0.25 * diesel +
0.75 * diesel +
(0.465 + 0.909) / 2 * dualFuel + // dual fuel: gas and coal
0 * energyStorage +
(0.465/2) * imports +
Expand Down
4 changes: 2 additions & 2 deletions env-impact-comparison.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin Name: env-impact-comparison
* Plugin URI: https://github.com/gilyes/env-impact-comparison
* Description: Vehicle environmental impact comparison view.
* Version: 1.6
* Version: 1.7
* Author: George Ilyes
* Author URI: https://gilyes.com
* License: GPL-2.0+
Expand All @@ -19,7 +19,7 @@
die;
}

define('PLUGIN_NAME_VERSION', '1.6');
define('PLUGIN_NAME_VERSION', '1.7');

function activate_env_impact_comparison()
{
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Displays and compares the environmental impact of various electric and gas vehic

== Changelog ==

= 1.7 =
* Updated diesel coefficient to 0.75.

= 1.6 =
* Fixed dual fuel calculations for Alberta.

Expand Down

0 comments on commit a36a23b

Please sign in to comment.