This research presents the design and simulation of a distributed secondary control based on a consensus algorithm for the efficient management of an isolated DC microgrid (MG-DC) that secures the distribution of active power according to the capacities of each storage unit, reducing duty cycles and extending its life cycle. The balance of powers is fulfilled through a photovoltaic (PV) generation unit and an energy storage system (ESS) based on batteries. The PV Boost converter has a maximum power point tracking (MPPT) controller based on the perturb and observe (P & O) method. In contrast, a Buck–Boost converter is integrated into each battery, which is bidirectionally controlled through a local controller and a primary droop control that balances the required power at the loads. It produces a voltage deviation on the DC bus. To compensate for this deviation, a distributed secondary control strategy based on consensus is proposed to restore the voltage while managing the power sharing according to the capacities of each battery. It allows for the improvement of its life cycle, which is shown in the state of charge (SOC) index, thus extending its life cycle. The controllers are evaluated for solar re-source changes, load changes, and different storage capacities.
This research proposes advanced model-based control strategies for a countercurrent flow plate heat exchanger in a virtual environment. A virtual environment with visual and auditory effects is designed, which requires a mathematical model describing the real dynamics of the process; this allows parallel fluid movement in different directions with hot and cold temperatures at the outlet, incorporating control monitoring interfaces as communication links between the virtual heat exchanger and control applications. A multivariable and non-linear process like the plate and countercurrent flow heat exchanger requires analysis in the controller design; therefore, this work proposes and compares two control strategies to identify the best-performing one. The first controller is based on the inverse model of the plant, with linear algebra techniques and numerical methods; the second controller is a model predictive control (MPC), which presents optimal control actions that minimize the steady-state errors and aggressive variations in the actuators, respecting the temperature constraints and the operating limits, incorporating a predictive model of the plant. The controllers are tested for different setpoint changes and disturbances, determining that they are not overshot and that the MPC controller has the shortest settling time and lowest steady-state error.