Page 1 of 1

SINTEG with vars

Posted: Sun Apr 14, 2024 6:14 pm
by geo_curious
Hi all,

I am attempting to implement inputs for the SINTEG function. I am trying to assign the min and max values as min=(var1-(var1*.3)) and max=(var1+(var1*.3)). For some reason the SINTEG function does not like using variables as the input for min or max. Is there a workaround to this?

Thank you!

Re: SINTEG with vars

Posted: Sun Apr 14, 2024 9:49 pm
by tomfid
Probably not, but you could modify your flow equations to do the same thing. We'd have to have a concrete example to comment on.

Re: SINTEG with vars

Posted: Sun Apr 14, 2024 10:30 pm
by geo_curious
It's not a big deal. I switched the function out because SINTEG is a bit unnecessary for what I need to accomplish. For the record, it does not appear that it will take anything but integers in place of min/max.

Re: SINTEG with vars

Posted: Mon Apr 15, 2024 7:08 am
by Administrator
This is correct (it's mentioned in the help system that the min/max etc must be numbers).
https://www.vensim.com/documentation/fn ... l?q=sinteg

Re: SINTEG with vars

Posted: Tue Apr 16, 2024 3:41 pm
by geo_curious
The problem with the help file stating: "The remaining arguments must all be numbers." is that the variable inputs are numbers. Fine though Admin, I get it. Thank you.