.DESLib.DEVSLib.Examples.ControlledTanks

Information

This package includes the implementation of the Controlled Tanks model described in the StateGraph library. It is composed of two tanks and three valves, implemented as continuous-time models, and a discrete-event controller.

The behavior of the system is detailed in the StateGraph library.
Basically the controller fills the first tank, then the second tank (while the first gets empty) and finally empties the second tank. The normal process can be interrupted with the start, stop and shut buttons.

The controller in DEVSLib has been implemented in two ways:

Simulation

The systemAtomic model includes the implementation of the system usign the atomic discrete controller.
The systemCoupled model includes the implementation using the coupled discrete controller.

Both models include two variables to facilitate the observation of the simulation results, and check the level of both tanks.

Contents

NameDescription
UtilitiesUtility components for the examples
TankControllerAtomic
TankControllerBigAtomic
systemAtomic
tankControllerCoupled
TankControllerBigCoupled
systemCoupled

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos