OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

emix message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (EMIX-409) CIM Definition Sources:CLONE -Omnibus issue for Acclara (David Haynes) comments



    [ http://tools.oasis-open.org/issues/browse/EMIX-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25809#action_25809 ] 

Gerald Gray commented on EMIX-409:
----------------------------------

I see two challenges, 1) using a CIM reference if what we are doing is not CIM-ish.  If it is CIM-ish we might use the appropriate reference which I "think" is:

IEC 61970-301 Energy Management System Application Program Interface (EMS-API) — Part 301: Common Information Model (CIM) Base

2) Per your question 2, I created an example XSD that contains curve, curvedata, and curvestyle enum below:

Feel free to copy and paste into your XML viewer of choice.  Provided as an example of the CIM curve related classes to inform the discussion:

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:sawsdl="http://www.w3.org/ns/sawsdl"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:cimp="http://www.iec.org/CimProfile"; xmlns="http://iech.ch/2011/rampcurve"; xmlns:m="http://iech.ch/2011/rampcurve"; targetNamespace="http://iech.ch/2011/rampcurve"; elementFormDefault="qualified" attributeFormDefault="unqualified" xml:base="http://iech.ch/2011/rampcurve";>
	<xs:element name="RampCurveExample" type="RampCurveExample"/>
	<xs:complexType name="RampCurveExample">
		<xs:sequence>
			<xs:element name="Curve" type="Curve" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="Curve" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve">
		<xs:annotation>
			<xs:documentation>A multi-purpose curve or functional relationship between an independent variable (X-axis) and dependent (Y-axis) variables.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="IdentifiedObject">
				<xs:sequence>
					<xs:element name="CurveData" type="CurveData" minOccurs="0" maxOccurs="unbounded" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve.CurveData"/>
					<xs:element name="curveStyle" type="CurveStyle" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve.curveStyle">
						<xs:annotation>
							<xs:documentation>The style or shape of the curve.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="xMultiplier" type="UnitMultiplier" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve.xMultiplier">
						<xs:annotation>
							<xs:documentation>Multiplier for X-axis.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="xUnit" type="UnitSymbol" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve.xUnit">
						<xs:annotation>
							<xs:documentation>The X-axis units of measure.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="y1Multiplier" type="UnitMultiplier" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve.y1Multiplier">
						<xs:annotation>
							<xs:documentation>Multiplier for Y1-axis</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="y1Unit" type="UnitSymbol" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve.y1Unit">
						<xs:annotation>
							<xs:documentation>The Y1-axis units of measure.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="y2Multiplier" type="UnitMultiplier" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve.y2Multiplier">
						<xs:annotation>
							<xs:documentation>Multiplier for Y2-axis.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="y2Unit" type="UnitSymbol" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve.y2Unit">
						<xs:annotation>
							<xs:documentation>The Y2-axis units of measure.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="y3Multiplier" type="UnitMultiplier" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve.y3Multiplier">
						<xs:annotation>
							<xs:documentation>Multiplier for Y3-axis.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="y3Unit" type="UnitSymbol" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/Curve.y3Unit">
						<xs:annotation>
							<xs:documentation>The Y3-axis units of measure.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="CurveData" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/CurveData">
		<xs:annotation>
			<xs:documentation>Multi-purpose data points for defining a curve.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="xvalue" type="xs:double" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/CurveData.xvalue">
				<xs:annotation>
					<xs:documentation>The data value of the X-axis variable,  depending on the X-axis units</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="y1value" type="xs:double" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/CurveData.y1value">
				<xs:annotation>
					<xs:documentation>The data value of the  first Y-axis variable, depending on the Y-axis units</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="y2value" type="xs:double" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/CurveData.y2value">
				<xs:annotation>
					<xs:documentation>The data value of the second Y-axis variable (if present), depending on the Y-axis units</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="y3value" type="xs:double" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/CurveData.y3value">
				<xs:annotation>
					<xs:documentation>The data value of the third Y-axis variable (if present), depending on the Y-axis units</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="CurveStyle" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/CurveStyle">
		<xs:annotation>
			<xs:documentation>Style or shape of curve.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="constantYValue" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/CurveStyle">
				<xs:annotation>
					<xs:documentation>The Y values are assumed constant until the next curve point and prior to the first curve point.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="straightLineYValues" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/CurveStyle">
				<xs:annotation>
					<xs:documentation>The Y values is assumed tow be a straight line between values.  Also known as linear interpolation.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="rampYValue" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/CurveStyle">
				<xs:annotation>
					<xs:documentation>The Y values are assumed to ramp between points.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="formula" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/CurveStyle">
				<xs:annotation>
					<xs:documentation>An unspecified formula is assumed to compute Y value between points.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="IdentifiedObject" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/IdentifiedObject">
		<xs:annotation>
			<xs:documentation>This is a root class to provide common identification for all classes needing identification and naming attributes</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="mRID" type="xs:string" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/IdentifiedObject.mRID">
				<xs:annotation>
					<xs:documentation>A Model Authority issues mRIDs. Given that each Model Authority has a unique id and this id is part of the mRID, then the mRID is globally unique.
Global uniqeness is easily achived by using a UUID for the mRID. It is strongly recommended to do this.
For CIMXML data files the mRID is mapped to rdf:ID or rdf:about attributes that identifies CIM object elements.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="aliasName" type="xs:string" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/IdentifiedObject.aliasName">
				<xs:annotation>
					<xs:documentation>The aliasName is free text human readable name of the object alternative to IdentifiedObject.name. It may be non unique and may not correlate to a naming hierarchy.
The attribute aliasName is retained because of backwards compatibility between CIM relases. It is however recommended to replace aliasName with the Name class as aliasName is planned for retirement at a future time.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Core/IdentifiedObject.name">
				<xs:annotation>
					<xs:documentation>The name is any free human readable and possibly non unique text naming the object.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="UnitMultiplier" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Domain/UnitMultiplier">
		<xs:annotation>
			<xs:documentation>The unit multipliers defined for the CIM.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:simpleType name="UnitSymbol" sawsdl:modelReference="iec61970cim15v22_iec61968cim11v10_iec62325cim01v06.eap#CIM Profiles/CIM Profiles/Ramp Curve Example/IEC61970/Domain/UnitSymbol">
		<xs:annotation>
			<xs:documentation>The units defiend for usage in the CIM.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
</xs:schema>


> CIM Definition Sources: CLONE -Omnibus issue for Acclara (David Haynes) comments
> --------------------------------------------------------------------------------
>
>                 Key: EMIX-409
>                 URL: http://tools.oasis-open.org/issues/browse/EMIX-409
>             Project: OASIS Energy Market Information Exchange (eMIX) TC
>          Issue Type: Improvement
>    Affects Versions: csprd02 Public Review Draft
>         Environment: David Haynes
>            Reporter: Toby Considine
>            Assignee: Gerald Gray
>
> 681     technical       "ramp rate curve"? Where exactly is this defined? What is the name of the document? What is the name of the CIM class it inherits from?
> 703     technical       "mrid"? I believe IEC TC57 WG13 has developed a document to define the mrid. You must either define what you mean by "mrid" and the rules associated with the use of it, or cite someone else's document that does this for you. There are very specific rules for its construction and use that need to be followed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]