sinergym.utils.common.create_environment

sinergym.utils.common.create_environment(env_id: str, env_params: Dict, wrappers: Dict, env_deep_update: bool = True) Env

Create a EplusEnv environment with the given parameters and wrappers. :param env_id: Environment ID. :type env_id: str :param env_params: Environment parameters to overwrite the environment ID defaults. :type env_params: Dict :param wrappers: Wrappers to be applied to the environment. :type wrappers: Dict :param deep_update: If True, the environment parameters will be deeply updated instead of overwritten. Defaults to True. :type deep_update: bool

Returns:

The created environment.

Return type:

gym.Env