From 4e016e6833865e78422f1bf595a632eeff7abc94 Mon Sep 17 00:00:00 2001 From: Jacob Schwartz Date: Wed, 6 Dec 2023 12:32:19 -0500 Subject: [PATCH] Use e to indicate AffExpr --- src/model/resources/fusion/fusion.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/model/resources/fusion/fusion.jl b/src/model/resources/fusion/fusion.jl index 74dc6c9213..5feb5cc2f2 100644 --- a/src/model/resources/fusion/fusion.jl +++ b/src/model/resources/fusion/fusion.jl @@ -372,15 +372,15 @@ function fusion_pulse_thermal_power_generation_constraint!( dwell_time = reactor.dwell_time get_from_model(f::Function) = EP[Symbol(f(resource_component))] - vPulseStart = component_size * get_from_model(fusion_pulse_start_name) - vPulseUnderway = component_size * get_from_model(fusion_pulse_underway_name) + ePulseStart = component_size * get_from_model(fusion_pulse_start_name) + ePulseUnderway = component_size * get_from_model(fusion_pulse_underway_name) # Maximum thermal power generated by core y at hour y <= Max power of committed # core minus power lost from down time at startup @constraint( EP, [t in 1:T], - power_like[y, t] <= vPulseUnderway[t] - dwell_time * vPulseStart[t] + power_like[y, t] <= ePulseUnderway[t] - dwell_time * ePulseStart[t] ) end