Skip to content
Discussion options

You must be logged in to vote

For this application I think you can use AveragedTimeInterval as is for the averaged fields.

For the unaveraged, "centered" fields, there's a few options. One is to provide the second (undocumented) argument to TimeInterval, which allows you to offset the interval:

schedule = TimeInterval(600, -60) # assuming that the model starts at t=0.

You may also use the SpecifiedTimes schedule (for which you explicitly specify all the times where you'd like output).

If you find the "offset" method useful, we may want to document it (and perhaps clarify the naming of that second property, which is now called previous_actuation_time).

If you want to understand how this works in the code, see here:

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@glwagner
Comment options

@ammtD
Comment options

@glwagner
Comment options

@ammtD
Comment options

@glwagner
Comment options

Answer selected by ammtD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants