AI Technique suitable for Temperature Distribution prediction.
Show older comments
Greetings,
I am a Mechanical Engineer by profession and am considering exploring a suitable AI/ML technique to predict the 2D temperature distribution of an arbitrary object for different heat generation rates.
So I am considering data from temperature sensors to give me temperature values at particular X/Y coordinates on my object, along with the corresponding cooling medium static pressure and flow rates for different heat generation rates of my object.
Now from these few spatial locations, I'd like to predict the temperature at other points on the object where no sensors are placed, given that I will train my model with known values of temperature at the non-sensor locations obtained from deterministic/analytical model of the problem.
In short my predictors would be:
- Heat Generation
- Pressure
- Flow Velocity
at, say 5 locations, to predict temperature at 10 locations.
Further, if I would like to capture the temporal variation, how would I prepare my dataset and which AI technique would be best for this problem?
Thank you!
5 Comments
I'm imagining how the spatial prediction probably look like. Unsure if the temperature gradient would affect the prediction accuracy or not. You didn't mention about how far the 10 target locations are away from the 5 sensor locations. But I guess that the 10 target locations must be difficult to reach, or maybe impossible to install the sensors. If there is a governing differential equation, perhaps fitting parameters of the DE to the spatial data would yield better predictions.
% Example
[X, Y] = meshgrid(0:0.25:4);
Z = 5*(X - 2).*exp(- (X - 2).^2 - (Y - 2).^2) + 32;
contour3(Z, 35)
xlabel('x')
ylabel('y')
zlabel('T')
Ibrahim Patel
on 14 Aug 2022
Edited: Ibrahim Patel
on 14 Aug 2022
Ibrahim Patel
on 18 Aug 2022
Major parts of the processing for Neural Networks is matrix multiplications. A single NaN "pollutes" an entire row of results.
Observe:
A = magic(5)
B = rot90(A)
C = flipud(B)
An = A; An(2,4) = nan
orig1 = A * B
orig2 = orig1 * C
mod1 = An * B
mod2 = mod1 * C
Thus with even a single NaN, major portions of the output can become unusable. It is common for every input in a Neural Network to influence every output, so a single NaN can ruin the entire output.
Because of this, it is your responsibility to pre-process the data, and entire remove the samples that have NaN or else replace the NaN entries with something finite.
Neural Network algorithms are mostly not designed to be able to detect and fix-up calculations that involve nan.
Ibrahim Patel
on 19 Aug 2022
Answers (2)
Ibrahim Patel
on 18 Jun 2022
0 votes
Diana
on 26 Sep 2023
0 votes
This is an interesting discussion, not long ago I also discussed this and found a lot of useful comments for myself. Now I am interested in a slightly different direction of using AI. For example, in the field of visual data, accuracy is of paramount importance. Image annotation services are the cornerstone for achieving accuracy in machine learning and artificial intelligence. So I found out about an outsourcing image annotation company that has good reviews. Maybe this will be useful for you.
Categories
Find more on State-Space Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

