def ENnextQ(self):
"""
advances WQ simulation to next hydraulic event.
Returns: long
* time (seconds) until next hydraulic event
(0 marks end of simulation period)
This function is used in a loop with ENrunQ() to run
an extended period WQ simulation. See ENsolveQ() for
an example.
"""
lTstep = ctypes.c_long()
self.errcode = self.ENlib.ENnextQ(byref(lTstep))
self._error()
return lTstep.value
评论列表
文章目录