Skip to content

Restore PV priority option for battery dispatch #658

@cpaulgilman

Description

@cpaulgilman

SAM 2017.9.5 has an option batt_pv_choice to set the priority for PV power for manual dispatch that is not available in later versions of SAM:

image

To address user requests like https://sam.nrel.gov/forum/forum-general/3492 and to match REopt output for PV-only charging, we should consider restoring this feature. (Discharge to grid for BTM #338 is higher priority.)

The source code for 2017.1.17 (pre-GitHub) includes the following:

image

Tracing through the myriad of name changes through the arguments to each of the dispatch algorithms, shows:
batt_pv_choice (int) -> (bool) pv_dispatch as argument to manual_dispatch_t then to int in dispatch_t based class assigned to private class member (int) _pv_dispatch_to_battery_first with usage:

image

and usage:

image

Metadata

Metadata

Assignees

Labels

No labels
No 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