What do you mean such microgrid energy management system is deterministic? If we want to model system performance problematically, uncertainties should be identified first, e.g. configuration, physical properties, operational load, hazard.
You need to introduce variability in how the model selects parameters, such as providing probability distributions from which they can be randomly drawn