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

Thanks for the response, @xinyue-luna. #204

Closed
rajkumarks7 opened this issue Aug 27, 2020 · 0 comments
Closed

Thanks for the response, @xinyue-luna. #204

rajkumarks7 opened this issue Aug 27, 2020 · 0 comments

Comments

@rajkumarks7
Copy link

Thanks for the response, @xinyue-luna.

freq actually is ignored in get_load(), and only market is used to decide if to return dam or fivemin data. Unless user specify market=c.MARKET_CHOICES.dam, market will be set to fivemin.

So, is another way of stating this, "Only fivemin market (and frequency) are supported for historical load data?" Because the day-ahead market doesn't make sense for historical data, right?

When I request the forecast data with:

c = client_factory('CAISO')
now = datetime.utcnow().replace(tzinfo=pytz.utc)
start_at = now + timedelta(hours=1)
end_at = now + timedelta(hours=10)
results = c.get_load(start_at=start_at, end_at=end_at, market=c.MARKET_CHOICES.dam)

The day-ahead market freq is 1hr. So really, it doesn't seem like there's an option at all. Historical is always 5min and forecast is always 1hr. Am I understanding this correctly?

If so:

  • Why even allow end-users to pass in market or freq arguments? There's only one valid market for historical data and one valid market for forecast data.
  • Does the same hold true for get_lmp(...)? As @vlepore clarified, the original issue arose when requesting historical get_lmp(...) data.
  • Can we work on a list of supported markets / frequencies for CAISO for its implementation of each BaseClient method? We should log warning messages if end-users pass unsupported combinations.

Originally posted by @r24mille in #160 (comment)

information = client_factory('CAISO')
data_generated = information.get_generation(latest=True)
it is returning me empty list

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