Package: wemdata
Data for the Wholesale Electricity Market of Western AustraliaThis package extracts the Wholesale Electricity Market (WEM) data.  The WEM is the electricity market of the Southwest Interconnected System (SWIS) of Western Australia.
The package consists of a series of functions to extract the data into a Pandas dataframe.PrerequisitesPython 3.6 or laterpandasrequestsIt is also assumed that the user has an understanding of the WEM RulesUsageThis section sets out the functions for this package.  Before using the functions, import the package with the following command:from wemdata import wemdatafunctions as wemcomm_test(year)Thecomm_test functiongives the list ofCommissioning Test plansof generation systems in the SWIS over ayear. See below for an example of the usage of this function.df_comm_test_2020 = wem.comm_test(year=2020)load_forecast()Theload_forecast functiongives theload forecastfor each of the Trading Interval in the current Trading Day. See below for an example of the usage of this function.df_forecast = wem.load_forecast()extended_load_forecast()The'Extended Load Forecast'report may include load forecast values beyond the next two Trading Days. Theextended_load_forecast functiongives theextended load forecastfor each of the Trading Interval from the current Trading Day. See below for an example of the usage of this function.df_extended_load_forecast = wem.extended_load_forecast()hist_load_forecast(year)Thehist_load_forecast functiongives thehistorical load forecastfor each of the Trading Interval over ayear. See below for an example of the usage of this function.df_hist_load_forecast = wem.hist_load_forecast(2019)ncs_dispatch()Thencs_dispatch functiongives thenetwork control services dispatchfor each of the Trading Interval by Facility over a year. See below for an example of the usage of this function.df_ncs_dispatch = wem.ncs_dispatch()non_bal_dmo(year, month)Thenon_bal_dmo functiongives theNon Balancing Dispatch Merit Orderfor each of the Trading Interval by Facility over amonthin ayear. See below for an example of the usage of this function.df_non_bal_dmo = wem.non_bal_dmo(year=2020,month=5)dsm_prices(year)Thedsm_prices functiongives theDemand Side Management (DSM) pricesfor each Trading Day by Facility over ayear. See below for an example of the usage of this function.df_dsm_prices = wem.dsm_prices(2020)ops_measurements(year)Theops_measurements functiongives theOperational measurement datafor each Trading Interval over ayear. See below for an example of the usage of this function.df_ops_measurements = wem.ops_measurements(2019)facility_scada(year, month)Thefacility_scada functiongives theFacility SCADA datafor each Facility for each Trading Interval over amonthof ayear. See below for an example of the usage of this function.df_facility_scada = wem.facility_scada(2020,4)load_summary(year)Theload_summary functiongives theLoad summaryover ayear. See below for an example of the usage of this function.df_load_summary = wem.load_summary(2020)lfas_summary(year)Thelfas_summary functiongives theLFAS (Load Following Ancillary Service) summaryover ayear. See below for an example of the usage of this function.df_lfas_summary_2020 = wem.lfas_summary(2020)lfas_submissions(year)Thelfas_submissions functiongives theLFAS (Load Following Ancillary Service) submissionsover ayear. See below for an example of the usage of this function.df_lfas_submissions = wem.lfas_submissions(2020)outages(year)Theoutages functiongives the list ofOutagesover ayear. See below for an example of the usage of this function.df_outages = wem.outages(2020)ircr_ratios()Theircr_ratios functiongives the list ofIRCR (Individual Reserve Capacity Requirement) ratios. See below for an example of the usage of this function.df_ircr_ratios = wem.ircr_ratios()peak_trading_intervals()Thepeak_trading_intervals functiongives the list ofpeak trading intervals. See below for an example of the usage of this function.df_peak_trading_intervals = wem.peak_trading_intervals()real_time_outages()Thereal_time_outages functiongives the list ofpeak time outages. See below for an example of the usage of this function.df_real_time_outages = wem.real_time_outages()repo_count()Therepo_count functiongives the list ofRefund exempt planned outages countfor each Facility. See below for an example of the usage of this function.df_repo_count = wem.repo_count()balancing_summary(year)Thebalancing_summary functiongives theBalancing Market summaryover ayear. See below for an example of the usage of this function.df_balancing_summary = wem.balancing_summary(2020)balancing_submissions(year, month)Thebalancing_submissions functiongives theBalancing submissionfor each Facility for each Trading Interval over amonthof ayear. See below for an example of the usage of this function.df_balancing_submissions = wem.balancing_submissions(2020,5)STEM_summary(year)TheSTEM_summary functiongives theSTEM summaryfor each Trading Interval over ayear. See below for an example of the usage of this function.df_STEM_summary = wem.STEM_summary(2020)STEM_participant_activity(year, month)TheSTEM_participant_activity functiongives theSTEM participant activitydata for each Facility for each Trading Interval over amonthof ayear. See below for an example of the usage of this function.df_STEM_participant_activity = wem.STEM_participant_activity(2020,4)STEM_bids_and_offers(year, month)TheSTEM_bids_and_offers functiongives theSTEM bids and offersdata for each Facility for each Trading Interval over amonthof ayear. See below for an example of the usage of this function.df_STEM_bids_and_offers = wem.STEM_bids_and_offers(2020,4)STEM_facilities_declarations(year, month)TheSTEM_facilities_declarations functiongives theSTEM facilities declarationsdata for each Facility for each Trading Interval over amonthof ayear. See below for an example of the usage of this function.df_STEM_facilities_declarations = wem.STEM_facilities_declarations(2020,4)total_sent_out_gen(year)Thetotal_sent_out_gen functiongives thetotal sent out generationfor each Trading Interval over ayear. See below for an example of the usage of this function.df_total_sent_out_gen = wem.total_sent_out_gen(2020)AuthorsIgnatius ChinLicenseThis project is licensed under the MIT License.MIT License

Copyright (c) 2020 igchin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.