Skip to content

Commit 12c030f

Browse files
mpopf update
1 parent dfdff35 commit 12c030f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpopf.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ function build_base_rect_mpopf(core, data, N, Nbus)
262262

263263
c_ramp_rate = constraint(
264264
core,
265-
c_ramp(pg[g.i, g.t -1], pg[g.i, g.t]) for g in data.genarray[:, 2:N];
265+
c_ramp(pg[g.i, g.t-1], pg[g.i, g.t]) for g in data.genarray[:, 2:N];
266266
lcon = repeat(-data.Δp, 1, N-1),
267267
ucon = repeat( data.Δp, 1, N-1),
268268
)

0 commit comments

Comments
 (0)