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.

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

All the functions returns a pandas dataframe, except epias_tgt function which returns a string.

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.2.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seffaflik2-0.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: seffaflik2-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 79375932ed5e7a0eca2c4b6ff5413c6a697b753afaf0967f0a79c0c5fe3744aa
MD5 3c188a5c3384b4638032274ec1f38577
BLAKE2b-256 a14c95e2f637baf26b06415067283cd65462a49701757337ea3c9635949a6c30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seffaflik2-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6df324c5cb464a2a15c64022e21971ceb15c8db1b2ecc41ce3f83872b41f6dd
MD5 c115e7d657ec99623371b4603a22e4d1
BLAKE2b-256 2c3fc904ab495f8d301839bb449146ee3907f617459a6dfa115dd63b7ca87227

See more details on using hashes here.

Supported by

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