LiveLink™ for Simulink®

LiveLink™ for Simulink®

Integrate COMSOL Multiphysics® into Simulink® with LiveLink™ for Simulink®


Image made using the COMSOL Multiphysics® software.

A cosimulation of a battery pack using COMSOL Multiphysics® and Simulink®.

LiveLink™ for Simulink®


LiveLink™ for Simulink® connects COMSOL Multiphysics® to the Simulink® simulation environment, available as an add-on to the MATLAB® technical computing software. Using this functionality, you can perform cosimulation of COMSOL Multiphysics® models and Simulink® diagrams. Any time-dependent or static COMSOL Multiphysics® model can be used for cosimulation. In addition to cosimulation, you can export reduced-order state-space representations of COMSOL Multiphysics® models. They facilitate control design and simulation using MATLAB® in combination with either Simulink® or the Control System Toolbox™.


Read More     

Product Features

  • Bidirectional Integration
  • Simulink Block Integration
  • Control System Design
  • Parameter Optimization
  • Real-Time Simulation

Application Areas

  • System-Level Modeling
  • Multiphysics Control Systems
  • Prototyping
  • Virtual Testing

 

Models

This example model consists of a two-hot-arm thermal actuator made of polysilicon. The actuator is activated through thermal expansion. The temperature increase required to deform the arms, and thus displace the actuator, is obtained through Joule heating (resistive heating). The greater expansion of the hot arms, compared to the cold arm, causes a bending of the actuator.

This model computes the temperature distribution in a battery pack that is in use at a specified power. The current is controlled in Simulink® to ensure constant power during usage.

This model illustrates the charge/discharge control of a Lithium-Ion battery in a Simulink® simulation.

A magnetic brake consists of a permanent magnet, which induces currents in a rotating copper disk. The resulting eddy currents interact with the magnetic flux to produce Lorentz forces and subsequently a braking torque. The disk angular velocity is computed using Simulink®.