Hi all,
I’m integrating a new set of damage functions into a Monte Carlo run of MimiGIVE, and have run into an error when I define a new dimension for a Parameter (a “gcms” dimensions for outputs from different climate models, alongside the typical “time” and “country”, for example).
When I try to index into a Parameter (e.g., beta) that has this dimension (e.g., p.beta[model, c] for a single model and country), I get an “ArgumentError: invalid index: 1.0 of type Float64.” This when the dimension has just been defined as a list of numbers from 1 to 20, and the index I’m trying to use is just the number 1. I’ve made sure to add the new index as an Index() call at the top of the component I’m defining.
The question arising from this is: Are there restrictions on or problems with defining new dimensions for Parameters? When doing so, are there right or wrong ways to set these dimensions and index into them?
Thank you!