Skip to content

Commit a59f1eb

Browse files
melundJacob Hilmar Adamsen
andauthored
Tutorial updates fixes (#27)
* Tutorial snippet updates * Tutorial images and text changes * Tutorial snippets in Getting started * Tutorial snippets in Modeling the human body * Created whole folders for snippet files * Update tests * Used cmd.exe to create lib in ci test * Merge commit '118df158da292f4b7f185ff8d0172692779da1e9' * Updates to tutorial Modeling the Human Body. New folder structure * Final updates to the first 4 tutorials. * Update file paths in lesson1.md * rename1 * rename2 * Tutorial updates - file structure, images and more * Update file path in lesson2.md * Different updates to the first few tutorials * Text and general structure updates to the first few tutorials * Updates of code snippets, images and other stuff in A Study of Studies * Mainly changes to Parameter Studies and Optimization Tutorial. Many files created due to Code Snippets. * Setup of making Python optimization tutorial in Jupyter notebook and changes to the tutorial * Small extra update to Python Optimization Tutorial * Final changes in Python optimization tutorial - made download files an more * One small extra update to Python optimization Study * Update instructions for installing python * Fixed download link * Fix download link * Add exclusion pattern for Jupyter Notebook execution in conf.py * Try with request header for linkcheck * Add exclusion for Mathworks link in linkcheck_ignore --------- Co-authored-by: Jacob Hilmar Adamsen <jha@anybodytech.com>
1 parent 8962d38 commit a59f1eb

36 files changed

Lines changed: 1875 additions & 1397 deletions

Parameter_studies_and_optimization/python-optimize/.gitattributes renamed to Parameter_studies_and_optimization/Downloads/ParamBikeFinal/Download/.gitattributes

File renamed without changes.
Binary file not shown.
-837 KB
Binary file not shown.

Parameter_studies_and_optimization/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ to obtain a desired model behavior.
1818
Introduction <intro>
1919
lesson1
2020
lesson2
21-
lesson3
21+
lesson3/lesson3
2222
```

Parameter_studies_and_optimization/lesson1.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ is that this bicycle model has a predefined ankle angle variation
359359
whereas a real human can compensate for a higher seat by letting the
360360
ankle operate in a more plantar-flexed position.
361361

362+
### Calculating the metabolism of the muscles with integrals
363+
362364
Before we finish this section, let us take a look at a particularly
363365
important feature of AnyScript mathematics: The ability to compute
364366
integral properties. AnyBody has a simple way of approximating the

Parameter_studies_and_optimization/lesson2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,6 @@ picture below:
399399

400400
This completes the introduction to optimization studies.
401401

402-
In {doc}`lesson 3 <lesson3>` we will look at how to use external (3rd. party) optimizers with
402+
In {doc}`lesson 3 <lesson3/lesson3>` we will look at how to use external (3rd. party) optimizers with
403403
AnyBody. In particular we will show how to use the Python programming language to run the
404404
same optimizations as we have done in this Tutorial.

Parameter_studies_and_optimization/lesson3.md

Lines changed: 0 additions & 274 deletions
This file was deleted.

Parameter_studies_and_optimization/python-optimize/BikeModel2D.main.any renamed to Parameter_studies_and_optimization/lesson3/BikeModel2D.main.any

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#ifnpathexists "../libdef.any"
2-
#include "<ANYBODY_PATH_INSTALLDIR>/AMMR/libdef.any"
3-
#endif
1+
#include "libdef.any"
42

53
/**2-D bicyle model.
64
Although this model can be rotated in 3-D space it really is just a saggital
@@ -105,7 +103,7 @@ Main = {
105103
};
106104
AnyDesVar SaddlePos = {
107105
Val = Main.BikeParameters.SaddlePos;
108-
Min = -0.22 /*-0.03*/;
106+
Min = -0.20 /*-0.03*/;
109107
Max = -0.05;
110108
};
111109
AnyDesMeasure MaxAct = {
@@ -129,7 +127,7 @@ Main = {
129127
};
130128
AnyDesVar SaddlePos = {
131129
Val = Main.BikeParameters.SaddlePos;
132-
Min = -0.22 /*-0.03*/;
130+
Min = -0.20 /*-0.03*/;
133131
Max = -0.05;
134132
};
135133
AnyDesMeasure Metab = {

Parameter_studies_and_optimization/python-optimize/Input/bikeframe.anysurf renamed to Parameter_studies_and_optimization/lesson3/Input/bikeframe.anysurf

File renamed without changes.

Parameter_studies_and_optimization/python-optimize/Input/bikeframe.anysurf3 renamed to Parameter_studies_and_optimization/lesson3/Input/bikeframe.anysurf3

File renamed without changes.

0 commit comments

Comments
 (0)