modelSpring
Linear 1D translational spring
Extends from Interfaces.OnePort (OnePort partial model of translational library).
Information
Wrapped 1D linear translational spring model.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Distance | s_rel0 | 0 | Unstretched spring length |
| Real | c | 1 | Spring constant |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Flange_a | flange_a (from OnePort) | Left translational connector | |
| Flange_b | flange_b (from OnePort) | Right translational connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Distance | s_rel | Relative width of spring | |
| Modelica.SIunits.Velocity | v_rel | Relative velocity of spring | |
| Modelica.SIunits.Force | f | Spring force |