Skip to content

Tighten RE manuscript table layouts for two-column fit#265

Merged
rebeccamccabe merged 2 commits into
overleaf-syncfrom
copilot/latex-table-fixes
Jun 22, 2026
Merged

Tighten RE manuscript table layouts for two-column fit#265
rebeccamccabe merged 2 commits into
overleaf-syncfrom
copilot/latex-table-fixes

Conversation

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Most tables in pubs/renewable-energy-mdo overflowed the two-column journal layout (excluding Tables 2, 5, and 12). This update applies targeted table-format changes: narrower single-column tabular widths, conversion of selected result tables to two-column floats, and tighter landscape table geometry for appendix tables that still overflowed.

  • Table sizing fixes (single-column tables)

    • Reduced column widths and inter-column spacing for:
      • sections/formulation.tex (Tables 3 and 4: design variables, selected parameters)
    • Tightened \tabcolsep for the large landscape literature table in:
      • sections/introduction.tex (Table 1)
  • Two-column float conversion

    • Converted result tables in sections/results.tex from table to table* (Tables 6–8) to use full page width in two-column mode.
  • Landscape appendix overflow fixes

    • Narrowed paired code/description columns and tightened spacing for:
      • sections/other-appendices.tex (Tables 9–11)
  • Representative change

    % Before
    \begin{table}[htbp]
    \input{tables/from-matlab/optimal_design_vars.tex}
    \caption{Optimal design variables}
    \end{table}
    
    % After
    \begin{table*}[htbp]
    \input{tables/from-matlab/optimal_design_vars.tex}
    \caption{Optimal design variables}
    \end{table*}

@rebeccamccabe rebeccamccabe marked this pull request as ready for review June 22, 2026 10:23
@rebeccamccabe rebeccamccabe merged commit 016cb8f into overleaf-sync Jun 22, 2026
@rebeccamccabe rebeccamccabe deleted the copilot/latex-table-fixes branch June 22, 2026 10:23
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

❌ 23 Tests Failed:

Tests completed Failed Passed Skipped
120 23 97 11
View the full list of 23 ❄️ flaky test(s)
test::allFiguresRun(which_figs=none1,which_tabs=Comparison.optimal_design_vars)

Flake rate in main: 80.00% (Passed 2 times, Failed 8 times)

Stack Traces | 0.0299s run time
Error occurred in test/allFiguresRun(which_figs=none1,which_tabs=Comparison.optimal_design_vars) and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:nonExistentField'
    --------------
    Error Details:
    --------------
    Unrecognized field name "optimal_design_vars".
    
    Error in all_figures (line 174)
            tab_output{i} = generated_tabs.(class_name).(tab_desc);  % Store the table
    
    Error in test/runAllFigsTabs (line 119)
                     f_runtime_run,t_runtime_run] = all_figures( run_figs, run_tabs, testCase.uuid );
test::allFiguresRun(which_figs=none10,which_tabs=Parameters.parameters)

Flake rate in main: 90.00% (Passed 1 times, Failed 9 times)

Stack Traces | 0.0378s run time
Error occurred in test/allFiguresRun(which_figs=none10,which_tabs=Parameters.parameters) and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:nonExistentField'
    --------------
    Error Details:
    --------------
    Unrecognized field name "parameters".
    
    Error in all_figures (line 174)
            tab_output{i} = generated_tabs.(class_name).(tab_desc);  % Store the table
    
    Error in test/runAllFigsTabs (line 119)
                     f_runtime_run,t_runtime_run] = all_figures( run_figs, run_tabs, testCase.uuid );
test::allFiguresRun(which_figs=none11,which_tabs=Validation.validation)

Flake rate in main: 80.00% (Passed 2 times, Failed 8 times)

Stack Traces | 0.0362s run time
Error occurred in test/allFiguresRun(which_figs=none11,which_tabs=Validation.validation) and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:nonExistentField'
    --------------
    Error Details:
    --------------
    Unrecognized field name "validation".
    
    Error in all_figures (line 174)
            tab_output{i} = generated_tabs.(class_name).(tab_desc);  % Store the table
    
    Error in test/runAllFigsTabs (line 119)
                     f_runtime_run,t_runtime_run] = all_figures( run_figs, run_tabs, testCase.uuid );
test::allFiguresRun(which_figs=none2,which_tabs=Comparison.optimal_outputs)

Flake rate in main: 80.00% (Passed 2 times, Failed 8 times)

Stack Traces | 0.0353s run time
Error occurred in test/allFiguresRun(which_figs=none2,which_tabs=Comparison.optimal_outputs) and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:nonExistentField'
    --------------
    Error Details:
    --------------
    Unrecognized field name "optimal_outputs".
    
    Error in all_figures (line 174)
            tab_output{i} = generated_tabs.(class_name).(tab_desc);  % Store the table
    
    Error in test/runAllFigsTabs (line 119)
                     f_runtime_run,t_runtime_run] = all_figures( run_figs, run_tabs, testCase.uuid );
test::allFiguresRun(which_figs=none3,which_tabs=Constraints.constraints)

Flake rate in main: 80.00% (Passed 2 times, Failed 8 times)

Stack Traces | 0.0296s run time
Error occurred in test/allFiguresRun(which_figs=none3,which_tabs=Constraints.constraints) and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:nonExistentField'
    --------------
    Error Details:
    --------------
    Unrecognized field name "constraints".
    
    Error in all_figures (line 174)
            tab_output{i} = generated_tabs.(class_name).(tab_desc);  % Store the table
    
    Error in test/runAllFigsTabs (line 119)
                     f_runtime_run,t_runtime_run] = all_figures( run_figs, run_tabs, testCase.uuid );
test::allFiguresRun(which_figs=none4,which_tabs=Cost.cost_parameters)

Flake rate in main: 80.00% (Passed 2 times, Failed 8 times)

Stack Traces | 0.0315s run time
Error occurred in test/allFiguresRun(which_figs=none4,which_tabs=Cost.cost_parameters) and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:nonExistentField'
    --------------
    Error Details:
    --------------
    Unrecognized field name "cost_parameters".
    
    Error in all_figures (line 174)
            tab_output{i} = generated_tabs.(class_name).(tab_desc);  % Store the table
    
    Error in test/runAllFigsTabs (line 119)
                     f_runtime_run,t_runtime_run] = all_figures( run_figs, run_tabs, testCase.uuid );
test::allFiguresRun(which_figs=none6,which_tabs=DesignVars.design_vars)

Flake rate in main: 80.00% (Passed 2 times, Failed 8 times)

Stack Traces | 0.0305s run time
Error occurred in test/allFiguresRun(which_figs=none6,which_tabs=DesignVars.design_vars) and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:nonExistentField'
    --------------
    Error Details:
    --------------
    Unrecognized field name "design_vars".
    
    Error in all_figures (line 174)
            tab_output{i} = generated_tabs.(class_name).(tab_desc);  % Store the table
    
    Error in test/runAllFigsTabs (line 119)
                     f_runtime_run,t_runtime_run] = all_figures( run_figs, run_tabs, testCase.uuid );
test::validateNominalHydroCoeffs

Flake rate in main: 100.00% (Passed 0 times, Failed 23 times)

Stack Traces | 6.54s run time
Verification failed in test/validateNominalHydroCoeffs.
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyLessThanOrEqual failed.
    --> Each element must be less than or equal to the maximum value.
        
        Failing Indices:
             1     2     3
    
    Actual Value:
       0.204482267456327   0.887336280522300   0.208933730234385                -Inf
    Maximum Value (Inclusive):
       0.100000000000000
    ------------------
    Stack Information:
    ------------------
    In .../MDOcean/tests/test.m (test.validateNominalHydroCoeffs) at 301
test::validateNominalReport(field_report=c_v,rel_tol_report=0.1_10)

Flake rate in main: 100.00% (Passed 0 times, Failed 23 times)

