Microgrid.get_empty_action#
- Microgrid.get_empty_action(sample_flex_modules=False)[source]#
Get an action for the microgrid with no values set.
Values are all
None; everyNonevalue should be replaced before passing an action torun.Parameters#
- sample_flex_modulesbool, default false
Whether to sample the flex modules in the microgrid.
rundoes not expect actions for flex modules.
Returns#
- dict[str, list[None]]
Empty action.