SINTEG with vars

Use this forum to post Vensim related questions.
Post Reply
geo_curious
Member
Posts: 46
Joined: Tue Mar 14, 2023 2:05 am
Vensim version: DSS

SINTEG with vars

Post 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!
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: SINTEG with vars

Post 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.
geo_curious
Member
Posts: 46
Joined: Tue Mar 14, 2023 2:05 am
Vensim version: DSS

Re: SINTEG with vars

Post 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.
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: SINTEG with vars

Post 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
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
geo_curious
Member
Posts: 46
Joined: Tue Mar 14, 2023 2:05 am
Vensim version: DSS

Re: SINTEG with vars

Post 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.
Post Reply