Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

Free (standard conforming) library to precisely define and synchronize sampled data systems with different sampling rates. It provides convenient to use blocks to utilize the new synchronous language elements introduced in Modelica 3.3.

Notifications You must be signed in to change notification settings

modelica-deprecated/Modelica_Synchronous

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Modelica_Synchronous

Starting with the Modelica Standard Library v4.0.0 (MSL v4.0.0) the Modelica_Synchronous library becomes deprecated and is replaced by Modelica.Clocked. This repository is kept as an archive.

The Modelica_Synchronous library has been integrated into the MSL 4.0.0 under the new name Modelica.Clocked (https://github.com/modelica/ModelicaStandardLibrary/tree/master/Modelica/Clocked). The MSL 4.0.0 conversion scripts support automatic conversion of dependencies to Modelica_Synchronous to the new facilities provided in MSL v4.0.0.

Library description

The Modelica_Synchronous library is an open source Modelica package under Modelica License 2 to precisely define and synchronize sampled data systems with different sampling rates. It provides a convenient to use block library to utilize the new synchronous language elements introduced in Modelica 3.3 and was presented at the 9th International Modelica Conference 2012 (“A Library for Synchronous Control Systems in Modelica”).

Features include:

  • Periodic clocks and event based clocks for synchronous execution of clocked partitions (introduced in the Modelica Language Specification 3.3). Therefore, the sample period for a partition needs to be defined only at one location.
  • Definition of multi-rate control systems with elements to sub-sample, super-sample and shift-sample partitions synchronously.
  • Optional simulation of quantization effects, computational delay or noise.
  • Automatic discretization of continuous-time equations for utilization in sampled data systems. This is especially useful to utilize continuous-time nonlinear, inverse models in a discrete-time control system.

It is planned to include this library in a future version of the Modelica Standard Library (after an evaluation period and once several Modelica tools support the synchronous language elements)

screenshot

Current release

Modelica_Synchronous v0.93.0 (2019-04-10)

The library is supported by at least the following tools: Dymola, OpenModelica, SimulationX.

Older Releases

Browse the Releases page in order to get access to older releases of the Modelica_Synchronous library.

License

This Modelica package is free software and the use is completely at your own risk; it can be redistributed and/or modified under the terms of the Modelica License 2.

Development and contribution

The devolopment is organised by Martin Otter.

You may report any issues by using the Issue Tracker.

About

Free (standard conforming) library to precisely define and synchronize sampled data systems with different sampling rates. It provides convenient to use blocks to utilize the new synchronous language elements introduced in Modelica 3.3.

Topics

Resources

Stars

Watchers

Forks