Nordpool Spot Intraday

Embed Size (px)

Citation preview

  • 7/26/2019 Nordpool Spot Intraday

    1/13

    Nord Pool Market Adapter Requirement Specification

    Page 1 of 13

    Nordpool Intra Day Spot

    Dusseldorf, GermanyFebruary 2016

  • 7/26/2019 Nordpool Spot Intraday

    2/13

    Nord Pool Market Adapter Requirement Specification

    Page 2 of 13

    Table of Content

    1 BUSINESS REQUIREMENTS 5

    2 SCOPE, OVERVIEW AND EXECUTION 5

    3 NORDPOOL SPOT 6

    3.1 INTRADAY MARKET 63.1.1 Introduction 6

    The majority of the volume handled by Nord Pool is traded on the day-ahead market. For the most part, the balance between

    supply and demand is secured here. However, incidents may take place between the closing of the day-ahead market at noon

    CET and delivery the next day. A nuclear power plant may stop operating in Sweden, or strong winds may cause higher power

    generation than planned at wind turbine plants in Germany. At the intraday market, buyers and sellers can trade volumes close

    to real time to bring the market back in balance. 63.1.2 Trading close to real time 63.1.3 Increasingly Importance 6

    3.2 Day-ahead MARKET 6

    Today there are around 360 buyers and sellers (called members) on the day-ahead market. Most of them trade every day,

    placing a total of around 2000 orders for power contracts on a daily basis. 63.2.1 Driven by Planning 63.2.2 Setting the Price and closing the deal 63.2.3 The cost of transmission constraints 7

    3.3 Integrated Europe 73.3.1 Introduction 7

    3.4 Transmission System Operators 7

    4 NORDPOOL API 8

    4.1 Authentication 84.1.1 Basic Analysis 84.1.2 Technical Details 8

    4.2 Request Signature 94.2.1 Basic Analysis 94.2.2 Technical Details 9

    4.3 INTRADAY API 94.3.1 Basic Analysis 94.3.2 Technical Details 9

    5 TEST ENVIRONMENT 10

    6 PRODUCTION ACCEPTANCE 10

  • 7/26/2019 Nordpool Spot Intraday

    3/13

    Nord Pool Market Adapter Requirement Specification

    Page 3 of 13

    7 CONTACTS 11

    8 QUESTIONS 11

    9 ACRONYMS AND GLOSSARY 11

    10 SOME USEFUL LINKS AND CREDENTIALS 11

    11 REFERENCES 12

  • 7/26/2019 Nordpool Spot Intraday

    4/13

    Nord Pool Market Adapter Requirement Specification

    Page 4 of 13

    Revision History

    S No Version Revision Date Revised By Revision Details

  • 7/26/2019 Nordpool Spot Intraday

    5/13

    Nord Pool Market Adapter Requirement Specification

    Page 5 of 13

    1 Business Requirements

    [Draft] Auto deal capture via Fuse to Endur System[Draft] Design NordPool Spot Market Adapter (NPS MA) Fail Safe Market Adapter[Draft] Design NordPool Spot Interface which converts NPS MA provided trade to Endurunderstandable format.

    2 Scope, Overview and Execution

    The scope of the Market Adapter includes the following things.[Draft]

  • 7/26/2019 Nordpool Spot Intraday

    6/13

    Nord Pool Market Adapter Requirement Specification

    Page 6 of 13

    3 NordPool Spot

    3.1 INTRADAY MARKET

    Nord Pool offers an intraday market covering the Nordic, Baltic, UK and German markets. The intraday market

    supplements the day-ahead market and helps secure the necessary balance between supply and demand in thepower market for Northern Europe.

    3.1.1Introduction

    The majority of the volume handled by Nord Pool is traded on the day-ahead market. For the most part, thebalance between supply and demand is secured here. However, incidents may take place between the closingof the day-ahead market at noon CET and delivery the next day. A nuclear power plant may stop operating inSweden, or strong winds may cause higher power generation than planned at wind turbine plants in Germany.At the intraday market, buyers and sellers can trade volumes close to real time to bring the market back inbalance.

    3.1.2Trading close to real timeAt 14:00 CET, capacities available for Nord Pools intraday trading are published. This is a continuous market,and trading takes place every day around the clock until one hour before delivery. Prices are set based on afirst-come, first-served principle, where best prices come first highest buy price and lowest sell price.

    3.1.3Increasingly Importance

    The intraday market is becoming increasingly important as more wind power enters the grid. Wind power isunpredictable by nature, and imbalances between day-ahead contracts and produced volume often need to beoffset. The market plays a key role in the development of intraday power trading in Europe. Future prospectsindicate exponential growth, reaching 1.900 GW installed wind Capacity worldwide in 2020 (Source: World WindEnergy Association). This type of market can be a key enabler to increase the share of renewable energy in theenergy mix.

    3.2 Day-ahead MARKET

    The day-ahead market is the main arena for trading power. Here, contracts are made between seller and buyerfor the delivery of power the following day, the price is set and the trade is agreed.

    Today there are around 360 buyers and sellers (called members) on the day-ahead market. Most of them tradeevery day, placing a total of around 2000 orders for power contracts on a daily basis.

    3.2.1Driven by PlanningDaily trading is driven by the members planning. A buyer, typically a utility, needs to assess how much energy

    (volume) it will need to meet demand the following day, and how much it is willing to pay for this volume,hour by hour. The seller, for example the owner of a hydroelectric power plant, needs to decide how much hecan deliver and at what price, hour by hour. These needs are reflected through orders entered by buyers andsellers into the Nord Pool day-ahead trading system.

    3.2.2Setting the Price and closing the deal

    12:00 CET is the deadline for submitting bids for power which will be delivered the following day. The tradingsystem feeds the information into a specialist computer system which calculates the price, based on anadvanced algorithm. Put simply, the price is set where the curves for sell price and buy price meet.

  • 7/26/2019 Nordpool Spot Intraday

    7/13

    Nord Pool Market Adapter Requirement Specification

    Page 7 of 13

    Hourly prices are typically announced to the market at 12:42 CET orlater. Once the market prices have been calculated, trades aresettled. From 00:00 CET the next day, power contracts are physicallydelivered (meaning that the power is provided to the buyer) hour forhour according to the contracts agreed.

    3.2.3The cost of transmission constraints

    While supply and demand are the key factors determining the hourly market prices, transmission Capacity alsoplays a role. Bottlenecks can occur where power connections are linked to each other, if large volumes need tobe transmitted to meet demand. To relieve this congestion, different area prices are introduced. In otherwords, when Transmission capacity gets constrained, the price is raised to reduce demand in the areasaffected.

    3.3 Integrated EuropeThe European Commission has a stated goal of harmonizing the European power markets. The aim is to create apan-European market with closer connecting of power markets to improve the efficient use of energy across

    national borders, the European Target Model for electricity market integration.

    3.3.1IntroductionAs Europes leading power market, active in nine countries, and, with the Nordics presenting the world withits first deregulated power market, Nord Pool has carved ourselves a position at the very heart of deliveringthe European target model for 2014. We are fully focused on achieving what is best for the future of theEuropean power market and our members.

    Under the Target Model, the EU has set up common rules to bring-on efficient use of cross-border Capacityand harmonization of European wholesale power market arrangements. The main features of the model areday-ahead Market coupling and continuous intraday trading to allow cross-border trading of electricity closerto real time; electricity balancing between TSOs; and long-term transmission rights to access capacity oninterconnectors.

    That has involved working diligently for the delivery of the Price Coupling of Regions (PCR) and the North-Western European Price Coupling (NWE) launched in February 2014. Since then two extensions of the PCR-coupled area have taken place. Spain and Portugal joined in May 2014, while Italy coupled with France,Austria and Slovenia in February 2015. This full area is called Multi-Regional Coupling and now covers 19countries, standing for about 85% of European power consumption. Nord Pool is as well fully involved in theCross-Border Intraday Market project (XBID).

    3.4 Transmission System OperatorsA system operator is responsible for an area to be electrically stable, and for the security of supply in hisarea. A system operator has to be a non-commercial organization, neutral and independent with regard to the

    market members.

    In the Nordic countries, the system operators have the responsibility for both the security of supply and thehigh-voltage grid (the transmission grid).

    The Nordic transmission system operators are Statnett SF(Norway), Svenska Kraftnt(Sweden), Fingrid(Finland) and Energinet.dk(Denmark). The EstonianTSO is Elering and the Lithuanian TSO is Litgrid. InLatvia it is the independent transmission system operator AST. In the UK National Gridis the transmissionsystem operator.

  • 7/26/2019 Nordpool Spot Intraday

    8/13

    Nord Pool Market Adapter Requirement Specification

    Page 8 of 13

    4 Nordpool API

    4.1 Authentication

    In NordPool authentication is centralized same API credentials can be used to access different APIs. NordPool

    4.1.1Basic Analysis

    4.1.1.1Three Steps are required for get API Working

    1. Request for access Token2. Get Token from API3. Request for required resources along with API.

    4.1.1.2Access Token Characteristics

    1. ClientEach API exposed by Nord Pool can be only consumed by well-defined API clients. API clients are

    defined by Nord Pool Spot. API client definition is publicly distributed.2. API UserIn order to access API, each API consumer is given from Nord Pool API username and password.

    Password is a secret, thus should be kept in well protected safe place. API consumers are fullyresponsible for protecting the password.

    3. ScopeScope of the token determines with which APIs in NordPool it can be used.

    4. ExpirationExpiration indicates how long token is valid. Once token expires API user need to request for a new

    token from Nord Pool authentication service.

    4.1.2Technical Details

    4.1.2.1Token Request

    Token can be requested from publicly exposed Nord Pool authentication service. HTTPS protocol isused for requesting and receiving the token.

    Below is the example of the token request parameters:

    HTTP method: POST

    Sl. No URL Environment

    1. https://apists.nordpoolspotdev.com/connect/token Dev Environment

    2. https://apists.nordpoolspotqa.com/connect/token QA / Member Test Environment

    3. https://apists.nordpoolspot.com/connect/token ProductionHeaders and Body:

    Sl. No Message

    1. Header Authorization: Basic Y2xpZW50X3JlbWl0X2FwaTpjbGllbnRfcmVtaXRfYXBp

    2. Header Content-Type: application/x-www-form-urlencoded

    3. Body grant_type=password&username=test_user&password=test_password&scope=api_test

  • 7/26/2019 Nordpool Spot Intraday

    9/13

    Nord Pool Market Adapter Requirement Specification

    Page 9 of 13

    NOTE: Authorization is encoded string client:client with base64. For example if client = client_remit_api, than string tobe encoded will be : client_remit_api:client_remit_api and base64 of this string will be

    Y2xpZW50X3JlbWl0X2FwaTpjbGllbnRfcmVtaXRfYXBp

    4.1.2.2Token Response

    If API username, password and scope are correct. Below response is received and response containsaccess token along with expiration date:Sl. No Message

    1. Status 200 OK

    2. Header Content-Type: application/json; charset=utf-8

    3. Body {"access_token":"eyJ0eXAiOiJKV1QiLCJhFjwjNw","expires_in":3600,"token_type":"Bearer"}

    4.1.2.3Resource Request

    Example of resource request against API in case of HTTPS protocol:Sl. No Message

    1. HTTP Method POST / GET / PUT/ DELETE

    2. URL https://apitest.nordpoolspot.com/resourceid/test

    3. Header Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhFjwjNw4. Other Headers Other headers specific to the API request

    5. Body specific to the API request

    Note: In Authorization header access_token is used which was received in step 2.

    4.2 Request Signature

    4.2.1Basic Analysis

    In order to strengthen security for placing/updating/removing fragile resources (e.g. orders), request

    signature of the requesting party is required.

    Signature is a Hash-based Message Authentication Code (HMAC) constructed from the request andcomputed by using the SHA256 algorithm, and then encoded by using Base64 encoding.

    More details regarding implementation to be provided later.

    NOTE: For the testing period signing has been turned off.

    4.2.2Technical Details

    4.3 INTRADAY API

    4.3.1Basic Analysis

    4.3.2Technical Details

  • 7/26/2019 Nordpool Spot Intraday

    10/13

    Nord Pool Market Adapter Requirement Specification

    Page 10 of 13

    5 Test Environment [Draft]We are hosting a test environment that serves as a sandbox for all API developers. You can freely use it bylogging in with your given username and password.Please note that accessing the production system is not allowed until the solution you've developed meets ourproduction acceptance criteria.

    Getting access to the test environmentGetting access to our test environment is easy. All you need is to contact our trading desk to ask for anaccount and get your personal credentials.

    Getting access to the test environment via GUI:To be able to placing orders manually and monitor API calls following link can be used: http://api-dev.intraday.nordpoolspot.com/webclient/#/loginContact to Support to get users for this environment.

    6 Production Acceptance [Draft]Read-only use case

    Intraday api_* users will be set up with read-only restrictions Individual test sessions will be set up for each company in order to test the developed solution

    Prior to the test session members are required to provide a list containing the Requests that aresupposed to be sent via the API.

    Read & write use case

    Intraday api_* users will be set up with read and write user

    Individual test sessions will be set up for each company in order to test the developed

    Prior to the test session members are required to provide a list containing the Requests that areenvisaged to be sent via the API.

    Prior to the test session a test script containing a pre-defined set of tasks (e.g. submitting and editingorders of different types) for the relevant control areas will be provided by NPS

    During the test session the member is expected to follow the steps described in the test script Upon successful completion of the test cases Nord Pool will grant access to the production system,

    provided that the necessary membership agreements are in place.

    Please get in contact with us at [email protected] if you wish to set up a test date.

    Details for connecting to Intraday production platform:

    The SSO token must be fetched from a different SSO server than in the test environment. in production, thetoken must be fetched from:https://sso.nordpoolspot.com/connect/token

    For connecting proprietary system to Intraday API message queue, please use following address:elbasamqp.nordpoolspot.com:443 . The connection is secured with SSL/TLS encryption and listens at TCP

    port 443

    If you want to be able to use the Intraday web client, please verify that you can open a web socket connectionto following endpoint: https://elbassockjs.nordpoolspot.com:443 . The connection is secured with SSL/TLSencryption and listens at TCP port 443.

    https://sso.nordpoolspot.com/connect/tokenhttps://sso.nordpoolspot.com/connect/tokenhttps://sso.nordpoolspot.com/connect/tokenhttps://sso.nordpoolspot.com/connect/token
  • 7/26/2019 Nordpool Spot Intraday

    11/13

    Nord Pool Market Adapter Requirement Specification

    Page 11 of 13

    7 Contacts

    SL. No. Name Desc Email

    1. Intraday API Group Mailbox [email protected]

    2. Wenzel, Markus Trader [email protected]

    3. Sthr, Sebastian One Point Contact for Dispatch [email protected]

    4. Sebjornsen, Atle Nordpool API Team [email protected]

    8 Questions

    Sl. No Q&A

    1. Why this Market Adapter is required?

    Ans.

    2. What is difference b/w Intraday Market and Day-Ahead Market?Ans.

    3. What kinds of Trades are available?

    Ans. As Per NordPoolSpot Hourly, Daily, Weekly, Yealy.

    9 Acronyms and Glossary

    Sl. No Phrase Notes

    1 NPS MA NordPool Spot Market Adapter2 Capacities The maximum amount of energy that can flow from one bidding area to another.

    The transmission system operators determine the trading capacities for eachhour of the day. Capacities can thus vary from hour to hour.

    3 Transmission Capacity North-Western European Price Coupling

    4 Market Coupling A process where power exchanges cooperate on utilizing the available tradingcapacity between two or more regions during every hour of operation to securethat the energy flows from the low-price towards the high-price area

    10Some Useful Links and Credentials

    SL. No URL Username Password

    1. http://api-dev.intraday.nordpoolspot.com/elbas4/docs/idapi idapi

    2. https://npsdevelopers.atlassian.net/wiki/ API_UNIPER 2015Uniper$

    Nordpool Credentials

    SSO:Uo88YmMpKUp!PfQB83bc

    TEST_API_UNIPER

    password: ksDZv17R

    NOTE: These passwords are meant for development. Updated password could be found in Middleware Mailbox notes.

  • 7/26/2019 Nordpool Spot Intraday

    12/13

    Nord Pool Market Adapter Requirement Specification

    Page 12 of 13

    11References1. http://www.nordpoolspot.com/TAS/Day-ahead-market-Elspot/2. https://npsdevelopers.atlassian.net/wiki

    Hi,

    please use it in the following way:

    curl -H "Authorization: Basic Y2xpZW50X2ludHJhZGF5X2FwaToxeEI5SWsxeHNFdTJuYndWYTFCUg==" -H "Content-Type:application/x-www-form-urlencoded" --data"grant_type=password&username=api_juniper&password=&scope=intraday_api" -khttps://sso.nordpoolspotdev.com/connect/token

    The Authorization value is static, do not change that, and please replace with your password.

    Best regards,

    LaszloDear Pratiyush,

    Thank you for your interest in getting access to Nord Pool Intraday API test environment.

    Your credentials have been created and can be found below.

    Once you are done testing in the API dev environment and you feel that your code works as expected

    please let us know and we will provide you access to the pre-production environment.

    Generic info

    Server URL

    Identity (SSO) server https://sso.nordpoolspotdev.com/connect/token

    Intraday AMQP server address #1 (SSL off) api-dev.intraday.nordpoolspot.com:5672

    Intraday AMQP server address #2 (SSL on) api-dev.intraday.nordpoolspot.com:5671

    Intraday server virtual host elbas4_vhost

    User credentials

    Username Purpose Username PasswordSSO / RabbitMQ

    Get token from SSO and connect to the api_uniper to be sent via textIntraday user (API) Log in to the intraday system (API) TEST_API_UNIPER to be sent via text

    Intraday users Log in to the intraday clients (Java or TEST_UNIPER_1 no password

    * Passwords can take up to 1 hour to arrive after receiving this email

    Portfolio information

    http://www.nordpoolspot.com/TAS/Day-ahead-market-Elspot/http://www.nordpoolspot.com/TAS/Day-ahead-market-Elspot/https://npsdevelopers.atlassian.net/wikihttps://npsdevelopers.atlassian.net/wikihttps://sso.nordpoolspotdev.com/connect/tokenhttps://sso.nordpoolspotdev.com/connect/tokenhttps://sso.nordpoolspotdev.com/connect/tokenhttps://sso.nordpoolspotdev.com/connect/tokenhttps://sso.nordpoolspotdev.com/connect/tokenhttps://sso.nordpoolspotdev.com/connect/tokenhttps://npsdevelopers.atlassian.net/wikihttp://www.nordpoolspot.com/TAS/Day-ahead-market-Elspot/
  • 7/26/2019 Nordpool Spot Intraday

    13/13

    Nord Pool Market Adapter Requirement Specification

    Page 13 of 13

    Portfolio No Portfolio name

    Intraday portfolio #1 TEST_UNIPER_AMP

    Intraday portfolio #2 TEST_UNIPER_TTG

    Intraday portfolio #3 TEST_UNIPER_DK1

    Intraday portfolio #4 TEST_UNIPER_DK2Intraday portfolio #5 TEST_UNIPER_SE3

    Intraday portfolio #6 TEST_UNIPER_SE4

    URL to API dev Java & web client

    http://elbas.nordpoolgroupqa.com/

    Best regards,

    Atle

    Reference EDRS.EPEX.101698309010YDE-EON------1.B

    Int Portfolio MISC_UNASSIGNED

    Point Of Receipt HUB TENNETDE

    Start Date 26/01/2016

    End Date 26/01/2016

    Start Time 07:00:00

    End Time 08:00:00

    Quantity 7.5

    Buy / Sell Buy

    Tran Status Pending

    Trade Date 26/01/2016

    Int Contact None

    Broker Id

    source_trade_id EDRS.EPEX.101698309010YDE-EON------1.B

    deal_source EPEX

    Trade Time 2016-01-26T04:39:03.980Z

    Ext Bunit ECC - BU

    Price 38.4

    http://elbas.nordpoolgroupqa.com/http://elbas.nordpoolgroupqa.com/http://elbas.nordpoolgroupqa.com/