From b93fcb22e92e1ed200f971a25222ebc2972d385b Mon Sep 17 00:00:00 2001 From: "WQY\\qiong" Date: Thu, 2 Mar 2023 20:53:27 +0800 Subject: [PATCH] EPANET3 support EPANET2 [TIMES] keyword --- api/s21_times.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/s21_times.py b/api/s21_times.py index 5a84569..4e74263 100644 --- a/api/s21_times.py +++ b/api/s21_times.py @@ -68,7 +68,7 @@ def set_time(name: str, cs: ChangeSet) -> ChangeSet: #-------------------------------------------------------------- -# [EPANET2] +# [EPA2][EPA3] # STATISTIC {NONE/AVERAGE/MIN/MAX/RANGE} # DURATION value (units) # HYDRAULIC TIMESTEP value (units) @@ -79,6 +79,7 @@ def set_time(name: str, cs: ChangeSet) -> ChangeSet: # REPORT TIMESTEP value (units) # REPORT START value (units) # START CLOCKTIME value (AM PM) +# [EPA3] supports [EPA2] keyword #-------------------------------------------------------------- def inp_in_time(section: list[str]) -> ChangeSet: if len(section) > 0: