UnbalancedEnergyModule.load#
- classmethod UnbalancedEnergyModule.load(stream)[source]#
Load a module from yaml representation.
Equivalent to
yaml.safe_load(stream).Parameters#
- streamstr or file-like object
Stream from which to read yaml representation of a module.
Returns#
- BaseMicrogridModule or child class of BaseMicrogridModule
Deserialized module, populated with the state it possessed upon serialization.