Skip to content

Time dependent thresholds#2079

Merged
SouthEndMusic merged 11 commits intomainfrom
time_dependent_thresholds
Feb 20, 2025
Merged

Time dependent thresholds#2079
SouthEndMusic merged 11 commits intomainfrom
time_dependent_thresholds

Conversation

@SouthEndMusic
Copy link
Copy Markdown
Collaborator

@SouthEndMusic SouthEndMusic commented Feb 19, 2025

Fixes #744

Notable changes:

  • A mandatory condition_id and an optional time column were added to the DiscreteControl / condition table. Sorting of this table is no longer based on node_id, compound_variable_id, greater_than but on node_id, compound_variable_id, condition_id
  • The time points of the greater_than timeseries were added to the tstops

@SouthEndMusic SouthEndMusic marked this pull request as draft February 19, 2025 15:21
@SouthEndMusic SouthEndMusic marked this pull request as ready for review February 20, 2025 10:12
Copy link
Copy Markdown
Member

@evetion evetion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, also in terms of reducing/simplifying code used.

Comment thread python/ribasim/ribasim/schemas.py Outdated
Comment thread python/ribasim/ribasim/migrations.py Outdated
Comment thread core/test/run_models_test.jl
Comment thread core/src/callback.jl
Comment thread core/src/read.jl Outdated
Comment thread core/src/read.jl Outdated
@SouthEndMusic SouthEndMusic merged commit fd3f98b into main Feb 20, 2025
@SouthEndMusic SouthEndMusic deleted the time_dependent_thresholds branch February 20, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DiscreteControl with time

2 participants