This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// New, in https://github.com/dzimmer/ZimmersModelicaTutorial/blob/master/Tutorial2015/BaseComponents/Friction/IdealDryFriction.mo | |
free = false; | |
f0 = R; | |
f0_max = S; | |
// velocity and acceleration of flanges | |
v_relfric = der(-s_rel); | |
a_relfric = der(v_relfric); | |
// Friction force | |
-f = if locked then sa * unitForce else if startForward then R else if startBackward then -R else if pre(mode) == Forward then R else -R; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(*See Figure 1 in https://dl.dropboxusercontent.com/u/50282823/Propagation.pdf*) | |
With[{a = 10, b = 20}, | |
Plot[{PDF[UniformDistribution[{0, 1}], f], | |
PDF[BetaDistribution[a, b], f]}, | |
{f, 0, 1}, | |
Filling -> Axis, | |
AxesLabel -> {Text[Style["f", Italic]], "Pr"}, | |
PlotRange -> All, | |
Ticks -> {Automatic, None}, | |
PlotLegends -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +rhodin is my openname (Bitcoin username). https://onename.io/rhodin |
NewerOlder