EPANET3 support EPANET2 [TIMES] keyword
This commit is contained in:
@@ -68,7 +68,7 @@ def set_time(name: str, cs: ChangeSet) -> ChangeSet:
|
|||||||
|
|
||||||
|
|
||||||
#--------------------------------------------------------------
|
#--------------------------------------------------------------
|
||||||
# [EPANET2]
|
# [EPA2][EPA3]
|
||||||
# STATISTIC {NONE/AVERAGE/MIN/MAX/RANGE}
|
# STATISTIC {NONE/AVERAGE/MIN/MAX/RANGE}
|
||||||
# DURATION value (units)
|
# DURATION value (units)
|
||||||
# HYDRAULIC TIMESTEP value (units)
|
# HYDRAULIC TIMESTEP value (units)
|
||||||
@@ -79,6 +79,7 @@ def set_time(name: str, cs: ChangeSet) -> ChangeSet:
|
|||||||
# REPORT TIMESTEP value (units)
|
# REPORT TIMESTEP value (units)
|
||||||
# REPORT START value (units)
|
# REPORT START value (units)
|
||||||
# START CLOCKTIME value (AM PM)
|
# START CLOCKTIME value (AM PM)
|
||||||
|
# [EPA3] supports [EPA2] keyword
|
||||||
#--------------------------------------------------------------
|
#--------------------------------------------------------------
|
||||||
def inp_in_time(section: list[str]) -> ChangeSet:
|
def inp_in_time(section: list[str]) -> ChangeSet:
|
||||||
if len(section) > 0:
|
if len(section) > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user