I want to calculate an ini variable depending on a different variable and a number, but I can't get it to work. I tried different versions of the following code - with and without brackets around the term:
warmup-period = ${warmup = 0}s
sim-time-limit = ${stime = ${warmup} + 2400}s
OMNeT++ always gives me this error:
Error: Could not read option sim-time-limit= from the configuration: Syntax error parsing quantity '0 + 2400s': Garbage after first number
I also tried using ($warmup)
instead of ${warump}
as suggested by the manual, but this gives me the following error:
Error: Could not read option sim-time-limit= from the configuration: Syntax error parsing quantity '(0) + 2400s': Must begin with a number
I am using OMNeT++ version 5.1.