Scripting Modelica Models Using Python

نویسندگان

  • Bernt Lie
  • Finn Haugen
چکیده

Modelica has evolved as a powerful language for encoding models of complex systems. In control engineering, it is of interest to be able to analyze dynamic models using scripting languages such as MATLAB and Python. This paper illustrates some analysis and design methods relevant in control engineering through scripting a Modelica model of an anaerobic digester model using Python, and discusses advantages and shortcomings of the Python+Modelica set-up.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Towards a Benchmark Suite for Modelica Compilers: Large Models

The paper presents a contribution to a Modelica benchmark suite. Basic ideas for a tool independent benchmark suite based on Python scripting along with models for testing the performance of Modelica compilers regarding large systems of equation are given. The automation of running the benchmark suite is demonstrated followed by a selection of benchmark results to determine the current limits o...

متن کامل

An OpenModelica Python Interface and its use in PySimulator

How can Python users be empowered with the robust simulation, compilation and scripting abilities of a nonproprietary object-oriented, equation based modeling language such as Modelica? The immediate objective of this work is to develop an application programming interface for the OpenModelica modeling and simulation environment that would bridge the gap between the two agile programming langua...

متن کامل

PyMOOSE: Interoperable Scripting in Python for MOOSE

Python is emerging as a common scripting language for simulators. This opens up many possibilities for interoperability in the form of analysis, interfaces, and communications between simulators. We report the integration of Python scripting with the Multi-scale Object Oriented Simulation Environment (MOOSE). MOOSE is a general-purpose simulation system for compartmental neuronal models and for...

متن کامل

OpenModelica-Python Interoperability Applied to Monte Carlo Simulation

During recent years the interest in computer aided modeling and simulation of complex multi-domain systems have increased significantly. The evolution of the declarative equation-based object-oriented (EOO) modeling language Modelica is a prime example of such a trend. The inherent acausal modeling possibilities and the hybrid modeling capabilities are two features that make Modelica superior. ...

متن کامل

An Integrated Modelica Environment for Modeling, Documentation and Simulation

Modelica is a new object-oriented multi-domain modeling language based on algebraic and differential equations. In this paper we present an environment that integrates different phases of the Modelica development lifecycle. This is achieved by using the Mathematica environment and its structured documents, “notebooks”. Simulation models are represented in the form of structured documents, which...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012