WOLFRAM SYSTEMMODELER

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

spring

Type: Spring

positionToForce2

Type: GeneralPositionToForceAdaptor

Used in Examples (1)

GenerationOfFMUs

Modelica.Mechanics.Translational.Examples

Example to demonstrate variants to generate FMUs (Functional Mock-up Units)