Sorry to clog this forum. I have another question that is probably excessively simple, but I couldn’t find an answer on GitHub, docs, or this forum.
Is there a way to work with dates that aren’t integers? Here’s a simple example:
using Mimi import Dates ti = Dates.Date(2021, 1, 1) tf = Dates.Date(2049, 12, 31) Δt = Dates.Day(7) times = ti:Δt:tf NT = length(times) m = Model()
The following does not work
set_dimension!(m, :time, times)
but this does
set_dimension!(m, :time, 1:1:NT)
It’s not a big issue, but it would be cool if
explore(m) showed actual times rather than the index of time steps.
Thanks in advance!