modelSpring
Input/output block of a spring model
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
A linear 1D translational spring with pure signal interface which can be applied for a FMU (Functional Mock-up Unit) exchange.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.TranslationalSpringConstant | c | 1e4 | Spring constant |
| SI.Length | s_rel0 | 0 | Unstretched spring length |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | s1 | Position of left flange of force element | |
| Modelica.Blocks.Interfaces.RealOutput | f1 | Force generated by the force element | |
| Modelica.Blocks.Interfaces.RealInput | s2 | Position of right flange of force element | |
| Modelica.Blocks.Interfaces.RealOutput | f2 | Force generated by the force element |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.Translational.Components.GeneralPositionToForceAdaptor | positionToForce1 | ||
| Modelica.Mechanics.Translational.Components.Spring | spring | ||
| Modelica.Mechanics.Translational.Components.GeneralPositionToForceAdaptor | positionToForce2 |