MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements...

15
Owner: CAISO Copyright 2018 California ISO Doc ID: GNFDMDEHU6BB-46-46 Page 1 of 15 MRI-Settlements (MRI-S) For RC Interface Specification Document Version: 1 Date Created: 11/1/2018

Transcript of MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements...

Page 1: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 1 of 15

MRI-Settlements

(MRI-S) For RC

Interface Specification Document Version: 1

Date Created: 11/1/2018

Page 2: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 2 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

Location of Document

Revision History

Date Version Description Author

11/1/2018 1.0 Initial Version CAISO

Page 3: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 3 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

Table of Contents 1. INTRODUCTION................................................................................................................................................... 4

1.1 PURPOSE .............................................................................................................................................................. 4 1.2 CONTACT INFORMATION ....................................................................................................................................... 4 1.3 RELATED DOCUMENTS ......................................................................................................................................... 4 1.4 RELEASE NOTES ................................................................................................................................................... 5

2. BUSINESS SCENARIO ......................................................................................................................................... 6

3. SERVICE LEVEL AGREEMENT ....................................................................................................................... 7

4. SUBMITNETENERGYDATA .............................................................................................................................. 8

4.1 OPERATION DETAILS ............................................................................................................................................ 8 4.2 WSDL (SUBMITNETENERGYDATA_V1.WSDL) ..................................................................................................... 8 4.3 MESSAGE TYPE: SUBMIT NET ENERGY DATA ....................................................................................................... 8

4.3.1 Element Table ............................................................................................................................................. 8 4.3.2 Schema (NetEnergyData_v1.xsd) ..............................................................................................................10 4.3.3 Example XML File (NetEnergyData_v1.xml) ............................................................................................10

4.4 MESSAGE TYPE : STANDARD OUTPUT .................................................................................................................11 4.4.1 Element Table ............................................................................................................................................11 4.4.2 Schema .......................................................................................................................................................11 4.4.3 Example XML File (StandardOutput.xml) .................................................................................................12

5. APPENDIX – DATETIME DATA TYPE ...........................................................................................................13

6. APPENDIX – VALIDATION ERRORS .............................................................................................................15

Page 4: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 4 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

1. Introduction

1.1 Purpose

This document describes the RC Customers interface to CAISO’s RCSI Net Energy Submission web services. This will enable RC Customers to submit Net Energy Data. It provides the WSDL, XSD, and XML information required by application programmers to create and send messages and to process response messages.

1.2 Contact Information

For any questions regarding this document or technical questions related to integrating applications with

CAISO’s Net Energy Submission web services, please send email to [email protected]

1.3 Related Documents

CAISO’s ISO MARKET program has produced a set of documents describing its web services architecture. CASIO’s ISO MARKET Web Services Architecture & Integration Specification is the top-level document in this set; RC Customer and their application programmers should read this document to gain an overall understanding of CASIO’s web services architecture prior to reading any of the detailed documents shown below.

Figure 1 – ISO MARKET Web Services Interface Specification Document Set

The ISO MARKET Web Services Interface Specification Document Set is available online at the locations

indicated below.

B2B Security Specification (CAISO ISS)

CAISO’s Web Services Architecture & Integration Specification

Client Public/Private Key Instructions (CAISO ISS)

Interface Specification for DR Replacement Web Services

Page 5: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 5 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

Doc. No. Document Name Location

1 ISO MARKET B2B Security

Specification

https://portal.caiso.com

2 Client Public/Private Key

Instructions

http://www.caiso.com/Documents/ClientPublic_PrivateKeyGuidelines.pdf

1.4 Release Notes

Release Notes for ISO Interface Specification for RCSI Net Energy Submission Web Services Version 1 This document release 1.0 will be the first release of the interface specification

The services being created for RCSI Net energy Submission effort are the following:

1. submitNetEnergyData_v1 – submit a create request for Net Energy Data

2. submitNetEnergyData_v1 _DocAttach – submit a create request for Net Energy Data for .net clients

Page 6: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 6 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

2. Business Scenario

RC Customers can submit the Net Energy data via RCSI Net Energy Submission web services:

Page 7: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 7 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

3. Service Level Agreement

The following service level agreement defines the business and technical requirements for service availability

and performance.

Service availability Service Level goal is 99.9%.

Expected maximum size of payload 5 MB Uncompressed

Expected frequency (average and maximum)

5 Seconds

Longest time the service can be unavailable before business is impacted

4 hours

Business impact if is unavailable Market Participants utilizing the service will not be able to submit Net Energy data

Expected response time for standard output for a submit

<15 – 30 Seconds based on the payload size.

Acceptable Use Policy For Net Energy submission, the maximum acceptable size of the attachment is 5 MB uncompressed. Any submission with an attachment size greater than 5 MB will result in the following error being generated: Use policy violated with an attachment of size XX* MB. Maximum allowed attachment size is 5 MB. *actual payload size

Page 8: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 8 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

4. SubmitNetEnergyData

4.1 Operation Details

