Skip to content

Updates for initial sizing and increase robustness for path access in aircraft xml

Description

Comparing initial sizing execution to a converged reference makes no sense. A better idea is to use an aircraft xml version, after design point estimation. An aircraft design project usually has a folder with the aircraft xml files after each iteration of the workflow - and more important: the aircraft xml after design point execution, before the sizing loop. This file is now used for comparison.

Furthermore, if a node is not available in the aircraft xml but the test tries to access it, an unknown c++ exception was thrown in the test body. This is fixed now, by a more intense try catch statement.

Testing Instructions

  1. Checkout this branch
  2. cmake --preset x64-windows-release -DBUILD_BLACKBOXTESTS=ON
  3. cmake --build --preset x64-windows-release --target blackbox_initial_sizing
  4. Insert the current clean sheet design results of UNICADO-SMR-01 into a folder projects/UNICADO/UNICADO-SMR-01/ within the aircraft_design folder
  5. .\blackbox_initial_sizing.exe

Developer Checklist

  • Code has been tested locally and/or in pipeline.
  • (if applicable) impact of new dependencies reviewed and included in project.
  • Merge conflicts resolved with the target branch.

Merge request reports

Loading