1. A non-transitory computer-readable medium storing computer-executable instructions, the computer-executable instructions comprising: one or more instructions that when executed on a processor cause the processor to: operate a system in a first mode having a first set of behaviors, the system being represented by a graphical model comprising a first element including at least one input port and at least one output port; receive a mode switching event; operate the system in a second mode having a second set of behaviors based on the received mode switching event; and the operating the system in the second mode comprising: receiving a map identifying at least one constraint, the constraint identifying a dimension of the at least one input port, the dimension of the at least one input port used to determine a dimension of the at least one output port, and setting, responsive to a selection of the at least one constraint, the dimension of the at least one output port, the setting based on the selected at least one constraint.