-
Notifications
You must be signed in to change notification settings - Fork 179
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
Fixes #1577 #1610
Conversation
Technology comparison working but financial comparison not working between hybrids and non-hybrids
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.
Still having a few issues with spaces in the prepend names.
src/variablegrid.cpp
Outdated
@@ -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() + "_"; |
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.
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.
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.
Fix feedback in spaces in names in #1610
Some comparison limitations
![image](https://private-user-images.githubusercontent.com/6498311/286574639-a30bfa5c-f793-4882-bd89-54ab9cfcad12.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNjg3ODcsIm5iZiI6MTczOTM2ODQ4NywicGF0aCI6Ii82NDk4MzExLzI4NjU3NDYzOS1hMzBiZmE1Yy1mNzkzLTQ4ODItYmQ4OS01NGFiOWNmY2FkMTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMTM1NDQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODg2ZjNmZmQwNjlhY2NlNGUxNjdlNDhmYjY2NDc5NjdlOGI3MDJjMjFhNDRlOWVmYmRiNDA1YjY0NGI5ZGU1NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.f0pzUPHDF3XrXDKkiq3n3_xZQlE5hiS8vTig96w9-xk)
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