Skip to content

Battery UI fixes#806

Merged
mjprilliman merged 10 commits into
developfrom
SAM_798_fixes
Nov 30, 2021
Merged

Battery UI fixes#806
mjprilliman merged 10 commits into
developfrom
SAM_798_fixes

Conversation

@mjprilliman

Copy link
Copy Markdown
Collaborator

Description

  • Disable minimum time at charge state for Standalone Battery (unclear why)
  • Generic Battery disabling for Automated dispatch custom weather file (similar to Standalone battery)
  • Generic Battery msgbox for PVSmoothing

Fixes #798

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

If you have added a new compute module in a SSC pull request related to this one, be sure to check the Process Requirements.

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Smoothing; disable minimum charge state input for standalone battery

@cpaulgilman cpaulgilman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I revised the UI message text and set them up to display on_change and on_load.

I'm getting callback errors "attempting to set 'batt_C_rate' (number) to " and sometimes a crash when I change battery type and choose replace defaults option for LFP/Graphite, LMO/LTO, Lead Acid...

This is handled in #805
value('LeadAcid_tn',cell_params.leadacid_tn);
}

if (cell_params.voltage_choice == 0) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This if statement needs to be reinstated. The JSON files do not contain both voltage table data and electrochemical data.

mjprilliman and others added 3 commits November 29, 2021 14:19
Fix line spacing in msgbox() text.

Remove disable batt_minimum_modetime for standalone battery per #798 (comment)

Use same check_auto_ppa() function for standalone and non-standalone FOM battery.

@cpaulgilman cpaulgilman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good after my latest commit to re-enable minimum time at charge state per @brtietz comment, fixes to use consistent specify ppa price/irr messages for standalone and non-standalone FOM batteries, and minor line spacing in message boxes.

@mjprilliman

Copy link
Copy Markdown
Collaborator Author

Test results were the same outside of ETES (is there variation in the optimizer?). Merging this PR.

@mjprilliman mjprilliman merged commit 93607ba into develop Nov 30, 2021
@mjprilliman mjprilliman deleted the SAM_798_fixes branch November 30, 2021 16:23
@cpaulgilman cpaulgilman added the added to release notes PR and/or issue has been added to release notes for a public release label Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

added to release notes PR and/or issue has been added to release notes for a public release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conditional battery inputs in UI for BTM, FOM, standalone, PV, Generic configurations

4 participants