Addition of cost analysis capability to SCOPE measures#91
Draft
Addition of cost analysis capability to SCOPE measures#91
Conversation
…d change R-value if entire door is replaced, according to door material type; passed test by checking idf and osw files
…roperties, instead of adusting thickness to achieve specified door R-value
…nd added more comments for context
…ckies/openstudio-ee-gem into replace-windows-EC
…ckies/openstudio-ee-gem into replace-windows-EC
…and fix RSMeans summary runtime error - add MIN_ACCEPTABLE_MATCH_SCORE constant for candidate quality guard - trigger fallback ID path when best raw score is below threshold (score < 0) - improve fallback reason tagging for below-threshold vs out-of-bounds scores - fix invalid Python identifiers in RSMeans per-area/per-unit summary calculations - verify apply_measure execution succeeds and RSMeans tests pass
…wall insulation measure - Add MIN_ACCEPTABLE_MATCH_SCORE = 0.0 constant to shared window_enhancement RSMeans helper - Update _select_best_rsmeans_candidate to use explicit threshold constant - Export MIN_ACCEPTABLE_MATCH_SCORE and INSULATION_FALLBACK_IDS from wall measure wrapper - Update wall measure documentation (README and Increase_Insulation_Walls.md): - Document fallback RSMeans ID logic with table of all 11 material types - Clarify volume-based ($/CF) cost calculation approach - Add Use Exact Costline ID argument documentation - Fix custom cost example from $/SF to $/CF - Add Cost Calculation Details section with volume formula - Add solution for Fallback ID warning in error handling - Wall insulation measure verified end-to-end (execute + cost lookup + embodied carbon)
…ckies/openstudio-ee-gem into replace-windows-EC
…ockies/openstudio-ee-gem into replace-windows-EC
…ckies/openstudio-ee-gem into replace-windows-EC
…s, cost basis fields, scoring threshold, comments, docs, setup automation
… score threshold, cost basis fields, comments, docs, and setup automation
…ckies/openstudio-ee-gem into replace-windows-EC
…ockies/openstudio-ee-gem into replace-windows-EC
…sure - Remove hardcoded API key from config.ini (replace with placeholder) - Add config.ini to .gitignore (already present) - Create config.ini.template with setup instructions - Add environment variable fallback (EC3_API_TOKEN env var) in apply_measure.py - Priority: env var > config.ini > error with guidance - Detects placeholder values and rejects them - Update measure.py API token argument with security warnings - Advise users to use env vars for CI/CD instead of raw tokens - Create SECURITY.md documenting API key management best practices - Local dev vs CI/CD workflows - GitHub Actions secret configuration - Credential rotation procedures - Code review checklist This ensures API keys are never accidentally committed and provides clear guidance for secure usage across local, CI/CD, and production environments.
- Update ENVIRONMENT_SETUP.md with latest setup instructions - Update RSMEANS_SEARCH_STRATEGY.md with current search approach - Update Window_Enhancement.md with measure details and features - Add setup_environment.ps1 PowerShell setup helper script - Update call_rsmeans_api.py with improved RSMeans helper logic - Set MIN_ACCEPTABLE_MATCH_SCORE threshold to 50.0 - Improve fallback comment clarity
…bRockies/openstudio-ee-gem into replace-windows-EC
…ulation_rsmeans_selection_mode, total installed cost; align with wall measure
…t still use unit not area, sealing cost is not using openstudio's model's width and length
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addition of RSMeans API lookup and cost analysis visualization capabilities to SCOPE measures.
To-Do:
Develop cost analysis visualizations from parametric run results
Merge 'replace-windows-EC-rsmeans' branch when ready after reviewing (RSMeans API cost lookup functionality added to window_enhancement measure #92))
Merge 'door-enhancement-rsmeans' branch when ready after reviewing (Adding RSMeans API lookup capability to door_enhancement measure #93)
Merge 'roof-insulation-rsmeans' branch when ready after reviewing (RSMeans API cost lookup capability added to IncreaseInsulationRValueForRoofs measure. #94)
Merge 'wall-insulation-rsmeans' branch when ready after reviewing (RSMeans API cost lookup capability added to IncreaseInsulationRValueForExteriorWalls measure. #95)
Organize files neatly so that only the necessary files are in the measure root.