Transmission flow-based#

Alt text

Technology ID: TRANSMISSION_FLOW_BASED

Technology parameters:

ID

Label

Unit

Behaviors

Description

SET_CONSTRAINTS

Set constraints

Boolean

Boolean that activates the associated model object

FLOW_BASED_DOMAIN_COLLECTION

Flow-based domains matrix

Regroups all flow-based domains which can be called during the simulation

FLOW_BASED_DOMAIN_MAP_DATA_VIEW

Flow-based domain map

Associates each timestep of the simulation to a flow-based domain

Model code:

"""
If parameter "SET_CONSTRAINTS" of Model Object "TRANSMISSION_FLOW_BASED" is set to True, then we can enter the FLow-Based model
"""
coePrint("Entering FB model")
if bool(asset.getData("SET_CONSTRAINTS").getDataValue()):
    getTransmissionFlowBasedConstraints(Crystal.getPortfolio())