Skip to content

Commit

Permalink
Merge pull request #10424 from NREL/10350-python_timestep
Browse files Browse the repository at this point in the history
Fix #10350 - typo in zone_time_step python api returning system time step instead
  • Loading branch information
Myoldmopar authored Mar 15, 2024
2 parents d888ba3 + 78df9df commit 4293228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EnergyPlus/api/datatransfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ def zone_time_step(self, state: c_void_p) -> float:
:param state: An active EnergyPlus "state" that is returned from a call to `api.state_manager.new_state()`.
:return: The current zone time step in fractional hours.
"""
return self.api.systemTimeStep(state)
return self.api.zoneTimeStep(state)

def system_time_step(self, state: c_void_p) -> float:
"""
Expand Down

0 comments on commit 4293228

Please sign in to comment.