Rafael Schouten
Rafael Schouten
Thanks for this. There are totally some tradeoffs. The tables do look nice, but you can only abuse bitwise "or" like that inside a macro! Half of the idea was...
Quite a lot! The discussions we had about import/export of params from CSV was actually where the idea for ModelParameters came from. It just took a while to work out...
@ConnectedSystems Agtor looks interesting too. What kind of projects are you doing with it? At cesar we do a bunch of agriculture-related scenario modeling with DynamicGrids.jl - (that partly supports...
If your model is just one `NamedTuple` then you may have everything you need to define it in a `DataFrame`. But my models are normally a tuple of structs with...
Yes, or your model is a struct (we don't know which one), or it's a `NamedTuple` with some fields that are not parameters. We could load `NamedTuple` of just parameters,...
Ok that's an interesting way to do it. One complication is dealing with nested structures - how would you define a parameter nested inside three layers of structs/tuples? It seems...
Ah ok you just join the nested types with `__`for each layer of nesting. I think that's a workable solution. In some of my plant models there is 7 or...
I think ModelParameters is for solving a problem that they don't really have... as that is a DSL already and the parameters are already in a vector. Model parameters is...
See the tests here: https://github.com/rafaqz/ModelParameters.jl/blob/master/test/runtests.jl#L109-L114 We should probably document everything better some day. You cant set anything individually yet, because we are using Flatten.jl to just replace all the parameters...
Yep that will do it! We could make a bunch of `SomeParam