PrescribeInitialPosition
IconPrescribeInitialPosition
Prescribes the initial position to the associated connector
Usage
PrescribeInitialPosition(phi0)
Parameters:
Name | Description | Units | Default value |
---|---|---|---|
phi0 | rad |
Connectors
spline
- (Spline
)
Behavior
\[ \begin{align} \mathtt{spline.tau}\left( t \right) &= 0 \end{align} \]
Source
# Prescribes the initial position to the associated connector
component PrescribeInitialPosition
spline = Spline() [{
"JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}
}]
parameter phi0::JSML.Angle
relations
initial spline.phi = phi0
spline.tau = 0
metadata {
"JuliaSim": {
"labels": [{"label": "initial phi = $(phi0)", "x": 500, "y": 800, "rot": 0}],
"icons": {"default": "jsml://RotationalComponents/Pos-Speed-Acc-Move.svg"}
}
}
end
Flattened Source
# Prescribes the initial position to the associated connector component PrescribeInitialPosition spline = Spline() [{ "JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}} }] parameter phi0::JSML.Angle relations initial spline.phi = phi0 spline.tau = 0 metadata { "JuliaSim": { "labels": [{"label": "initial phi = $(phi0)", "x": 500, "y": 800, "rot": 0}], "icons": {"default": "jsml://RotationalComponents/Pos-Speed-Acc-Move.svg"} } } end
Test Cases
Related
- Examples
- Experiments
- Analyses