How to automate tests on a physical model without real data

AI Thread Summary
Creating a physical model of an aircraft or car and automating tests to ensure realistic results poses challenges, especially without real-world data for validation. Automated checks against actual data are not feasible, leading to the question of whether testing numerous input permutations could suffice. However, this approach may only confirm that outputs seem reasonable rather than aligning with real-world behavior. For basic validation, calculating rates, accelerations, and "jerk" can provide a rough sanity check, ensuring values stay within expected limits based on the physics of the vehicle. The choice of programming language is also crucial; object-oriented programming (OOP) languages are recommended for modeling, while Python with numerical analysis libraries or MATLAB can be beneficial for handling complex mathematical computations.
DML
Messages
1
Reaction score
0
I want to code up a (physical) model of an aircraft or car, and I want to create an automated integrated test to check that the code produces reasonable and realistic results. For example, I want to check that the path taken by the aircraft or car is physical and reasonable.

However, I don't have real, physical data of an aircraft or car to test my model against.

Is it possible to check the results from my code in an automated way without having real-life data to compare it against? If not, is the only viable alternative to test hundreds of permutations of the inputs to the code and manually check the output to see if the results are reasonable? If so, what is the best way to minimise time spent on checking the errors?

If it's not possible to check the model in an automated way then how to people/companies check that their physical models are as correct as possible? What methods do they use to ensure the greatest accuracy possible?
 
Last edited:
Technology news on Phys.org
DML said:
Is it possible to check the results from my code in an automated way without having real-life data to compare it against?
No.

DML said:
If not, is the only viable alternative to test hundreds of permutations of the inputs to the code and manually check the output to see if the results are reasonable?
I don't see that that will give you any assurance at all: all it will tell you is that your model produces outputs which you think are reasonable, not that it produces outputs that bear any relation to a real aircraft or car.
 
Last edited:
For a very rough sanity check, you can calculate the rates, accelerations, and "jerk"s (the third derivative of position) and see if they stay within reasonable limits. Airplanes of certain types will have limits, depending on the types of maneuvers that they are performing. Also, remember that gravity and its direction play important roles in the limits. Anything more accurate would require more knowledge of the airplane parameters.
 
DML said:
I want to code up a (physical) model of an aircraft or car
Well if you model your own car, you should be able to validate it pretty well, no?
 
Depends what language to use, in general I would advice you to use OOP(object oriented) languages (since you will mostly work with object like models), or if you rather have complex or/and various mathematical formulas and this kind of stuff then you might try Python with some numerical analysis libraries... Maybe even matlab
 
Thread 'Star maps using Blender'
Blender just recently dropped a new version, 4.5(with 5.0 on the horizon), and within it was a new feature for which I immediately thought of a use for. The new feature was a .csv importer for Geometry nodes. Geometry nodes are a method of modelling that uses a node tree to create 3D models which offers more flexibility than straight modeling does. The .csv importer node allows you to bring in a .csv file and use the data in it to control aspects of your model. So for example, if you...
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top