DiscreteMicrogridEnv.flat_spaces#
- property DiscreteMicrogridEnv.flat_spaces[source]#
Whether the environment’s spaces are flat.
If True, all continuous spaces are
gym.spaces.Box.Otherwise, they are nested
gym.spaces.Dictofgym.spaces.Tupleofgym.spaces.Box, corresponding to the structure of thecontrolarg ofMicrogrid.run().Returns#
- flat_spacesbool
Whether the environment’s spaces are flat.