Ejemplo n.º 1
0
        public void NordPoolSpotDownloadAllFiles()
        {
            var nd = new NordPoolSpot.DataDownloader();
            var path = "";

            /*
            path = nd.DownloadFile(DataItem.Production, Country.All, Resolution.Hourly, FromYear(2013));
            path = nd.DownloadFile(DataItem.Production, Country.All, Resolution.Hourly, FromYear(2014));
            path = nd.DownloadFile(DataItem.Production, Country.All, Resolution.Hourly, FromYear(2015));
            
            path = nd.DownloadFile(DataItem.Production_Prognosis, Resolution.Hourly, FromYear(2013));
            path = nd.DownloadFile(DataItem.Production_Prognosis, Resolution.Hourly, FromYear(2014));
            path = nd.DownloadFile(DataItem.Production_Prognosis, Resolution.Hourly, FromYear(2015));
            
            path = nd.DownloadFile(DataItem.Consumption, Country.All, Resolution.Hourly, FromYear(2013));
            path = nd.DownloadFile(DataItem.Consumption, Country.All, Resolution.Hourly, FromYear(2014));
            path = nd.DownloadFile(DataItem.Consumption, Country.All, Resolution.Hourly, FromYear(2015));

            //note that this one doesn't have regions, it's for ALL Countries
            path = nd.DownloadFile(DataItem.Consumption_Prognosis, Resolution.Hourly, FromYear(2013));
            path = nd.DownloadFile(DataItem.Consumption_Prognosis, Resolution.Hourly, FromYear(2014));
            path = nd.DownloadFile(DataItem.Consumption_Prognosis, Resolution.Hourly, FromYear(2015));
            */

            /*
            //this has JUST daily values for all countries... wind is most significant in DK => hence that's what matters..
            //it's too small for SE, so exclude it...
            path = nd.DownloadFile(DataItem.Wind_Power, Country.DK, Resolution.Hourly, FromYear(2013));
            path = nd.DownloadFile(DataItem.Wind_Power, Country.DK, Resolution.Hourly, FromYear(2014));
            path = nd.DownloadFile(DataItem.Wind_Power, Country.DK, Resolution.Hourly, FromYear(2015));

            path = nd.DownloadFile(DataItem.Hydro_Reservoir, Resolution.Weekly, FromYear(2013));
            path = nd.DownloadFile(DataItem.Hydro_Reservoir, Resolution.Weekly, FromYear(2014));
            path = nd.DownloadFile(DataItem.Hydro_Reservoir, Resolution.Weekly, FromYear(2015));
            */
            var x = Resolution.Hourly;

            /*
            path = nd.DownloadFile(DataItem.Elspot_Prices, Resolution.Hourly, FromYear(2013), Currency.EUR);
            path = nd.DownloadFile(DataItem.Elspot_Prices, Resolution.Hourly, FromYear(2014), Currency.EUR);
            path = nd.DownloadFile(DataItem.Elspot_Prices, Resolution.Hourly, FromYear(2015), Currency.EUR);
            */

            path = nd.DownloadFile(DataItem.Elspot_Capacities, Resolution.Hourly, FromYear(2013));
            path = nd.DownloadFile(DataItem.Elspot_Capacities, Resolution.Hourly, FromYear(2014));
            path = nd.DownloadFile(DataItem.Elspot_Capacities, Resolution.Hourly, FromYear(2015));
        }
Ejemplo n.º 2
0
        public void NordPoolSpotDownloadAllFiles()
        {
            var nd   = new NordPoolSpot.DataDownloader();
            var path = "";

            /*
             * path = nd.DownloadFile(DataItem.Production, Country.All, Resolution.Hourly, FromYear(2013));
             * path = nd.DownloadFile(DataItem.Production, Country.All, Resolution.Hourly, FromYear(2014));
             * path = nd.DownloadFile(DataItem.Production, Country.All, Resolution.Hourly, FromYear(2015));
             *
             * path = nd.DownloadFile(DataItem.Production_Prognosis, Resolution.Hourly, FromYear(2013));
             * path = nd.DownloadFile(DataItem.Production_Prognosis, Resolution.Hourly, FromYear(2014));
             * path = nd.DownloadFile(DataItem.Production_Prognosis, Resolution.Hourly, FromYear(2015));
             *
             * path = nd.DownloadFile(DataItem.Consumption, Country.All, Resolution.Hourly, FromYear(2013));
             * path = nd.DownloadFile(DataItem.Consumption, Country.All, Resolution.Hourly, FromYear(2014));
             * path = nd.DownloadFile(DataItem.Consumption, Country.All, Resolution.Hourly, FromYear(2015));
             *
             * //note that this one doesn't have regions, it's for ALL Countries
             * path = nd.DownloadFile(DataItem.Consumption_Prognosis, Resolution.Hourly, FromYear(2013));
             * path = nd.DownloadFile(DataItem.Consumption_Prognosis, Resolution.Hourly, FromYear(2014));
             * path = nd.DownloadFile(DataItem.Consumption_Prognosis, Resolution.Hourly, FromYear(2015));
             */

            /*
             * //this has JUST daily values for all countries... wind is most significant in DK => hence that's what matters..
             * //it's too small for SE, so exclude it...
             * path = nd.DownloadFile(DataItem.Wind_Power, Country.DK, Resolution.Hourly, FromYear(2013));
             * path = nd.DownloadFile(DataItem.Wind_Power, Country.DK, Resolution.Hourly, FromYear(2014));
             * path = nd.DownloadFile(DataItem.Wind_Power, Country.DK, Resolution.Hourly, FromYear(2015));
             *
             * path = nd.DownloadFile(DataItem.Hydro_Reservoir, Resolution.Weekly, FromYear(2013));
             * path = nd.DownloadFile(DataItem.Hydro_Reservoir, Resolution.Weekly, FromYear(2014));
             * path = nd.DownloadFile(DataItem.Hydro_Reservoir, Resolution.Weekly, FromYear(2015));
             */
            var x = Resolution.Hourly;

            /*
             * path = nd.DownloadFile(DataItem.Elspot_Prices, Resolution.Hourly, FromYear(2013), Currency.EUR);
             * path = nd.DownloadFile(DataItem.Elspot_Prices, Resolution.Hourly, FromYear(2014), Currency.EUR);
             * path = nd.DownloadFile(DataItem.Elspot_Prices, Resolution.Hourly, FromYear(2015), Currency.EUR);
             */

            path = nd.DownloadFile(DataItem.Elspot_Capacities, Resolution.Hourly, FromYear(2013));
            path = nd.DownloadFile(DataItem.Elspot_Capacities, Resolution.Hourly, FromYear(2014));
            path = nd.DownloadFile(DataItem.Elspot_Capacities, Resolution.Hourly, FromYear(2015));
        }