From 4ba2e210d83ee0a4a6745a055536ab5f8c4cfc51 Mon Sep 17 00:00:00 2001 From: "WQY\\qiong" Date: Sat, 22 Oct 2022 11:02:05 +0800 Subject: [PATCH] Refine option schema --- script/sql/create/23.options.sql | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/script/sql/create/23.options.sql b/script/sql/create/23.options.sql index 7b91411..d973e6d 100644 --- a/script/sql/create/23.options.sql +++ b/script/sql/create/23.options.sql @@ -7,3 +7,30 @@ create table options key text not null , value text not null ); + +insert into options (key, value) values + ('UNITS', 'GPM') +, ('HEADLOSS', 'H-W') +--, ('HYDRAULICS', '') +, ('VISCOSITY', '1.0') +, ('SPECIFIC GRAVITY', '1.0') +, ('TRIALS', '40') +, ('ACCURACY', '0.001') +, ('FLOWCHANGE', '0') +, ('HEADERROR', '0') +, ('CHECKFREQ', '2') +, ('MAXCHECK', '10') +, ('DAMPLIMIT', '0') +, ('UNBALANCED', 'STOP') +, ('DEMAND MODEL', 'DDA') +, ('MINIMUM PRESSURE', '0') +, ('REQUIRED PRESSURE', '0.1') +, ('PRESSURE EXPONENT', '0.5') +, ('PATTERN', '1') +, ('DEMAND MULTIPLIER', '1.0') +, ('EMITTER EXPONENT', '0.5') +, ('QUALITY', 'NONE') +, ('DIFFUSIVITY', '1.0') +, ('TOLERANCE', '0.01') +--, ('MAP', '') +;