# Is there an automatic way of calibrating thermal model towards measured data?

After the production of the motor prototype and measuring the performance, Motor-CAD thermal model has to be recalibrated. This can be done manually, but I wonder if someone has a code example of automated calibration?

##### Post Metadata
- Posted at: over 5 years ago
- Author title: Doctoral student
- Net upvotes: 1


## Comments
### Comment 1

Hello

Yes, this can definitely be automated, and Its useful to do so. 

A few possible options. First of all look at the tutorial &quot;DC Calibration&quot;, installed locally. This makes use of an optimiser built into Motor-CAD itself. It allows the user to load in some experimental test results, and the user can set input parameters to vary, along with ranges. The optimiser will aim to minimise the difference between experimental temperature results and the model. For specified temperatures in the machine.

We have also looked into combining this approach with surrogate modelling, via Ansys OptiSLang. The advantage here is that a detailed sensitivity analysis is also performed through the surrogate modelling stage. This gives quite a useful insight into the thermal behaviour. However, the simulation time is also reduced, as the fitting stage is performed on a surrogate model. This approach makes it easier to compare the thermal performance of multiple operating points simultaneously. A slide on this was presented at the MDL global user summit, 2021. In &quot;Advanced Design with Motor-CAD: Motor-CAD and optiSLang Best Practices Seminar&quot; (I will try to attach a screenshot if possible). Otherwise a direct optimisation with Motor-CAD and a custom script could be used.



##### Comment Metadata
- Posted at: over 5 years ago
- Author title: Senior E-Machine Specialist - MDL




## Related Product
[Ansys Motor-CAD](https://www.g2.com/products/ansys-motor-cad/reviews)

## Related Category
[Simulation &amp; CAE](https://www.g2.com/categories/simulation-cae)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


