ansys / pytwin

Ansys Digital Twin repository
https://twin.docs.pyansys.com
MIT License
19 stars 7 forks source link

Add TBROM info to TwinRuntime.print_model_info() and expose it in TwinModel #131

Open EDCarman opened 11 months ago

EDCarman commented 11 months ago

📝 Description of the feature

Include TBROM info in the TwinRuntime.print_model_info() and expose it in TwinModel so it can be accessed from there.

print_model_info() provides a useful summary, in one place, of almost all twin model information, except for the TBROM information. It would also be useful to have the TBROM info here too.

In addition, the information is still useful at the higher TwinModel level, but is only only accessible through self._twin_runtime.

💡 Steps for implementing the feature

Exposure at high level could be a simple as adding and extra method to TwinModel:

def print_model_info(self, max_var_to_print=np.inf):
    self._twin_runtime.print_model_info(max_var_to_print)

TBROM info print could be done within TwinRuntime, or within TwinModel.

🔗 Useful links and references

No response