Skip to content

REopt "Get size and dispatch" does not set battery dispatch option correctly #974

@cpaulgilman

Description

@cpaulgilman

Describe the bug

Running REopt from the Battery Cell and System page results in values of time series input battery power targets variable being set correctly, but the optimization option on the Battery Dispatch page does not get set to Input battery power targets.

To Reproduce

Steps to reproduce the behavior:

  1. Create a default PV Battery / Commercial case.
  2. On the Battery Cell and System page, click Get size and dispatch.
  3. When optimization finishes, click Yes to change inputs, and go to Battery Dispach page. Note dispatch option is set to the default peak shaving option instead of input battery targets.

Expected behavior

Callback script should set the dispatch option to the correct value, and provide better information in the message box about what dispatch inputs are changed by the optimization.

Also note incorrect "ReOpt" in some UI elements. Should be "REopt" per https://developer.nrel.gov/docs/energy-optimization/reopt/

Need to check behavior for different BTM configurations with PV Battery and PVWatts Battery.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions