Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Add data-driven wholesale market object creation tool #1109

Merged
merged 20 commits into from
Mar 16, 2022

Conversation

saraborc
Copy link
Contributor

@saraborc saraborc commented Mar 3, 2022

This PR adds a model for simulating market dynamics.

Current issues

None

Code changes

  • Add python_extras/market_model.py

Documentation changes

Test and Validation Notes

  • Add python_extras/example/market_model.glm

@saraborc saraborc requested a review from dchassin March 3, 2022 20:34
@saraborc saraborc self-assigned this Mar 3, 2022
@dchassin dchassin changed the title add market model file Add data-driven wholesale market object creation tool Mar 5, 2022
@dchassin dchassin marked this pull request as draft March 5, 2022 19:52
@dchassin
Copy link
Member

dchassin commented Mar 5, 2022

@saraborc, looks good so far. I merge market_data tool and added CAISO data to example. However, running the example generates an error:

% gridlabd market_model.glm
ERROR [market_model]: all the input array dimensions for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 12 and the array at index 5 has size 0
#error market_model all the input array dimensions for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 12 and the array at index 5 has size 0
ERROR    [INIT] : GldMain::subcommand(format='%s/gridlabd-%s',...): command '/usr/local/opt/gridlabd/4.2.30-220303-develop_add_market_model/bin/gridlabd-python -m market_model -f=caiso_20220222-20220223.csv -i=LMP -o=MW -k=24 -l=3
' returns code 3

@dchassin dchassin mentioned this pull request Mar 6, 2022
27 tasks
@dchassin dchassin added the enhancement Request an enhancement or new feature label Mar 7, 2022
@dchassin dchassin added this to the HiPAS 4.2 Final Release milestone Mar 7, 2022
@saraborc
Copy link
Contributor Author

@dchassin I think it's fixed now! Works on my comp, but let me know if you still have any issues

@dchassin dchassin marked this pull request as ready for review March 16, 2022 18:02
@dchassin dchassin merged commit db6717d into develop Mar 16, 2022
@dchassin dchassin deleted the develop-add-market-model branch March 16, 2022 18:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Request an enhancement or new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants