Hello Guys!
I need the help in order to know how I can insert this function as source.
Thanks for your help
Edgar
HELP WITH A FUNCTION
-
- Junior Member
- Posts: 5
- Joined: Mon Jun 12, 2017 2:46 am
- Vensim version: PLE
HELP WITH A FUNCTION
- Attachments
-
- This is the system
- ejemplo.png (106.25 KiB) Viewed 2665 times
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: HELP WITH A FUNCTION
This is very similar to
http://www.ventanasystems.co.uk/forum/v ... f=2&t=6682
r = if then else ( time >= 0 :AND: time <= 10^6 , 10^(-4) , 0 )
http://www.ventanasystems.co.uk/forum/v ... f=2&t=6682
r = if then else ( time >= 0 :AND: time <= 10^6 , 10^(-4) , 0 )
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
-
- Junior Member
- Posts: 5
- Joined: Mon Jun 12, 2017 2:46 am
- Vensim version: PLE
Re: HELP WITH A FUNCTION
Thanks my friend!
I have another dude in this case for this function the Vensim model is on this way ( see the image please), the variable "flujo de entrada" is a fluence variable when I defined the ecuation r = if then else ( time >= 0 :AND: time <= 10^6 , 10^(-4) , 0 ) is necessary that I insert an auxiliary variable called "tiempo", is it correct? and what are the possible settings for this auxiliary variable called "tiempo"?
Thanks for your help
Edgar
I have another dude in this case for this function the Vensim model is on this way ( see the image please), the variable "flujo de entrada" is a fluence variable when I defined the ecuation r = if then else ( time >= 0 :AND: time <= 10^6 , 10^(-4) , 0 ) is necessary that I insert an auxiliary variable called "tiempo", is it correct? and what are the possible settings for this auxiliary variable called "tiempo"?
Thanks for your help
Edgar
- Attachments
-
- function
- Sin título.png (9.51 KiB) Viewed 2657 times
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: HELP WITH A FUNCTION
Sorry, I don't understand what you are asking here.erodrisant wrote:I have another dude in this case for this function the Vensim model is on this way ( see the image please), the variable "flujo de entrada" is a fluence variable when I defined the ecuation r = if then else ( time >= 0 :AND: time <= 10^6 , 10^(-4) , 0 ) is necessary that I insert an auxiliary variable called "tiempo", is it correct? and what are the possible settings for this auxiliary variable called "tiempo"?
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
-
- Junior Member
- Posts: 5
- Joined: Mon Jun 12, 2017 2:46 am
- Vensim version: PLE
Re: HELP WITH A FUNCTION
Well,
In relation to the model this equation r = if then else ( time >= 0 :AND: time <= 10^6 , 10^(-4) , 0 )corresponds to an input stream, at the moment of entering it into vensim this equation depends on the time for which it is necessary to declare the variable time as auxiliary variable, is this correct or what values would have to take the variable time?
The vensim model was previously attached.
Thanks!
In relation to the model this equation r = if then else ( time >= 0 :AND: time <= 10^6 , 10^(-4) , 0 )corresponds to an input stream, at the moment of entering it into vensim this equation depends on the time for which it is necessary to declare the variable time as auxiliary variable, is this correct or what values would have to take the variable time?
The vensim model was previously attached.
Thanks!
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: HELP WITH A FUNCTION
You do not need to declare time (it is already declared in every Vensim model).
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
-
- Junior Member
- Posts: 5
- Joined: Mon Jun 12, 2017 2:46 am
- Vensim version: PLE
Re: HELP WITH A FUNCTION
Thanks I run the function and it is ok!
Regards
Edgar
Regards
Edgar