Add epanet input schema

This commit is contained in:
wqy
2022-08-27 11:49:43 +08:00
parent cbb88986c2
commit b77349cfe6
58 changed files with 544 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
-- [SOURCES]
CREATE TYPE SOURCES_TYPE AS ENUM ('CONCEN', 'MASS', 'FLOWPACED', 'SETPOINT');
CREATE TABLE SOURCES
(
Node VARCHAR(32) PRIMARY KEY REFERENCES _NODE(ID)
, Type SOURCES_TYPE NOT NULL
, Strength NUMERIC NOT NULL
, TimePattern VARCHAR(32) REFERENCES _PATTERN(ID)
);