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

RangeIndex Error caused by marginal_cost.py #24

Open
Tondi001 opened this issue Jun 25, 2024 · 0 comments
Open

RangeIndex Error caused by marginal_cost.py #24

Tondi001 opened this issue Jun 25, 2024 · 0 comments

Comments

@Tondi001
Copy link

I believe the marginal_cost.py file should be updated to add ", index=marginal_cost_df.index" to the
"df1 = pd.DataFrame(columns=coal_gens.name.values) for all df1 thru df4. In otherwords it should look like:

"df1 = pd.DataFrame(columns=coal_gens.name.values, index=marginal_cost_df.index)"

Otherwise, I get a range index error. H/T to Yifan on Dr. Wei Sun's team.

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

No branches or pull requests

1 participant