Skip to content
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

Fixes #1577 #1610

Merged
merged 5 commits into from
Dec 1, 2023
Merged

Fixes #1577 #1610

merged 5 commits into from
Dec 1, 2023

Conversation

sjanzou
Copy link
Collaborator

@sjanzou sjanzou commented Nov 29, 2023

Some comparison limitations
image

Using test file with hybrid and non-hybrid cases and note that non-hybrid cases have variables prepended with technology name (e.g. pvwatts_tilt)
SAM_1577.zip

Technology comparison working but financial comparison not working between hybrids and non-hybrids
@sjanzou sjanzou self-assigned this Nov 29, 2023
@sjanzou sjanzou linked an issue Nov 29, 2023 that may be closed by this pull request
Copy link
Collaborator

@mjprilliman mjprilliman left a comment

Choose a reason for hiding this comment

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

Still having a few issues with spaces in the prepend names.

@@ -151,8 +151,8 @@ void VariableGridData::Init()
ConfigInfo* ci = m_cases[iCase]->GetConfiguration();
for (size_t iVarTable = 0; iVarTable < m_var_info_lookup_vec[iCase].size(); iVarTable++) {
// iterate over case vartables
wxString prepend = "";
if (ci->Technology.size() > 1) prepend = ci->Technology[iVarTable].Lower() + "_";
wxString prepend = ci->Technology[iVarTable].Lower() + "_";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Think there's still an issue with some of the prepends having spaces in them, which is causing crashes when opening another case with Inputs Browser open:

image

image

Copy link
Collaborator

Choose a reason for hiding this comment

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

Issue seems consistent when you open another case with inputs browser open for these prepends with spaces. Might need to do a find and replace for " " or use different naming scheme.

@cpaulgilman cpaulgilman added this to the SAM Fall 2023 Release milestone Nov 29, 2023
@sjanzou sjanzou merged commit 1e45f17 into develop Dec 1, 2023
4 checks passed
@sjanzou sjanzou deleted the SAM_1577 branch December 1, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intermittent crashes with Inputs Browser
3 participants