Implementation of method `System.make_surrogate`

In System : Implementation of methods:

  • System.make_surrogate
  • System.dump_surrogate
  • System.load_surrogate
  • System.set_surrogate In SurrogateClass:
  • Creation of class SurrogateClass to set inputs, run_drivers, get_outputs and train meta model.
  • Creation of class SurrogateClassState to save DoE_in, DoE_out and trained meta model.
  • Creation of function _flatten to flat a list.
  • Creation of function get_dependant_connections to get a dict of all outputs and connected inputs.
  • Creation of function get_unknows_transients to get a set of all unknowns and transients in the system and its children. In Driver :
  • add method _set_children_active_status to activate/deactivate all children of the driver. In Test_Surrogate_Class:
  • Many tests for SurrogateClass, System and Driver. In BasicAlgebra:
  • Basics Systems useful to test SurrogateClass
Edited by Étienne Lac

Merge request reports

Loading