Unable to converge simultaneous loop at time

Use this forum to post Vensim related questions.
Post Reply
Kira Zhou
Junior Member
Posts: 4
Joined: Mon Jun 15, 2020 7:35 am
Vensim version: PLE

Unable to converge simultaneous loop at time

Post by Kira Zhou »

Dear members,

I have constructed a model to predict the water shortage rate and used simultaneous equations to study the effects of different regulatory policies on the water shortage rate. This control was achieved by setting f to a value within [0, 1]. An error "Unable to converge simultaneous loop at time T" (not all the time) occurred when I assumed that f1 =0.7, f2 =f3=0.
Attachments
T(}[UEMP1_Z99P(S)68S`FF.png
T(}[UEMP1_Z99P(S)68S`FF.png (44.88 KiB) Viewed 3481 times
1(J%IS8HLVV1U@ND3UPCN1U.png
1(J%IS8HLVV1U@ND3UPCN1U.png (86.13 KiB) Viewed 3481 times
Simultaneous equation of water shortage rate
Simultaneous equation of water shortage rate
AIA_OLDO`~LMQ(I4V)PF_%S.png (15.24 KiB) Viewed 3481 times
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Unable to converge simultaneous loop at time

Post by Administrator »

I don't get an error using the latest version of Vensim.

But are you sure you should be using the SIMULTANEOUS function? There has to be a delay between a shortage and any kind of adjustment to capacity.

You might also want to add units to the model. It's impossible for me to know what the model is actually calculating (eg, what is fish pond area measured in, is it m2 or km2 or something else?). It's also bad practice to embed constants in your equations (eg, what is "0.00748269" in the "water shortage rate"?).
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
Kira Zhou
Junior Member
Posts: 4
Joined: Mon Jun 15, 2020 7:35 am
Vensim version: PLE

Re: Unable to converge simultaneous loop at time

Post by Kira Zhou »

Thank you for your reply.

I took into account the information transmission as "water shortage rate -> feedback rate a -> policies determining water demand and supply -> new water supply and water demand - water shortage rate after regulation". Water shortage rate was included in this cycle, so the simultaneous equation was used. And 0.00748269 was the predicted water shortage rate without policy regulation. The unit issue will be modified in the formal model.

"There has to be a delay between a shortage and any kind of adjustment to capacity." Are you saying that I should use delay functions instead of simultaneous equations?

Thanks and regards.
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Unable to converge simultaneous loop at time

Post by Administrator »

Kira Zhou wrote: Mon Jun 15, 2020 8:34 amI took into account the information transmission as "water shortage rate -> feedback rate a -> policies determining water demand and supply -> new water supply and water demand - water shortage rate after regulation". Water shortage rate was included in this cycle, so the simultaneous equation was used. And 0.00748269 was the predicted water shortage rate without policy regulation. The unit issue will be modified in the formal model.
This implies that a change in water shortage gives an immediate change in policy. Is that correct? I'm sure there should be a delay in there somewhere.
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
Kira Zhou
Junior Member
Posts: 4
Joined: Mon Jun 15, 2020 7:35 am
Vensim version: PLE

Re: Unable to converge simultaneous loop at time

Post by Kira Zhou »

Yes, in theory there should be delays! Your comments are very relevant, and I will further improve the model according to this idea.
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: Unable to converge simultaneous loop at time

Post by tomfid »

Another issue here seems to be that supply and demand are completely insensitive to the water shortage index. For example, a1 is constant as parameterized.
Kira Zhou
Junior Member
Posts: 4
Joined: Mon Jun 15, 2020 7:35 am
Vensim version: PLE

Re: Unable to converge simultaneous loop at time

Post by Kira Zhou »

Dear administrator, I hope to delete all posts under this topic due to the need of confidentiality, but I do not have permission. Could you please help me?
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: Unable to converge simultaneous loop at time

Post by tomfid »

I deleted the post with the model. The rest is useful for others, if OK to leave it. If not, let us know.
Post Reply