gym-poly-reactor

OpenAI gym style industrial polymerization reactor simulator


Keywords
gym_poly_reactor
License
MIT
Install
pip install gym-poly-reactor==0.2

Documentation

gym-poly-reactor

a discrete version of industrial polymerization reactor environment. this package is a gym-style warapping of do-mpc industrial polymerization reactor model. the original formulation and documentation about the model can be found from here.

Installation

we support pip installation.

pip install gym-poly-reactor

Dependencies

gym-poly-reactor is build upon followings:

  1. numpy
  2. gym
  3. do-mpc

If you install the package through pip, then the pip installation procedure would install the dependencies also.

Quick start

You can easily simulate one episode of industrial polymerization reactor environment by using the following code snippet

from gym_poly_reactor.envs.poly_reactor import PolyReactor

env = PolyReactor() # instantiate industrial polymerization reactor environment
s0 = env.reset() # setup the model
while True:
    action = env.action_space.sample()
    next_state, reward, done, _ = env.step(action)
    if done: # if termination condition is satisfied
        break 

Description about industrial polymerization reactor MDP

🚧 🚧 🚧 🚧 the documentation will be updated soon 😃

About state and action

About goal and reward

About episode termination

About the industrial polymerization reactor model