@@ -24,12 +24,14 @@ results = asset.optimize(
2424asset.plot(results, path = " ./docs/docs/static/ev-validation-1.png" )
2525```
2626
27- Note third charger - this is the spill charger
27+ The third charger is the spill charger.
2828
2929![ ] ( ../static/ev-validation-1.png )
3030
3131## Expanding a Charge Event Window
3232
33+ Let's expand out the charge event window to the last three intervals for the last charge event:
34+
3335``` python
3436import energypylinear as epl
3537
@@ -56,6 +58,8 @@ Now we see that the charge has happened in interval 3, this is because electrici
5658
5759## Overlapping Charge Events
5860
61+ When charge events overlap at low prices, both (but only two) chargers are used:
62+
5963``` python
6064import energypylinear as epl
6165
@@ -68,7 +72,7 @@ asset = epl.EVs(
6872results = asset.optimize(
6973 electricity_prices = [- 100 , 50 , 300 , 10 , 40 ],
7074 charge_events = [
71- [1 , 0 , 0 , 0 , 0 ],
75+ [1 , 0 , 0 , 1 , 0 ],
7276 [0 , 1 , 1 , 1 , 1 ],
7377 [0 , 0 , 1 , 1 , 1 ],
7478 ]
@@ -78,12 +82,6 @@ asset.plot(results, path="./docs/docs/static/ev-validation-3.png")
7882
7983![ ] ( ../static/ev-validation-3.png )
8084
81- we have moved our 100 MWh charging into the third interval
82-
83- our first charge event is still at the negative price because splitting our 100 MWh load would be worse
84-
85- do the math here just as a fyi
86-
8785## Adding V2G
8886
8987``` python
0 commit comments