Overview¶
StudPy is a collection of tools designed to support scientific studies by providing:
- parameters sapmling definition and case dataset generation
- Ceation and preparation of process inputs
- batch management for simulation execution and results aggregation
The following schema illustrates the main objects:

Study¶
TOREVIEW
TOREVIEW Thomas
Study represents a full simulation study campaign:
- Parameter space is defined via
CaseBuilder - All simulation cases are generated
- Each case can be executed via target builders
- Inputs for external solvers are created per case
A Study is configured by combining:
- parameter definitions (
Param) - parameter generation strategies (
Config) - sampling methods
- inputs builders
The resulting configuration defines the simulation space explored by the study.
The Study class is the central orchestration object of the framework.
It connects:
- parameter sampling (CaseBuilder)
- case generation
- simulation inputs builder (Abstract InputsBuilder)
See API Study
Batch¶
Batch provides utilities for executing large numbers of simulation cases.
Without Batch, each simulation would need to be launched manually.
The Batch module automates this process and adds support for: - sequential or parallel execution - progress reporting - execution hooks - result collection - validation of simulation outputs - error detection and logging
See API BatchExecCmdIter
Case Builder¶
TODO
TODO Thomas
See Case Builder
Inputs Builder¶
TODO
TODO Thomas
See API OneFileInputsBuilder
Typical Configuration Workflow¶
- Define parameters
- Select generation strategies
- Configure LHS samplers
- Build
CaseBuilder - Create a
Study - Generate and execute cases