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

added energy market service functionality #83

Merged
merged 2 commits into from
Apr 23, 2019
Merged

Conversation

can7huang
Copy link
Collaborator

added energy market service functionality. Run energy_market_service.py

@hlngo
Copy link
Contributor

hlngo commented Apr 19, 2019

@can7huang For integration test, we need to reference all files by using absolute paths instead of relative paths. Can you make the following changes:
Under your init, add:
self.base_path = dirname(abspath(file))
For ALL csv files you reference to, change:

price = np.genfromtxt('CAISOApr2016Hourly.csv', delimiter = ',' )
to
price = np.genfromtxt(join(self.base_path, 'CAISOApr2016Hourly.csv'), delimiter = ',' )

Thanks.

@hlngo
Copy link
Contributor

hlngo commented Apr 22, 2019

@can7huang I will do it since it's quite simple

@hlngo hlngo mentioned this pull request Apr 22, 2019
@hlngo hlngo merged commit aee198b into GMLC-1-4-2:master Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants