Skip to content

Commit

Permalink
clear data before execute
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed Apr 18, 2024
1 parent 9ded981 commit 83bd6e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/Hybrids/HybridSystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ def execute(self, verbosity_int=0):
"""
Runs simulation
"""
HybridGenerator._ssc.data_clear(self._data_input_ptr)
HybridGenerator._ssc.data_clear(self._data_ptr)
self._collect_hybrid_inputs()
self._hybrid.execute(verbosity_int)
self._collect_hybrid_outputs()
Expand Down

0 comments on commit 83bd6e0

Please sign in to comment.