cstar.simulation.Simulation.pre_run

Attention

This project is still in an early phase of development.

The python API is not yet stable, and some aspects of the schema for the blueprint and workplan will likely evolve. Therefore whilst you are welcome to try out using the package, we cannot yet guarantee backwards compatibility. We expect to reach a more stable version in 2026.

cstar.simulation.Simulation.pre_run#

abstractmethod Simulation.pre_run() None#

Abstract method to perform any necessary pre-processing steps before running the simulation.

This method should be implemented by subclasses to handle setup tasks such as preparing input datasets or configuration files.

Raises:

NotImplementedError – If the subclass does not implement this method.

See also

build

Compiles or prepares necessary components.

run

Executes the simulation.

post_run

Handles post-processing steps after execution.