The service has submitNetEnergyData_v1 operation with three message types. All input and output

messages are in XML format.

Operation Message

Types

Message WSDL XSD

submitNetEnergyData_v1

Input submitNetEnergyDataRequest

submitNetEnergyData_v1.wsdl

submitNetEnergyData_v1_DocAttach.wsdl

NetEnergyData_v1.xsd

Output submitNetEnergyDataResponse

StandardOutput_v1.xsd

Fault faultReturnType StandardOutput_v1.xsd

4.2 WSDL (submitNetEnergyData_v1.wsdl)

submitNetEnergyData_v1.wsdl – Used for normal SOAP messaging

submitNetEnergyData_v1_DocAttach.wsdl – Used when .NET is the source of processing

4.3 Message Type: Submit Net Energy Data

SubmitNetEneryDataRequest

4.3.1 Element Table

Element Data Description Type/ Length

Req’d

MessageHeader

TimeDate

Application level relevant time and date for when this instance of the message was produced in GMT Time format

datetime Yes

Page 9: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 9 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

Element Data Description Type/ Length

Req’d

Source Source system which provides data for this service String Yes

Version Date reflecting to the release of the latest version .

Valid value is: v20181001

String Yes

MessagePayload (required)

MessagePayload. NetEnergyZone (one to many occurrences)

mRID Master resource identifier of the Net Energy Zone String Yes

MessagePayload. NetEnergyZone.NetEnergy (one to many occurrences)

MessagePayload. NetEnergyZone.NetEnergy.netGeneration

multiplier The unit multiplier of the Net Energy Generation quantity

Valid values are: M for Megawatt

Values are case sensitive.

Enumeration

No

unit The unit of measure of the Net Energy Generation quantity.

Valid value is: Wh

Value is case sensitive.

Enumeration

No

value Net Energy value.

Decimal values should be (16, 8), meaning up to 8 digits before and after the decimal point.

Example 1.12345678, 12022412.34 etc.

Decimal Yes

MessagePayload. NetEnergyZone.NetEnergy.netLoad

multiplier The unit multiplier of the Net Energy Load quantity.

Valid values are: M for Megawatt

Values are case sensitive.

Enumeration

No

unit The unit of measure of the Net Energy Load quantity.

Valid value is: Wh

Value is case sensitive.

Enumeration

No

value Net Energy value.

Decimal values should be (16, 8), meaning up to 8 digits before and after the decimal point.

Example 1.12345678, 12022412.34 etc.

Decimal Yes

*Only one of these two elements (netGeneration/netLoad) is required at a given time

MessagePayload. NetEnergyZone.NetEnergy.tradePeriod (Previous trade year Jan 01-Dec 31st)

end End Datetime in GMT of the interval for which the Net Energy value is being submitted.

dateTime Yes

Page 10: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 10 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

Element Data Description Type/ Length

Req’d

start Start Datetime in GMT of the interval for which the Net Energy value is being submitted.

dateTime Yes

4.3.2 Schema (NetEnergyData_v1.xsd)

The XSD can be found at the following location:

Please refer to the latest version of the artifacts found under the technical specifications.

4.3.3 Example XML File (NetEnergyData_v1.xml)

<?xml version="1.0" encoding="UTF-8"?> <NetEnergyData xmlns="http://www.caiso.com/soa/NetEnergyData_v1.xsd#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.caiso.com/soa/NetEnergyData_v1.xsd# NetEnergyData_v1.xsd " > <MessageHeader> <TimeDate>2001-12-17T09:30:47Z</TimeDate> <Source>String</Source> <Version>v20181001</Version> </MessageHeader> <MessagePayload> <NetEnergyZone> <mRID>NETENG_001</mRID> <NetEnergy> <netGeneration> <multiplier>M</multiplier> <unit>Wh</unit> <value>1000</value> </netGeneration> <tradePeriod> <end>2019-08-01T07:00:00Z</end> <start>2018-07-01T07:00:00Z</start> </tradePeriod> </NetEnergy> </NetEnergyZone> </MessagePayload> </NetEnergyData>

Page 11: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 11 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

4.4 Message Type : Standard Output

submitNetEnergyDataResponse and faultReturnType both conform to the StandardOutput.xsd

4.4.1 Element Table

Element Data Description Type / Length

Req’d

StandardOutput (required)

MessageHeader (optional)

TimeDate

Application level relevant time and date for when this instance of the message was produced, in GMT Time format

datetime No

Source Source system which provides data for this service String No

Version Date reflecting the release this latest version update was related to.

String No

MessagePayload (required)

EventLog.Service (required)

id The service Id (created by the web service). This is an internal service id used for tracking the transaction and will be used for troubleshooting.

String Yes

name The name of the service as used by the Web Service. This is an internal service name used for tracking the transaction and will be used for troubleshooting.

String Yes

EventLog.Event (required)

creationDateTime Time of creation of XML datetime No

description Description of event String No

id Id of the event This is an internal event id used for tracking the transaction and will be used for troubleshooting.

integer Yes

result Result of submission Valid values are: Success or Error

String Yes

creationTime Batch ID creation time in GMT dateTime No

4.4.2 Schema

Page 12: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 12 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

StandardOutput_v1.xsd The XSD can be found at the following location:

Please refer to the latest version of the artifacts found under the technical specifications.

4.4.3 Example XML File (StandardOutput.xml)

4.4.3.1 Response

4.4.3.1.1 Sample SUCCESS response for submitNetEnergyrData request

<? xml version="1.0" encoding="UTF-8"?> <StandardOutput xmlns="http://www.caiso.com/soa/StandardOutput_v1.xsd#"> <MessageHeader> <TimeDate>2018-10-01T12:51:08.774+00:00</TimeDate> <Source>stlmt</Source> <Version>v20181001</Version> </MessageHeader> <MessagePayload> <EventLog> <Event> <creationDateTime>2018-10-01T22:47:55.754Z</creationDateTime> <description>Successfully received</description> <id>0198514e-6b53-41a1-9d6c-1ab09dc84926</id> <result>Success</result> </Event> <Service> <id>99ad2c93-2681-45b0-bf5e-4aba80326ff5</id> <name>submitNetEnergyData_v1</name> </Service> </EventLog> </MessagePayload> </StandardOutput>

4.4.3.1.2 Sample ERROR response for submitNetEnergyData request

<?xml version="1.0" encoding="UTF-8"?> <StandardOutput xmlns="http://www.caiso.com/soa/StandardOutput_v1.xsd#"> <MessageHeader> <TimeDate>2018-10-01T12:51:08.774+00:00</TimeDate> <Source>stlmt</Source> <Version> v20181001</Version> </MessageHeader> <MessagePayload> <EventLog> <Event>

Page 13: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 13 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

<creationDateTime>2018-10-01T22:47:55.754Z </creationDateTime>

<description>Invalid XML</description> <id>0198514e-6b53-41a1-9d6c-1ab09dc84926</id> <result>Error Messages</result> </Event> <Service> <id>99ad2c93-2681-45b0-bf5e-4aba80326ff5</id> <name>submitNetEnergyData_v1</name> </Service> </EventLog> </MessagePayload> </StandardOutput>

5. Appendix – dateTime Data Type

The dateTime data type is used to specify a date and a time.

The dateTime is specified in the following form YYYY-MM-DDThh: mm:ss [(+|-) hh:mm:ss] where:

YYYY indicates the year

MM indicates the month

DD indicates the day

T indicates the start of the required time section

hh indicates the hour

mm indicates the minute

ss indicates the second

+ (plus) or - (minus) to specify an offset from the UTC time

Sample dateTime format variations supported by Net Energy Data API:

2018-01-26T07:00:00.000-00:00

2018-01-26T07:00:00Z Note that this version does not support more than 3 decimal places for milliseconds

Daily -0000 offset

start end

Page 14: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 14 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

Daylight-Savings

Time

2018-10-15T07:00-00:00 2018-10-16T07:00-00:00

Non Daylight-

Savings Time

2018-11-15T08:00-0000 2018-11-16T08:00-0000

Short Day 2018-03-11T08:00-0000 2018-03-12T07:00-0000

Long Day 2018-11-04T07:00-0000 2018-11-05T08:00-0000

Page 15: MRI-Settlements (MRI-S) For RC Interface Specification · *Only one of these two elements (netGeneration/netLoad) is required at a given time MessagePayload. NetEnergyZone.NetEnergy.tradePeriod

Owner: CAISO

Copyright 2018 California ISO

Doc ID: GNFDMDEHU6BB-46-46 Page 15 of 15

Technology

Template

Version:

[Template

Version]

Document

Version: 1

RCSI ISO Interface Specification Date Created: 11/1/2018

6. Appendix – Validation Errors

ERROR CODE ERROR MESSAGE ERROR DESCRIPTION 2001 Unexpected Error Unhandled Exception

2002 Invalid XML XSD validation errors

2003 Invalid File One or many of the mandatory fields are missing in the attachment

2004 Invalid Net Energy Zone The specified Net Energy Zone ID not valid for the given date range.

2005 Net Energy submission for this Net Energy Zone is not allowed.

Net Energy submission for this Net Energy Zone is not allowed.

2006 Late Net Energy submission Trade date submitted is beyond the cutoff date

2007 Invalid time format Interval End Time should be in GMT

2008 Invalid Net Enery value precision Valid precision for Net Energy value is (16,8), ie. 8 digits before and after the decimal point

2009 Duplicate Net Enery Data found The data cannot be provided for both GEN and LOAD XML elements at the same time.

2010 Unexpected Security Error Unhandled exception specific to auth service

<SOAP Fault> Use policy violated with an attachment of size XX* MB. Maximum allowed attachment size is 5 MB

<SOAP Fault> MessageHeader version is missing or invalid MessageHeader version number is required for backwards compatibility: "v20181001"

2011 Invalid Unit of Measurement Unit of Measurement must be “M”

2012 Invalid Net Energy value Net Energy cannot be negative