hydromad

58 views
Skip to first unread message

Mehnaz Akhter

unread,
Nov 19, 2022, 1:16:07 PM11/19/22
to hydromad users
 I want to know how to control algorithms like fitbyoptim ,fitbyDream in hydromad?The NSE values comes out to be negative?do we have to fix maximum number of iterations or some other argument

Alex

unread,
Nov 20, 2022, 10:30:42 AM11/20/22
to hydromad users
The documentation for these functions tells you how to control the fitting procedure (e.g. help('fitByOptim')). From there you can see the samples argument, which is the number of random parameter sets that will be sampled, and the control argument which is passed onto the fitting algorithm. In case you haven't, I'd recommend looking at the tutorial which covers a lot of the hydroid fundamentals (https://hydromad.github.io/articles/tutorial.html

Mehnaz Akhter

unread,
Nov 21, 2022, 1:47:01 AM11/21/22
to hydromad users
Thank you very much for the helpful reply.Will no. of samples be equal to parameters to be calibrated in the model?How to set control argument?

Mehnaz Akhter

unread,
Nov 25, 2022, 5:01:35 AM11/25/22
to hydroma...@googlegroups.com
Which routing module should we used for sac-sma model without snow?I am using model  as
modCz1 <- hydromad(Data,
                   sma="sacramento", uztwm=c(1.0,150.0), uzfwm=c(1.0,150.0), uzk=c(0.1,0.5),
                   pctim=c(0.0,0.1),adimp=c(0.0,0.40), zperc=c(1.0,250.0), rexp=c(0.0,5.0),
                   lztwm=c(1.0,500.0), lzfsm=c(1.0,1000), lzfpm=c(1.0,1000), lzsk=c(0.01,0.25),
                   lzpk=c(0.0001,0.25),
                   pfree=c(0.0,0.6))
I am not getting output flow from it?How to fix routing part in it???

--
You received this message because you are subscribed to the Google Groups "hydromad users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hydromad-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hydromad-users/ff1edef1-e3cd-4984-b1c6-c607c2a77a20n%40googlegroups.com.


--
Er. Mehnaz Akhter 
Assistant Professor, Department of Civil Engineering
IUST, Awantipora, J&K - 192122

Willem Vervoort

unread,
Nov 25, 2022, 6:46:10 PM11/25/22
to hydromad-users
Hi Mehnaz,

You already have the output from the SMA in U, but at the moment you have it set up with parameter ranges. You can use any routing, including none, that is the whole idea from hydromad. But the simplest routing is expuh, which is an exponential bucket (a linear reservoir).

Willem

Mehnaz Akhter

unread,
Nov 25, 2022, 11:13:36 PM11/25/22
to hydroma...@googlegroups.com
Thanks for the quick reply... Can we do hymod in hydromad? It's sma module isn't available in hydromad. 

Willem Vervoort

unread,
Nov 26, 2022, 1:49:12 AM11/26/22
to hydromad-users
See answer from Alex earlier. No, not at the moment. But hydromad is open source so you can write your own module.
Willem

Mehnaz Akhter

unread,
Nov 26, 2022, 3:32:08 AM11/26/22
to hydroma...@googlegroups.com
Thanks 

Willem Vervoort for you helpful answers.I have now used LeakyExpStore for routing and it worked well.


Reply all
Reply to author
Forward
0 new messages