prodyn: Implementation of the dymaic programming algorithm for optimal system control

Maintainer:Dennis Atabay, <>
Organization:Institute for Energy Economy and Application Technology, Technische Universität München
Date:Mar 04, 2018
Copyright:This documentation is licensed under a Creative Commons Attribution 4.0 International license.


This documentation contains the following pages:


  • prodyn uses the dynamic programming algorithm to calculate the decision seuqence which leads to minimal total costs
  • prodyn can be apllied to any system function which follows the required structure for inputs and outputs
  • Forward and backward implementation of the dynamic programming algorithm
  • Supports systems with multiple state variables

Get Started

  1. download or clone (with git) this repository to a directory of your choice.
  2. Copy the file in the prodyn folder to a directory which is already in python’s search path or add the prodyn folder to python’s search path (sys.path) (how to)
  3. Run the given examples in the examples folder.
  4. Implement your own system function.

Dependencies (Python)

  • numpy for mathematical operations
  • pandas for data handling