Describe the bug
Prior to https://github.com/NREL/ssc/pull/792/files#, users could simulate a battery that charged from clipped energy and then discharged it later. That pull request broke this behavior by inserting a few instances of > or <. Change these to >= or <=, assess the impact on merchant plant prices, and restore the clipped power behavior if so. If the impact is significant, discuss alternative dispatch code for this case.
To Reproduce
Steps to reproduce the behavior:
- Run the attached SAM file in 2021.12.02r1
- See that the battery discharges
- Run the file in 2021.12.02r2
- See that the battery only charges
clipped_energy_flat_price.zip
Expected behavior
Charging from clipped energy is a valid use case that we should continue to support in automated dispatch.
Describe the bug
Prior to https://github.com/NREL/ssc/pull/792/files#, users could simulate a battery that charged from clipped energy and then discharged it later. That pull request broke this behavior by inserting a few instances of > or <. Change these to >= or <=, assess the impact on merchant plant prices, and restore the clipped power behavior if so. If the impact is significant, discuss alternative dispatch code for this case.
To Reproduce
Steps to reproduce the behavior:
clipped_energy_flat_price.zip
Expected behavior
Charging from clipped energy is a valid use case that we should continue to support in automated dispatch.