If you create a simple control with nine or more input tokens, the logic skips over assigning the hour variable and EPANET will activate the control at hour zero.
An example simple control would look like this:
LINK PUMP-1 OPEN AT TIME 8 PM EXTRA_TOKEN
I believe we should add another check for the correct amount of input tokens at the following location in input3.c
If you create a simple control with nine or more input tokens, the logic skips over assigning the hour variable and EPANET will activate the control at hour zero.
An example simple control would look like this:
LINK PUMP-1 OPEN AT TIME 8 PM EXTRA_TOKEN
I believe we should add another check for the correct amount of input tokens at the following location in
input3.c
https://github.com/OpenWaterAnalytics/EPANET/blob/4d8d82ddc260fce216af9321fc3d9a4646ac6827/src/input3.c#L899-L906