parallel#

class parallel(*args, **kwargs)[source]#

A shortcut to fp.MultiSim(), allowing the quick running of multiple simulations at once.

Parameters:
  • args (list) – The simulations to run

  • kwargs (dict) – passed to multi_run()

Returns:

A run MultiSim object.

Examples:

s1 = fp.Sim(exposure_factor=0.5, label='Low')
s2 = fp.Sim(exposure_factor=2.0, label='High')
fp.parallel(s1, s2).plot()
msim = fp.parallel(s1, s2)