    

 ## On this page

  

 

 # setNumExpectedRuns

 Last update: 30.07.2026 

public [setNumExpectedRuns](set-num-expected-runs.md)(numRuns: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the number of expected runs

#### Parameters

numRunsthe number of expected runs to set#### Throws

[ModelCenterException](./../-model-center-exception/index.md)