Skip to content

Commit dfdff35

Browse files
mopof update
1 parent 361ed2e commit dfdff35

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
@@ -142,7 +142,7 @@ function build_base_polar_mpopf(core, data, N, Nbus)
142142

143143
c_ramp_rate = constraint(
144144
core,
145-
(c_ramp(pg[g.i, g.t -1], pg[g.i, g.t]) for g in data.genarray[:, 2:N]);
145+
c_ramp(pg[g.i, g.t-1], pg[g.i, g.t]) for g in data.genarray[:, 2:N];
146146
lcon = repeat(-data.Δp, 1, N-1),
147147
ucon = repeat( data.Δp, 1, N-1)
148148
)

0 commit comments

Comments
 (0)