From dfd061f9d80e8273533fa835fa9d415055dc99b7 Mon Sep 17 00:00:00 2001 From: <> Date: Mon, 7 Aug 2023 19:25:36 +0000 Subject: [PATCH] Update documentation --- contributing/contributing.html | 18 +- examples/balanced_field/balanced_field.html | 62 +++---- .../balanced_field_funccomp.html | 40 +++-- examples/brachistochrone/brachistochrone.html | 48 ++--- .../brachistochrone_tandem_phases.html | 14 +- .../brachistochrone_upstream_controls.html | 13 +- ...ochrone_upstream_init_duration_states.html | 14 +- .../brachistochrone_upstream_states.html | 15 +- examples/bryson_denham/bryson_denham.html | 80 ++++----- .../cannonball_implicit_duration.html | 31 ++-- examples/cart_pole/cart_pole.html | 35 ++-- .../commercial_aircraft.html | 75 ++++---- .../double_integrator/double_integrator.html | 29 +-- .../finite_burn_orbit_raise.html | 29 +-- examples/hull/hull_problem.html | 44 ++--- examples/hypersensitive/hypersensitive.html | 165 +++++++++--------- .../length_constrained_brachistochrone.html | 13 +- examples/min_time_climb/min_time_climb.html | 31 ++-- examples/mountain_car/mountain_car.html | 95 +++++----- .../multi_phase_cannonball.html | 57 +++--- .../multibranch_trajectory.html | 8 +- examples/racecar/racecar.html | 11 +- examples/reentry/reentry.html | 38 ++-- .../robertson_problem/robertson_problem.html | 8 +- examples/ssto_earth/ssto_earth.html | 61 ++++--- .../ssto_moon_linear_tangent.html | 16 +- .../ssto_moon_polynomial_controls.html | 20 +-- examples/vanderpol/vanderpol.html | 101 +++++------ examples/water_rocket/water_rocket.html | 52 ++++-- faq/connect_scalar_parameters_to_ode.html | 9 +- faq/debugging.html | 1 + faq/tandem_phases.html | 24 +-- faq/use_partial_coloring.html | 78 +++++---- features/phases/analytic_phases.html | 24 ++- features/phases/constraints.html | 8 +- features/phases/phases.html | 8 +- features/trajectories/trajectories.html | 4 +- getting_started/collocation.html | 24 +-- getting_started/defining_odes.html | 4 +- getting_started/intro_to_dymos/intro_ivp.html | 8 +- .../intro_to_dymos/intro_segments.html | 5 +- getting_started/optimal_control.html | 12 +- searchindex.js | 2 +- 43 files changed, 737 insertions(+), 697 deletions(-) diff --git a/contributing/contributing.html b/contributing/contributing.html index ac50be169..82aee075b 100644 --- a/contributing/contributing.html +++ b/contributing/contributing.html @@ -561,6 +561,7 @@
Both sets of equations of motion have common aerodynamic models.
First, the lift coefficient is computed using a model which assumes linearity in lift wrt the angle of attack.
-Next, the drag-due-to-lift factor is computed (Equations 12.48 and 12.61 in Raymer[@raymer2012aircraft]).
-Finally, the lift and drag are computed after computing the dynamic pressure.
-The runway equations of motion are used to integrate range and speed as the vehicle rolls along the runway.
-The flight equations of motion include two additional state variables: the flight-path angle (\(\gamma\)) and altitude (\(h\)).
-<dymos.phase.phase.Phase at 0x7f01bcf53af0>
+<dymos.phase.phase.Phase at 0x7f75608036d0>
INFO: checking out_of_order
INFO:check_config:checking out_of_order
@@ -1426,20 +1427,19 @@ Building and running the problemColoring for 'traj.phases.rto.rhs_all' (class BalancedFieldODEComp)
+
+Coloring for 'traj.phases.rto.rhs_all' (class BalancedFieldODEComp)
Jacobian shape: (132, 60) ( 9.79% nonzero)
FWD solves: 16 REV solves: 0
Total colors vs. total size: 16 vs 60 (73.3% improvement)
Sparsity computed using tolerance: 1e-25
-Time to compute sparsity: 0.020197 sec.
-Time to compute coloring: 0.014614 sec.
+Time to compute sparsity: 0.024386 sec.
+Time to compute coloring: 0.017943 sec.
Memory to compute coloring: 0.000000 MB.
Coloring for 'traj.phases.v1_to_vr.rhs_all' (class BalancedFieldODEComp)
@@ -1449,8 +1449,8 @@ Building and running the problemFull total jacobian was computed 3 times, taking 1.429048 seconds.
+Full total jacobian was computed 3 times, taking 1.872126 seconds.
Total jacobian shape: (178, 166)
@@ -1486,8 +1486,8 @@ Building and running the problem/usr/share/miniconda/envs/test/lib/python3.10/site-packages/openmdao/recorders/sqlite_recorder.py:227: UserWarning:The existing case recorder file, dymos_solution.db, is being overwritten.
+
+
INFO: checking out_of_order
-/usr/share/miniconda/envs/test/lib/python3.10/site-packages/openmdao/recorders/sqlite_recorder.py:227: UserWarning:The existing case recorder file, dymos_solution.db, is being overwritten.
-INFO:check_config:checking out_of_order
+INFO:check_config:checking out_of_order
INFO: checking system
@@ -988,14 +990,14 @@ Building and running the problemColoring for 'traj.phases.br_to_v1.rhs_all' (class ExplicitFuncComp)
-Jacobian shape: (132, 60) ( 9.79% nonzero)
+Jacobian shape: (132, 60) ( 9.81% nonzero)
FWD solves: 16 REV solves: 0
Total colors vs. total size: 16 vs 60 (73.3% improvement)
Sparsity computed using tolerance: 1e-25
-Time to compute sparsity: 0.345507 sec.
-Time to compute coloring: 0.068077 sec.
-Memory to compute coloring: 1.644531 MB.
+Time to compute sparsity: 0.464049 sec.
+Time to compute coloring: 0.095167 sec.
+Memory to compute coloring: 0.000000 MB.
/usr/share/miniconda/envs/test/lib/python3.10/site-packages/openmdao/core/system.py:1659: DerivativesWarning:'traj.phases.rto.rhs_all' <class ExplicitFuncComp>: No partials found but coloring was requested. Declaring ALL partials as dense (method='jax')
@@ -1003,13 +1005,13 @@ Building and running the problemColoring for 'traj.phases.rto.rhs_all' (class ExplicitFuncComp)
-Jacobian shape: (132, 60) ( 9.79% nonzero)
+Jacobian shape: (132, 60) ( 9.77% nonzero)
FWD solves: 16 REV solves: 0
Total colors vs. total size: 16 vs 60 (73.3% improvement)
Sparsity computed using tolerance: 1e-25
-Time to compute sparsity: 0.326953 sec.
-Time to compute coloring: 0.068471 sec.
+Time to compute sparsity: 0.435331 sec.
+Time to compute coloring: 0.091807 sec.
Memory to compute coloring: 0.000000 MB.
@@ -1023,8 +1025,8 @@ Building and running the problemFull total jacobian was computed 3 times, taking 4.719833 seconds.
+Full total jacobian was computed 3 times, taking 6.299375 seconds.
Total jacobian shape: (178, 166)
@@ -1067,8 +1069,8 @@ Building and running the problem
System dynamics#
From the free-body diagram above, the evolution of the state variables is given by the following ordinary differential equations (ODE).
-
-(13)#\[\begin{align}
+
+(13)#\[\begin{align}
\frac{d x}{d t} &= v \sin(\theta) \\
\frac{d y}{d t} &= -v \cos(\theta) \\
\frac{d v}{d t} &= g \cos(\theta)
@@ -556,8 +556,8 @@ The initial and final conditions
-(14)#\[\begin{align}
+
+(14)#\[\begin{align}
x_0 &= 0 \\
y_0 &= 10 \\
v_0 &= 0
@@ -565,8 +565,8 @@ The initial and final conditions
-(15)#\[\begin{align}
+
+(15)#\[\begin{align}
x_f &= 10 \\
y_f &= 5 \\
v_f &= \mathrm{free}
@@ -732,27 +732,27 @@ Testing the ODEModel viewer data has already been recorded for Driver.
-Full total jacobian was computed 3 times, taking 0.030923 seconds.
+
@@ -1016,7 +1016,7 @@ Solving the problem with Legendre-Gauss-Lobatto collocation in Dymos/usr/share/miniconda/envs/test/lib/python3.10/site-packages/openmdao/recorders/sqlite_recorder.py:227: UserWarning:The existing case recorder file, dymos_solution.db, is being overwritten.
-Full total jacobian was computed 3 times, taking 0.017201 seconds.
+Full total jacobian was computed 3 times, taking 0.022284 seconds.
Total jacobian shape: (12, 51)
@@ -1025,10 +1025,10 @@ Solving the problem with Legendre-Gauss-Lobatto collocation in DymosSolving the problem with Legendre-Gauss-Lobatto collocation in Dymos
diff --git a/examples/brachistochrone/brachistochrone_tandem_phases.html b/examples/brachistochrone/brachistochrone_tandem_phases.html
index d9edc83b9..75990ff8f 100644
--- a/examples/brachistochrone/brachistochrone_tandem_phases.html
+++ b/examples/brachistochrone/brachistochrone_tandem_phases.html
@@ -682,7 +682,7 @@ Setup and runModel viewer data has already been recorded for Driver.
-Full total jacobian was computed 3 times, taking 0.284912 seconds.
+Full total jacobian was computed 3 times, taking 0.340832 seconds.
Total jacobian shape: (223, 287)
@@ -691,9 +691,9 @@ Setup and run/usr/share/miniconda/envs/test/lib/python3.10/site-packages/openmdao/visualization/opt_report/opt_report.py:634: UserWarning: Attempting to set identical low and high ylims makes transformation singular; automatically expanding.
@@ -1482,10 +1482,10 @@ Plots#
-
+