This repository contains source code necessary to reproduce the results presented in the following paper: Safe Control of Grid-Interfacing Inverters with Current Magnitude Limits
Authors: Trager Joswig-Jones and Baosen Zhang
University of Washington
Grid-interfacing inverters allow renewable resources to be connected to the electric grid and offer fast and programmable control responses. However, inverters are subject to significant physical constraints. One such constraint is a current magnitude limit required to protect semiconductor devices. While many current limiting methods are available, they can often unpredictably alter the behavior of the inverter control during overcurrent events leading to instability or poor performance.
In this paper, we present a safety filter approach to limit the current magnitude of inverters controlled as voltage sources. The safety filter problem is formulated with a control barrier function constraint that encodes the current magnitude limit. To ensure feasibility of the problem, we prove the existence of a safe linear controller for a specified reference. This approach allows for the desired voltage source behavior to be minimally altered while safely limiting the current output.
This respository contains code implemented in Python and can be run using Jupyter notebook or Google Colab.
The development of this code was supported in part by NSF grant ECCS-202353 and the State of Washington through the University of Washington Clean Energy Institute Graduate Student Fellowship.
The primary developer is Trager Joswig-Jones (@TragerJoswig-Jones).
This source code is available in the hope that it will be useful, but without any warranty and in no event shall the authors or copyright holders be liable for any claim, damages or other liability.
The simulation results in this paper take the voltage magnitude to be 120 V. This should be the nominal voltage value not the voltage magnitude. Correcting this simply scales the simulation results. This is corrected in the code in this repository now.
The control Lyapunov function used in the paper is
If you find this repository useful in your work, we kindly request that you cite the following publication:
@misc{joswigjones2024safecontrolgridinterfacinginverters,
title={Safe Control of Grid-Interfacing Inverters with Current Magnitude Limits},
author={Trager Joswig-Jones and Baosen Zhang},
year={2024},
eprint={2409.13890},
archivePrefix={arXiv},
primaryClass={eess.SY},
url={https://arxiv.org/abs/2409.13890},
}