Hi,
Here is my code:
For i=1 To 10 STEP 1
Minp=LookupTableP(i)
Maxp=LookupTableP(i)
MinL=LookupTableL(i)
MaxL=LookupTableL(i)
With ParameterSweep
.SetSimulationType ("Transient")
.DeleteAllSequences
.AddSequence ("Sweep")
.AddParameter_Stepwidth ("Sweep", "p",Minp,Maxp, steps)
.AddParameter_Stepwidth ("Sweep", "L",MinL,MaxL, steps)
.Start
End With
Next
But it shows me this error after first running:
1 parameter combinations were skipped in the parameter sweep because they were already performed previously. 23 parameter combinations were skipped because they were defined multiple times in the current sweep.
I believe the program does not wait for the ParameterSweep to complete, causing it to repeat multiple times.
- How can I determine if a simulation is running in CST Studio Suite? (I couldn't find any relevant function)
- How can I resolve the issue mentioned above?
- Additionally, when DSParameterSweep is equal to ParameterSweep, I encounter an error when using DeleteAllSequences with DSParameterSweep.
