Let SAM pick the battery size (and solar PV size) based on probability of surviving an outage and then filter the results (in a parametric study) By NPV or savings or simple payback.
Awaiting response from REopt team on availability of resilience as objective from REopt Lite API.
Some additional issues that I'm going to clean up as a part of the pull request for this issue:
The "Get size and dispatch" button always applies the custom dispatch value even if the user selects "no" on the sizing, ask the user about this too.
REopt (now?) has inputs to allow for only charging from PV, so we can avoid forcing charge to grid in the API call.
The solution to https://github.com/NREL/ssc/issues/923 used "gen" as the variable for the production factor series, but this includes the battery dispatch throwing off the times that the battery should be charging. Swap this over to PV production without battery.
carrying over request in #310 from @brianschmidly
Let SAM pick the battery size (and solar PV size) based on probability of surviving an outage and then filter the results (in a parametric study) By NPV or savings or simple payback.
Awaiting response from REopt team on availability of resilience as objective from REopt Lite API.