Skip to content

Workflow: change prints in console and log file in post_operation_of_design_sizing

Feature Request

Summary

In you see currently something like this (taken from log file):

------------------------------ Current loop of iteration: 1 ---------
2025-02-28 17:18:00: * results:
2025-02-28 17:18:00:   Current m_take_off_max: 79203.327; Res. m_take_off_max: 0.015777; Convergence: False
2025-02-28 17:18:00:   Current m_operating_empty: 44724.5447; Res. m_operating_empty: 0.015238; Convergence: False
2025-02-28 17:18:00:   Current x_center_of_gravity: 15.8825; Res. x_center_of_gravity: 1.0; Convergence: False
2025-02-28 17:18:00:   Current mission_energy: 667898136700.0; Res. mission_energy: 1.0; Convergence: False
2025-02-28 17:18:00: * Trim successful (current CM =0.0)!

The idea is to change the prints of the values in acc. to the convergence criteria e.g. for 2.5e-3 BUT also include a node that the prints are rounded and that the acutal workflow runs with the "real" data

NOTE: printed values are rounded acc to convergence critiera, actual ones not!
Current m_take_off_max: 79200

Why?

The digits give a wrong impression of high accuracy

Acceptance Criteria

  • Run with different convergence criteria and show how this changes both log file and console output