Db design consumer_18_aug_10_v1.0.4

14
Revision Number : 1.0.4 Revision Date : 18/08/2010 R-APDRP KARNATAKA STATE CONSUMER DATABASE DESIGN DOCUMENT [ELECTRICITY SUPPLY] ESRI INDIA (NIIT GIS Ltd) B1/H9,Mohan Cooperative Industrial Area Mathura Road ,New Delhi -110044, India Phone No - 011 -40570913 (D) Fax: - +91 11 40570516 AUGUST 2010

Transcript of Db design consumer_18_aug_10_v1.0.4

Page 1: Db design consumer_18_aug_10_v1.0.4

Revision Number : 1.0.4 Revision Date : 18/08/2010

R-APDRP KARNATAKA STATE

CONSUMER DATABASE DESIGN DOCUMENT

[ELECTRICITY SUPPLY]

ESRI INDIA (NIIT GIS Ltd)

B1/H9,Mohan Cooperative Industrial Area

Mathura Road ,New Delhi -110044, India

Phone No - 011 -40570913 (D) Fax: - +91 11 40570516

AUGUST 2010

Page 2: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 2 of 14 Confidential

Revision History

Version

No.

Date

Created

Amendment Prepared By Approved By

1.0.1 13-Jun-10 Documented From Approved Data Collection

Forms and verified with RFP Requirements

Subramanian

R

Sanjeevi Kumar

V

1.0.2 20-Jun-10 Consumer_Type Field is moved from Service

Point to Consumer Table

Subramanian

R

Sanjeevi Kumar

V

1.0.3 27-Jun-10 CIN is added in Consumer, HT Meter, LT Meter

and Modem Tables for maintaining relationship

Subramanian

R

Sanjeevi Kumar

V

1.0.3.1 07-Jul-10 CIN is removed as per the discussion had with

BESCOM on 7th Jul 10, because, this would be

updated from CC&B Team.

Subramanian

R

Sanjeevi Kumar

V

1.0.4 18-Aug-10 5 Fields are added based on Old Meter Config.

This need to be filled if available.

Field “SUBDIVISION_NAME” is added in Service

Point Table for identification.

Field “STATUS” is added in HT_METER and

LT_METER

Subramanian

R

Sanjeevi Kumar

V

Page 3: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 3 of 14 Confidential

ABSTRACT OF TABLES

SL. NO TABLE NAME DESCRIPTION NO OF

FIELDS

1

2

3

4

5

6

SERVICE_POINT

CONSUMER

LT_METER

HT_METER

MODEM

METER_ CUBICLE

End Point of Service Line

Consumer Details for each meter

Domestic Consumer Meter Details

Industrial / Commercial Meter Details

HT Consumer Modem Details

HT Consumer Metering Cubicle Details

9

22

36

39

7

10

Page 4: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 4 of 14 Confidential

Table Name : SERVICE_POINT

Link Table: CONSUMER

FIELD NAME DATA TYPE

KEY FIELD

DESCRIPTION DATA SOURCE

SERVICEPOINT_ID TEXT(10) Y Unique Service Point ID Eg., DWD312_999

Generating From Field By Surveyor

SUBDIVISION_NAME TEXT(10) N Sub Division Name Eg.,S12 Field

SOURCE_NO TEXT(25) N Upstream source of supply (Poles/Feeder Pillar Box/RMU etc.) Existing ESCOM Reference No Eg. AV P2

Field

INCOMING_SERVICE_MAIN_TYPE TEXT(2) N Type of the incoming service main. Eg. UG

Field

INCOMING_SERVICE_MAIN_SIZE TEXT(10) N Size of the incoming service main in sq mm. Eg. 400

Field

OUTGOING_SERVICE_MAIN_TYPE TEXT(2) N Type of the outgoing service main. Eg. UG

Field

OUTGOING_SERVICE_MAIN_SIZE TEXT(10) N Size of the outgoing service main in sq mm. Eg. 400

Field

SERVICE_MAIN_CONDITION TEXT(20) N Condition of the Service Main. Eg. GOOD

