PrimitiveComponents
This is the documentation for the PrimitiveComponents library. Here you will find the documentation for the various definitions contained in PrimitiveComponents.
Note that this documentation is automatically generated primarily from the doc strings and metadata associated with those definitions.
Types
Compare.partialComparison- partialComparison()Compare.partialThresholdComparison- partialThresholdComparison()
Connectors
Connectors.connector_3_input- connector3inputConnectors.connector_3_output- connector3output
Components
Compare.ComparewConstant- ComparewConstant()Compare.ComparewIntConstant- ComparewIntConstant()Compare.GreaterOrEqual- GreaterOrEqual()Compare.GreaterOrEqualThreshold- GreaterOrEqualThreshold()Compare.GreaterThreshold- GreaterThreshold()Compare.LesserOrEqual- LesserOrEqual()Compare.LesserOrEqualThreshold- LesserOrEqualThreshold()Compare.LesserThreshold- LesserThreshold()Detectors.LeadingEdgeDetector- LeadingEdgeDetector(; name)Discontinuous.Deadzone- Signal deadzone block that outputs zero within a specified input range:Discontinuous.Relay- Relay block with hysteresis (Schmitt trigger).Discontinuous.WrapToZero- Wrap to zero block that sets output to zero when input exceeds threshold.DiscretePrimitives.DiscreteTransferFunction- DiscreteTransferFunction(; name, dt, nnum, nden, num, den, ic=0.0, _...)DiscretePrimitives.FIRFilter- FIRFilter(; name, dt=0.1, coeffs=[0.5, 0.5], _...)DiscretePrimitives.IntegratorFEwInitial- IntegratorFEwInitial(; name, initial_condition = 0.0)DiscretePrimitives.OffDelay- OffDelay(; name, dt=0.1, delay_time=0.1, ic=0.0, _...)DiscretePrimitives.OnDelay- OnDelay(; name, dt=0.1, delay_time=0.1, ic=0.0, _...)DiscretePrimitives.OverflowIntegratorFE- OverflowIntegratorFE(; name, ymin = -1e6, ymax = 1e6)DiscretePrimitives.PeriodicClock- PeriodicClock(; name, dt, offset = 0.0)DiscretePrimitives.PeriodicSampler- Sample a continuous signalyat a periodic intervaldt, creating a clocked signaly.DiscretePrimitives.SampleDelay- SampleDelay(; name, dt=0.1, n=1, ic=0.0, _...)DiscretePrimitives.Sampler- Sampler(; name, initial_condition=0.0)DiscretePrimitives.UnitDelay- UnitDelay(; name, ic = 0.0)DiscretePrimitives.UnitDifference- UnitDifference(; name, ic = 0.0)DiscretePrimitives.ZeroOrderHold- ZeroOrderHold(; name, initial_condition=0.0, _...)Examples.ABSAssembly- ABSAssembly(; name, mass, gacc, R, v0, targetslip, dt_sample)Examples.ABSModelExamples.ABSModelDiscreteExamples.BinaryController- BangBangController(; name, R = 1.25, v0 = 70.0)Examples.HydraulicActuator- HydraulicActuator(; name)Examples.MuVsSlipLookupExamples.TestAcausalFIRFilterExamples.VehicleDynamics- VehicleDynamics(; name, mass, g_acc, R, v0)LogicGates.Bitwise_OR- Bitwise_OR(; name)LogicGates.Logical_AND- LogicalAND(; name, abstol=1e-3, target_value=0.0)LogicGates.Logical_NAND- LogicalNAND(; name, abstol=1e-3, target_value=0.0)LogicGates.Logical_NOR- LogicalNOR(; name, abstol=1e-3, target_value=0.0)LogicGates.Logical_NOT- LogicalNOT(; name, abstol=1e-3, target_value=0.0)LogicGates.Logical_OR- LogicalOR(; name, abstol=1e-3, target_value=0.0)LogicGates.Logical_XNOR- LogicalXNOR(; name, abstol=1e-3, target_value=0.0)LogicGates.Logical_XOR- LogicalXOR(; name, abstol=1e-3, target_value=0.0)Mathematical.Abs- AbsMathematical.Acos- AcosMathematical.Acosh- AcoshMathematical.Asin- AsinMathematical.Asinh- AsinhMathematical.Atan- AtanMathematical.Atanh- AtanhMathematical.Bias- BiasMathematical.Cos- CosMathematical.Cosh- CoshMathematical.Exp- ExpMathematical.Exp10- Exp10Mathematical.Exp2- Exp2Mathematical.Floor- FloorMathematical.Hypot- HypotMathematical.Log- LogMathematical.Log10- Log10Mathematical.ModuloMathematical.Polynomial- Polynomial evaluation block (up to cubic).Mathematical.Pow- PowMathematical.ShiftLeft- ShiftLeftMathematical.Sign- SignMathematical.Signed_Sqrt- Signed_SqrtMathematical.Sin- SinMathematical.Sinh- SinhMathematical.Sqrt- SqrtMathematical.Square- SquareMathematical.Tan- TanMathematical.Tanh- TanhMathematical.UnaryMinus- UnaryMinusSinks.Terminator- Terminator(; name)Sinks.Terminator_IntegerInput- Terminator_IntegerInput(; name)Sources.ConstantIntegerOutput- ConstantIntegerOutput(; name, k)Sources.SquareBooleanSourceSources.Step_IntegerOut- StepIntegerOut(; name, starttime = 0.0, height, offset)Switches.MultiportSwitch_IntegerSelector- MultiportSwitch_IntegerSelector(; name)Switches.PositionSwitch- PositionSwitch(; name)Switches.PositionSwitch_Greater- PositionSwitch_Greater(; name, threshold)Switches.PositionSwitch_GreaterOrEqual- PositionSwitch_GreaterOrEqual(; name, threshold)Switches.PositionSwitch_Mux- PositionSwitch_Mux(; name, threshold)Switches.PositionalSwitch_NotEqual- This component acts as a conditional selector that switches between two real-valued input signals.Switches.ThreePositionSwitch- ThreePositionSwitch(; name)Test_AbsTest_AndLogicalTest_BiasTest_BitwiseORTest_ComparewConstantTest_ComparewIntConstantTest_DataTypeConversion_to_DoubleTest_DataTypeConversion_to_UInt16Test_DataTypeConversion_to_UInt32Test_DataTypeConversion_to_UInt8Test_ExpTest_FloorTest_GreaterEqualThresholdTest_GreaterEqual_LogicalTest_GreaterThresholdTest_HyperbolicTest_HypotTest_InverseTrigonometricTest_LesserOrEqualTest_LesserOrEqualThresholdTest_LesserThresholdTest_LogTest_Logical_NOTTest_Modulo- This component serves as a test bench for theModulo_Real_Inputblock.Test_MultiportSwitch_IntegerSelectorTest_NandLogicalTest_NorLogicalTest_OffDelayTest_On_delayTest_PositionSwitch_GreaterOrEqualTest_PositionalSwitch_NotEqualTest_PowTest_ShiftLeftTest_SignTest_Signed_SqrtTest_SqrtTest_Switch_GreaterThanTest_TerminatorTest_TrigonometricTest_Unary_MinusTest_XnorLogicalTest_XorLogicalWIP.DataTypeConversion_to_Double- DataTypeConversiontoDouble(; saturateonoverflow=false)WIP.DataTypeConversion_to_UInt16- DataTypeConversiontoUInt16(; saturateonoverflow=false)WIP.DataTypeConversion_to_UInt32- DataTypeConversiontoUInt32(; saturateonoverflow=false)WIP.DataTypeConversion_to_UInt8- DataTypeConversiontoUInt8(; saturateonoverflow=false)WIP.Mux_3_in_1_out- Mux3in1out()
Analyses
Examples.TestABSAssembly- Test analysis for ABSAssembly with transient simulation.Mathematical.TestPolynomialTransientSources.TestSquareBooleanSourceTransientTestDiscreteTransferFunction_ImpulseAnalysisTestDiscreteTransferFunction_SineAnalysisTestDiscreteTransferFunction_UnitStepAnalysis
Tests
Mathematical.TestPolynomialSources.TestSquareBooleanSourceTestDiscreteTransferFunction_Impulse- Test component for DiscreteTransferFunction with impulse input.TestDiscreteTransferFunction_Sine- Test component for DiscreteTransferFunctionF with sine wave input.TestDiscreteTransferFunction_UnitStep- Test component for DiscreteTransferFunction in controller canonical form.TestFIRFilterTestPolynomialTestRelayTestWrapToZeroTest_DeadzoneTest_IntegratorFETest_IntegratorResetTest_LeadingEdgeDetectorTest_Logical_ORTest_OverflowIntegratorResetTest_SampleDelayTest_ThreePositionSwitchTest_UnitDifferenceTest_Unit_Delay