BeerFMTEnv

Beer is one of the oldest and most widely consumed alcoholic drinks in the world, and we have a lot of ways to produce them. This class provides a typical (and naive) simulation of the industry-level beer fermentation process. The only input that the simulation takes is the reaction temperature. The end goal in this simulation is to reach the stop condition (finish production) with a certain time limit, the quicker the better.

To better assist any control algorithms on this simulation, we also provided a . Please consult the ‘profile_industrial’ in the BeerFMT section here for more details.

BeerFMTEnv module

BeerFMT simulates the Beer Fermentation process.

class quarticgym.envs.beerfmtenv.BeerFMTEnvGym(dense_reward=True, normalize=True, observation_relaxation=1.0, action_dim=1, observation_dim=8)[source]

Bases: quarticgym.envs.utils.QuarticGymEnvBase

reaction_finish_calculator(X_A, X_L, X_D, S, EtOH, DY, EA)[source]
reset()[source]

required by gym. This function resets the environment and returns an initial observation.

step(action)[source]

required by gym. This function performs one step within the environment and returns the observation, the reward, whether the episode is finished and debug information, if any.

quarticgym.envs.beerfmtenv.beer_ode(points, t, sets)[source]

Beer fermentation process