modeci_mdf.execution_engine.EvaluableOutput

class modeci_mdf.execution_engine.EvaluableOutput(output_port: OutputPort, verbose: Optional[bool] = False)[source]

Bases: object

Evaluates the current value of an OutputPort during MDF graph execution.

Parameters:
  • output_port – Attribute of a Node which exports information to the dependent Node object

  • verbose – If set to True Provides in-depth information else verbose message is not displayed

Methods

evaluate([parameters, array_format])

Evaluate the value at the output port on the basis of parameters and array_format

evaluate(parameters: Optional[Dict[str, Any]] = None, array_format: str = 'numpy') Union[int, ndarray][source]

Evaluate the value at the output port on the basis of parameters and array_format

Parameters:
  • parameters – Dictionary of global parameters of the Output Port

  • array_format – It is a n-dimensional array

Returns:

value at output port