To synchronize model development and documentation efforts, we are using autodocumentation generators. This document is autogenerated directly from model source code.
Please refer to the main website (http://temoaproject.org) for more details.
As V_Activity is a derived variable, the constraint sets V_Activity to the sum over input and output energy carriers of a process.
(for each period, season, time_of_day, tech, vintage) V_Activity[p,s,d,t,v] = sum((inp,out), V_FlowOut[p,s,d,inp,t,v,out])
V_Capacity is a derived variable; this constraint sets V_Capacity to at least be able to handle the activity in any optimization time slice. In effect, this sets V_Capacity[p,t,v] to the max of the activity for similar indices: max(Activity[p,*,*t,v])
(for each period, season, time_of_day, tech, vintage) V_Capacity[t,v] * CapacityFactor[t,v] >= V_Activity[p,s,d,t,v]
For vintage periods that the model is not to optimize, explicitly set the capacity values based on dat file input.
(for each tech, vintage_exist) V_Capacity[t,v] = Param(Existingcapacity[t,v])
Prevent TEMOA from extracting an endless supply of energy from “the ether”.
(for each period, resource) sum((season,time_of_day,tech,vintage),V_FlowIn[p,*,*,r,*,*r]) <= Param(ResourceBound[p,r])
Ensure that the FlowOut of a produced energy carrier at least meets the demand of the needed FlowIn of that energy carrier. That is, this constraint maintains energy flows between processes.
(for each period, season, time_of_day, energy_carrier) sum((inp,tech,vintage),V_FlowOut[p,s,t,*,*,*,c]) >= sum((tech,vintage,out),V_FlowIn[p,s,t,c,*,*,*]) sum((inp,tech,vintage),V_FlowOut[period,season,time_of_day,*,*,*,carrier]) >= sum((tech,vintage,out),V_FlowIn[period,season,time_of_day,carrier,*,*,*])
Analogous to CommodityBalance, this constraint ensures that the amount of energy leaving a process is not more than the amount entering it.
(for each period, season, time_of_day, inp_carrier, vintage, out_carrier) V_FlowOut[p,s,d,t,v,o] <= V_FlowIn[p,s,d,t,v,o] * Efficiency[i,t,v,o]
The driving constraint, this rule ensures that supply at least equals demand.
(for each period, season, time_of_day, commodity) sum((inp,tech,vintage),V_FlowOut[p,s,d,*,*,*,commodity]) >= Demand[p,s,d,commodity]