outputDirectory

The output directory for the simulation, created lazily on first access. Deferring construction means runs that never produce file output (for example, parallel simulation-optimization evaluations, or per-point and per-scenario models that immediately redirect their output) never open a kslOutput.txt log file and never hold its file handle. The property stays reassignable: assigning a value before the first read replaces the default outright, so no default log file is ever opened. The base directory pathToOutputDirectory is still created eagerly at construction; only the OutputDirectory (and its log file) is deferred.

Return

the OutputDirectory for the simulation