Field

POLE_FPB_FUSE_EXISTS TEXT (3) N Existence of Pole/FPB Fuse for LT Consumers

Field

REMARKS TEXT(75) N General Remarks, if any Surveyor

Note: For LT Consumer Service Point, Incoming / Outgoing Service Main Type & Size would be same and For it may vary for HT.

Attribute List for Specific Fields of SERVICE_POINT Table

Field Name Attribute Values

INCOMING_SERVICE_MAIN_TYPE UG

OH

OUTGOING_SERVICE_MAIN_TYPE UG

OH

SERVICE_MAIN_CONDITION GOOD

JOINTS

INSULATION DAMAGED

Page 5: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 5 of 14 Confidential

Table Name: Consumer

Link Tables: LT_METER, HT_METER

FIELD NAME DATA TYPE KEY

FIELD DESCRIPTION

DATA SOURCE

SERVICEPOINT_ID TEXT(10) Y Unique Service Point ID Eg., DWD312_999

Generating From Field By Surveyor

CONSUMER_TYPE TEXT(2) N Consumer type; Eg. HT, LT Field

REG_CONSUMER_NAME TEXT(100) N Registered consumer name; Eg. Sowmyaji

Bill

OCCUPANT_NAME TEXT(100) N Occupant Name; Eg. Rajaram Consumer

EXISTING_CONSUMER_ID TEXT(15) Y Existing Consumer ID; Eg. 1120404141329 Location Code +Consumer ID

Bill

RR_NO TEXT(10) Y RR No; Eg. 8SL68922 Meter / Bill

HOUSE_PLOT_NO TEXT(10) N House or plot no; Eg. 41 Field

STREET_NAME TEXT(50) N Street name; Eg. Sheshadri Road Field

MAIN TEXT(25) N Main Details of the Plot Field

LOCATION TEXT(50) N Location; Eg. AR Circle Field

AREA TEXT(50) N Area name; Eg. Gandhi Nagar Field

CITY_NAME TEXT(25) N City name; Eg. Bangalore Field

PINCODE LONG INTEGER(6)

N PIN code; Eg. 560 009 Field

PAN_NO TEXT(10) N PAN number; Eg. A12334C355 Consumer

PHONE_NO TEXT(13) N Phone number; Eg. +918023456789

Consumer

E_MAIL_ID TEXT(50) N Email ID; Eg. [email protected] Consumer

MOBILE_NO TEXT(12) N Mobile Number; Eg. +919876543210

Consumer

VOTER_ID TEXT(10) N Voters Id No; Eg. FJM1634763 Consumer

RATION_CARD_NO TEXT(10) N Ration card number; Eg. R5435677

Consumer

BELOW_POVERTY_LINE_NO TEXT(20) N Below poverty line no Consumer

DATE_OF_SURVEY DATE(10) N Date of visit e.g., 10/05/2010 Surveyor

REMARKS TEXT(75) N General Remarks, if any Surveyor

Attribute List for Specific Fields of CONSUMER Table

Field Name Attribute Values

CONSUMER_TYPE HT

LT

Page 6: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 6 of 14 Confidential

Table: LT_Meter

FIELD NAME DATA TYPE KEY

FIELD DESCRIPTION

DATA SOURCE

RR_NO TEXT(10) Y RR No; Eg. EH 4263 Meter / Bill

SUPPLY

INTEGER(1) N Supply connected. Eg. 1 or 3 Meter

PHASE TEXT(1) N Phase connected with. Eg. R or Y or B

Field

METER_TYPE TEXT(15) N Meter type; Eg. ELECTRONIC Meter

METER_SL_NO TEXT(15) N Meter Serial Number; Eg. A9894-901

Meter

METER_MAKE TEXT(20) N Meter Make; Eg. ALSTOM Meter

METER_MODEL TEXT(20) N Meter model; Eg. LW/RL Meter

NO_OF_REVOLUTION_PULSE TEXT(6) N No of Revolutions or pulses per Kwh; Eg. 1200

Meter

METER_MFG_YEAR INTEGER(4) N Meter Manufacturing year; Eg. 2003

Meter

PRESENT_METER_READING DOUBLE(20) N PRESENT METER READING Meter

METER_ACCURACY_CLASS DOUBLE(5,2) N Meter Accuracy class; Eg. 1 Meter

METER_INSTALL_DATE DATE(10) N Meter installation date 25/07/2003

Meter Box

CURRENT_RATING_AMPS TEXT(10) N Current rating in amps Eg. 5-20A

Meter

METER_CONSTANT INTEGER(4) N Meter constant; Eg. 400 Meter Box

CT_RATIO TEXT(5) N CT ratio 1.00 Bill

CT_ACCURACY_CLASS DOUBLE(10,2) N CT Accuracy Class Meter

TARIFF TEXT(15) N Tariff; Eg. LT2 (A)(I) Bill

LEDGER TEXT(5) N Ledger ; Eg. 45

FOLIO TEXT(5) N Folio; Eg. 23

INSTALL_CATEGORY TEXT(30) N Category of installation; Eg. DOMESTIC

Bill

NATURE_INSTALL TEXT(25) N TYPE OF INSTALLATION Field

SANCTIONED_LOAD Double (6,2) N Sanctioned load; Eg. 4.00 Kw Bill

AVG_MONTHLY_CONSUMPTION

LONG INTEGER(10)

N Average monthly consumption; Eg. 328

Bill

Page 7: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 7 of 14 Confidential

ESCOM_READING_DATE Text(2) N ESCOM Reading date Bill

NO_OF_FLOORS Text(5) N No of floors; Eg. G+4 Field

METER_FLOOR_NO TEXT(20) N Floor no. where meter exist; Eg. Ground Floor, First Floor

Field

CONNECTED_LOAD Double (6,2) N Connected load; Eg. 0.4 kW Field

METER_LOCATION TEXT(10) N Meter location; Eg. OUTSIDE or INSIDE

Field

MAIN_COVER_SEAL_COND TEXT(15) N Condition of Main Cover Seal; Eg. OK

Field

TERMINAL_COVER_SEAL_COND

TEXT(15) N Condition of Terminal cover seal; Eg. NO SEAL

Field

EARTHING_COND TEXT(15) N Condition of Earthing; Eg. OK Field

METER_OPERATION_STATUS TEXT(15) N Meter operation status; Eg. WORKING/ NOT WORKING

Field

GLASS_VIEW TEXT(6) N Glass view; Eg. OK Field

METER_HEIGHT TEXT(10) N Meter height; Eg. BELOW 3 FT Field

STATUS TEXT(20) N Status of Asset. Eg. Operational Field

REMARKS TEXT(75) N General Remarks, if any Surveyor

Attribute List for Specific Fields of LT_METER Table

Field Name Attribute Values

Supply 1

3

Phase R

Y

B

METER_TYPE EMCG

EMHP

ETV

OTHERS

INSTALL_CATEGORY Domestic

Commercial

Agricultural

Temporary

Page 8: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 8 of 14 Confidential

Water Works & Sewerage Pump

Industrial

Govt Installations

Bhagya Jyoti/ Kutira Jyoti

Street Light

NATURE_INSTALL SHOP

HOTEL

LODGE

BANK

HOSPITAL

FACTORY

SHOPPING COMPLEX

RESIDENTIAL

RELIGIOUS

NO_OF_FLOORS G

G+1

G+2

G+3

G+4

G+5

G+6

..

METER_FLOOR_NO GROUND FLOOR

FIRST FLOOR

SECOND FLOOR

THIRD FLOOR

FOURTH FLOOR

FIFTH FLOOR

..

METER_LOCATION OUTSIDE

INSIDE

MAIN_COVER_SEAL_COND OK

NO SEAL

BROKEN

TAMPERED

TERMINAL_COVER_SEAL_COND OK

NO SEAL

BROKEN

Page 9: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 9 of 14 Confidential

TAMPERED

EARTHING_COND OK

NOT OK

NO EARTHING

METER_OPERATION_STATUS WORKING

NOT WORKING

OTHERS

GLASS_VIEW OK

FOGGED

BROKEN

METER_HEIGHT VIEWABLE

BELOW 3 FT

ABOVE 7 FT

STATUS Proposed

Under Construction

Operational

Decommission

Table Name: HT_METER

Link Tables: MODEM, METER_CUBICLE

FIELD NAME DATA TYPE KEY FIELD

DESCRIPTION DATA SOURCE

RR_NO TEXT(10) Y RR No; Eg. W4HT58 Meter / Bill

METER_TYPE TEXT(15) N Meter Type; Eg. ETV Meter

METER_SL_NO TEXT(15) N Meter Serial Number; Eg. 7022658

Meter

METER_MAKE TEXT(20) N Meter Make; Eg. L&T Meter

METER_MODEL TEXT(20) N Meter Model; Eg. ER300P Meter

NO_OF_REVOLUTION_PULSE TEXT(6) N Revolutions or pulses per Kwh; Eg. 10000

Meter

ADDITIONAL_DIAL_CONSTANT TEXT(20) N TR: Additional dial constant (for universal registered meters) of the meter

Meter

METER_MULTIPLIER TEXT(20) N Meter Multiplier Meter

NUMBER_OF_DIALS INTEGER(5) N Number of dials Meter

METER_OFFSET TEXT(20) N Meter offset Meter

POWER_FLOW_DIRECTION TEXT(11) N Power flow direction of the meter (Received/Distributed)

Meter

Page 10: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 10 of 14 Confidential

ENERGY_METER_CONSTANT INTEGER(4) N Meter constant; Eg. 400 Meter Box

METER_ACCURACY_CLASS DOUBLE(10,2) N Meter Accuracy class; Eg. 0.5 Meter

METER_MFG_YEAR INTEGER(4) N Meter Manufacturing Year; Eg. 2004

Meter

METER_INSTALL_DATE DATE(10) N Meter installation date; Eg. 22/05/204

Meter Box

PRESENT_METER_READING DOUBLE(10,2) N PRESENT METER READING Meter

TARIFF TEXT(15) N Tariff; Eg. HT2(B)I Bill

INSTALL_CATEGORY TEXT(40) N Category; Eg. Commercial, Private

Bill

NATURE_INSTALL TEXT(25) N Nature of installation; Eg. Hotel & Bank

Field

CONTRACT_DEMAND TEXT(20) N Contract Demand (Sanctioned Load); Eg. 400

Bill

METER_CONSTANT LONG INTEGER(15)

N Meter Constant; Eg. 400 Meter

LEDGER TEXT(5) N Ledger; Eg. 34

FOLIO TEXT(5) N Folio; Eg. 25

ESCOM_READING_DATE TEXT(2) N ESCOM Reading Date Bill

AVG_MONTHLY_CONSUMPTION

LONG INTEGER(10)

N Average monthly consumption; Eg. 328

Bill

CONNECTED_LOAD TEXT(20) N Connected Load; Eg. 325 HP Field

METER_LOCATION TEXT(7) N Meter location; Eg. inside Field

MAIN_DOOR_SEAL_COND TEXT(10) N Main cover seal condition; Eg. OK

Field

EARTHING_COND TEXT(15) N Earthing condition; Eg. OK Field

METER_OPERATION_STATUS TEXT(15) N Meter operation status; Eg. Working

Field

CT_SEAL_COND TEXT(7) N CT seal condition; Eg. OK Field

PT_SEAL_COND TEXT(7) N PT seal condition; Eg. Ok Field

GLASS_VIEW TEXT(6) N Glass view; Eg. OK Field

METER_HEIGHT TEXT(10) N Meter height; Eg. Viewable Field

MODEM_AVAILABLITY TEXT(3) N Modem existence. Eg. YES/NO Meter

DG_SET_ AVAILABLITY TEXT(3) N Existence of Diesel Generator. Eg. YES/NO

Consumer

DG_CAPACITY TEXT(5) N Capacity of the Diesel Generator

Consumer

STATUS TEXT(20) N Status of Asset. Eg. Operational

Field

REMARKS TEXT(75) N General Remarks, if any Surveyor

Page 11: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 11 of 14 Confidential

Attribute List for Specific Fields of HT_METER Table

Field Name Attribute Values

POWER_FLOW_DIRECTION RECEIVED

DISTRIBUTED

INSTALL_CATEGORY PUBLIC WATER SUPPLY AND SEWAGE PUMPING

COMMERCIAL

RAILWAYS

GOVT INSTALLATIONS

BANGALORE METROPOLITAN AREA

AGRICULTURAL FORMS

IRRIGATION

PRIVATE APARTMENTS

INDUSTRIAL

METER_LOCATION INSIDE

OUTSIDE

MAIN_DOOR_SEAL_COND OK

BROKEN

NO SEAL

EARTHING_COND OK

NOT OK

NO EARTHING

METER_OPERATION_STATUS WORKING

NOT WORKING

OTHERS

CT_SEAL_COND OK

BROKEN

NO SEAL

PT_SEAL_COND OK

BROKEN

NO SEAL

GLASS_VIEW OK

FOGGED

BROKEN

METER_HEIGHT VIEWABLE

BELOW 3 FT

ABOVE 7 FT

MODEM_AVAILABLITY YES

Page 12: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 12 of 14 Confidential

NO

DG_SET_ AVAILABLITY YES

NO

STATUS Proposed

Under Construction

Operational

Decommission

Table: MODEM

FIELD NAME DATA TYPE

KEY FIELD

DESCRIPTION DATA

SOURCE

RR_NO TEXT(10) Y RR No; Eg. W4HT58 Meter / Bill

MODEM_SL_NO TEXT(20) N Modem serial no; Eg. 123455 Modem

MODEM_MAKE TEXT(20) N Modem make; Eg. Vyoma Switch gear

Modem

MODEM_MODEL TEXT(20) N Modem model Modem

MODEM_MFG_YEAR INTEGER(4) N Modem manufacturing year; Eg. 1999

Modem

STATUS TEXT(20) N Status of Asset. Eg. Operational Field

REMARKS TEXT(75) N General Remarks, if any Surveyor

Attribute List for Specific Fields of MODEM Table

Field Name Attribute Values

STATUS Proposed

Under Construction

Operational

Decommission

Page 13: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 13 of 14 Confidential

Table: METER_CUBICLE

FIELD NAME DATA TYPE

KEY FIELD

DESCRIPTION DATA SOURCE

RR_NO TEXT(10) Y RR No; Eg. W4HT58 Meter / Bill

METER_CUBICLE_TYPE TEXT(20) N Meter cubicle type Field

METER_CUBICLE_MAKE TEXT(20) N Meter cubicle make; Eg. VSG Field

METER_CUBICLE_SL_NO TEXT(20) N Meter cubicle serial no; Eg. 08035K014

Field

PREV_RATING_CALIBR_DATE DATE(10) N Previous rating date or calibration date;

Field

PT_RATIO TEXT(10) N PT ratio; Eg. 20/10, Field

CT_RATIO TEXT(10) N CT ratio; Eg. 20/5A Field

LOAD_BREAK_SWITH_EXIST TEXT(3) N Load break switch existance; Eg. Yes

Field

STATUS TEXT(20) N Status of Asset. Eg. Operational Field

REMARKS TEXT(75) N General Remarks, if any Surveyor

Attribute List for Specific Fields of METER_CUBICLE Table

Field Name Attribute Values

LOAD_BREAK_SWITH_EXIST YES

NO

STATUS Proposed

Under Construction

Operational

Decommission

Page 14: Db design consumer_18_aug_10_v1.0.4

NIIT GIS LTD

Consumer DB Schema V 1.0.4 Page 14 of 14 Confidential

Entity Relationship Diagram