Riwuko / iss-project

Inteligent Control System University project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inteligent Control Systems: Process Simulation Project

This project contains backend flask api with process models and frontend react app. The following processes were simulated:

Tank Filling Model to simulate liquid flow in the tank with multiple valves
Substance Concentration Model to simulate substance concentration in the tank with multiple valves

Steps to run app in developer mode

First you need to have a docker-compose installed.

In the directory with docker-compose.yml run the following commands:
docker-compose build to install all requirements (only first time)
docker-compose up to run local server ("localhost:8080/" for backend, "localhost:3000/" for frontend)

Steps to install new packages

Back-end

Add the library name to the requirements.txt file. Close the docker-compose if running and then build and run it again.

Front-end

Install libraries using npm and package.json.

Available endpoints

/ list of available processes {GET}
/process get default simulation config {GET}
/process/<process-slug> process config and simulation results for default config {GET}
/process/<process-slug> process config and simulation results for requested config; takes controller slug and tuner slug as query parameters and controller config and tuner config as request body {POST}
Example: /process/concentration-model?controller=pid&tuner=Ziegler-Nichols
/controllers list of all available controllers {GET}
/controller get default controller config {GET}
/tuners list of available tunning methods {GET}
/tuner get default tuner config {GET}

About

Inteligent Control System University project


Languages

Language:Python 49.5%Language:JavaScript 43.3%Language:CSS 5.1%Language:HTML 1.8%Language:Dockerfile 0.3%