modeci_mdf.execution_engine.EvaluableOutput

class modeci_mdf.execution_engine.EvaluableOutput(output_port: OutputPort, verbose: bool | None = 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: Dict[str, Any] = None, array_format: str = 'numpy') 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