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!
SINTEG with vars
-
- Senior Member
- Posts: 53
- Joined: Tue Mar 14, 2023 2:05 am
- Vensim version: DSS
Re: SINTEG with vars
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.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
-
- Senior Member
- Posts: 53
- Joined: Tue Mar 14, 2023 2:05 am
- Vensim version: DSS
Re: SINTEG with vars
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.
-
- Super Administrator
- Posts: 4608
- Joined: Wed Mar 05, 2003 3:10 am
Re: SINTEG with vars
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
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Senior Member
- Posts: 53
- Joined: Tue Mar 14, 2023 2:05 am
- Vensim version: DSS
Re: SINTEG with vars
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.