You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the TDR module, HSC inputs are not being read from the designated TDR folder - they are being read from the level above, like when TDR is not active. The issue occurs because of the same error in load_h2_demand.jl, load_h2_g2p_cariability.jl, and load_h2_generators_variability.jl (lines 29, 27, and 27, respectively).
The current code has an if statement that says that if TDR = 1 and ALL of a list of files are in the designated TDR file, then read the relevant file (i.e., HSC_load_data.csv, etc.). However, it is not necessarily the case that all files will be present. For example, the "HSC_g2p_variability.csv" is absent in our case. This causes an error.
Expected Behavior
The code should only check if the respective file is in the designated TDR folder. For example, in Load_HSC_demand.jl, it should only check if the HSC_Load_data.csv file is present if the TDR flag = 1. Same for the other files.
Steps To Reproduce
No response
Environment
- OS: SuperCloud
- Julia version:9.12
- Solver:Gurobi- Solver version:10.0
Is there an existing issue for this?
Current Behavior
When using the TDR module, HSC inputs are not being read from the designated TDR folder - they are being read from the level above, like when TDR is not active. The issue occurs because of the same error in load_h2_demand.jl, load_h2_g2p_cariability.jl, and load_h2_generators_variability.jl (lines 29, 27, and 27, respectively).
The current code has an if statement that says that if TDR = 1 and ALL of a list of files are in the designated TDR file, then read the relevant file (i.e., HSC_load_data.csv, etc.). However, it is not necessarily the case that all files will be present. For example, the "HSC_g2p_variability.csv" is absent in our case. This causes an error.
Expected Behavior
The code should only check if the respective file is in the designated TDR folder. For example, in Load_HSC_demand.jl, it should only check if the HSC_Load_data.csv file is present if the TDR flag = 1. Same for the other files.
![Screenshot 2024-02-06 at 6 39 27 PM](https://private-user-images.githubusercontent.com/135251021/302807482-2fc386a4-c524-4ce4-9fcb-17c2c5b2dbd1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MTgzMzQsIm5iZiI6MTcyNDcxODAzNCwicGF0aCI6Ii8xMzUyNTEwMjEvMzAyODA3NDgyLTJmYzM4NmE0LWM1MjQtNGNlNC05ZmNiLTE3YzJjNWIyZGJkMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QwMDIwMzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MzZiMDkzNDQ4YTZmMjc4ZjI3ZjU5ZDg0YzhiZjcxZjE4NDY5OGExZGViMTE4ZmU5MTkxMjJlZmJlY2FhMmQ5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.9FoURBWPNj_ZzgsnvH9pzka2Oim0qAZNX8AvrwDwwpw)
Steps To Reproduce
No response
Environment
Manifest.toml file
Manifest.txt
Anything else?
No response
The text was updated successfully, but these errors were encountered: