

-- grid initialization example
INSERT INTO 
	PUBLIC.GRID (NAME, TAG_NAME, DESCRIPTION, OP)
VALUES
	('电网','grid000','电网的描述',1);


-- zone initialization example
INSERT INTO 
	PUBLIC.ZONE (GRID_ID, NAME, TAG_NAME, DESCRIPTION, OP)
VALUES
	(1 ,'区域','zone000','区域的描述',1);


-- station initialization example
INSERT INTO 
	PUBLIC.STATION (ZONE_ID, NAME, TAG_NAME, DESCRIPTION, IS_LOCAL, OP)
VALUES
	(1 ,'厂站','station000','厂站的描述',TRUE,1);


-- supported standard component type
INSERT INTO 
	PUBLIC.COMPONENT_TYPE (TYPE, NAME, CONFIG)
VALUES
	('bus','母线段','{}'),
	('asyncmotor','异步电动机','{}'),
	('cb','断路器','{}'),
	('ct','电流互感器','{}'),
	('pt','电压互感器','{}'),
	('es','接地开关','{}'),
	('fes','快速接地开关','{}'),
	('cable','电缆','{}'),
	('ds','隔离开关','{}'),
	('dteds','双掷接地隔离开关','{}'),
	('potential_indicator','带电指示器','{}'),
	('lightning_arrester','避雷器','{}'),
	('cable_termination','电缆出线套筒','{}'),
	('cable_end','电缆端','{}'),
	('2w_transformer','两绕组变压器','{}'),
	('3w_transformer','三绕组变压器','{}');