Meters and Counters are located within the EnergyCAP Enterprise Facility Tree. They are the lowest level of detail tracked by EnergyCAP.
A meter is a logical device used to gather or measure commodity data. Typically, an EnergyCAP Enterprise meter is associated with an actual physical meter attached to a building. However, the EnergyCAP Enterprise meter may also be a ‘virtual’ meter, where a physical meter does not exist, but the commodity consumption is calculated based on either an easily measurable attribute, or an engineering analysis. The meter is the linchpin between the Facility Tree and the Cost Center Tree in EnergyCAP Enterprise. The meter is associated with the Place, where the commodity is consumed, and the same meter is also associated with the account, where the cost of the commodity consumed is determined by a bill.
EnergyCAP Enterprise uses different meter icons to help visually identify the commodity being tracked by the meter.
A counter is a logical device used for collecting a wider range of data than the use or cost associated with utility bills. A counter may track "non-traditional" commodities. Counter data is typically:
Meters and counters may have one or more channels assigned to them. Measured channel data may be obtained via different means including a file import, manual data entry, or the use of virtual channel equations. Meter devices/hardware may be changed over time. EnergyCAP Enterprise maintains a history, based on installation dates, of all meter/channel or counter/channel properties.
A Meter measures the commodity use and cost for the associated Place. A Counter measures the non-commodity use, or tracks a count of a measurable quantity, for the associated Place.
A Meter may be associated with an Account. If so, the easiest way to create the Meter is to use the New Account/Meter Wizard in the Accounts Manager. Follow the instructions to create a New Account/Meter.
To create a Meter that is not associated with an Account (a submeter that is only tracking use, or that is tracking interval data), or to create a Counter:











! The Move Function only supports the moving of a single Meter or Counter at a time!




! Deleting a Meter or a Counter will also delete any Channel Data (Interval Data) associated with it!
! A Meter that is attached to an Account cannot be deleted. Modify the Account to remove the Meter, then delete the Meter!



The New Counter Wizard is used to quickly create a new Counter or counters. A Counter measures the non-commodity use, or tracks a count of a measurable quantity, for the associated Place. The Wizard enables quick and convenient creation of new counters, but some setup options are not available. To more fully configure counter properties during setup, use the Create Counter option.
To launch the New Counter Wizard:


