topotherm.utils =============== .. py:module:: topotherm.utils Functions --------- .. autoapisummary:: topotherm.utils.create_dir topotherm.utils.solver_to_df topotherm.utils.model_to_df Module Contents --------------- .. py:function:: create_dir(path) Creates a directory if it does not exist and deletes old results. Args: path (str): path to directory .. py:function:: solver_to_df(result, model) Returns solver results in a dataframe. This needs to be adapted to the solver output (gurobi vs cplex have different naming conventions) .. py:function:: model_to_df(model) Converts a solved pyomo model to a pandas dataframe.