WOLFRAM SYSTEM MODELER

Spring

Input/output block of a spring model

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Mechanics.Translational.Examples.Utilities.Spring"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

A linear 1D translational spring with pure signal interface which can be applied for a FMU (Functional Mock-up Unit) exchange.

Parameters (2)

c

Value: 1e4

Type: TranslationalSpringConstant (N/m)

Description: Spring constant

s_rel0

Value: 0

Type: Length (m)

Description: Unstretched spring length

Connectors (4)

s1

Type: RealInput

Description: Position of left flange of force element

f1

Type: RealOutput

Description: Force generated by the force element

s2

Type: RealInput

Description: Position of right flange of force element

f2

Type: RealOutput

Description: Force generated by the force element

Components (3)

positionToForce1

Type: GeneralPositionToForceAdaptor

Description: Signal adaptor for a Translational flange with force as output and position, speed and acceleration as input (especially useful for FMUs)

spring

Type: Spring

Description: Linear 1D translational spring

positionToForce2

Type: GeneralPositionToForceAdaptor

Description: Signal adaptor for a Translational flange with force as output and position, speed and acceleration as input (especially useful for FMUs)