$(instance)Fixed Icon

Fixed

Shaft fixed in housing at a given angle.

Usage

Fixed(phi0=0.0)

Parameters:

NameDescriptionUnitsDefault value
phi0Fixed offset angle of the shaftrad0

Connectors

Behavior

\[ \begin{align} \mathtt{spline.phi}\left( t \right) &= \mathtt{phi0} \end{align} \]

Source

# Shaft fixed in housing at a given angle.
component Fixed
  spline = Spline() [{
    "JuliaSim": {"placement": {"icon": {"x1": 450, "y1": -50, "x2": 550, "y2": 50}}}
  }]
  # Fixed offset angle of the shaft
  parameter phi0::Angle = 0.0
relations
  spline.phi = phi0
metadata {"JuliaSim": {"icons": {"default": "jsml://RotationalComponents/Fixed.svg"}}}
end
Flattened Source
# Shaft fixed in housing at a given angle.
component Fixed
  spline = Spline() [{
    "JuliaSim": {"placement": {"icon": {"x1": 450, "y1": -50, "x2": 550, "y2": 50}}}
  }]
  # Fixed offset angle of the shaft
  parameter phi0::Angle = 0.0
relations
  spline.phi = phi0
metadata {"JuliaSim": {"icons": {"default": "jsml://RotationalComponents/Fixed.svg"}}}
end

Test Cases