Add EPANET2 input format
This commit is contained in:
@@ -85,6 +85,11 @@ def set_demand(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
return execute_command(name, set_demand_cmd(name, cs))
|
||||
|
||||
|
||||
#--------------------------------------------------------------
|
||||
# [EPANET2]
|
||||
# MULTIPLY factor
|
||||
# node base_demand (pattern)
|
||||
#--------------------------------------------------------------
|
||||
class InpDemand:
|
||||
def __init__(self, line: str) -> None:
|
||||
tokens = line.split()
|
||||
|
||||
Reference in New Issue
Block a user