7-2
Critical
Validation
IMD in Error
Error: Can't find a device with
the identifier
VEE Engine
Create Final
Measurements
MDM
Load Initial
Measurements
Critical
Validation
Date/Time
Pre VEE
Consumption
1-Jan-10 3:00pm
1-Jan-10 4:00pm
missing
1-Jan-10 5:00pm
1-Jan-10 6:00pm
7-3
MC ID: 1239101
IMD ID: 12391011912
Prepare For
VEE
VEE Engine
Post VEE
Consumption
Date/Time
Pre VEE
Consumption
Post VEE
Consumption
1-Jan-10 3:00pm
1.1
1.1
1-Jan-10 4:00pm
missing
missing
1-Jan-10 5:00pm
2.2
2.2
1-Jan-10 6:00pm
3.3
3.3
is intentional
as the
Note, this
pre and post quantities should
be in sync prior to VEE starting
7-4
Load Initial
Measurements
Critical
Validation
Additional
Mapping
Prepare For
VEE
VEE Engine
Exception
Exception Type: Multiplier changed
IMD ID: 12391011912
Exception: Multiplier was changed to
match master data
Exception Severity: Info
VEE Rule
10
UOM validation
20
30
40
Spike check
7-5
Some rules
do both
IMD
MC ID: 1239101
IMD ID: 12391011912
Date/Time
Pre VEE
Measure
ment
Post VEE
Measure
ment
1-Jan-10 3:00pm
14.678
15.1
1-Jan-10 4:00pm
missing
20
1-Jan-10 5:00pm
13.12
13.41
1-Jan-10 6:00pm
150.12
14.12
Effective Dates
Every VEE rule has an effective period
Rules will only be applied if the IMD's start date is within the
rule's effective period
VEE Group: Simple interval
Seq
VEE Rule
10
1-Jan-2010
20
1-Jan-2010
30
1-Jan-2010
40
Spike check
15-Nov-2010
This rule will only be applied if the IMD's
start date is on or after 15-Nov-2010
7-6
Eligibility Criteria
A VEE rule may optionally have eligibility criteria that control if the rule is applied
7-7
VEE Rule
10
1-Jan-2010
20
1-Jan-2010
30
1-Jan-2010
40
Spike check
50
60
This
rule is only applied if the IMD's MC
15-Nov-2010
has a corresponding scalar confirmation
register
15-Nov-2010
15-Nov-2010
This rule is only applied if the MC's device
configuration has been installed at a SP
for less than 6 months
UOM validation
7-8
VEE Rule
Interval estimation
Execute VEE group Interval Scalar Check
Criteria: Apply if the MC has a scalar check register
SOUTH
EAST
WEST
VEE Group
7-9
VEE Group
Initial Load
From Head-end
Estimation
Estimated Interval
Manual
Override
Manual interval
MC ID: 1234123112
MC Type: Electric Commercial Interval
Head-end: L+G
Serial Number: A1-93818121
Legend
Tran. Data
VEE Role
Initial Load
VEE Group
Safeway's VEE Group
Admin Data
Master Data
FW Data
7 - 10
Load Initial
Measurements
Date/Time
Initial
Measurement
1-Jan-10 3:00pm
15.1
1-Jan-10 3:15pm
missing
1-Jan-10 3:30pm
14.3
Exception
Exception Type: Multiplier change
IMD ID: 12391011912
VEE Engine
Exception
Exception Type: Too many missing intervals
IMD ID: 12391011912
Exception: Estimation not allowed due to too
many missing intervals
Exception Severity: Terminate
7 - 11
Three Severities
Exception
Exception Type: Multiplier change
IMD ID: 12391011912
Exception: Multiplier was changed to match
master data
Exception Severity: Info
Exception
Exception Type: Large spike
VEE Engine
Exception
Exception ID: 1239103
Exception Type: Too many missing intervals
Exception: Estimation not allowed due to too
many missing intervals
Exception Severity: Terminate
7 - 12
VEE Engine
7 - 13
7 - 14
Exception Type
CH, X
MC
MC Type
Override
IMD
Fallback
MC / Override
VEE Group For
Role
MC Type /
VEE Group For
Role
VEE Group
Role
Open/Closed
VEE Exception
ST, CH, X
Severity
MC Type /
Valid VEE
Group
VEE rules
can change
an IMD
VEE Group
CH, X
VEE rules
can create
exceptions
A VEE rule
may execute a
different VEE
group's rules
VEE Rule
CH, X
A VEE group
has rules
VEE Category
An MC may only
reference override
VEE groups defined
on its MC type
A factor must reference a
predefined char type.
The factor must also
define the predefined
char values that have
VEE groups.
Factor
CH
Char Type
Factor / Char
Value
Char Value
Eligibility Criteria
CH, X
7 - 15
VEE Group
Factor Value
CH
Legend
Trans. Data
Admin Data
Master Data
FW Data
MO Boundary
Described
elsewhere
ST - Status
CH - Characteristics
X - CLOB
BO Definition
7 - 16
BO Definition Part 1
VEE Group
VEE Rule
Business
Object
Eligibility
Criteria
Business
Object
VEE
Exception
Exception
Type
Legend
Tran. Data
Admin Data
Master Data
FW Data
7 - 17
BO Definition Part 2
Factor
Business
Object
Option
Factor
Value
The factor value's is defined in a
BO option on its factor
Legend
Tran. Data
Admin Data
Master Data
FW Data
7 - 18
7 - 20
7 - 21
7 - 23
7 - 24
7 - 25
7 - 26
7 - 27
These
options
control how
estimation is
performed
These options control the
type and severity of the
exception created if
estimation issues occur
7 - 29
7 - 30
These
options
control how
estimation is
performed
7 - 31
7 - 32
7 - 33
7 - 34
7 - 35
7 - 36
7 - 37
If the MC has a corresponding scalar check register (yours do not), every interval whose
condition is considered missing should be estimated using the prorated scalar consumption from
the scalar check register
If there are still missing intervals and less than 30% of intervals are missing, any gap of missing
intervals that is <= 4 hours wide should be estimated by interpolating the missing values from the
adjoining intervals
If there are still missing intervals and the percent of missing intervals is less than 30%, all
missing intervals should be estimated using the average value from historic consumption on the
same day and time
If there are still missing intervals and less than 70% of intervals are missing, any gap of missing
intervals that is <= 6 hours should be estimated by interpolating the missing values from the
adjoining intervals (note, this is not a typo, it's an example of retrying a VEE rule after others
have been tried)
If there are still missing intervals (meaning that none of the earlier rules were successful),
terminate VEE with an appropriate exception type.
Please break up into teams and design the admin data necessary to add these VEE rules. Before
adding the rules, please check your configuration using the upcoming slides.
After the admin data is in place, continue following the instructions to create IMDs for your electric MCs
7 - 38
Device
Device Config.
MC Type
MC
Fallback Vee
Group
Fallback
2
Initial Meas.
Data (IMD)
VEE Group
Legend
1
VEE Rule
Exception Type
Measurement
Trans. Data
Admin Data
Note well: the base-package is not delivered with Exception Types as this data
is use for reporting categorization and each implementation will opt to categorize
exceptions differently.
For the purposes of this practice, the Exception Types in the demo system will
be used (thus saving time on the practice).
7 - 39
Master Data
FW Data
MO Boundary
Described
elsewhere
ST - Status
CH - Characteristics
X - CLOB
7-1 Solution
Add Interval Adjustment From Scalar VEE Rule
VEE Rule
Description
Identifying BO
RW-IAFS
RW - Interval Adjustment
From Scalar
Interval Adjustment
From Scalar
1.1
7-1 Solution
Add Interval Interpolation VEE Rule
VEE Rule
Description
Identifying BO
Interval Interpolation
Est
1.2
RW-II1
7 - 41
7-1 Solution
Add Interval Averaging VEE Rule
VEE Rule
Description
Identifying BO
RW-IAVG
RW - Interval Averaging
Interval Averaging
Estimation
1.3
7 - 42
7-1 Solution
Add Interval Interpolation VEE Rule
VEE Rule
Description
Identifying BO
Interval Interpolation
Est
1.4
RW-II2
7 - 43
7-1 Solution
Add Another Day's IMDs (With Missing Measurements That Will Be Interpolated)
Your electric device's serial number
2.1
<devices>
<deviceIdentifierNumber>RW-E-CONGEN</deviceIdentifierNumber>
<initialMeasurementData>
Your electric head-end's external ID
<serviceProviderExternalId>RWE</serviceProviderExternalId>
<preVEE>
Your consumed MC's channel ID
<mcIdN>RWA</>
<stDt>2010-01-03-00.00.00</stDt>
<enDt>2010-01-04-00.00.00</enDt>
<msrs>
<mL>
INSTRUCTOR: give this to the students, it's the XML for
<s>1</s>
the next day's worth of measurements for both the
<q>12.12</q>
consumption and generation MCs. The consumed
<fc>501000</fc>
channel has missing measurements that will be
</mL>
estimated by the first interpolation rule.
<mL>
<s>2</s>
The students must change it to define their device
<q>0</q>
identifier number and service provider external id. If
<fc>201000</fc>
they followed the instructions in the device practice, they
</mL>
will not have to change the MC Ids. Note, there are 4
</preVEE>
</initialMeasurementData>
</devices>
7 - 44
<devices>
<deviceIdentifierNumber>RW-E-CONGEN</deviceIdentifierNumber>
<initialMeasurementData>
<serviceProviderExternalId>RWE</serviceProviderExternalId>
<preVEE>
<mcIdN>RWA</mcIdN>
<stDt>2010-01-03-00.00.00</stDt>
<enDt>2010-01-04-00.00.00</enDt>
<msrs>
<mL>
<s>1</s>
<q>1.2</q>
<fc>501000</fc>
</mL>
<mL>
<s>2</s>
<q>0</q>
<fc>201000</fc>
</mL>
<mL>
<s>3</s>
<q>1.4</q>
<fc>501000</fc>
</mL>
<mL>
<s>4</s>
<q>0</q>
<fc>201000</fc>
</mL>
<mL>
<s>5</s>
<q>0</q>
<fc>201000</fc>
</mL>
<mL>
<s>6</s>
<q>1.7</q>
<fc>501000</fc>
</mL>
<mL>
<s>7</s>
<q>2.1</q>
<fc>501000</fc>
</mL>
<mL>
<s>8</s>
<q>2.4</q>
<fc>501000</fc>
</mL>
<mL>
<s>9</s>
<q>1.9</q>
<fc>501000</fc>
</mL>
<mL>
<s>10</s>
<q>1.8</q>
<fc>501000</fc>
</mL>
<mL>
<s>11</s>
<q>1.7</q>
<fc>501000</fc>
</mL>
<mL>
<s>12</s>
<q>1.6</q>
<fc>501000</fc>
</mL>
<mL>
<s>13</s>
<q>1.8</q>
<fc>501000</fc>
</mL>
<mL>
<s>14</s>
<q>2.2</q>
<fc>501000</fc>
</mL>
<mL>
<s>15</s>
<q>2.5</q>
<fc>501000</fc>
</mL>
<mL>
<s>16</s>
<q>2.3</q>
<fc>501000</fc>
</mL>
<mL>
<s>17</s>
<q>2.8</q>
<fc>501000</fc>
</mL>
<mL>
<s>18</s>
<q>2.9</q>
<fc>501000</fc>
</mL>
<mL>
<s>19</s>
<q>3.2</q>
<fc>501000</fc>
</mL>
<mL>
<s>20</s>
<q>3.1</q>
<fc>501000</fc>
</mL>
<mL>
<s>21</s>
<q>1.9</q>
<fc>501000</fc>
</mL>
<mL>
<s>22</s>
<q>1.8</q>
<fc>501000</fc>
</mL>
<mL>
<s>23</s>
<q>1.7</q>
<fc>501000</fc>
</mL>
<mL>
<s>24</s>
<q>1.6</q>
<fc>501000</fc>
</mL>
</msrs>
</preVEE>
</initialMeasurementData>
<initialMeasurementData>
<serviceProviderExternalId>RWE</serviceProviderExternalId>
<preVEE>
<mcIdN>RWB</mcIdN>
<stDt>2010-01-03-00.00.00</stDt>
<enDt>2010-01-04-00.00.00</enDt>
<msrs>
<mL>
<s>1</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>2</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>3</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>4</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>5</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>6</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>7</s>
<q>.5</q>
<fc>501000</fc>
</mL>
<mL>
<s>8</s>
<q>.7</q>
<fc>501000</fc>
</mL>
<mL>
<s>9</s>
<q>1</q>
<fc>501000</fc>
</mL>
<mL>
<s>10</s>
<q>1.1</q>
<fc>501000</fc>
</mL>
<mL>
<s>11</s>
<q>1.5</q>
<fc>501000</fc>
</mL>
<mL>
<s>12</s>
<q>2</q>
<fc>501000</fc>
</mL>
<mL>
<s>13</s>
<q>1.8</q>
<fc>501000</fc>
</mL>
<mL>
<s>14</s>
<q>2.7</q>
<fc>501000</fc>
</mL>
<mL>
<s>15</s>
<q>2</q>
<fc>501000</fc>
</mL>
<mL>
<s>16</s>
<q>.5</q>
<fc>501000</fc>
</mL>
<mL>
<s>17</s>
<q>.3</q>
<fc>501000</fc>
</mL>
<mL>
<s>18</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>19</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>20</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>21</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>22</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>23</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>24</s>
<q>0</q>
<fc>501000</fc>
</mL>
</msrs>
</preVEE>
</initialMeasurementData>
</devices>
7-1 Solution
Navigate To The Consumption IMD
2.2
7 - 45
7-1 Solution
360 View - Measuring Component
2.3
7 - 46
Eligibility Criteria
Eligibility Criteria
Recall that a VEE rule can
optionally have eligibility criteria
that control if the rule is skipped or
applied
If a rule does not have
eligibility criteria, it is applied
The base-package eligibility
criteria BO compares a field value
to a user-defined value and returns
true, false or insufficient data
The VEE engine uses the
returned value to skip the
rule, apply the rule, defer the
decision to the next rule, or
throw an error
7 - 48
7 - 49
Base Package
Algorithm Types
The base-package is supplied with
algorithm types that retrieve field
values from the IMD or objects related
to the MC
Implementations must configure
algorithms for every field that they plan
to compare in their eligibility criteria
7 - 51
7 - 52
If an IMD on your electric consumed MC has a spike that exceeds 70%, the spike should be
treated as "missing" (i.e., it should be estimated by the various estimation rules defined earlier)
If an IMD on your electric generated MC has a spike that exceeds 100%, the spike should be
treated as "missing" (i.e., it should be estimated by the various estimation rules defined earlier)
Please break up into teams and design the admin data necessary to add these VEE rules. Before
adding the rules, please check your configuration using the upcoming slides.
After the admin data is in place, continue following the instructions to create IMDs for your electric MCs
7 - 53
Device
Device Config.
MC Type
MC
Fallback Vee
Group
Fallback
5
Initial Meas.
Data (IMD)
VEE Group
Legend
3
VEE Rule
Exception Type
Measurement
Trans. Data
Admin Data
Eligibility Criteria
Master Data
Algorithm
FW Data
MO Boundary
Described
elsewhere
ST - Status
CH - Characteristics
X - CLOB
7 - 54
7-2 Solution
Add A VEE Eligibility Criteria Field Algorithm
1
Algorithm
Description
RW-GETMCTYPE
7 - 55
7-2 Solution
Add Spike Check Exception Types
2
Exception Type
Description
Identifying BO
RW-INFOSPIKE-70
Exception Type
RW-INFOSPIKE-100
Exception Type
7 - 56
Navigate to Admin / E / +
Exception Type and add the
exception types as shown
7-2 Solution
Add A Spike Check VEE Rule For The Consumed Channel
3
VEE Rule
Description
Identifying BO
RW-SC-CON
RW - Consumption Spike
Check
7-2 Solution
Add Eligibility Criteria For The VEE Rule
4
Eligibility
Sequence
Description
Identifying BO
10
RW - Consumption Spike
Check
7 - 58
7-2 Solution
Add A Spike Check VEE Rule For The Generated Channel
3
VEE Rule
Description
Identifying BO
RW-SC-GEN
7 - 59
7-2 Solution
Edit The Eligibility Criteria For The Generate Rule
4
7 - 60
7-2 Solution
Checkpoint
7 - 61
7-2 Solution
Add Another Day's IMDs (With Spikes)
Your electric device's serial number
5.1
<devices>
<deviceIdentifierNumber>RW-E-CONGEN</deviceIdentifierNumber>
<initialMeasurementData>
Your electric head-end's external ID
<serviceProviderExternalId>RWE</serviceProviderExternalId>
<preVEE>
Your consumed MC's channel ID
<mcIdN>RWA</>
<stDt>2010-01-04-00.00.00</stDt>
<enDt>2010-01-05-00.00.00</enDt>
<msrs>
<mL>
<s>1</s>
INSTRUCTOR: give this to the students, it's the XML for
<q>12.12</q>
the next day's worth of measurements for both the
<fc>501000</fc>
consumption and generation MCs. Both channels have
</mL>
spikes that will be smoothed.
<mL>
<s>8</s>
The students must change it to define their device
<q>24</q>
<fc>501000</fc>
identifier number and service provider external id.
</mL>
A spike exists for both
</msrs> channels
</preVEE>
</initialMeasurementData>
<initialMeasurementData>
<serviceProviderExternalId>RWE</serviceProviderExternalId>
<preVEE>
Your generated MC's channel ID
<mcIdN>RWB</>
</preVEE>
</initialMeasurementData>
</devices>
7 - 62
<devices>
<deviceIdentifierNumber>RW-E-CONGEN</deviceIdentifierNumber>
<initialMeasurementData>
<serviceProviderExternalId>RWE</serviceProviderExternalId>
<preVEE>
<mcIdN>RWA</mcIdN>
<stDt>2010-01-04-00.00.00</stDt>
<enDt>2010-01-05-00.00.00</enDt>
<msrs>
<mL>
<s>1</s>
<q>1.2</q>
<fc>501000</fc>
</mL>
<mL>
<s>2</s>
<q>0</q>
<fc>201000</fc>
</mL>
<mL>
<s>3</s>
<q>1.4</q>
<fc>501000</fc>
</mL>
<mL>
<s>4</s>
<q>0</q>
<fc>201000</fc>
</mL>
<mL>
<s>5</s>
<q>0</q>
<fc>201000</fc>
</mL>
<mL>
<s>6</s>
<q>1.7</q>
<fc>501000</fc>
</mL>
<mL>
<s>7</s>
<q>2.1</q>
<fc>501000</fc>
</mL>
<mL>
<s>8</s>
<q>24</q>
<fc>501000</fc>
</mL>
<mL>
<s>9</s>
<q>1.9</q>
<fc>501000</fc>
</mL>
<mL>
<s>10</s>
<q>1.8</q>
<fc>501000</fc>
</mL>
<mL>
<s>11</s>
<q>1.7</q>
<fc>501000</fc>
</mL>
<mL>
<s>12</s>
<q>1.6</q>
<fc>501000</fc>
</mL>
<mL>
<s>13</s>
<q>1.8</q>
<fc>501000</fc>
</mL>
<mL>
<s>14</s>
<q>2.2</q>
<fc>501000</fc>
</mL>
<mL>
<s>15</s>
<q>2.5</q>
<fc>501000</fc>
</mL>
<mL>
<s>16</s>
<q>2.3</q>
<fc>501000</fc>
</mL>
<mL>
<s>17</s>
<q>2.8</q>
<fc>501000</fc>
</mL>
<mL>
<s>18</s>
<q>2.9</q>
<fc>501000</fc>
</mL>
<mL>
<s>19</s>
<q>3.2</q>
<fc>501000</fc>
</mL>
<mL>
<s>20</s>
<q>3.1</q>
<fc>501000</fc>
</mL>
<mL>
<s>21</s>
<q>1.9</q>
<fc>501000</fc>
</mL>
<mL>
<s>22</s>
<q>1.8</q>
<fc>501000</fc>
</mL>
<mL>
<s>23</s>
<q>1.7</q>
<fc>501000</fc>
</mL>
<mL>
<s>24</s>
<q>1.6</q>
<fc>501000</fc>
</mL>
</msrs>
</preVEE>
</initialMeasurementData>
<initialMeasurementData>
<serviceProviderExternalId>RWE</serviceProviderExternalId>
<preVEE>
<mcIdN>RWB</mcIdN>
<stDt>2010-01-04-00.00.00</stDt>
<enDt>2010-01-05-00.00.00</enDt>
<msrs>
<mL>
<s>1</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>2</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>3</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>4</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>5</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>6</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>7</s>
<q>.5</q>
<fc>501000</fc>
</mL>
<mL>
<s>8</s>
<q>14</q>
<fc>501000</fc>
</mL>
<mL>
<s>9</s>
<q>1</q>
<fc>501000</fc>
</mL>
<mL>
<s>10</s>
<q>1.1</q>
<fc>501000</fc>
</mL>
<mL>
<s>11</s>
<q>1.5</q>
<fc>501000</fc>
</mL>
<mL>
<s>12</s>
<q>2</q>
<fc>501000</fc>
</mL>
<mL>
<s>13</s>
<q>1.8</q>
<fc>501000</fc>
</mL>
<mL>
<s>14</s>
<q>2.7</q>
<fc>501000</fc>
</mL>
<mL>
<s>15</s>
<q>2</q>
<fc>501000</fc>
</mL>
<mL>
<s>16</s>
<q>.5</q>
<fc>501000</fc>
</mL>
<mL>
<s>17</s>
<q>.3</q>
<fc>501000</fc>
</mL>
<mL>
<s>18</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>19</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>20</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>21</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>22</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>23</s>
<q>0</q>
<fc>501000</fc>
</mL>
<mL>
<s>24</s>
<q>0</q>
<fc>501000</fc>
</mL>
</msrs>
</preVEE>
</initialMeasurementData>
</devices>
7-2 Solution
Navigate To 360 MC And Open The IMD Overlay Zone
5.2
7 - 63
7-2 Solution
Navigate To The Consumption IMD
5.3
7 - 64
7-2 Solution
Navigate To The IMD's Log
5.4
7 - 65
7 - 67
As
Measured
Loss
Adjusted
Thermal
Unit
UOM: CCF
SQI: nil
UOM: CCF
SQI: Loss
Adjusted
UOM: BTU
SQI: nil
1-Jan-10 3:00pm
10
10.1
10.11
1-Jan-10 4:00pm
15
15.15
15.165
1-Jan-10 5:00pm
10
10.1
10.11
Review Questions
7 - 68