Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions examples/amr-wind_buildme.sh

This file was deleted.

14 changes: 4 additions & 10 deletions hercules/hercules_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,18 +576,12 @@ def run(self):
self.logger.info("=====================================")
self.logger.info(
(
"Total simulated time: ",
f"{self.total_simulation_time} seconds ({self.total_simulation_days} days)",
)
)
self.logger.info(f"Total wall time: {self.total_time_wall}")
self.logger.info(
(
"Rate of simulation: ",
f"{self.total_simulation_time / self.total_time_wall:.1f}",
"x real time",
"Total simulated time: "
f"{self.total_simulation_time:.1f} seconds ({self.total_simulation_days:.2f}"
" days)"
)
)
self.logger.info(f"Total wall time: {self.total_time_wall:.1f} seconds")
self.logger.info("=====================================")

except Exception as e:
Expand Down
3 changes: 2 additions & 1 deletion hercules/plant_components/component_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def __init__(self, h_dict, component_name):

# Use the top-level verbose option
self.verbose = h_dict["verbose"]
self.logger.info(f"read in verbose flag = {self.verbose}")
if self.verbose:
self.logger.info(f"Verbose flag = {self.verbose}")

def _setup_logging(self, log_file_name):
"""Set up logging for the component.
Expand Down
Loading