Release notes
This page contains information for developers on the past and future releases for the package. For each release, the major changes are listed. Each release should (eventually) have its own page describing the detailed changes that are included for that release.
Release naming conventions: starting with release 0.7.0, we use the major.minor.revision numbering convention for releases:
- The revision number is incremented when minor bugs are fixed. All previous code should function without change.
- The minor number is incremented when minor features or significant fixes have been added.
- The major number is incremented when there are significant jumps in functionality such as changing the framework which could cause incompatibility with interfacing systems
Upcoming releases (planned)
TBD
Pending items:
- List of open issues associated with this release
- List of open pull requests associated with this release.
Current release
python-control 0.8.3 (4 Jan 2020)
- New input/output systems module for creating nonlinear systems from individual I/O subsystems, with
find_eqpt,input_output_response, andlinearizefunctionality - Initial implementation of differential flatness module for computing feasible trajectories for differentially flat (nonlinear) systems
- Preliminary version of lqe function (sawyerbfuller)
- New dict-based implementation of user-configurable package/module configuration parameters
- Added similarity transformation function
- Add 's' and 'z' variable support to tf()
- Fixed discrete time simulation time step issue
- Reordered Gang of Four plots to match FBS
- Check for symmetric matrices with machine precision (bnavigator)
- Changed root precision tolerance and imaginary detection in
xferfcn._common_den(bnavigator) - Fixed bug in timeresp.forced_response (adm78)
- Improved latex representation for exp format and multi-digit exponents of s or z (bnavigator)
- Renamed
FRDclass nameFrequencyResponseDatato fix MacOS sphinx build problems (FRDstill defined for backward compatibility` - Allow np.array or np.matrix for state space matrices, operations via
use_numpy_matrix - Improved detection of when to add additional points in
root_locus - Adaptive gain click criterion and zoom bug fix for
root_locus(icam0) - Improved code for ctrb and obsv (billtubbs)
- Documentation updates (bnavigator, murrayrm, roryyorke)
- Updated examples to be PEP compliant
- Improved unit tests (bnavigator, murrayrm), increased coverage to ~80%
- Full list of merged pull requests associated with this release.
- Full list of commits associated with this release
Past releases
python-control 0.8.2 (16 Apr 2019)
- Fixed a number of small bugs , including discrete time simulations (bnavigator), integer values in state space matrics (don4get), missing zeros on pole/zero plots (Sup3rGeo)
- First cut at a new step_info() function, similar to MATLAB (joaoantoniocardoso)
- Added a new function for dynamically setting gain in sisotool (icam0)
- Anti-stabilizing solutions for Riccati equations are now available (dbacc)
- Printout out state space systems in Jupyter notebooks now formats using LaTeX (alchemyst)
- Additional performance and visualiation improvements: _remove_useless_states (adm78), margins on Bode plots ( icam0), improved damping lines in discrete pzmap (Sup3rGeo)
- List of merged pull requests associated with this release.
- List of commits associated with this release
python-control 0.8.1 (22 Dec 2018)
- A new canonical function modal_form can be used to convert a state space system to modal form (ipa-lth)
- Improved pole placement algorithm place_varga (rabraker)
- Bug fix in computing poles of MIMO transfer functions
- Indexing of MIMO transfer functions (hungpham2511)
- Additional small bug fixes (adm78, stertingen)
- Documentation updates and fixes (joaoantoniocardoso)
- List of merged pull requests associated with this release.
- List of commits associated with this release
python-control 0.8.0 (7 Jul 2018)
- Updated and corrected docstrings (PR #198, PR #216)
- Better support for MIMO systems in
pole()andzero()functions (PR #205, PR #206) - Support for SciPy-1.0.0 updates to the
scipy.signalmodule that is used for some python-control functions and support fornumpydata types (int32, int64, etc) in all python-control functions (PR #170) - Support for static gains (0D state space systems and constant transfer functions) (PR #104, PR #110, PR #126, PR #129, PR #145)
- Note: Open issues related to this: #165
- New functions
obsv(observable canonical form, PR #103),augwandmixsyn(mixed sensitivity synthesis, PR #151) - List of merged pull requests associated with this release.
- List of commits associated with this release
python-control 0.7.0 (23 Oct 2015)
- Fixes to docstrings and examples (multiple)
- Bug fix to gain margin calculation for phase crossing through zero
-
c2dfunctionality added for MIMO state-space systems - Faster versions of
freqrespfor transfer functions and state space models - Fixed bug in
dareso that it returns stabilizing solution - Faster version of
force_response(lsim) - Installation via pip and conda
- Gain vector now optional in
root_locus - List of commits associated with this release
python-control 0.6d (23 Mar 2014)
- Fixed a bug in dime.py that caused errors when using method
tustinorzoh. - Improved stability margin calculations, including support for FRD systems.
- Minimal realization support for transfer functions and state space systems.
- New MATLAB-like functions:
append,connect,minreal - Increased python3 compatibility.
python-control 0.6c (3 Nov 2012)
-
Support for discrete time systems using the 'timebase' variable
dt. For continuous systemsdt = 0and for discrete time systemsdt = sampling time. Ifdt = None, timebase is not specified and can be either discrete or continuous time. System compositions (series,parallel,feedback) requires matching timebases (with automatic conversion if one timebase isNoneand the other is specified). -
There is now a frequency response data (
FRD) subclass contributed by Rene van Paassen. For now, the frequency vectors of differentFRDobjects need to match; no interpolation / clipping yet. -
There is now a
mineralfunction for computing minimal transfer functions (by removing pole zero cancellations), contributed by Rene van Paassen. -
Improved support for python 3.x: the current version should run in python 2.6+ (tested in 2.7) and python 3.x (tested in 3.2). I haven't yet tested slycot in python 3.x, but the functions that don't require slycot (most SISO calculations) are working.
python-control 0.5c (6 Oct 2011)
- Bode and Nyquist plot enhancements that allows matplotlib keywords to be passed through functions for more flexible setting of line styles (thanks to Kevin Davies for the initial code). Nyquist plots now allow labeling of frequency points via the
labelFreqkeyword (code contributed by Kevin Davies). - Fixed problems in
tf2ssconversions when there are poles with multiplicity > 1. This was generating lots of errors in the unit tests (properly, as it turns out, since there was a bug!). - Added
ackerfunction from Roberto Bucher - Improved unit testing with fewer warnings and error messages. Substantial modifications to
convert_test.pythat included fixing bugs in the unit test code and the conversion code (as noted above).
python-control 0.5a (7 Aug 2011)
- Updated time responses functions:
step_response,initial_response,impulse_responseandforced_response, along with MATLAB compatible versions (step,initial,impulse,lsim). Handles MIMO systems by allowing choice of input and output. - Added a phase_plot command that can be used to generate rudimentary phase portraits for 2D nonlinear systems (similar to the plots in Chapter 4 of Feedback Systems). See
examples/geneticswitch.pyfor an example. - Updated many function names to be more consistent with python coding style. So StepResponse is now step_response. MATLAB module (
control.matlab) interfaces are unaffected (continue to usestep). - New function to compute frequencies at which transfer function crosses real axis (phase_crossover_frequencies). Contributed by Steffen Waldherr
python-control 0.4c (19 Jun 2011)
- Added matrix solvers from LTH (Ola Johnsson, Jerker Nordh, Bjorn Olofsson, Vanessa Romero Segovia. These implement the
lyap,dlyap,careanddarefunctions usingslycot. - Added
tfvis, Simple GUI application for visualizing how the poles/zeros of the transfer function effects the Bode, Nyquist and step response of a SISO system. Contributed by Vanessa Romero Segovia, Ola Johnsson, Jerker Nordh.
python-control 0.4b (2 Apr 2011)
-
Initial implementation of model reduction functions:
hsvd,modred,balred, courtesy of Brandt Belson, Steve Brunton, Kevin Chen, and Lauren Padilla. -
Changes to (eventually) support MIMO transfer functions. These should be transparent to users of the MATLAB interface (control.matlab), but control functions now use a separate class structure. Courtesy randt Belson, Steve Brunton, Kevin Chen, and Lauren Padilla.
-
Updated functionality for Nichols charts, courtesy Allan McInnes.
-
Improvements in unwrap function, courtesy Sawyer Fuller.
python-control 0.3d (12 Feb 2011)
- New function: rlocus(), courtesy Ryan Krauss
- New function: pade(), courtesy Sawyer Fuller
- New functions: nichols(), ngrid(), courtesy Allan McInnes
- Added
lsimwrapper to allow systems with poles at origin. Still need to fix this for step() and impulse()
python-control 0.3c (10 June 2010)
- Added
placeandlqrcommands, using the SLICOT library (via Enrico Avventi'sslycotwrappers). LQR works on MIMO systems. - Frequency range for Bode plots are now computed using the poles and zeros of the system.
- Bode plots can how accept a list of systems:
bode(sys1, ..., sysN) - Put in docstrings for all user accessible functions