-
Notifications
You must be signed in to change notification settings - Fork 114
PV Smoothing #595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PV Smoothing #595
Conversation
…processing option
…kSize_SEH_Error.docx
…nd fix build errors
dispatch to run in BTM battery configs
Fix PV smoothing SOC between Python and SAM for upper bounds at 0 and 1 and no curtailment
brtietz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SSC code looks good overall, mostly some cleanliness requests regarding the transition from development and debugging to production. Nice work!
|
Travis seems to be having trouble with the tests, and I'm also having trouble locally: From PV_Phoeniz_all_on: I dug into this on Generic_w_PV_input_all_on and it looks like the error is in the LCOS calculations in common_financial: charged_pv only has length 1. batt_annual_charge_from_system appears to be empty. I'm not sure whether this means the test needs to change to ensure this value is reported or the code in the financial models needs to be more robust. This metric appears to work in the GUI. |
|
@mjprilliman, why is the generic system failing here? The tests run fine on my Windows box. Thanks! |
Must be something to do with analysis_period being set to 1. When that happens the array doesn't seem to have a year 0 like I was assuming so there's the size 1 array @brtietz. My code assumes we skip the first index in a lot of places because that is year 0. Is that the correct array sizing behavior @sjanzou? Sorry I was right the first time. The array goes to size 1 rather than size 2 (expected) and thus shows up in Single Values rather than Annual Values in the GUI |
|
Agreed that should be 2. Same issue in cmod_fuelcell that prevented single year analysis periods to be run. |





lib_dispatch_pv_smoothing_fom shared library and test
No weather file forecast until merged into develop