Skip to content

Commit

Permalink
Remove openmdao recorders
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Oct 26, 2023
1 parent 591d927 commit 1068c90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ROSCO_toolbox/linear/robust_scheduling.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def execute(self):
self.om_doe.set_val('r_sched.u_eval', u)
self.doe_logfile = os.path.join(
self.output_dir, self.output_name + '.' + str(u) + ".doe.sql")
self.om_doe.driver.add_recorder(om.SqliteRecorder(self.doe_logfile))
# self.om_doe.driver.add_recorder(om.SqliteRecorder(self.doe_logfile))
self.om_doe.run_driver()

elif self.opt_options['driver'] == 'optimization':
Expand All @@ -248,7 +248,7 @@ def execute(self):
u, self.opt_options['stability_margin'], self.opt_options['omega'], self.opt_options['k_float']))
opt_logfile = os.path.join(
self.output_dir, self.output_name + '.' + str(u) + ".opt.sql")
self.om_opt = self.setup_recorder(self.om_opt, opt_logfile)
# self.om_opt = self.setup_recorder(self.om_opt, opt_logfile)
self.om_opt.run_driver()
self.om_opt.cleanup()

Expand Down

0 comments on commit 1068c90

Please sign in to comment.