Skip to content

Commit

Permalink
createBindingConstraint() fixed in API mode for study <v870 with time…
Browse files Browse the repository at this point in the history
…step parameter (#176)
  • Loading branch information
berthetclement authored Jun 28, 2024
1 parent 3ddc778 commit e92221d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ NEW FEATURES (Antares v8.8) :

* `updateOptimizationSettings()` allows the user to update solver.log property

BUGFIXES :

* `createBindingConstraint()` in API mode (for study <v870) created with "hourly" timeStep all the time


# antaresEditObject 0.7.0
Expand Down
2 changes: 1 addition & 1 deletion R/createBindingConstraint.R
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ createBindingConstraint <- function(name,
"create_binding_constraint",
name = body$name,
enabled = body$enabled,
time_step = body$timeStep,
time_step = body$time_step,
operator = body$operator,
filter_year_by_year = body$filter_year_by_year,
filter_synthesis = body$filter_synthesis,
Expand Down

0 comments on commit e92221d

Please sign in to comment.