aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/articles/ev-crash-course.md7
-rw-r--r--data/tables/ev_crash_course/l1_cost_charging.yaml29
2 files changed, 31 insertions, 5 deletions
diff --git a/content/articles/ev-crash-course.md b/content/articles/ev-crash-course.md
index 041c06c..65da15c 100644
--- a/content/articles/ev-crash-course.md
+++ b/content/articles/ev-crash-course.md
@@ -61,11 +61,8 @@ Home Level 1 charging is billed at the residential energy rate. In
Virginia at $0.13/kWh and 85% efficiency, I pay:
**Cost of Charging, Home Level 1 Charger**
-|Description|Energy|Cost|
-|-----------|-----:|---:|
-|50 miles of range|14 kWh|$2.22|
-|90% Charge (270 miles)|67.5 kWh|$10.32|
-|100% Charge (310 miles)|75 kWh|$11.48|
+
+{{< table "ev_crash_course" "l1_cost_charging" >}}
Here is a cost per mile comparison of [my car][epa-model3] using home Level 1
charging versus [Nadine's car][epa-ioniq], assuming $0.13/kWh for
diff --git a/data/tables/ev_crash_course/l1_cost_charging.yaml b/data/tables/ev_crash_course/l1_cost_charging.yaml
new file mode 100644
index 0000000..a35e746
--- /dev/null
+++ b/data/tables/ev_crash_course/l1_cost_charging.yaml
@@ -0,0 +1,29 @@
+---
+# table name (required)
+name: "Cost of Charging, Home Level 1 Charger"
+
+# table columns (required)
+cols:
+ - id: "description"
+ name: "Description"
+ tip: "Amount of charge."
+ - id: "energy"
+ name: "Energy (kWh)"
+ tip: "Amount of energy gained, in kilowatt-hours (kWh)."
+ align: "right"
+ - id: "cost"
+ name: "Cost"
+ tip: "Total cost of charge."
+ align: "right"
+
+# table rows (required)
+rows:
+- description: "50 miles of range"
+ energy: "14 kWh"
+ cost: "$2.22"
+- description: "90% SoC (270 miles)"
+ energy: "65.7 kWh"
+ cost: "$10.32"
+- description: "100% SoC (310 miles)"
+ energy: "75 kWh"
+ cost: "$11.48"