Commit b1e367b4 authored by Bouknight, Sedrick's avatar Bouknight, Sedrick
Browse files

Clean up code

parent bbb5ac3a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -112,10 +112,6 @@ class ThermoFluidsModel:

        outputs = get_matching_variables(var_model, r'.*(\.summary\.|^summary).*')

        # print("NUMBER OF FMU OUTPUTS")
        # print(len(outputs))
        # breakpoint()

        # Get the value references for the variables we want to get/set
        self.inputs = [v for v in model_description.modelVariables if v.causality == 'input']
        self.outputs = [v for v in model_description.modelVariables if v.name in outputs]
+0 −7
Original line number Diff line number Diff line
@@ -261,13 +261,6 @@ class LayoutManager:
                f"[{data_styles[i]}]{power_row[1][col]}[/]" for i, col in enumerate(power_columns)
            ]

            # DEBUGGING
            # print("len(cooling_keys): " + str(len(cooling_keys)))
            # print("Contents of power_columns:")
            # for element in cooling_keys:
            #     print(element)
            # breakpoint()

            cooling_values = [
                f"[{data_styles[i + len(power_columns)]}]{cooling_row[1][key]:.1f}[/]" for i, key in enumerate(cooling_keys)
            ]