﻿ 20-sim webhelp > Library > Iconic Diagrams > Mechanical > Translation > Components > spring

spring

Library

Iconic Diagrams\Mechanical\Translation\Components

Use

Domains: Continuous. Size: 1-D. Kind: Iconic Diagrams (Translation).

Description

This model represents an ideal translational spring. The element has a preferred force out causality. The corresponding constitutive equations then contain an integration. The element can also have the non-preferred velocity out causality. The constitutive equations then contain a derivation. The spring model has separate high and low ports. The equations are

p.F = p_high.F = p_low.F

p.v = p_high.v - p_low.v

Force out causality (preferred):

x = int(p.v);

p.F = k * x;

Velocity out causality:

p.v = ddt(x);

x = p.F/k;

A positive force will compress the spring. The length x is positive when the spring is compressed. It is negative when the spring is stretched.

Interface

Ports

Description

p_high

p_low

Two ports of the spring (Translation).

Causality

preferred force out

An velocity out causality results in a derivative constitutive equation.

Variables

x

compression of the spring [m]

k

Stiffness [N/m]

Initial Values

x_initial

The initial extension of the spring [m].
{"ft_lang_label":"__label__en","ft_lang_prob":0.79545784,"math_prob":0.9747198,"size":1133,"snap":"2019-26-2019-30","text_gpt3_token_len":281,"char_repetition_ratio":0.14348981,"word_repetition_ratio":0.0,"special_character_ratio":0.24360105,"punctuation_ratio":0.16425121,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.992897,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-06-19T11:16:37Z\",\"WARC-Record-ID\":\"<urn:uuid:bdfa8641-38ae-47f1-8d18-88441054b2fd>\",\"Content-Length\":\"422992\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1813061c-f1e8-472b-83e6-fd1902821657>\",\"WARC-Concurrent-To\":\"<urn:uuid:1c20ae52-643d-40b9-b08c-3eac892c5c2e>\",\"WARC-IP-Address\":\"80.85.129.152\",\"WARC-Target-URI\":\"https://www.20sim.com/webhelp/library_iconic_diagrams_mechanical_translation_components_spring.php\",\"WARC-Payload-Digest\":\"sha1:OQS5IXE4TKSLWL5VNS7XE3UCCC2DAWKY\",\"WARC-Block-Digest\":\"sha1:6XVK6OM5MOKRFRSKLY6AHKCWGWUFZKQP\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-26/CC-MAIN-2019-26_segments_1560627998959.46_warc_CC-MAIN-20190619103826-20190619125826-00205.warc.gz\"}"}