Implementation of method `System.make_surrogate`
In System : Implementation of methods:
System.make_surrogateSystem.dump_surrogateSystem.load_surrogate-
System.set_surrogateIn SurrogateClass: - Creation of class
SurrogateClassto set inputs, run_drivers, get_outputs and train meta model. - Creation of class
SurrogateClassStateto save DoE_in, DoE_out and trained meta model. - Creation of function
_flattento flat a list. - Creation of function
get_dependant_connectionsto get a dict of all outputs and connected inputs. - Creation of function
get_unknows_transientsto get a set of all unknowns and transients in the system and its children. In Driver : - add method
_set_children_active_statusto 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