PQDIF PQDIF: A Technical Overview Prepared by: Erich Gunther, Bill Dabbs, and Rob Scott Electrotek Concepts, Inc. NEW! IMPROVED!

Slides:



Advertisements
Similar presentations
Data Manipulation Overview and Applications. Agenda Overview of LabVIEW data types Manipulating LabVIEW data types –Changing data types –Byte level manipulation.
Advertisements

LV2IDL, a software package for automatic data transfer between LabVIEW and IDL Gelu M. Nita New Jersey Institute of Technology.
C++ How to Program, 7/e © by Pearson Education, Inc. All Rights Reserved.
1 Chapter 11: File-System Interface  File Concept  Access Methods  Directory Structure  File System Mounting  File Sharing  Protection  Chapter.
ILDG File Format Chip Watson, for Middleware & MetaData Working Groups.
1 File Management (a). 2 File-System Interface  File Concept  Access Methods  Directory Structure  File System Mounting  File Sharing  Protection.
04/02/2004CSCI 315 Operating Systems Design1 File System Interface.
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 10: File-System Interface.
Module: Definition ● A logical collection of related program entities ● Not necessarily a physical concept, e.g., file, function, class, package ● Often.
Connecting with Computer Science, 2e
04/05/2010CSCI 315 Operating Systems Design1 Virtual Memory Wrap-up; File System Interface.
8 November Forms and JavaScript. Types of Inputs Radio Buttons (select one of a list) Checkbox (select as many as wanted) Text inputs (user types text)
Session 1 CS-240 Data Structures Binghamton University Dick Steflik.
Data Representation Kieran Mathieson. Outline Digital constraints Data types Integer Real Character Boolean Memory address.
Outline Chapter 1 Hardware, Software, Programming, Web surfing, … Chapter Goals –Describe the layers of a computer system –Describe the concept.
2 Systems Architecture, Fifth Edition Chapter Goals Describe numbering systems and their use in data representation Compare and contrast various data.
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Chapter 1 Program Design
File Concept l Contiguous logical address space l Types: Data: numeric, character, binary Program: source, object (load image) Documents.
Principles of Procedural Programming
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
Baburao Kamble (Ph.D) University of Nebraska-Lincoln Data Analysis Using R Week2: Data Structure, Types and Manipulation in R.
Connecting with Computer Science 2 Objectives Learn why numbering systems are important to understand Refresh your knowledge of powers of numbers Learn.
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
Chapter 10 File System Interface
Introduction to FORTRAN
1. Fundamentals of Computer Systems Define a computer system Computer Systems in the modern world Professional standards for computer systems Ethical,
Chapter 9: Coupling & Cohesion Omar Meqdadi SE 273 Lecture 9 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Avro Apache Course: Distributed class Student ID: AM Name: Azzaya Galbazar
Introduction to Shell Script Programming
C++ How to Program, 8/e © by Pearson Education, Inc. All Rights Reserved. Note: C How to Program, Chapter 22 is a copy of C++ How to Program Chapter.
Chapter 1 In-lab Quiz Next week
Computers Data Representation Chapter 3, SA. Data Representation and Processing Data and information processors must be able to: Recognize external data.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Cis303a_chapt03-2a.ppt Range Overflow Fixed length of bits to hold numeric data Can hold a maximum positive number (unsigned) X X X X X X X X X X X X X.
Lecture 2 Object Oriented Programming Basics of Java Language MBY.
Programming With C.
File Structures Foundations of Computer Science  Cengage Learning.
(Chapter 10 continued) Our examples feature MySQL as the database engine. It's open source and free. It's fully featured. And it's platform independent.
Chapter 10: File-System Interface 10.1 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts – 8 th Edition 2014.
File System Interface. File Concept Access Methods Directory Structure File-System Mounting File Sharing (skip)‏ File Protection.
Operating Systems (CS 340 D) Dr. Abeer Mahmoud Princess Nora University Faculty of Computer & Information Systems Computer science Department.
 Agenda: 4/24/13 o External Data o Discuss data manipulation tools and functions o Discuss data import and linking in Excel o Sorting Data o Date and.
Lecture #5 Introduction to C++
Property of Jack Wilson, Cerritos College1 CIS Computer Programming Logic Programming Concepts Overview prepared by Jack Wilson Cerritos College.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Creating Trends, Histograms, Profiles, and Statistics using PQView Express.
Overview and Applications
1 Text Reference: Warford. 2 Computer Architecture: The design of those aspects of a computer which are visible to the programmer. Architecture Organization.
Database Management Systems (DBMS)
Silberschatz and Galvin  Operating System Concepts Module 10: File-System Interface File Concept Access :Methods Directory Structure Protection.
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
SAP DEVELOPMENT BASICS Bohuslav Tesar. TRAINING OVERVIEW Amazing life of ABAP developer ;) SAP introduction ABAP basics ABAP Reporting.
Higher Computing Science 2016 Prelim Revision. Topics to revise Computational Constructs parameter passing (value and reference, formal and actual) sub-programs/routines,
Java How to Program, 9/e © Copyright by Pearson Education, Inc. All Rights Reserved.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Chapter 9: Coupling & Cohesion Omar Meqdadi SE 273 Lecture 9 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
(C) 2010 Pearson Education, Inc. All rights reserved. Java How to Program, 8/e.
Review A program is… a set of instructions that tell a computer what to do. Programs can also be called… software. Hardware refers to… the physical components.
NXT File System Just like we’re able to store multiple programs and sound files to the NXT, we can store text files that contain information we specify.
Chapter 3 Data Representation
Creating Database Objects
Module 10: File-System Interface
Chapter 11: File-System Interface
Introduction to Data Structure
Real-World File Structures
Module 10: File-System Interface
Creating Database Objects
Presentation transcript:

PQDIF PQDIF: A Technical Overview Prepared by: Erich Gunther, Bill Dabbs, and Rob Scott Electrotek Concepts, Inc. NEW! IMPROVED!

PQDIF What are the goals of PQDIF? Provide a platform-neutral way to interchange Power Quality data between software packages and instruments. Be standardized by IEEE to provide a stable target for third-party developers.

PQDIF What other PQ formats are out there? IEEE COMTRADE –Excellent for waveform and simple variable trend data, but is not suitable for other types of PQ data such as min/max/avg RMS trends, harmonic spectra, probabilities, event logs, or lightning flash data. PQView ® and other databases –Excellent for analysis and storage of massive quantities of data, but not for an interchange format.

PQDIF The Desired Characteristics Simple Extensible … but without breaking old apps Compact … preferably binary … optional compression Flexible

PQDIF The Basic Design A PQDIF file is made up of a set of “records” which are logically related: –Data Source (generally an instrument) –Monitor Settings (optional) –Observations Within each record, there is a set of “elements” which define the contents of the record.

PQDIF The Record Structure The “high-level” record structure is completely separated from the “low-level” element structure. –The overall structure of the file can be parsed quickly without having to read the entire file. This will also allow us to use different high- level structures in the future (storing records directly in a database, for example).

PQDIF The Element Structure The internal record structure is made up of a set of tagged data “elements.” Because each element is tagged, there is a separation between the “physical” and “logical” structure. This allows the logical structure to be defined separately from the physical structure.

PQDIF The four aspects of the design

PQDIF High-level logical format The records are strung together in an implicit hierarchy, based on the record type tags. –The file starts with a Container record, which “owns” any number of Data Source records. –Each Data Source record owns Monitor Settings and Observation records.

PQDIF The high-level physical format At the highest level, the file is made up a series of linked records. This linked nature allows manipulations to the record structure without having to rewrite the entire file.

PQDIF The high-level physical format: Inserting a record We can insert a new record -- even if it is physically at the end of the file.

PQDIF The high-level physical format: Deleting records We can also delete a record by adjusting the links to skip around it.

PQDIF The high-level physical format: Reordering records Likewise, we can reorder existing records by adjusting the links.

PQDIF Internal record structure Each record is made up of a “header” and a “body.” –The header provides the high-level information. –The body contains the low-level information.

PQDIF Low-level physical format The body of each record is made up of a set of “elements” which contain data. There are three elements: –Scalar represents a single data value –Vector represents an array of data values –Collection contains other elements

PQDIF The low-level physical format: Identifying elements In order to be able to identify a specific element, each one is given a “tag.” This tag is actually a GUID*, which makes extending the list of tags virtually foolproof. *A “Globally Unique Identifier” is a 16-byte integer which is defined by a standard algorithm. Any computer in the world can generate a GUID and be reasonably assured that it is absolutely unique.

PQDIF The low-level physical format: Think of it as a file system... A tag is a file name. A collection is a subdirectory. A scalar is a file with one number in it. A vector is a file with lots of numbers (or a string) in it. A subdirectory (collection) can contain another subdirectory. Contents: Contents: Count: 2 0: 110 1: 235 Contents: “PQNode 8010”

PQDIF The low-level physical format: Primitive data types –Signed integer (1, 2 or 4 bytes) –Unsigned integer (1, 2 or 4 bytes) –Boolean (1, 2 or 4 bytes) –Real (4-byte single or 8- byte double precision) –Complex (8-byte single or 16-byte double precision) –Character (1-byte ASCII or 2-byte Unicode) –Date stamp (12 bytes) –GUID (16 bytes) A scalar or vector element can hold values of the following types:

PQDIF Low-level logical format The low-level physical format allows each element to have a tag. The logical format defines what the tags are, and what element type and primitive data type(s) are expected for each. Since collections can contain other collections, the logical format must also specify this hierarchy.

PQDIF An example...

PQDIF Benefits of a tagged format The tagged element structure provides a great degree of flexibility and allows the contents to be defined logically independently of the actual physical definition.

PQDIF Work Completed Physical format finalized. Version 1.5 logical format finalized and documented Third generation COM library for manipulating PQDIF 1.5 complete (written in C++) Simple PQDIF reading and writing code examples suitable for embedded systems complete (written in C) Command line tool to dump PQDIF structure and data. Program to convert Square D DaDisp based waveform files and PASS 8010 Transient files to PQDIF. Examples of PQDIF viewers (one VB example and one Microsoft MFC example with source).

PQDIF Work still to be done More tools and examples. –COMTRADE converter –PASS 8010 PQNode Converter - support more types. More field trials. –Salt River Project - PML translator –TVA - substation monitoring project –Carolina Power and Light Provide leadership, documentation and sample code and for IEEE standards process.

PQDIF Conclusion PQDIF meets all of our goals. If handled properly, PQDIF can become a widely-accepted, stable format. With appropriate software tools, it appears to solve a number of technical issues for our projects (PQDS, for example).