Working with two timesteps simultaneously

Answered

Comments

10 comments

  • Avatar
    Jason

    Maria,

    Thanks for posting in the GoldSim Forum! This is an interesting question and I think GoldSim can probably do what you are looking for but I will need more information about what you mean by "work with some data" because if you are trying to display the data in those different ways then you might use Reporting Periods but if you need to calculate daily average values over 24 hours, then it will require that you calculate running averages for example. It really depends but there is a lot of flexibility in GoldSim so if you don't mind, can you give an example of what you need?

    Thanks,

    Jason

    0
    Comment actions Permalink
  • Avatar
    María Claudia

    Hi Jason:

    For sure, hope you understand me:

    I have hourly data I need to accumulate or get the daily average and use these results to do calculations with other daily data I have.

    So, I have realized that Reporting Periods is not the right solution since I need to do calculations with the data.

    Tell me if you understood.

    I have tried different options (container with an internal clock, reporting periods, etc) but with no expected results.

    Thank you.

    0
    Comment actions Permalink
  • Avatar
    Jason

    You can use an Integrator to calculate the daily average from hourly data.

    Here is the result:

    0
    Comment actions Permalink
  • Avatar
    Jason

    Note that if you want your model to use a 1-day time step but still do the hourly calculations for part of your model, then put the part of your model with hourly time steps into a container with internal clock, set to have max time step of 1 hour:

     

    The result inside that container looks like this. But please note that you can only visualize the hourly data if you enable high resolution results in your Advanced Settings of the Simulation Settings and this is just a temporary setting so you can see what is happening.

     

    You can download this model (temporarily) from here: https://goldsim.sharefile.com/d-s15461523f6a4d258

    0
    Comment actions Permalink
  • Avatar
    María Claudia

    Hi Jason:

    When I use the container with an internal clock, it works until the outer main model has finished. But this container with hourly data also needs daily data from the main model.

    Is there any way to work at the same time with the main model and container?

    Thanks for your help.

    0
    Comment actions Permalink
  • Avatar
    María Claudia

    My model is a bit complex, it combines hourly and daily data.
    For example, there are flow data that we measure once a day but that we assume as constant because they are sources that we know are constant. So, I enter daily data and convert it to hourly data.
    On the other hand, there is data on the level variation of a reservoir and its associated storage flow that changes hourly, especially in rainfall.

    0
    Comment actions Permalink
  • Avatar
    Jason

    Maria,

    The container with the internal clock can take the daily data from the outside. We can probably do all the things you need without much problem. Do you have an active license maintenance subscription? If so, I think we should have a short video call to work through your modeling questions.

    0
    Comment actions Permalink
  • Avatar
    María Claudia

    Jason: yes, I have an active license and that sounds great. I would appreciate your help.

    Let me know when can we schedule a video call and how can we better coordinate.

    Think your time zone is two hours delayed in comparison with Peru, for instance, here now is 13:06 hrs. 

    0
    Comment actions Permalink
  • Avatar
    Jason

    Okay great! Please submit a new support ticket here and then we can organize a meeting. 

    -Jason

    0
    Comment actions Permalink
  • Avatar
    María Claudia

    Thank you, I submitted the ticket an has the ID  #5904.

    0
    Comment actions Permalink

Please sign in to leave a comment.