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

[BUG] Issue reading H2 inputs for TimeDomainReduction #222

Closed
1 task done
magiovanniello opened this issue Feb 6, 2024 · 0 comments · Fixed by #231
Closed
1 task done

[BUG] Issue reading H2 inputs for TimeDomainReduction #222

magiovanniello opened this issue Feb 6, 2024 · 0 comments · Fixed by #231
Labels
bug Something isn't working

Comments

@magiovanniello
Copy link
Collaborator

Is there an existing issue for this?

  • I have searched the existing issues

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.

Screenshot 2024-02-06 at 6 33 45 PM

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

Steps To Reproduce

No response

Environment

- OS: SuperCloud
- Julia version:9.12
- Solver:Gurobi
- Solver version:10.0

Manifest.toml file

Manifest.txt

Anything else?

No response

@magiovanniello magiovanniello added the bug Something isn't working label Feb 6, 2024
@magiovanniello magiovanniello changed the title [BUG] <title> [BUG] Issue reading H2 inputs for TimeDomainReduction Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant