How to assign new global variables in CWatM? #24
-
Hello, I wonder if I should do more to assign new global variables in CWatM. I've written these code in initial module in waterdemand.py(attached below): However, when I tried to run CWatM, Error 132 came out: What should I do? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Did you find an answer to this question? |
Beta Was this translation helpful? Give feedback.
-
Guten Tag, what you have is correct: the new variables are initialised and updated. This should work. Trying this similarly, in the develop branch, I have created these two variables (similar to what you have done), and the outputs work.
This is in the commit "Example new variable" on Nov 14, 2023. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much!发自我的 iPhone在 2023年11月14日,23:21,Mikhail Smilovic ***@***.***> 写道:
Guten Tag, what you have is correct: the new variables are initialised and updated. This should work.
Trying this similarly, in the develop branch, I have created these two variables (similar to what you have done), and the outputs work.
Rain_times_fracPaddy
Rain_times_fracNonPaddy
This is in the commit "Example new variable" on Nov 14, 2023.
Let me know what you think!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Guten Tag, what you have is correct: the new variables are initialised and updated. This should work.
Trying this similarly, in the develop branch, I have created these two variables (similar to what you have done), and the outputs work.
This is in the commit "Example new variable" on Nov 14, 2023.
Let me know what you think!