Stack Traces | 0.378s run time
Verification failed in test/validateNominalReport(field_report=c_v,rel_tol_report=0.1_10).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
                 Actual             Expected             Error            RelativeError      RelativeTolerance
            ________________    ________________    ________________    _________________    _________________
                                                                                                              
            86.9438166250446    71.0526622304404    15.8911543946042    0.223653187590149           0.1       
    
    Actual Value:
      86.943816625044647
    Expected Value:
      71.052662230440447
    ------------------
    Stack Information:
    ------------------
    In .../MDOcean/tests/test.m (test.validateNominalReport) at 271
test::validateNominalReportFeasible

Flake rate in main: 100.00% (Passed 0 times, Failed 23 times)

Stack Traces | 395s run time
Verification failed in test/validateNominalReportFeasible.
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyTrue failed.
    --> The value must evaluate to "true".
    
    Actual Value:
      logical
    
       0
    ----------------------
    Additional Diagnostic:
    ----------------------
    Nominal design violates these constraints: FOS_plate_fatigue, prevent_slamming_operational_79, prevent_slamming_operational_80, prevent_slamming_operational_81, prevent_slamming_operational_91, prevent_slamming_operational_92, prevent_slamming_operational_93, prevent_slamming_operational_94, prevent_slamming_operational_95, prevent_slamming_operational_96, prevent_slamming_operational_103, prevent_slamming_operational_104, prevent_slamming_operational_105, prevent_slamming_operational_106, prevent_slamming_operational_107, prevent_slamming_operational_108, prevent_slamming_operational_109, prevent_slamming_operational_110, prevent_slamming_operational_117, prevent_slamming_operational_118, prevent_slamming_operational_119, prevent_slamming_operational_120, prevent_slamming_operational_121, prevent_slamming_operational_122, prevent_slamming_operational_123, prevent_slamming_operational_124, prevent_slamming_operational_125, prevent_slamming_operational_136, prevent_slamming_operational_137, prevent_slamming_operational_138, prevent_slamming_operational_139
    ------------------
    Stack Information:
    ------------------
    In .../MDOcean/tests/test.m (test.validateNominalReportFeasible) at 291
test::validateNominalWecsim(field_wecsim=J_capex_design,rel_tol_wecsim=0.1_2)

Flake rate in main: 100.00% (Passed 0 times, Failed 23 times)

Stack Traces | 0.0793s run time
Verification failed in test/validateNominalWecsim(field_wecsim=J_capex_design,rel_tol_wecsim=0.1_2).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
            Index         Actual         Expected    Error    RelativeError    RelativeTolerance
            _____    ________________    ________    _____    _____________    _________________
                                                                                                
              1      3.45448600796013      NaN        NaN          NaN                0.1       
              2      2.48393320770206      NaN        NaN          NaN                0.1       
              3      2.19948956021416      NaN        NaN          NaN                0.1       
              4      2.12457389854164      NaN        NaN          NaN                0.1       
    
    Actual Value:
       3.454486007960131   2.483933207702065   2.199489560214162   2.124573898541640
    Expected Value:
       NaN   NaN   NaN   NaN
    ------------------
    Stack Information:
    ------------------
    In .../MDOcean/tests/test.m (test.validateNominalWecsim) at 282
test::validateNominalWecsim(field_wecsim=LCOE,rel_tol_wecsim=0.1_1)

Flake rate in main: 100.00% (Passed 0 times, Failed 23 times)

