Source code for thermopt

# Highlight exception messages
# https://stackoverflow.com/questions/25109105/how-to-colorize-the-output-of-python-errors-in-the-gnome-terminal/52797444#52797444
try:
    import IPython.core.ultratb
except ImportError:
    # No IPython. Use default exception printing.
    pass
else:
    import sys
    sys.excepthook = IPython.core.ultratb.FormattedTB(call_pdb=False)

# Import submodules
# from .math import *
from .config import *
from .optimize_cycle import *

# Import subpackages
from .cycles import *
from .utilities import *

# Set plot options
set_plot_options()

# Package info
__version__ = "0.2.4"
PACKAGE_NAME = "thermopt"
URL_GITHUB = "https://github.com/turbo-sim/thermopt"
URL_DOCS = "https://turbo-sim.github.io/thermopt/"
URL_DTU = "https://thermalpower.dtu.dk/"
BREAKLINE = 80 * "-"




    # https://manytools.org/hacker-tools/ascii-banner/
    # Style: Sland