Exploration
Let's dive deeper by conducting our own scientific exploration. We now analyze how gravity affects the trajectory of the projectile by configuring a custom study that simulates the same projectile on different planets (the Earth, the Moon and Mars):
-
Declare a new study
Create a new study namedStudy_Gravity. -
Configure the variable and fixed inputs
Set thegravityinput parameter as variable and keep all other inputs fixed. -
Define the input datasets
Create three distinct input datasets to test different gravity values:Earth: Set the parameter to the gravity of the Earth (-9.81m/s², which is already the default value).Moon: Set the parameter to the gravity of the Moon (-1.62m/s²).Mars: Set the parameter to the gravity of Mars (-3.72m/s²).
-
Manage the execution flow
To focus strictly on our new exploration, we can disable the execution ofStudy_ShapeandStudy_Velocity. -
Enable silent mode
Configure the software processes (PolygonGeometryProc,ProjectileModelProc, andTrajectoryAnalysisProc) to run in silent mode. This prevents interactive windows from popping up, allowing the application to execute all computations quietly in the background. -
Run and review
Run the application. Once the computations are complete, access the results forStudy_Gravityto compare the various trajectories of the projectile across the three different environments. -
Refine the analysis
By default, all curves in theoverall_comparisons.pngoutput are plotted using the same style (red circular markers). To better distinguish them, we can customize the style of each curve in the results settings of theTrajectoryAnalysisProc(the software process that generates this specific output). Let's then adjust the settings as follows:- For the
Earth:marker:Dmarkersize:6markevery:40
- For the
Moon:color:limegreenmarker:vmarkevery:50
- For
Mars:color:dodgerbluemarker:Xmarkevery:50
- For the
-
Restart the analysis
To update theoverall_comparisons.pngplot without re-running the entire study, we can disable the execution ofPolygonGeometryProcandProjectileModelProcand relaunch the application to execute only theTrajectoryAnalysisProc. The results section will instantly refresh with our new visual styles. -
Run your own experiment
It is now your turn to expand this exploration. Add a fourth input dataset to theStudy_Gravityby choosing a planet of your choice (e.g., Jupiter, Venus, or even the Sun) and look up its gravity value:- To avoid repeated computations, you can disable the execution of the previous datasets (
Earth,Moon,Mars) within the study. This ensures the application will only process your new dataset. - However, make sure to re-enable the execution of the
PolygonGeometryProcandProjectileModelProcso they can generate their output results for this new dataset. - Customize the appearance of your new curve in the
TrajectoryAnalysisProcresults settings. You can refer to the Matplotlib conventions for the colors, markers and linestyles.
- To avoid repeated computations, you can disable the execution of the previous datasets (