The Modelica language is intended for the modelling and simulation of complex multi-domain systems but can also be used for the classical controller design and simulation for control systems. This tutorial will use openModelica to demonstrate this by using transfer function models, step responses and PID controllers found in the standard Modelica library. Example System… Continue reading PID Controller Design and Simulation using OpenModelica
Category: Modelica
Modelica Two Tank System
This simulation uses the Modelica modeling language to model two identical tanks connect together by a pipe. The platform used is OpenModelica and the components are from an ‘under development’ library that aims to be a simpler to use alternative to the modelica fluid library. The tanks are 25 m high and have a radius… Continue reading Modelica Two Tank System
Solving Second Order Differential Equations in Python
This presentation outlines how to solve second order differential equations in python. The solution is obtained numerically using the python SciPy ode engine (integrate module). This solution is therefore not in analytic form but the output is as if the analytic function was computed for each time step. The method used here is generally applicable… Continue reading Solving Second Order Differential Equations in Python