$(instance)PartialElementaryTwoSplinesAndSupport Icon

PartialElementaryTwoSplinesAndSupport

Partial model for a component with two rotational 1-dim. shaft splines and a support spline used for textual modeling i.e., for elementary models

Usage

PartialElementaryTwoSplinesAndSupport()

Connectors

Variables

NameDescriptionUnits
phi_supportAbsolute angle of support splinerad

Source

# Partial model for a component with two rotational 1-dim. shaft splines and a
# support spline used for textual modeling i.e., for elementary models
partial component PartialElementaryTwoSplinesAndSupport
  spline_a = Spline() [{
    "JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}
  }]
  spline_b = Spline() [{
    "JuliaSim": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}
  }]
  support = Spline() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "support", "x1": 450, "y1": 950, "x2": 550, "y2": 1050}}
    }
  }]
  # Absolute angle of support spline
  variable phi_support::Angle
relations
  support.phi = phi_support
  support.tau = -spline_a.tau-spline_b.tau
end
Flattened Source
# Partial model for a component with two rotational 1-dim. shaft splines and a
# support spline used for textual modeling i.e., for elementary models
partial component PartialElementaryTwoSplinesAndSupport
  spline_a = Spline() [{
    "JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}
  }]
  spline_b = Spline() [{
    "JuliaSim": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}
  }]
  support = Spline() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "support", "x1": 450, "y1": 950, "x2": 550, "y2": 1050}}
    }
  }]
  # Absolute angle of support spline
  variable phi_support::Angle
relations
  support.phi = phi_support
  support.tau = -spline_a.tau-spline_b.tau
metadata {}
end

Test Cases

  • Examples
  • Experiments
  • Analyses
This documentation is not for the latest stable release, but for either the development version or an older release.
Click here to go to the documentation for the latest stable release.