Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Sep 20, 2024
1 parent 3200883 commit 8dd3f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/generator_models/tg_models.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function mdl_tg_ode!(
Tm = PSY.get_Tm(tg)

# Compute differential equation
droop_τ = P_ref + d_t * (ω_ref = get_ω_ref(device) - ω[1])
droop_τ = P_ref + d_t * (ω_ref - ω[1])
output_ode[local_ix[1]] = (1.0 / Tm) * (droop_τ - τm)

# Update Inner Vars
Expand Down

0 comments on commit 8dd3f4d

Please sign in to comment.