print_model_info#
- TwinModel.print_model_info(max_var_to_print=inf)#
Print all the model information including Twin Runtime version, model name, number of outputs, inputs, parameters, default simulation settings, output names, input names and parameter names. If TBROMs are present, it will also print associated information.
This method must be called after a TwinModel has been instantiated.
Note
if field inputs are supplied for a TBROM, they will override any input mode coefficient inputs for that ROM that are included in
inputs
.- Parameters:
- max_var_to_print
int
,optional
Maximum number of variables for which the properties need to be evaluated, default value is numpy.inf.
- max_var_to_print
Examples
>>> from pytwin import TwinModel >>> >>> twin_model = TwinModel(model_filepath='path_to_your_twin_model.twin') >>> twin_model.print_model_info()