Standalone battery models in SAM#766
Conversation
Committing so that these changes are accessible
standalone battery; updated callbacks and defaults
definitions for calculated batt_bank_size
other battery configs
fixes to cost forms
Standalone battery - Single Owner
|
Great work! Some notes/changes: In our meeting on Friday, we had discussed setting up a dialogue box if the user attempts to set up a custom weather file. I get this error currently:
Two bugs on the summary/metrics page for standalone-commercial: discounted_payback rather than "discounted payback period" and the second box is empty: Also bugs in the metrics for FOM: Do we want to be able to simulate grid outages with a stand-alone battery? The outages would have to be shorter than a pv-battery or generic-battery system, but it still could be a useful feature, especially when comparing to the other two systems. (apologies if we already made this decision and I forgot about it) I think defaults for this can be done in a subsequent PR (with the rest of the defaults for this release). One note though: for commercial peak shaving, a 100 kW, 400 kWh system gives a positive NPV. |
@cpaulgilman @brtietz The missing outputs variables issue seems to happen when NaN is returned from the compute module. For example in FOM cases an IRR Do we have a current fix for this or do we just need to work on defaults that return a IRR or payback period that works? |
The behavior in SAM 2020.11.29 r2 is to show the variable label in the Metrics table even when the value is NaN, which is what we want: |
connected battery issues for standalone battery
|
@cpaulgilman @brtietz I will have to dig into that issue in a little bit. The outputs are filling correctly in the Data Tables (with NaN) but not in metrics.lk |
|
This issue is not exclusive to Standalone Battery. I believe the label is not showing when the metric() function is used in metrics.lk as opposed to metric_table() and metric_row(). These values are used in Host Developer configs which properly shows NaN values: @cpaulgilman @sjanzou any ideas? |
standalone battery, added stadnalone battery metrics, updated defaults








-Battery model without power generation component
-Specific cost inputs UI forms, dispatch option rules
-Need to set defaults for standalone battery cases (BTM and FOM)