Stack Traces | 0.575s run time
Verification failed in test/validateNominalWecsim(field_wecsim=LCOE,rel_tol_wecsim=0.1_1).
    ----------------
    Test Diagnostic:
    ----------------
    Figure saved to:
    --> .../test-results/aor/2026-06-22_06.30.05/d7de1953-5286-4331-be08-9516645cd514/econ_validation_wecsimbc1e824e-c5a9-4a47-b372-945a074973e6.fig
    --> .../test-results/aor/2026-06-22_06.30.05/d7de1953-5286-4331-be08-9516645cd514/econ_validation_wecsimbc1e824e-c5a9-4a47-b372-945a074973e6.png
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
            Index         Actual          Expected    Error    RelativeError    RelativeTolerance
            _____    _________________    ________    _____    _____________    _________________
                                                                                                 
              1      2.85651416182117       NaN        NaN          NaN                0.1       
              2      0.915897367394335      NaN        NaN          NaN                0.1       
              3      0.545496132390269      NaN        NaN          NaN                0.1       
              4      0.469982222865033      NaN        NaN          NaN                0.1       
    
    Actual Value:
       2.856514161821172   0.915897367394335   0.545496132390269   0.469982222865033
    Expected Value:
       NaN   NaN   NaN   NaN
    ------------------
    Stack Information:
    ------------------
    In .../MDOcean/tests/test.m (test.validateNominalWecsim) at 282
test::validateNominalWecsim(field_wecsim=c_v,rel_tol_wecsim=0.1_3)

Flake rate in main: 100.00% (Passed 0 times, Failed 23 times)

Stack Traces | 0.137s run time
Verification failed in test/validateNominalWecsim(field_wecsim=c_v,rel_tol_wecsim=0.1_3).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
                 Actual         Expected    Error    RelativeError    RelativeTolerance
            ________________    ________    _____    _____________    _________________
                                                                                       
            66.8511425761024      NaN        NaN          NaN                0.1       
    
    Actual Value:
      66.851142576102362
    Expected Value:
       NaN
    ------------------
    Stack Information:
    ------------------
    In .../MDOcean/tests/test.m (test.validateNominalWecsim) at 282
test::validateNominalWecsim(field_wecsim=power_avg,rel_tol_wecsim=0.1)

Flake rate in main: 100.00% (Passed 0 times, Failed 23 times)

Stack Traces | 0.122s run time
Verification failed in test/validateNominalWecsim(field_wecsim=power_avg,rel_tol_wecsim=0.1).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
                 Actual         Expected    Error    RelativeError    RelativeTolerance
            ________________    ________    _____    _____________    _________________
                                                                                       
            135392.022078954      NaN        NaN          NaN                0.1       
    
    Actual Value:
         1.353920220789538e+05
    Expected Value:
       NaN
    ------------------
    Stack Information:
    ------------------
    In .../MDOcean/tests/test.m (test.validateNominalWecsim) at 282
test::validateNominalWecsimFeasible

Flake rate in main: 100.00% (Passed 0 times, Failed 23 times)

Stack Traces | 0.18s run time
Verification failed in test/validateNominalWecsimFeasible.
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyTrue failed.
    --> The value must evaluate to "true".
    
    Actual Value:
      logical
    
       0
    ----------------------
    Additional Diagnostic:
    ----------------------
    Nominal design violates these constraints: FOS_plate_fatigue, prevent_slamming_operational_80, prevent_slamming_operational_81, prevent_slamming_operational_92, prevent_slamming_operational_93, prevent_slamming_operational_94, prevent_slamming_operational_95, prevent_slamming_operational_96, prevent_slamming_operational_104, prevent_slamming_operational_105, prevent_slamming_operational_106, prevent_slamming_operational_107, prevent_slamming_operational_108, prevent_slamming_operational_109, prevent_slamming_operational_110, prevent_slamming_operational_116, prevent_slamming_operational_117, prevent_slamming_operational_118, prevent_slamming_operational_119, prevent_slamming_operational_120, prevent_slamming_operational_121, prevent_slamming_operational_122, prevent_slamming_operational_123, prevent_slamming_operational_124, prevent_slamming_operational_125, prevent_slamming_operational_136, prevent_slamming_operational_137, prevent_slamming_operational_138, prevent_slamming_operational_139
    ------------------
    Stack Information:
    ------------------
    In .../MDOcean/tests/test.m (test.validateNominalWecsimFeasible) at 296
test_dynamics::dynamicValidationFigures

Flake rate in main: 90.00% (Passed 1 times, Failed 9 times)

