-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add forecast module #124
Add forecast module #124
Conversation
change model names
Thanks.
GFS is global, the rest range from US (NDFD) to most of North America (NAM). I'll make a couple of notes about this in the documentation. I'll also clarify who is actually making the forecasts (not Unidata).
I know of their API but I don't think that it provides access to their forecast data, only related products like reanalysis. |
Ok. Maybe also state what frequency is used and what cell dimension in the weather model used as input. This is often a difference criteria. |
This looks great. I do agree with DaCoEx about not understanding the Random note on abstract, isn't the second sentence reversed from the intent Tangentially related, I just was reminded about the MERRA historical I am ambivalent as to whether the forecast module should be in a separate On Thu, Feb 18, 2016 at 11:38 PM, DaCoEx notifications@github.com wrote:
|
@dacoex good/bad is subjective, but I'd say that the state of solar power forecasting is bad. Of course, people trying to sell forecasts say that their model is the best and people trying to get grant funding say that their model is great but would be so much better if you'd just give them a little bit of money, please, please, please. The problem is that weather is so complicated and varies so much across the world that it becomes very difficult to make objective comparisons without quickly getting lost in the details. This is perhaps even more true for clouds and thus irradiance. Finally, if you add a weather-to-irradiance-to-power black box to your analysis then it becomes harder still to tease out the real differences between forecasts. My proposal is that the new code can make the objective comparisons a little more rigorous and a little bit easier. First, it makes it trivial to access the data related to PV generation from many U.S. weather models. Then you can use the preexisting pvlib functions on that data, or you can do whatever you want with it. If you choose the latter, hopefully you'll now be in an open source mindset and publish (in some form) your analysis code in addition to the results. Either way, it establishes a traceable, open benchmark tool for forecast comparisons. So, like the rest of pvlib, what I'm proposing is a tool. I'm not making any claims as to the accuracy of the weather models, or the Liu Jordan model, or the SAPM, or the combinations of them. The tool certainly does not solve all problems related to objective, reproducible research in the solar power forecasting field, but I think/hope that people will find it useful. Quick notes regarding a few other points above...
On to the dependencies and packaging... The main new optional dependency, Siphon, is a bit esoteric at this point, but Unidata has made developing Python tools a priority for the foreseeable future, so I'm not too worried about it. Installing Siphon itself is not a big deal, but it depends on NetCDF, which requires slightly more experience/luck to compile (though not nearly as bad as scipy). The anaconda packages for NetCDF have been reliable, though. The forecast module is not imported in the Thanks again for your feedback. |
Yes, I brought up the MERRA data partly because this forecasting paired But let me just say, wow, a solar forecasting tool in open source! Awesome! On Fri, Feb 19, 2016 at 12:31 PM, Will Holmgren notifications@github.com
|
Will, I’d like to applaud your efforts here. We started PVLib to improve PV modeling by promoting transparency and rigor. We don’t want to make any particular model into a standard, rather, we want the modeling process to become standardized, and make available a wide variety of models. Your vision of the forecasting module is precisely in this spirit. The danger is that once a free solar forecasting tool is available, people will use it and stop questioning the tool itself. For this reason, I’d recommend building options which present the user choices. The specific choice (e.g., weather data source, irradiation decomposition and/or transposition models, etc.) may not be as important as having the choice presented. Cliff |
Thanks, Jessica and Cliff. Good points regarding the need for people to keep questioning the tools. I will make a few options available for the forecast irradiance data here and keep this in mind elsewhere. |
closed in favor of #180. |
@MoonRaker and I created a forecast module for pvlib. The initial discussion of this was in issue #86.
Here's a link to the documentation and our PVSC abstract:
http://wholmgren-pvlib-python-new.readthedocs.org/en/fx-master/forecasts.html
https://forecasting.uaren.org/media/pvlib_fx_pvsc_43.pdf
Basically, we use Unidata's Siphon library to pull data from Unidata's THREDDS server, standardize the variable names, and calculate irradiance components from cloud cover forecasts.
I think this PR fairly complete already, but there are plenty of opportunities for refinements and refactoring before or after merging.
The module was developed based on pvlib 0.2.1, so we'd need to make some minor changes to accommodate the work done in #93.Let me know if you think that this idea and implementation would be a valuable addition to pvlib. I would consider packaging it separately, too, either under the pvlib organization or my own account. I'd probably squash some/all of the git history before merging.
To do: