Skip to content

Update model.v.5.0.txt#3

Closed
robertodawid wants to merge 1 commit intoOSeMOSYS:masterfrom
robertodawid:master
Closed

Update model.v.5.0.txt#3
robertodawid wants to merge 1 commit intoOSeMOSYS:masterfrom
robertodawid:master

Conversation

@robertodawid
Copy link

The original supersets: set MODExTECHNOLOGYperEMISSION{e in EMISSION} within MODE_OF_OPERATION cross TECHNOLOGY; and
set MODExTECHNOLOGYperEMISSIONChange{e in EMISSION} within MODE_OF_OPERATION cross TECHNOLOGY; generates empty supersets no value for MODExTECHNOLOGYperEMISSIONChange[CO2eq]

In the original formulation, the supersets function correctly only when both EmissionToActivityChangeRatio andEmissionActivityRatioare defined for the same emission (e.g., CO2eq). If EmissionToActivityChangeRatio is instead defined for a different emission (e.g., CO2_land) that does not appear in EmissionActivityRatio, an error will occur due to an empty superset—specifically: "empty supersets no value."

@willu47 willu47 requested a review from VedranKapor April 2, 2025 12:32
@VedranKapor
Copy link
Collaborator

model.v.5.0.txt is integral part of MUIO interface. Supersets are generated within UI as part of preprocessing data file, so model file should not be changed. After inspection, I confirm supersets are created correctly.

@willu47 willu47 closed this May 14, 2025
parthdagia05 pushed a commit to parthdagia05/MUIO that referenced this pull request Feb 25, 2026
…m fixes

- Config.py: anchor all paths to PROJECT_ROOT via __file__ (CWD-independent)
- app.py: use Config.WebAPP_PATH for template/static dirs, clean startup banner
- OsemosysClass.py: 3-tier solver resolution (env var → PATH → bundled fallback)
- SyncS3.py + UploadRoute.py: replace hardcoded backslash with os.sep
- SyncS3.py + UploadRoute.py: guard against None in S3 list_objects_v2
- CustomThreadClass.py: propagate exceptions from background threads
- Base.Class.js: use window.location.origin for API URL resolution
- Osemosys.Class.js: guard null casename in getData/getResultData
- index.html: comment out missing wijmo licence.js
- Config.py: fix EmissionActivityRatio typo ('e''t' → 'e','t')
- setup.sh: cross-platform setup script (venv, deps, GLPK/CBC via Homebrew)

Closes OSeMOSYS#3, OSeMOSYS#8, OSeMOSYS#12, OSeMOSYS#25, OSeMOSYS#34, OSeMOSYS#39, #43, #45
Supersedes PRs: OSeMOSYS#11, OSeMOSYS#13, OSeMOSYS#28, OSeMOSYS#31, OSeMOSYS#32, OSeMOSYS#35, OSeMOSYS#40, #44, #46
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.

3 participants