LIBRARY
AngleSensor
Ideal sensor to measure the absolute angle of spline
This component extends from PartialAbsoluteSensor
Usage
AngleSensor()
Connectors
spline- (Spline)phi- This connector represents a real signal as an output from a component (RealOutput)
Behavior
Source
dyad
# Ideal sensor to measure the absolute angle of spline
component AngleSensor
extends PartialAbsoluteSensor
# Absolute angle of spline as output signal
phi = RealOutput() [{
"JuliaSim": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}
}]
relations
phi = spline.phi
metadata {
"JuliaSim": {"icons": {"default": "jsml://RotationalComponents/SingleSplineSensor.svg"}}
}
endFlattened Source
# Ideal sensor to measure the absolute angle of spline
component AngleSensor
# Spline of the shaft from which sensor information shall be measured
spline = Spline() [{
"JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}
}]
# Absolute angle of spline as output signal
phi = RealOutput() [{
"JuliaSim": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}
}]
relations
0 = spline.tau
phi = spline.phi
metadata {
"JuliaSim": {"icons": {"default": "jsml://RotationalComponents/SingleSplineSensor.svg"}}
}
end
Test Cases
Related
Examples
Experiments
Analyses