pisces.extensions.simulation.core.initial_conditions.InitialConditions3DCartesian.load_model#
- InitialConditions3DCartesian.load_model(name: str) BaseModel#
Load a specific model from the initial conditions.
This method retrieves the file path for the given model name from the internal configuration, verifies that the file exists, and uses
load_model()to instantiate and return the model.- Parameters:
name (
str) – The name/identifier of the model to load. Must match one of the keys inmodels.- Returns:
An instance of the loaded model.
- Return type:
- Raises:
KeyError – If no model with the given
nameexists in the configuration.FileNotFoundError – If the referenced model file does not exist on disk.