read Region sections in inp
This commit is contained in:
@@ -4,6 +4,8 @@ create type _link_type as enum ('pipe', 'pump', 'valve');
|
||||
|
||||
create type _curve_type as enum ('PUMP', 'EFFICIENCY', 'VOLUME', 'HEADLOSS');
|
||||
|
||||
create type _region_type as enum ('DISTRIBUTION', 'DMA', 'SA', 'PMA','VA');
|
||||
|
||||
create table _node
|
||||
(
|
||||
id varchar(32) primary key
|
||||
@@ -26,3 +28,9 @@ create table _pattern
|
||||
(
|
||||
id varchar(32) primary key
|
||||
);
|
||||
|
||||
create table _region
|
||||
(
|
||||
id varchar(32) primary key
|
||||
, type _region_type not null
|
||||
);
|
||||
@@ -1,3 +1,5 @@
|
||||
drop table if exists _region;
|
||||
|
||||
drop table if exists _pattern;
|
||||
|
||||
drop table if exists _curve;
|
||||
|
||||
Reference in New Issue
Block a user