Model Run Template
Serializable model-construction template for app-layer workflows that need configured model instances without depending on a full RunConfiguration.
This type contains only persisted data. It does not hold a live ksl.simulation.ModelBuilderIfc or ksl.simulation.ModelProviderIfc. Execution code should resolve this template into an internal configured ksl.simulation.ModelBuilderIfc before handing work to lower-level simulation or optimization APIs.
ModelRunTemplate is intentionally narrower than RunConfiguration. It captures the reusable baseline model-building pieces needed by workflows such as simulation optimization, where the model source and fixed baseline configuration are separate from the optimization problem and solver settings.
Constructors
Properties
fixed model control overrides applied after the model is built. An empty export leaves the model's control defaults unchanged.
optional builder-level string configuration passed into ksl.simulation.ModelBuilderIfc.build. This is distinct from controls and RV overrides because some models may need structured build-time configuration before model elements exist.
serializable pointer to the model source. This is either ModelReference.ByProviderId or ModelReference.ByJar, so persisted documents do not contain live builder objects.
baseline simulation experiment settings for models built from this template. A configured builder should use these as defaults while allowing call-site ksl.simulation.ExperimentRunParametersIfc values to override them for a specific build.
fixed random-variable parameter overrides applied after controls. An empty list leaves the model's random variable parameter defaults unchanged.