Skip to main content

EPIAS Transparency Platform 2.0 Unofficial Python Library

Project description

EPİAŞ Transparency Platform 2.0 Python Library

This library enables users to get data from EPİAŞ's Transparency Platform by using simple python functions.

Please note that this is not an official release, and the accuracy or reliability of the data retrieved through this library cannot be guaranteed. Users are advised to exercise caution and verify the data independently before making any decisions based on it.

The author(s) of this library shall not be held responsible for any inaccuracies or damages resulting from the use of the data.

Data input formats should be such as: "YYYY-MM-DD". An example would be : "2024-05-29"

All the functions returns a pandas dataframe.

Currently few selected datasets are available, which are:

TGT

epias_tgt(e_mail,psw): Function that returns "TGT" key to access EPİAŞ Transperancy Platform's API. Valid for 8 hours once acquired.

Day-ahead-market

epias_mcp(start_date,end_date,tgt,e_mail,psw): Function that returns the MCP for a given interval

epias_pi_offer(start_date,end_date,tgt,e_mail,psw): Function that turns the amount of price independent offers in day-ahead-market for a given interval

epias_pi_bid(start_date,end_date,tgt,e_mail,psw): Function that turns the amount of price independent bids in day-ahead-market for a given interval

epias_spot(start_date,end_date,tgt,e_mail,psw): Function that turns the amount of matched amount in day-ahead-market for a given interval

epias_ba_offers(start_date,end_date,tgt,e_mail,psw): Function that turns the amount of block offers (matched and non-matched) of day-ahead-market for a given interval

epias_ba_bids(start_date,end_date,tgt,e_mail,psw): Function that turns the amount of block bids (matched and non-matched) of day-ahead-market for a given interval

Generation

epias_kgup(start_date,end_date,tgt,e_mail,psw): Function that returns the DPP's (KGUP) based on resources for a given interval

epias_plant_kgup(start_date,end_date,pl_id,o_id,tgt,e_mail,psw): Function that returns the DPP's (KGUP) based on resources for a given interval (org_id: Organization ID, pl_id: Plant ID) Organization IDs can be obtained via epias_org function Plant IDs can be obtained via epias_uevcb function

epias_org(start_date,end_date,tgt,e_mail,psw): Function that returns the organizations for a given interval

epias_uevcb(start_date,end_date,o_id,tgt,e_mail,psw): Function that returns the UEVCB data for a given interval (o_id: Organization ID)

Consumption

epias_demand(start_date,end_date,tgt,e_mail,psw): Function that returns the real time electricity consumption for a given interval

Intraday market

epias_idmp(start_date,end_date,tgt,e_mail,psw): Function that returns the intraday weighted average prices for a given interval

epias_idma(start_date,end_date,tgt,e_mail,psw): Function that returns the trade amount at intraday market for a given interval

Balancing Power Market

epias_smp(start_date,end_date,tgt,e_mail,psw): Function that returns the System Marginal Price for a given interval

epias_yal(start_date,end_date,tgt,e_mail,psw): Function that returns the amount of load orders (YAL) for a given interval

epias_yat(start_date,end_date,tgt,e_mail,psw): Function that returns the amount of deload orders (YAT) for a given interval

Ancillary Services

epias_sfc(start_date,end_date,tgt,e_mail,psw): Function that returns the SFC prices for a given interval

epias_pfc(start_date,end_date,tgt,e_mail,psw): Function that returns the PFC prices for a given interval

Example

import seffaflik2 as sf
myMail = "myMail@email.com"
myPsw = "MyPsW384@*6459"
myTGT = sf.epias_tgt(myMail,myPsw)
day_ahead_prices = sf.epias_mcp("2024-01-15","2024-03-16",myTGT,myMail,myPsw)

print(day_ahead_prices)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seffaflik2-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

seffaflik2-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file seffaflik2-0.1.0.tar.gz.

File metadata

  • Download URL: seffaflik2-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for seffaflik2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c5ef19bbfb3dc5b7d244cbdd16f8d883f269278617c8dc21c76d8df5b2f19be7
MD5 fdc783494250d44682ce532fd6b2bea8
BLAKE2b-256 4975be1cb49ebebef311df88412b5b48bd068eedffb9875a8119bf140e406f29

See more details on using hashes here.

File details

Details for the file seffaflik2-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: seffaflik2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for seffaflik2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a94920ecda871ffb9264e1c1c470b295770ecaeaab52d3229fda49aea2b7a18f
MD5 9e27189087b6e1cabdbd16a2b18d37b3
BLAKE2b-256 d341f71e7bb8cc0c4ff6b19ac02f3aca0b4c65837ed55aa686f86f0459845cdc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page