Channel data is time-series (interval) data, most often electric 15-minute KW interval data. But it can also be weather data, production data or almost any data excluding monthly utility bills.
EnergyCAP Enterprise supports the ability to import Interval data contained in text files, MDEF files, Modified MDEF files, and Meter Exchange files. Whatever the format, the data provider should supply files with unique vendor- and date-based names. For example, an interval data file provided by EnergyCAP, Inc. containing data for 04/06/2004 could be named ‘gss_20040406.csv’. If multiple files arrive for the same day, a suffix, such as ‘a’, ‘b’, ‘c’, etc., could be added to the filename. The imported Interval Data is stored in either a Meter Channel or a Counter Channel.
To import data into EnergyCAP, use the Import Wizard (File/Import from the Facility Manager). Please refer to Importing Meter or Counter Data for more detailed instructions.
it is not necessary to create a meter or counter channel in EnergyCAP prior to importing data. The first time the channel data is imported, a new channel will be created automatically. The user must populate the field named ImportID onthe Specific tab of Meter or Counter Properties. This is the DEVICE name that will generally appear in the first column of the import data file, and it links the imported data to the correct meter/counter and channel.
This document currently focuses on the text file specifications. Please contact EnergyCAP, Inc. for additional information about the MDEF, Modified MDEF, and Meter Exchange file specifications.
There are three text file formats available for use with EnergyCAP Enterprise. All of these formats require that the data be contained in a column based, delimited file, with a file extension of either “csv”, “dat”, “prn”, or “txt”.
Text File Format #1
Sample Data for a Meter tracking 15 minute interval data in two channels (Demand in kW, and Reactive Demand in kVAR).
ImportID,Timestamp,kWValue,kVARValue
KZG002614057,07/05/2002 00:15,22.56,8.208
KZG002614057,07/05/2002 00:30,22.368,8.064
KZG002614057,07/05/2002 00:45,21.984,7.344
KZG002614057,07/05/2002 01:00,22.464,7.536
KZG002614057,07/05/2002 01:15,27.792,12.768
KZG002614057,07/05/2002 01:30,22.656,8.064
KZG002614057,07/05/2002 01:45,22.608,8.112
KZG002614057,07/05/2002 02:00,22.464,8.16
KZG002614057,07/05/2002 02:15,22.368,8.064
KZG002614057,07/05/2002 02:30,22.224,7.536
KZG002614057,07/05/2002 02:45,22.224,7.392
KZG002614057,07/05/2002 03:00,22.656,7.488
Text File Format #2
Sample Data for a Meter tracking 60 minute interval data in one Demand channel, with a unit of kW.
ImportID,Date/Timestamp,Unit,Value
TESTMETER,06/01/2003 00:00,KW,102
TESTMETER,06/01/2003 01:00,KW,100
TESTMETER,06/01/2003 02:00,KW,105
TESTMETER,06/01/2003 03:00,KW,110
TESTMETER,06/01/2003 04:00,KW,108
TESTMETER,06/01/2003 05:00,KW,120
TESTMETER,06/01/2003 06:00,KW,140
TESTMETER,06/01/2003 07:00,KW,160
Text File Format #3
• Header Row to define the columns is optional, but recommended.
• Timestamp column containing the time when the reading occurred. The interval between the timestamps determines the channel interval. Alternatively, a column containing the Date, followed by a column containing the Time can also be used to indicate when the reading occurred. The interval between the concatenation of the Date/Time of the readings determines the channel interval.
In the example below, note the repeated Timestamp for different units.
• ImportID column containing the ImportID for a Meter or Counter.
• Unit column to define the unit for the Channel.
• Value column containing the reading value.
Sample Data for a Meter tracking 15 minute interval data in two channels (Demand, with a unit of kW, and Reactive Demand, with a unit of kVAR).
TIMESTAMP, IMPORTID, UNIT, VALUE
01/01/2003 00:15, METER001, KW, 100.25
01/01/2003 00:15, METER001, KVAR, 20.35
01/01/2003 00:30, METER001, KW, 105.45
01/01/2003 00:30, METER001, KVAR, 22.75
Important! During the import wizard process the user will specify the ‘picture’ (i.e. format) of the timestamp. Exactly follow the pattern of the examples provided! Be sure to recognize that month is 'MM' while minutes are 'mm'.
12/31/2005 12:15 MM/dd/yyyy hh:mm
123105 0:00 MMddyy h:mm
20051231 01:30 yyyyMMdd hh:mm
2005-12-31 0130 yyyy-MM-dd hhmm
Text File Format #4
Below is a sample import file with 15-minute interval data for KVar, KW, Power Factor, KVA, and additional optional fields for Actual/Estimated (A/E OR 0/1) and Note (alphanumeric field--avoid special characters and punctuation).
ESI_ID INTV_REC_DT INTV_BEG_TM KVAR_QT KW_QT POWER_FACTR_PC KVA_QT Estimated Note
KZG0026 08/17/2007 0 796 4426 98 4497 E meter replaced
KZG0026 08/17/2007 15 816 4369 98 4445 E
KZG0026 08/17/2007 30 809 4353 98 4428 E
KZG0026 08/17/2007 45 786 4343 98 4414 A
KZG0026 08/17/2007 100 778 4291 98 4361 A
KZG0026 08/17/2007 115 792 4230 98 4304 A
KZG0026 08/17/2007 130 752 4186 98 4253 A
KZG0026 08/17/2007 145 703 4145 98 4204 A
KZG0026 08/17/2007 200 725 4153 98 4216 A
KZG0026 08/17/2007 215 731 4141 98 4205 A
KZG0026 08/17/2007 230 732 4165 98 4229 A
KZG0026 08/17/2007 245 705 4061 98 4122 A
KZG0026 08/17/2007 300 711 4026 98 4088 A
KZG0026 08/17/2007 315 718 4047 98 4110 A
KZG0026 08/17/2007 330 738 4121 98 4187 A
KZG0026 08/17/2007 345 694 3968 98 4028 E
KZG0026 08/17/2007 400 692 4043 98 4102 E
KZG0026 08/17/2007 415 715 4107 98 4169 E
MONTHLY channel data:
It is possible to import monthly data. Monthly data is usually imported into a counter that is tracking sales, occupancy or production.
The complication with monthly data is that the interval is not fixed because months have varying lengths. The first time monthly data is imported, the importer will attempt to determine an interval. You MUST have at least 13 months of data for each channel in order for the initial import to be successful. Otherwise, you will receive a message stating that the importer was Unable to Compute the Data Interval. Alternatively, add an “Interval” column of data, to the right of the Timestamp or Time column (if using both a Date and Time column), and to the left of any Data columns. For monthly data the “Interval” value should be 43200 (the number of minutes in 30 Days)
Here's an example of a successful import file for monthly occupancy data:
device,MMddyyyy H:mm,data
663592-OCC,01012006 0:00,96.0
663592-OCC,02012006 0:00,95.0
663592-OCC,03012006 0:00,94.0
663592-OCC,04012006 0:00,98.0
663592-OCC,05012006 0:00,100.0
663592-OCC,06012006 0:00,97.5
663592-OCC,07012006 0:00,95.7
663592-OCC,08012006 0:00,98.0
663592-OCC,09012006 0:00,99.0
663592-OCC,10012006 0:00,95.0
663592-OCC,11012006 0:00,95.0
663592-OCC,12012006 0:00,100.0
663592-OCC,01012007 0:00,90.0
663592-OCC,02012007 0:00,91.0
663592-OCC,03012007 0:00,92.0
663592-OCC,04012007 0:00,93.0
663592-OCC,05012007 0:00,100.0
663592-OCC,06012007 0:00,98.5
663592-OCC,07012007 0:00,92.7
You can also import interval data using the command line. Here is an example and explanation of each element:
The usage is:
imptsk -d [dsn] -u [user] -p [pwd] -c [converter] -f [path] -x -a [path] -l [path] -s [section] -v [verbose messages] -remote -t [traceID]
Where:
EXAMPLE: "c:\Program Files\EnergyCAP Enterprise\imptsk.exe" -d retailer -u kvs -p kvs -c STANDARD:SIMPLE_TEXT -f "c:\b-test\*.csv" -l "log.txt" -s MY_CHANNEL_PROFILE_NAME
There are three types of channels in EnergyCAP, manual channels, automatic channels, and virtual/simulated channels.
EnergyCAP Enterprise ‘channel data’ is any time-series stream of data OTHER than utility bills. Examples of channel data are: electric meter 15-minute interval data, weather data (dry bulb temp, wind, humidity), production data (pounds, linear feet or units of production), counter data (occupancy, sales volume, gallons pumped) and submeter data (hourly, daily or monthly consumption).
Once a channel has been created, it can be populated via data import and data may be viewed with an EnergyCAP analysis.
It is often necessary to perform arithmetic on channel data available in different channels to derive useful information. For example, net gas consumption of an industrial process = Submeter 1 minus Submeter 2. Both submeters track daily gas consumption in channels. It is possible to create a third, virtual/simulated channel with an associated equation that will subract submeter 2’s channel data from submeter 1’s data and store the result.
To illustrate this functionality, the example below will calculate the ECI -- energy consumption index (total consumption/total production, measured in KWH/MFT) for a plant with the following situation: Wire is produced on manufacturing lines labeled P1 and P2 and measured in thousands of linear feet (MFT). P1 has production data at 1 hour intervals. P2 has production data at 2 hour intervals. Electricity consumed by both manufacturing lines is recorded by meters M1, M2 and M3 and channel data is available at 1 hour intervals for these three meters. The following steps will allow us to calculate the energy consumption index:
Below is another example of a virtual channel operation:
Issue: The object is to calculate a Daily Energy Intensity value and store it as Channel Data in a counter. The Daily Energy Intensity, for Natural Gas, is = ((Use [MCF])/(Production [MSF]))*1000. The difficulty is that the Natural Gas Use data has an interval of 1 hour and the Production data has an interval of 1 Day(s). Is there a helper function that can be used in the Virtual Channel Equation to sum the hourly Natural Gas Use data into a Daily Natural Gas Use value?
Solution: Use "Rollup" to add all the hourly Natural Gas Uses into a sum.
Rollup(“metercode”,”channel unit”, lookback_minutes)
In this case lookback_minutes will be 1440 (number of minutes in a day)
Storing the result in a separate Simulated Channel is almost essential for debugging problems.
The separate Simulated Channel CANNOT reside on the same Meter, because it results in two Channels with the same Units, but different intervals. Most of the ChannelScript Equation Objects (Channel Equation Helper functions) use the Channel Unit to find the appropriate data. The Virtual Channel Equation Processor does not handle multiple channels with the same unit assigned to the same Meter.
In the Facility TreeView in the Facility Manager, locate/highlight the meter that the channel is associated with.
Right-click and select Properties from the drop-down menu. The Meter Properties window will open.
Click the Channels tab and the Edit icon. Channel information for the meter will be displayed in the Channel Properties window.
Modify the channel properties as necessary. In the Device field, select the device from the drop-down list
5. When done, click OK to save the changes and exit the Channel Properties window. Then click OK again to close the Meter Properties window.
Devices (a "Device" in EnergyCAP is a meter or counter) may be audited in a manner similar to accounts; however, channel audits must first be added to an audit group (see Creating an Audit Group). There are several channel audits currently available including:
To use Channel Audits after you have created a Channel Audit Group or groups:
Select Setup | Facilities. The Facility Manager appears.
Navigate to the place under which the meter or counter exists.
Select the appropriate meter or counter.
From the Facility menu, select Audit. The Select Audit Groups window appears.
Select the appropriate audit group check box.
In the Date range section, select a date range to encompass.
To set a predefined date range, select the appropriate time frame in the Range field.
To set a specific date range, in the Start and End date fields, enter the appropriate date or use the drop-down arrow to select the date from a calendar.
Select the Show results checkbox option to view the results of the audit.
Click OK.
See also: Overview: Importing RouteSTAR Meter Readings
Data is imported into Energy CAP Enterprise using a series of dialog boxes that provide instructions based on options chosen to guide the user through the import process. In order to import any data file into the system, a profile must be created. The profile lets EnergyCAP know how the data file is set up in order to determine which database fields to populate with what data. Once the profile is created, it is important that any future files for import are formatted the same way. If the format of the data file changes, be sure to modify the profile in Energy CAP Enterprise accordingly. If the profile is not altered to match the new format of the import file, fields may be populated with incorrect data.
NOTE: Each import profile is associated with the EnergyCAP user who created it. Profile information is stored on the user's computer hard drive. See Import Odds & Ends, below, for more information.
An import ID is required for a successful import. All logical devices (meters, counters, and weather stations) in Energy CAP Enterprise have import IDs.
When importing meter data, the data used is associated with meters having the same import ID as the import ID used in the import file. The import ID can be entered into EnergyCAP during meter creation, and can be viewed from the Specific tab in Meter Properties.
You can import meter data using the following file formats:
Text files. A file containing only text characters, usually ASCII characters; contrast with graphics file and binary file. (*.txt, *.dat, *.csv, *.prn)
MDEF files. A file format that defines the file for exchanging data with other systems. The format is designed to support current meter and recorder technology as well as new devices to be developed. (*.imp, *.mde, *.dat)
Modified MDEF files (*.imp, *.mde, *.dat)
Meter Exchange files (*.imp, *.csv, *.txt, *.dat)
To import meter/counter data into EnergyCAP:
Select Setup | Facilities. The Facility Manager appears.
From the File menu, select Import. The Open window appears.
In the Look in field, select the directory location of the file.
Make certain the File type is correct; then select the appropriate file from the File List. The filename you selected will be inserted in the File name: field.
Click Open. The Import Wizard window appears.
If a previous profile exists that satisfies this import, select the default setting Use an existing profile.
Select a profile name from the drop-down list.
Go to step 5.
If a previous profile does not exist, select Create a new profile.
In the Profile Name field, enter the desired name.
Go to step 5.
Click Next. The Import Wizard File Formatting page appears.
In the Delimiters section, select the data delimiter.
In the Text Qualifier drop-down list, select the text qualifier (if any)
In the Start Row field, enter the row of data which should start the import.
If the data file has a header row contained within its file format, select the Previous row is a header check box.
The Preview section updates with each selection.
Click Next. The Import Wizard Field Definition Format page appears.
In the Fields section, select a field.
In the Format drop-down list, select a format.
|
TYPE |
ADDITIONAL SELECTIONS |
|---|---|
|
UNKNOWN Use if the data is unknown or is not defined |
|
|
TIMESTAMP Provides formats for time stamps located within the data file. Contains both pre-defined time stamp formats as well as the ability to enter custom formats. |
Either:
|
|
DATE Provides formats for dates located within the data file. Contains both pre-defined date formats as well as the ability to enter custom formats. |
Either:
|
|
TIME Provides formats for times located within the data file. Contains both pre-defined time formats as well as the ability to enter custom formats. |
Either:
If the time format is known to be GMT, select the Times are in GMT check box. |
|
INTERVAL Defines data within the file as an interval of time which will be known prior to import. |
Expressed in minutes |
|
DEVICE This is the import ID code for the device/meter. |
|
|
DATA Defines data within the file as the data associated with the device. |
|
|
UNIT Defines data within the data file as a unit. This field will usually have a unit identified within the data file and have to be handled as such. |
Click Next. The Import Wizard Finish page appears.
Click Finish to complete the process. The Log window appears, notifying you of the status of the import process, the file import path, and if any errors occurred during the process. If errors did occur, they are listed and you will need to go back and correct these errors in order to successfully import the file into the database. If the import was successful, the log informs you appropriately.
Save the log file by clicking
. The Save As window appears.
In the Save in field, select the directory location for the file.
In the File name field, enter a name for the file.
After making your selections, click Save.
Print the log file by clicking
. The log file display is printed to your default printer.
Exit the Log window by clicking Close.
Question: Where in EnergyCAP is the import profile information stored?
ANSWER: Import profiles are actually stored on the user hard drive. The location depends on the operating system:
Windows XP:
C:/documents and settings/[username]/local settings/application data/EnergyCAP enterprise
VISTA/Windows 7:
C:/users/[username]/Appdata/Local/EnergyCAP Enterprise
If you change computers or operating systems, you may discover that your import profiles are missing. To restore them, copy the import folder contents from the older computer/operating system to the appropriate folder/path that corresponds to your new computer/current operating system. If you encounter difficulties, contact customer support (http://support.energycap.com) through the Support Suite interface.
Question: Can you provide a sample of what the import file would look like for meter data?
ANSWER:
File:
ESI_ID INTV_REC_DT INTV_BEG_TM KVAR_QT KW_QT POWER_FACTR_PC KVA_QT Estimated Note
12435-A 08/17/2007 0 796 4426 98 4497 E Test
12435-A 08/17/2007 15 816 4369 98 4445 E Test
Column 1: Import ID for the meter. Can be viewed from the Specific tab in Meter Properties. Required field.
Column 2 or 2/3: Time stamp. Either a single column containing a Timestamp, which contains both the date and time values (ie – 2010-05-13 15:00), or separate columns for both Date and Time. Required field(s).
Data: (will vary with type of data imported. Required field.
Estimated/Actual: Can be A/E or 0/1. This is a true/false, Boolean field so there is a 1-character limitation. Not a required field.
Note: Not a required field.
Question: I have a file of weather channel data that only has 1 observation. When I try to import it I get a message saying that the interval cannot be determined. How can I import this data?
ANSWER: The observation interval can be added to the import file as a fourth column. The sequence of columns would be:
EXAMPLE: A column of comma-delimited daily interval data might appear as follows:
ABC12,20080909,11:00,1440,68
Question: Why is the default time stamp for mean daily weather data assumed to be 11:00 a.m.?
ANSWER: Statistical weather data suggests that this is the point where the mean daily temperature is most often achieved.
The Channel Equation Processor executes user defined formulas to create calculated channel data.
Using the Channel Equation Processor from the Tools menu processes equations for all channels. To process an equation for a single channel, access the Facility Manager then select the appropriate meter or counter.
To process equations for all channels, from the Tools menu, select Processor | Virtual Channels. The Channel Equation Processor window appears.
Go to step 3.
To process equations for a single channel, select Setup | Facilities. The Facility Manager appears.
Navigate to the place under which the meter exists.
Select the applicable meter.
From the File menu, select Properties. The Meter Properties window appears.
On the Channels tab, select the applicable simulated channel.
Click
. The Channel Equation Processor window appears.
Go to step 3.
Select either:
Automatic
Select Automatic to begin processing based on previously specified conditions.
Manual
Select Manual to set a start and end date for the processor to run.
Set the start date by entering the date or use the drop-down arrow to select the date from a calendar.
Set the end date by entering the date or use the drop-down arrow to select the date from a calendar.
Click Start.
Cancel the operation by clicking Abort.
When the process is complete, click Close. The Channel Equation Processor window closes.