Skip to content

pablogzrs/capacitance-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ Tank Capacitance Simulator

MATLAB App Designer application for simulating coupled tank systems with capacitance dynamics.

πŸ“‹ Overview

Interactive simulator for modeling liquid level behavior in coupled tanks. Built as an educational tool for understanding control systems and fluid dynamics concepts.

✨ Features

  • Interactive parameter controls for tank geometry and flow rates
  • Real-time visualization of tank levels
  • Graphical plots of system response
  • Adjustable simulation parameters

πŸ› οΈ Technologies

  • Platform: MATLAB R2020a or later
  • Tool: App Designer
  • Format: .mlapp

πŸ“ Files

.
β”œβ”€β”€ Tanque_Capacitancia_PROYECTO.mlapp    # Main application
β”œβ”€β”€ start.png                              # UI assets
β”œβ”€β”€ itesm.png                             # Branding
└── README.md

πŸš€ How to Run

In MATLAB:

>> Tanque_Capacitancia_PROYECTO

Or:

  1. Open MATLAB
  2. Double-click Tanque_Capacitancia_PROYECTO.mlapp
  3. Click Run

πŸ“ System Model

Simulates coupled tank equations:

Tank 1: A₁(dh₁/dt) = Qα΅’β‚™ - (h₁ - hβ‚‚)/R₁
Tank 2: Aβ‚‚(dhβ‚‚/dt) = (h₁ - hβ‚‚)/R₁ - hβ‚‚/Rβ‚‚

Where:

  • h₁, hβ‚‚ = Tank levels
  • A₁, Aβ‚‚ = Tank areas
  • R₁, Rβ‚‚ = Valve resistances
  • Qα΅’β‚™ = Input flow rate

πŸŽ“ Academic Context

Developed at TecnolΓ³gico de Monterrey for control systems coursework.

πŸ“¦ Deployment

For MATLAB users: Share the .mlapp file

Standalone version:

>> mcc -m Tanque_Capacitancia_PROYECTO.mlapp

Requires MATLAB Runtime for users without MATLAB.


Institution: ITESM
Platform: MATLAB App Designer

About

MATLAB simulator for coupled tank systems with capacitance dynamics. Interactive GUI for control systems education and analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors