Embody


Execution Module

A module that offers a few simple ways of executing a simulation.

Functions and values

Function or value Description

simulate preset

Full Usage: simulate preset

Parameters:
Returns: SimulationResult<'u, 'v>
Modifiers: inline

Execute a single simulation.

preset : SimulationPreset<'u, 'v>
Returns: SimulationResult<'u, 'v>

simulateAsync preset

Full Usage: simulateAsync preset

Parameters:
Returns: Async<SimulationResult<'u, 'v>>
Modifiers: inline

Execute a single simulation, asynchronously.

preset : SimulationPreset<'u, 'v>
Returns: Async<SimulationResult<'u, 'v>>

simulateInParallel presets

Full Usage: simulateInParallel presets

Parameters:
Returns: SimulationResult<'u, 'v>[]
Modifiers: inline

Execute multiple simulations in parallel, and return results once all simulations have finished. Limitations: all presets must use identical units of measure.

presets : seq<SimulationPreset<'u, 'v>>
Returns: SimulationResult<'u, 'v>[]