Microgrid.step#
- Microgrid.step(control, normalized=True)[source]#
Run the microgrid for a single step.
Parameters#
- controldict[str, np.typing.arrayLike]
Actions to pass to each fixed module.
- normalizedbool, default True
Whether
controlis a normalized value or not. If not, each module de-normalizes its respective action.
Returns#
- observationdict[str, list[float]]
Observations of each module after using the passed
control.- rewardfloat
Reward/cost of running the microgrid. A positive value implies revenue while a negative value is a cost.
- donebool
Whether the microgrid terminates.
- infodict
Additional information from this step.