Stack Traces | 0.00076s run time
Error occurred while setting up or tearing down test_dynamics.
As a result, all test_dynamics tests failed and did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:cellRefFromNonCell'
    --------------
    Error Details:
    --------------
    Brace indexing is not supported for variables of this type.
    
    Error in test_dynamics/runNominalDynamics (line 35)
                    testCase.table             = obj.tab_array_display{1};
test_dynamics::dynamicValidationTable

Flake rate in main: 90.00% (Passed 1 times, Failed 9 times)

Stack Traces | 0s run time
Error occurred while setting up or tearing down test_dynamics.
As a result, all test_dynamics tests failed and did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:cellRefFromNonCell'
    --------------
    Error Details:
    --------------
    Brace indexing is not supported for variables of this type.
    
    Error in test_dynamics/runNominalDynamics (line 35)
                    testCase.table             = obj.tab_array_display{1};
test_dynamics::validateMultibodyReportBaseline

Flake rate in main: 100.00% (Passed 0 times, Failed 23 times)

Stack Traces | 0s run time
Error occurred while setting up or tearing down test_dynamics.
As a result, all test_dynamics tests failed and did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:cellRefFromNonCell'
    --------------
    Error Details:
    --------------
    Brace indexing is not supported for variables of this type.
    
    Error in test_dynamics/runNominalDynamics (line 35)
                    testCase.table             = obj.tab_array_display{1};
test_dynamics::validateMultibodyReportTotal

Flake rate in main: 100.00% (Passed 0 times, Failed 23 times)

Stack Traces | 0s run time
Error occurred while setting up or tearing down test_dynamics.
As a result, all test_dynamics tests failed and did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:cellRefFromNonCell'
    --------------
    Error Details:
    --------------
    Brace indexing is not supported for variables of this type.
    
    Error in test_dynamics/runNominalDynamics (line 35)
                    testCase.table             = obj.tab_array_display{1};
test_dynamics::validateMultibodyWecsimBaseline

Flake rate in main: 84.62% (Passed 2 times, Failed 11 times)

Stack Traces | 0s run time
Error occurred while setting up or tearing down test_dynamics.
As a result, all test_dynamics tests failed and did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:cellRefFromNonCell'
    --------------
    Error Details:
    --------------
    Brace indexing is not supported for variables of this type.
    
    Error in test_dynamics/runNominalDynamics (line 35)
                    testCase.table             = obj.tab_array_display{1};
test_dynamics::validateMultibodyWecsimTotal

Flake rate in main: 91.30% (Passed 2 times, Failed 21 times)

Stack Traces | 0s run time
Error occurred while setting up or tearing down test_dynamics.
As a result, all test_dynamics tests failed and did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:cellRefFromNonCell'
    --------------
    Error Details:
    --------------
    Brace indexing is not supported for variables of this type.
    
    Error in test_dynamics/runNominalDynamics (line 35)
                    testCase.table             = obj.tab_array_display{1};
test_dynamics::validateSinglebodyWecsimBaseline

Flake rate in main: 100.00% (Passed 0 times, Failed 10 times)

Stack Traces | 88s run time
Error occurred while setting up or tearing down test_dynamics.
As a result, all test_dynamics tests failed and did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:cellRefFromNonCell'
    --------------
    Error Details:
    --------------
    Brace indexing is not supported for variables of this type.
    
    Error in test_dynamics/runNominalDynamics (line 35)
                    testCase.table             = obj.tab_array_display{1};
test_dynamics::validateSinglebodyWecsimTotal

Flake rate in main: 100.00% (Passed 0 times, Failed 10 times)

Stack Traces | 0s run time
Error occurred while setting up or tearing down test_dynamics.
As a result, all test_dynamics tests failed and did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:cellRefFromNonCell'
    --------------
    Error Details:
    --------------
    Brace indexing is not supported for variables of this type.
    
    Error in test_dynamics/runNominalDynamics (line 35)
                    testCase.table             = obj.tab_array_display{1};

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants