Giter Site home page Giter Site logo

mathworks / simscape-multibody-multiphysics-library Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 17.0 36.11 MB

Extend Simscape Multibody models with physical effects spanning multiple physical domains.

License: Other

MATLAB 33.48% HTML 66.52%
simscape

simscape-multibody-multiphysics-library's Introduction

Simscape Multibody Multiphysics Library

Copyright 2013-2023 The MathWorks(TM), Inc.

This repository contains example models showing how to extend Simscape Multibody models by adding physical effects spanning multiple physical domains modeled in Simscape.

View on File Exchange: View Simscape Multibody Multiphysics Library on File Exchange
You can also open in MATLAB Online: Open in MATLAB Online

Open project Multibody_Multiphysics_Library.prj to get started

Connecting the models using Simscape Physical Signals ensures a lossless transfer of power between physical networks. This submission contains a library that contains general interface blocks (rotational, translational), and example models showing how to use them to model multidomain physical systems.

You need to ensure that your use of these interfaces is physically valid. Connecting a 3D mechanical model to a 1D physical systems requires that you follow a few basic rules:

  1. Never add inertia directly to the node on the Simscape side of the interface.

    All masses in Simscape models live in an implicit inertial reference frame. A Simscape mechanical circuit interfaced to a Simscape Multibody machine in general moves in an accelerated frame. A simulation with such a circuit does not include the pseudoforces acting on the Simscape mass and inertia elements as experienced in such a noninertial frame and thus violates Newton's second law of mechanics.

  2. If you must model inertia in the Simscape network, connect it to the interface element via a spring and damper connected in parallel. Be aware that a Simscape circuit does not model the motion of such bodies along or about axes orthogonal to the coupled primitive axis chosen in the interfaced Joint.

  3. Quantities sensed in Simscape (like translation at a node) may be offset from comparable quantities measured in Simscape Multibody. This is because the initial position of the Simscape Multibody joint, which is determined during the assembly process, is not automatically conveyed to the Simscape network. You must either use MATLAB variables to synchronize the setting of the initial position or feed the position from Simscape Multibody to the Simscape network. The examples in this submission show how to do that.

Release History

v4.1 Sep 2023 (R2023a)

  1. Updated for R2023a
  2. Converted examples from Hydraulic domain to Isothermal Liquid domain

v4.1 Mar 2022 (R2022a)

  1. Updated for R2022a

v4.1 Sep 2021 (R2021b)

  1. Updated for R2021b

v4.1 Mar 2021 (R2021a)

  1. Updated for R2021a
  2. Examples added and modified to use interface blocks shipping in R2021a Original examples retained to show options for custom blocks.

v4.0 Sep 2020 (R2019b - R2020b)

  1. Updated for R2020b

v4.0 Mar 2020 (R2019b - R2020a)

  1. Updated for R2020a

v4.0 Sep 2019 (R2019b)

  1. Updated for R2019b
  2. Converted to MATLAB Project with core content as Reference Project

v3.0 Mar 2019 (R2019a)

  1. Updated for R2019a
  2. Joint limits within Simscape Multibody added (see sm_ssci_hinge_hardstop.slx)
  3. Physical Signal blocks updated for unit propagation.

v2.7 Sep 2018 (R2018b)

  1. Updated for R2018b

v2.6 Mar 2018 (R2018a)

  1. Updated for R2018a

v2.5 Sept 2017 (R2017b)

  1. Added block Hydraulic Cylinder SA PS to library which models a single-acting hydraulic cylinder using a physical signal interface.
  2. Added sm_ssci_02_cylinder_sa_pump which models a single piston pump using the Hydraulic SA PS block.

v2.4 Sept 2017 (R2017b)

  1. Updated for R2017b.

v2.3 July 2017 (R2017a)

  1. Fixed mistake in library (Interfaces/Translational Simscape Multibody). Changed checkbox from torque to force. Added example sm_ssci_01_slider_crank.slx

v2.2 May 2017 (R2017a)

  1. Initial release (version number set to match File Exchange) Includes general 3D-1D interface blocks as well as abstract multiphysics blocks connecting hydraulic, electrical, and mechanical effects to multibody systems. 5 basic examples and one CAD workflow example.

simscape-multibody-multiphysics-library's People

Contributors

smiller01985 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.